2020-06-09 09:19:11 +00:00
|
|
|
#ifndef OD_DLSYM_H
|
|
|
|
#define OD_DLSYM_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Odyssey.
|
|
|
|
*
|
|
|
|
* Scalable PostgreSQL connection pooler.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "dlfcn.h"
|
|
|
|
|
2020-12-28 10:43:31 +00:00
|
|
|
#define od_dlopen(path) dlopen((char *)path, RTLD_NOW | RTLD_GLOBAL)
|
2020-06-09 09:19:11 +00:00
|
|
|
#define od_dlsym(handle, symbol) dlsym(handle, symbol)
|
2020-12-28 10:43:31 +00:00
|
|
|
#define od_dlerror dlerror
|
|
|
|
#define od_dlclose(handle) dlclose(handle)
|
2020-06-09 09:19:11 +00:00
|
|
|
|
|
|
|
#endif /* OD_DLSYM_H */
|