PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
dynamic_loader.h
Go to the documentation of this file.
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 */
void pg_dlclose(void *handle)
Definition: darwin.c:70
Datum(* PGFunction)(FunctionCallInfo fcinfo)
Definition: fmgr.h:40
void * pg_dlopen(char *filename)
Definition: darwin.c:57
char * pg_dlerror(void)
Definition: darwin.c:100
static char * filename
Definition: pg_dumpall.c:80
PGFunction pg_dlsym(void *handle, char *funcname)
Definition: darwin.c:76