12 char *libnameformat[] = {
"%s",
30 if( (library) && (library->
data) ) {
31 for( i = 0; libnameformat[i]; i++ ) {
32 snprintf( libname,
MAX_PATH-1, libnameformat[i], library->
data );
34 res = dlopen( libname, RTLD_LAZY );
55 library = dlopen(
NULL, RTLD_LAZY );
57 if( (symbol) && (symbol->
data) )
58 proc = dlsym( library, symbol->
data );