Lines Matching refs:_handle
41 void *_handle; \
46 _handle = dlopen(path, RTLD_LAZY); \
47 if ( _handle == NULL ) NPT_ERROR("Cannot open library"); \
48 _sym = dlsym(_handle, "nptInitialize"); \
52 (*(pnpt))->libhandle = _handle; \
57 void *_handle; \
61 _handle = (npt)->libhandle; \
62 _sym = dlsym(_handle, "nptTerminate"); \
65 if ( _handle != NULL ) (void)dlclose(_handle); \