summaryrefslogtreecommitdiffstats
path: root/include/dlfcn.h
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-12-18 19:43:33 +0000
committerkan <kan@FreeBSD.org>2005-12-18 19:43:33 +0000
commit8d6f05d58bc7dda5a91170bff51023509aa82558 (patch)
tree0d48e9fa3e1a8d20651242fc849efd6ba9f69557 /include/dlfcn.h
parent116fa05e6020161c2d69796fd827231ba57cb838 (diff)
downloadFreeBSD-src-8d6f05d58bc7dda5a91170bff51023509aa82558.zip
FreeBSD-src-8d6f05d58bc7dda5a91170bff51023509aa82558.tar.gz
Implement ELF symbol versioning using GNU semantics. This code aims
to be compatible with symbol versioning support as implemented by GNU libc and documented by http://people.redhat.com/~drepper/symbol-versioning and LSB 3.0. Implement dlvsym() function to allow lookups for a specific version of a given symbol.
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 2575861..38f21b2 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -131,6 +131,8 @@ void dllockinit(void *_context,
void (*_lock_release)(void *_lock),
void (*_lock_destroy)(void *_lock),
void (*_context_destroy)(void *_context));
+void *dlvsym(void * __restrict, const char * __restrict,
+ const char * __restrict);
#endif /* __BSD_VISIBLE */
__END_DECLS
OpenPOWER on IntegriCloud