Searched refs:magic_handle (Results 1 – 1 of 1) sorted by relevance
60 static void *magic_handle; variable64 if (!magic_handle) { in magic_library_available()65 magic_handle = dlopen("libmagic.so.1", RTLD_NOW); in magic_library_available()66 if (!magic_handle) in magic_library_available()70 dlsym(magic_handle, "magic_open"); in magic_library_available()72 dlsym(magic_handle, "magic_file"); in magic_library_available()74 dlsym(magic_handle, "magic_load"); in magic_library_available()76 dlsym(magic_handle, "magic_close"); in magic_library_available()