Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
162a7052
Commit
162a7052
authored
7 years ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
ld-libs: Document dso_needed_t
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
f39789bf
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!311
Build capsule-capture-libs from a bundled copy of libcapsule
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/ld-libs.h
+17
-0
17 additions, 0 deletions
utils/ld-libs.h
with
17 additions
and
0 deletions
utils/ld-libs.h
+
17
−
0
View file @
162a7052
...
...
@@ -29,6 +29,23 @@
// an issue (shouldn't affect the api or abi):
#define DSO_LIMIT 256
/*
* dso_needed_t:
* @fd: @path opened for reading (only valid after ld_lib_open())
* @name: The name we are looking for, either a bare SONAME or an
* absolute path (only valid after ld_lib_open())
* @path: Absolute path to the library we need to load, including the
* %CAPSULE_PREFIX if required (must be set before ld_lib_open())
* @requestors: `needed[i].requestors[j]` is 1 if `needed[j]`
* depends on `needed[i]`
* @depcount: the number of libraries that this one depends on,
* such that `needed[j].depcount` is the number of nonzero
* `needed[i].requestors[j]` for each value of *i* where `needed[i]`
* has not yet been loaded
* @dso: @fd opened for ELF inspection (only valid after ld_lib_open())
*
* A library that we need to load.
*/
typedef
struct
{
int
fd
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment