19 #ifndef LIBFOSSDBMANAGER_H 20 #define LIBFOSSDBMANAGER_H 77 #define fo_dbManager_PrepareStamement(dbManager, name, query, ...) \ 78 fo_dbManager_PrepareStamement_str(dbManager, \ 93 int fo_dbManager_parseParamStr(
const char* paramtypes, GArray** params);
fo_dbManager_PreparedStatement * fo_dbManager_PrepareStamement_str(fo_dbManager *dbManager, const char *name, const char *query, const char *paramtypes)
Create a prepared statement.
PGresult * fo_dbManager_ExecPrepared(fo_dbManager_PreparedStatement *preparedStatement,...)
Execute a prepared statement.
int ignoreWarns
Set to ignore warnings from logging.
char * dbConf
DB conf file location.
fo_dbManager * fo_dbManager_new(PGconn *dbConnection)
Create and initialize new fo_dbManager object.
PGconn * dbConnection
Postgres database connection object.
fo_dbManager * dbManager
fo_dbManager object
void fo_dbManager_free(fo_dbManager *dbManager)
Un-allocate the memory from a DB manager.