OpenDNSSEC-enforcer  1.3.14
Data Structures | Enumerations | Functions
database_statement.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DQS_QUERY_CONDITION
 

Enumerations

enum  DQS_COMPARISON {
  DQS_END_OF_LIST, DQS_COMPARE_LT, DQS_COMPARE_LE, DQS_COMPARE_EQ,
  DQS_COMPARE_NE, DQS_COMPARE_GT, DQS_COMPARE_GE, DQS_COMPARE_IN,
  DQS_COMPARE_NOT_IN, DQS_COMPARE_IS
}
 

Functions

char * DqsInit (const char *table)
 
char * DqsCountInit (const char *table)
 
char * DqsSpecifyInit (const char *table, const char *fields)
 
void DqsConditionInt (char **query, const char *field, DQS_COMPARISON compare, int value, int clause)
 
void DqsConditionString (char **query, const char *field, DQS_COMPARISON compare, const char *value, int clause)
 
void DqsConditionKeyword (char **query, const char *field, DQS_COMPARISON compare, const char *value, int clause)
 
void DqsOrderBy (char **query, const char *field)
 
void DqsEnd (char **query)
 
void DqsFree (char *query)
 
char * DisInit (const char *table)
 
char * DisSpecifyInit (const char *table, const char *cols)
 
void DisAppendInt (char **sql, int what)
 
void DisAppendString (char **sql, const char *what)
 
void DisEnd (char **sql)
 
void DisFree (char *sql)
 
char * DusInit (const char *table)
 
void DusSetInt (char **sql, const char *field, int data, int clause)
 
void DusSetString (char **sql, const char *field, const char *data, int clause)
 
void DusConditionInt (char **query, const char *field, DQS_COMPARISON compare, int value, int clause)
 
void DusConditionString (char **query, const char *field, DQS_COMPARISON compare, const char *value, int clause)
 
void DusConditionKeyword (char **query, const char *field, DQS_COMPARISON compare, const char *value, int clause)
 
void DusEnd (char **sql)
 
void DusFree (char *sql)
 
char * DdsInit (const char *table)
 
void DdsConditionInt (char **query, const char *field, DQS_COMPARISON compare, int value, int clause)
 
void DdsConditionString (char **query, const char *field, DQS_COMPARISON compare, const char *value, int clause)
 
void DdsConditionKeyword (char **query, const char *field, DQS_COMPARISON compare, const char *value, int clause)
 
void DdsEnd (char **query)
 
void DdsFree (char *query)
 

Enumeration Type Documentation

Enumerator
DQS_END_OF_LIST 
DQS_COMPARE_LT 
DQS_COMPARE_LE 
DQS_COMPARE_EQ 
DQS_COMPARE_NE 
DQS_COMPARE_GT 
DQS_COMPARE_GE 
DQS_COMPARE_IN 
DQS_COMPARE_NOT_IN 
DQS_COMPARE_IS 

Definition at line 46 of file database_statement.h.

Function Documentation

void DdsConditionInt ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
int  value,
int  clause 
)
void DdsConditionKeyword ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
const char *  value,
int  clause 
)

Definition at line 104 of file dd_string.c.

References DqsConditionKeyword().

void DdsConditionString ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
const char *  value,
int  clause 
)

Definition at line 97 of file dd_string.c.

References DqsConditionString().

void DdsEnd ( char **  query)

Definition at line 111 of file dd_string.c.

References DqsEnd().

Referenced by cmd_purgepolicy(), do_purge(), KsmDeleteKeyRange(), KsmDeleteZone(), KsmPurge(), and PurgeKeys().

void DdsFree ( char *  query)

Definition at line 117 of file dd_string.c.

References DqsFree().

Referenced by cmd_purgepolicy(), do_purge(), KsmDeleteKeyRange(), KsmDeleteZone(), KsmPurge(), and PurgeKeys().

char* DdsInit ( const char *  table)

Definition at line 62 of file dd_string.c.

References StrAppend(), and StrStrdup().

Referenced by cmd_purgepolicy(), do_purge(), KsmDeleteKeyRange(), KsmDeleteZone(), KsmPurge(), and PurgeKeys().

void DisAppendInt ( char **  sql,
int  what 
)
void DisAppendString ( char **  sql,
const char *  what 
)
void DisEnd ( char **  sql)
void DisFree ( char *  sql)
char* DisInit ( const char *  table)

Definition at line 67 of file di_string.c.

References StrAppend(), and StrStrdup().

Referenced by KsmParameterSet().

char* DisSpecifyInit ( const char *  table,
const char *  cols 
)
void DqsConditionInt ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
int  value,
int  clause 
)
void DqsConditionKeyword ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
const char *  value,
int  clause 
)
void DqsConditionString ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
const char *  value,
int  clause 
)
char* DqsCountInit ( const char *  table)
void DqsEnd ( char **  query)
void DqsFree ( char *  query)
char* DqsInit ( const char *  table)

Definition at line 63 of file dq_string.c.

References StrAppend(), and StrStrdup().

void DqsOrderBy ( char **  query,
const char *  field 
)
char* DqsSpecifyInit ( const char *  table,
const char *  fields 
)
void DusConditionInt ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
int  value,
int  clause 
)
void DusConditionKeyword ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
const char *  value,
int  clause 
)
void DusConditionString ( char **  query,
const char *  field,
DQS_COMPARISON  compare,
const char *  value,
int  clause 
)

Definition at line 178 of file du_string.c.

References DqsConditionString().

Referenced by KsmImportRepository(), and KsmImportZone().

void DusEnd ( char **  sql)
void DusFree ( char *  sql)
char* DusInit ( const char *  table)
void DusSetInt ( char **  sql,
const char *  field,
int  data,
int  clause 
)
void DusSetString ( char **  sql,
const char *  field,
const char *  data,
int  clause 
)