Lines Matching defs:library
49 struct library *lib;
62 * potentially become active if a library implementing them
83 /* Copy library symbol SYM into the area pointed-to by RETP. Return 0
88 /* Destroy library symbol. This essentially just frees name if it's
94 /* Compare two library symbols. Returns a negative value, 0, or a
100 /* Set a name for library symbol. This frees the old name, if
131 struct library {
132 struct library *next;
134 /* Unique key. Two library objects are considered equal, if
138 /* Address where the library is mapped. */
150 /* Symbols associated with the library. This includes a
154 /* List of names that this library implements, and that match
155 * -l filter. Each time a new library is mapped, its list of
160 /* Prototype library associated with this library. */
176 int library_init(struct library *lib, enum library_type type);
178 /* Initialize RETP to a library identical to LIB. Symbols are not
181 int library_clone(struct library *retp, struct library *lib);
183 /* Destroy library. Doesn't free LIB itself. Symbols are destroyed
185 void library_destroy(struct library *lib);
187 /* Set library soname. Frees the old name if necessary. */
188 void library_set_soname(struct library *lib,
191 /* Set library pathname. Frees the old name if necessary. */
192 void library_set_pathname(struct library *lib,
195 /* Iterate through list of symbols of library LIB. See callback.h for
198 (struct library *lib, struct library_symbol *start_after,
204 void library_add_symbol(struct library *lib, struct library_symbol *sym);
207 * for a library with the name passed in DATA. PROC is ignored. */
209 struct library *lib, void *name);
212 * for a library with given base.
217 struct library *lib, void *keyp);