Pixar Arch 0.25.8
Loading...
Searching...
No Matches
library.h File Reference
#include "pxr/arch/pxr.h"
#include "pxr/arch/api.h"
#include <string>
#include <dlfcn.h>

Go to the source code of this file.

Namespaces

namespace  pxr

Macros

#define ARCH_LIBRARY_LAZY   RTLD_LAZY
#define ARCH_LIBRARY_NOW   RTLD_NOW
#define ARCH_LIBRARY_LOCAL   RTLD_LOCAL
#define ARCH_LIBRARY_GLOBAL   RTLD_GLOBAL
#define ARCH_LIBRARY_SUFFIX   ".so"
#define ARCH_STATIC_LIBRARY_SUFFIX   ".a"
#define ARCH_PLUGIN_SUFFIX   ARCH_LIBRARY_SUFFIX

Functions

void * pxr::ArchLibraryOpen (const std::string &filename, int flag)
 library.h Architecture dependent loading and unloading of dynamic libraries.
std::string pxr::ArchLibraryError ()
 Obtain a description of the most recent error that occurred from ArchLibraryOpen.
int pxr::ArchLibraryClose (void *handle)
 Closes an object opened with ArchLibraryOpen.
void * pxr::ArchLibraryGetSymbolAddress (void *handle, const char *name)
 Obtain the address of a symbol defined within an object opened with ArchLibraryOpen.

Macro Definition Documentation

◆ 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

#define ARCH_PLUGIN_SUFFIX   ARCH_LIBRARY_SUFFIX