Libpf.h File Reference

Main header file for the project. More...

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.

Author
(C) Copyright 2004-2023 Paolo Greppi simevo s.r.l.

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

int initializationCounter
extern

used internally to avoid re-initializing

◆ libpfInitializer

class LibpfInitializer libpfInitializer
static