Main header file for the project. More...
#include <libpf/persistency/PersistencyPostgres.h>
Classes | |
class | LibpfInitializer |
Macros | |
#define | POSTGRESQL |
#define | PERSISTENCY PersistencyPostgres |
Functions | |
bool | initializeLibpf (void) |
bool | uninitializeLibpf (void) |
Variables | |
int | initializationCounter |
used internally to avoid re-initializing More... | |
static class LibpfInitializer | libpfInitializer |
Detailed Description
Main header file for the project.
This file is part of LIBPF All rights reserved; do not distribute without permission.
Macro Definition Documentation
◆ PERSISTENCY
#define PERSISTENCY PersistencyPostgres |
◆ POSTGRESQL
#define POSTGRESQL |
Function Documentation
◆ initializeLibpf()
bool initializeLibpf | ( | void | ) |
initialize library, executes only once discarding subsequent calls in detail:
- sets verbosityGlobal to 2
- calls rollContext
- prints the startup banner
- sets strict_ro to true
- Returns
- true if the library has actually been initialized
◆ uninitializeLibpf()
bool uninitializeLibpf | ( | void | ) |
uninitialize library and free resources acquired by initializeLibpf
- Returns
- true if the library has actually been uninitialized
Variable Documentation
◆ initializationCounter
|
extern |
used internally to avoid re-initializing
◆ libpfInitializer
|
static |