PostgreSQL Source Code  git master
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

◆ pg_dlclose

#define pg_dlclose (   h)    dlclose(h)

Definition at line 36 of file aix.h.

Referenced by internal_load_library(), and internal_unload_library().

◆ pg_dlerror

#define pg_dlerror (   void)    dlerror()

Definition at line 37 of file aix.h.

Referenced by internal_load_library().

◆ pg_dlopen

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

Definition at line 34 of file aix.h.

Referenced by internal_load_library().

◆ pg_dlsym

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

◆ RTLD_GLOBAL

#define RTLD_GLOBAL   0

Definition at line 31 of file aix.h.

◆ RTLD_NOW

#define RTLD_NOW   1

Definition at line 28 of file aix.h.