Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines

osf.h File Reference

#include <dlfcn.h>
#include "utils/dynamic_loader.h"
Include dependency graph for osf.h:

Go to the source code of this file.

Defines

#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()

Define Documentation

#define pg_dlclose (   h  )     dlclose(h)

Definition at line 44 of file osf.h.

#define pg_dlerror (   void  )     dlerror()

Definition at line 45 of file osf.h.

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

Definition at line 42 of file osf.h.

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

Definition at line 43 of file osf.h.

#define RTLD_GLOBAL   0

Definition at line 39 of file osf.h.

#define RTLD_NOW   1

Definition at line 36 of file osf.h.