Macros | Typedefs | Functions
backend-loader.cpp File Reference
#include "backend-loader.h"
#include "error.h"
#include <cassert>
#include <cstdlib>
#include <map>
#include <string>
#include <vector>
#include <stdint.h>
#include "soci_backends_config.h"
#include <pthread.h>
#include <dlfcn.h>
Include dependency graph for backend-loader.cpp:

Go to the source code of this file.

Macros

#define DLCLOSE(x)   dlclose(x)
 
#define DLOPEN(x)   dlopen(x, RTLD_LAZY)
 
#define DLSYM(x, y)   dlsym(x, y)
 
#define LIBNAME(x)   (SOCI_LIB_PREFIX + x + SOCI_LIB_SUFFIX)
 
#define LOCK(x)   pthread_mutex_lock(x)
 
#define MUTEX_DEST(x)   pthread_mutex_destroy(x)
 
#define MUTEX_INIT(x)   pthread_mutex_init(x, NULL)
 
#define SOCI_SOURCE
 
#define UNLOCK(x)   pthread_mutex_unlock(x)
 

Typedefs

typedef void * soci_handler_t
 
typedef pthread_mutex_t soci_mutex_t
 

Functions

SOCI_DECL std::vector< std::string > & search_paths ()
 

Macro Definition Documentation

#define DLCLOSE (   x)    dlclose(x)

Definition at line 63 of file backend-loader.cpp.

#define DLOPEN (   x)    dlopen(x, RTLD_LAZY)

Definition at line 62 of file backend-loader.cpp.

#define DLSYM (   x,
 
)    dlsym(x, y)

Definition at line 64 of file backend-loader.cpp.

#define LIBNAME (   x)    (SOCI_LIB_PREFIX + x + SOCI_LIB_SUFFIX)

Definition at line 75 of file backend-loader.cpp.

#define LOCK (   x)    pthread_mutex_lock(x)

Definition at line 58 of file backend-loader.cpp.

#define MUTEX_DEST (   x)    pthread_mutex_destroy(x)

Definition at line 61 of file backend-loader.cpp.

#define MUTEX_INIT (   x)    pthread_mutex_init(x, NULL)

Definition at line 60 of file backend-loader.cpp.

#define SOCI_SOURCE

Definition at line 8 of file backend-loader.cpp.

#define UNLOCK (   x)    pthread_mutex_unlock(x)

Definition at line 59 of file backend-loader.cpp.

Typedef Documentation

typedef void* soci_handler_t

Definition at line 56 of file backend-loader.cpp.

typedef pthread_mutex_t soci_mutex_t

Definition at line 55 of file backend-loader.cpp.

Function Documentation

SOCI_DECL std::vector<std::string>& search_paths ( )

Definition at line 282 of file backend-loader.cpp.



asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41