1 /*------------------------------------------------------------------------- 2 * 3 * dynamic_loader.h 4 * 5 * 6 * 7 * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group 8 * Portions Copyright (c) 1994, Regents of the University of California 9 * 10 * src/include/utils/dynamic_loader.h 11 * 12 *------------------------------------------------------------------------- 13 */ 14 #ifndef DYNAMIC_LOADER_H 15 #define DYNAMIC_LOADER_H 16 17 #include "fmgr.h" 18 19 20 extern void *pg_dlopen(char *filename); 21 extern PGFunction pg_dlsym(void *handle, char *funcname); 22 extern void pg_dlclose(void *handle); 23 extern char *pg_dlerror(void); 24 25 #endif /* DYNAMIC_LOADER_H */ 26