- void *handle, *fun;
-
- handle = dlopen( PILOT_LINK_LIB_NAME, RTLD_LAZY );
- if( ! handle ) {
- return FALSE;
- }
-
- /* Test for symbols we need */
- fun = dlsym( handle, "unpack_Address" );
- if( ! fun ) {
- dlclose( handle );
- return FALSE;
- }
-
- fun = dlsym( handle, "unpack_AddressAppInfo" );
- if( ! fun ) {
- dlclose( handle );
- return FALSE;
- }
- dlclose( handle );