Lines Matching refs:lib
18 int sd_load(const char *filename, SD *lib, int type) in sd_load() argument
25 *lib = dlopen(filename, dl_flags); in sd_load()
26 return *lib == NULL ? 0 : 1; in sd_load()
29 int sd_sym(SD lib, const char *symname, SD_SYM *sym) in sd_sym() argument
31 *sym = dlsym(lib, symname); in sd_sym()
35 int sd_close(SD lib) in sd_close() argument
37 return dlclose(lib) != 0 ? 0 : 1; in sd_close()
47 int sd_load(const char *filename, SD *lib, ossl_unused int type) in sd_load() argument
49 *lib = LoadLibraryA(filename); in sd_load()
50 return *lib == NULL ? 0 : 1; in sd_load()
53 int sd_sym(SD lib, const char *symname, SD_SYM *sym) in sd_sym() argument
55 *sym = (SD_SYM)GetProcAddress(lib, symname); in sd_sym()
59 int sd_close(SD lib) in sd_close() argument
61 return FreeLibrary(lib) == 0 ? 0 : 1; in sd_close()