00001 /*------------------------------------------------------------------------- 00002 * 00003 * dynamic_loader.h 00004 * 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * src/include/utils/dynamic_loader.h 00011 * 00012 *------------------------------------------------------------------------- 00013 */ 00014 #ifndef DYNAMIC_LOADER_H 00015 #define DYNAMIC_LOADER_H 00016 00017 #include "fmgr.h" 00018 00019 00020 extern void *pg_dlopen(char *filename); 00021 extern PGFunction pg_dlsym(void *handle, char *funcname); 00022 extern void pg_dlclose(void *handle); 00023 extern char *pg_dlerror(void); 00024 00025 #endif /* DYNAMIC_LOADER_H */