#include "./api.h"
#include <string>
#include <dlfcn.h>
Go to the source code of this file.
|
ARCH_API void * | pxr::ArchLibraryOpen (const std::string &filename, int flag) |
| library.h Architecture dependent loading and unloading of dynamic libraries.
|
|
ARCH_API std::string | pxr::ArchLibraryError () |
| Obtain a description of the most recent error that occurred from ArchLibraryOpen .
|
|
ARCH_API int | pxr::ArchLibraryClose (void *handle) |
| Closes an object opened with ArchLibraryOpen .
|
|
ARCH_API void * | pxr::ArchLibraryGetSymbolAddress (void *handle, const char *name) |
| Obtain the address of a symbol defined within an object opened with ArchLibraryOpen .
|
|
◆ ARCH_LIBRARY_LAZY
#define ARCH_LIBRARY_LAZY RTLD_LAZY |
◆ ARCH_LIBRARY_NOW
#define ARCH_LIBRARY_NOW RTLD_NOW |
◆ ARCH_LIBRARY_LOCAL
#define ARCH_LIBRARY_LOCAL RTLD_LOCAL |
◆ ARCH_LIBRARY_GLOBAL
#define ARCH_LIBRARY_GLOBAL RTLD_GLOBAL |
◆ ARCH_LIBRARY_SUFFIX
#define ARCH_LIBRARY_SUFFIX ".so" |
◆ ARCH_STATIC_LIBRARY_SUFFIX
#define ARCH_STATIC_LIBRARY_SUFFIX ".a" |
◆ ARCH_PLUGIN_SUFFIX