PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
aix.h File Reference
#include <dlfcn.h>
#include "utils/dynamic_loader.h"
Include dependency graph for aix.h:

Go to the source code of this file.

Macros

#define RTLD_NOW   1
 
#define RTLD_GLOBAL   0
 
#define pg_dlopen(f)   dlopen((f), RTLD_NOW | RTLD_GLOBAL)
 
#define pg_dlsym(h, f)   ((PGFunction) dlsym(h, f))
 
#define pg_dlclose(h)   dlclose(h)
 
#define pg_dlerror()   dlerror()
 

Macro Definition Documentation

#define pg_dlclose (   h)    dlclose(h)

Definition at line 36 of file aix.h.

Referenced by internal_load_library(), and internal_unload_library().

#define pg_dlerror (   void)    dlerror()

Definition at line 37 of file aix.h.

Referenced by internal_load_library().

#define pg_dlopen (   f)    dlopen((f), RTLD_NOW | RTLD_GLOBAL)

Definition at line 34 of file aix.h.

Referenced by internal_load_library().

#define pg_dlsym (   h,
 
)    ((PGFunction) dlsym(h, f))
#define RTLD_GLOBAL   0

Definition at line 31 of file aix.h.

#define RTLD_NOW   1

Definition at line 28 of file aix.h.