77 if (policy_id != -1) {
174 else if (status == -1) {}
218 else if (status == -1) {}
254 if (zone_name == NULL) {
280 else if (status == -1) {}
317 if (zone_name == NULL) {
344 else if (status == -1) {}
445 else if (status == -1) {}
void DbFreeResult(DB_RESULT result)
char name[KSM_ZONE_NAME_LENGTH]
int KsmZoneIdAndPolicyFromName(const char *zone_name, int *policy_id, int *zone_id)
char signconf[KSM_PATH_LENGTH]
int DbFetchRow(DB_RESULT result, DB_ROW *row)
char * DqsSpecifyInit(const char *table, const char *fields)
int KsmZoneInit(DB_RESULT *handle, int policy_id)
#define KSM_ZONE_NAME_LENGTH
int KsmZone(DB_RESULT handle, KSM_ZONE *data)
void DqsOrderBy(char **query, const char *field)
int KsmZoneCount(DB_RESULT handle, int *count)
int MsgLog(int status,...)
void DqsFree(char *query)
void DdsFree(char *query)
char * DqsCountInit(const char *table)
int DbString(DB_ROW row, int field_index, char **result)
void DqsConditionInt(char **query, const char *field, DQS_COMPARISON compare, int value, int index)
void DdsConditionInt(char **query, const char *field, DQS_COMPARISON compare, int value, int index)
char * DdsInit(const char *table)
char output[KSM_PATH_LENGTH]
int KsmZoneIdFromName(const char *zone_name, int *zone_id)
const char * DbErrmsg(DB_HANDLE handle)
void DbFreeRow(DB_ROW row)
char input[KSM_PATH_LENGTH]
#define DB_ZONE_POLICY_ID
int DbExecuteSql(DB_HANDLE handle, const char *stmt_str, DB_RESULT *result)
int DbStringBuffer(DB_ROW row, int field_index, char *buffer, size_t buflen)
int KsmDeleteZone(int zone_id)
int KsmZoneNameFromId(int zone_id, char **zone_name)
int KsmZoneCountInit(DB_RESULT *handle, int id)
void DdsEnd(char **query)
int DbInt(DB_ROW row, int field_index, int *value)
int DbExecuteSqlNoResult(DB_HANDLE handle, const char *stmt_str)
void DqsConditionString(char **query, const char *field, DQS_COMPARISON compare, const char *value, int index)