#include "backend-loader.h"
#include "error.h"
#include <map>
#include <cassert>
#include <cstdlib>
#include <stdint.h>
#include <pthread.h>
#include <dlfcn.h>
Go to the source code of this file.
Defines | |
#define | SOCI_SOURCE |
#define | LOCK(x) pthread_mutex_lock(x) |
#define | UNLOCK(x) pthread_mutex_unlock(x) |
#define | MUTEX_INIT(x) pthread_mutex_init(x, NULL) |
#define | MUTEX_DEST(x) pthread_mutex_destroy(x) |
#define | DLOPEN(x) dlopen(x, RTLD_LAZY) |
#define | DLCLOSE(x) dlclose(x) |
#define | DLSYM(x, y) dlsym(x, y) |
#define | LIBNAME(x) ("libsoci_" + x + ".so") |
Typedefs | |
typedef pthread_mutex_t | soci_mutex_t |
typedef void * | soci_handler_t |
Functions | |
std::vector< std::string > & | search_paths () |
#define SOCI_SOURCE |
Definition at line 8 of file backend-loader.cpp.
#define LOCK | ( | x | ) | pthread_mutex_lock(x) |
Definition at line 47 of file backend-loader.cpp.
#define UNLOCK | ( | x | ) | pthread_mutex_unlock(x) |
Definition at line 48 of file backend-loader.cpp.
#define MUTEX_INIT | ( | x | ) | pthread_mutex_init(x, NULL) |
Definition at line 49 of file backend-loader.cpp.
#define MUTEX_DEST | ( | x | ) | pthread_mutex_destroy(x) |
Definition at line 50 of file backend-loader.cpp.
#define DLOPEN | ( | x | ) | dlopen(x, RTLD_LAZY) |
Definition at line 51 of file backend-loader.cpp.
#define DLCLOSE | ( | x | ) | dlclose(x) |
Definition at line 52 of file backend-loader.cpp.
#define DLSYM | ( | x, | ||
y | ||||
) | dlsym(x, y) |
Definition at line 53 of file backend-loader.cpp.
#define LIBNAME | ( | x | ) | ("libsoci_" + x + ".so") |
Definition at line 54 of file backend-loader.cpp.
typedef pthread_mutex_t soci_mutex_t |
Definition at line 44 of file backend-loader.cpp.
typedef void* soci_handler_t |
Definition at line 45 of file backend-loader.cpp.
std::vector<std::string>& search_paths | ( | ) |
Definition at line 252 of file backend-loader.cpp.
Generated on Sun Oct 3 2010 17:42:17 for EXTRAS-SOCI by Doxygen 1.7.1