Mixe for Privacy and Anonymity in the Internet
Classes | Defines
CAAccountingDBInterface.hpp File Reference
#include "doxygen.h"
#include "CAQueue.hpp"
#include "CAXMLCostConfirmation.hpp"
#include "CAThread.hpp"
Include dependency graph for CAAccountingDBInterface.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CAAccountingDBInterface

Defines

#define MAX_DB_CONNECTIONS   3
#define PG_PROTOCOL_VERSION_3   3
#define RESULT_FORMAT_TEXT   0
#define PREPARED_STMT_NAME_STORE_CC   "storeCCStatement"
#define PREPARED_STMT_QUERY_STORE_CC   "UPDATE COSTCONFIRMATIONS SET BYTES = $1::bigint, XMLCC = $2::varchar(2000), SETTLED = $3::integer WHERE ACCOUNTNUMBER = $4::bigint AND CASCADE = $5::varchar(200)"
#define PREPARED_STMT_PARAMS_STORE_CC   5
#define STMT_CLEAR_ACCOUNT_STATUS   "DELETE FROM ACCOUNTSTATUS WHERE ACCOUNTNUMBER = '%llu'"

Define Documentation

#define MAX_DB_CONNECTIONS   3
#define PG_PROTOCOL_VERSION_3   3

Definition at line 37 of file CAAccountingDBInterface.hpp.

#define PREPARED_STMT_NAME_STORE_CC   "storeCCStatement"

Definition at line 41 of file CAAccountingDBInterface.hpp.

Definition at line 44 of file CAAccountingDBInterface.hpp.

#define PREPARED_STMT_QUERY_STORE_CC   "UPDATE COSTCONFIRMATIONS SET BYTES = $1::bigint, XMLCC = $2::varchar(2000), SETTLED = $3::integer WHERE ACCOUNTNUMBER = $4::bigint AND CASCADE = $5::varchar(200)"

Definition at line 42 of file CAAccountingDBInterface.hpp.

#define RESULT_FORMAT_TEXT   0

Definition at line 39 of file CAAccountingDBInterface.hpp.

#define STMT_CLEAR_ACCOUNT_STATUS   "DELETE FROM ACCOUNTSTATUS WHERE ACCOUNTNUMBER = '%llu'"