77 if (policy_id != -1) {
178 else if (status == -1) {}
222 else if (status == -1) {}
258 if (zone_name == NULL) {
284 else if (status == -1) {}
321 if (zone_name == NULL) {
348 else if (status == -1) {}
449 else if (status == -1) {}
void DbFreeResult(DB_RESULT result)
char name[KSM_ZONE_NAME_LENGTH]
char signconf[KSM_PATH_LENGTH]
int DbFetchRow(DB_RESULT result, DB_ROW *row)
char * DqsSpecifyInit(const char *table, const char *fields)
int KsmZone(DB_RESULT result, KSM_ZONE *data)
int KsmZoneInit(DB_RESULT *result, int policy_id)
int KsmZoneCountInit(DB_RESULT *result, int id)
#define KSM_ZONE_NAME_LENGTH
void DqsOrderBy(char **query, const char *field)
int MsgLog(int status,...)
void DqsFree(char *query)
#define KSM_ADAPTER_NAME_LENGTH
void DdsFree(char *query)
char * DqsCountInit(const char *table)
int KsmZoneNameFromId(int zone_id, char **zone_name)
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)
int KsmZoneIdFromName(const char *zone_name, int *zone_id)
char * DdsInit(const char *table)
char output[KSM_PATH_LENGTH]
const char * DbErrmsg(DB_HANDLE handle)
void DbFreeRow(DB_ROW row)
char input[KSM_PATH_LENGTH]
#define DB_ZONE_POLICY_ID
int KsmZoneCount(DB_RESULT result, int *count)
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 KsmZoneIdAndPolicyFromName(const char *zone_name, int *policy_id, int *zone_id)
int KsmDeleteZone(int zone_id)
void DdsEnd(char **query)
char in_type[KSM_ADAPTER_NAME_LENGTH]
int DbInt(DB_ROW row, int field_index, int *value)
char out_type[KSM_ADAPTER_NAME_LENGTH]
int DbExecuteSqlNoResult(DB_HANDLE handle, const char *stmt_str)
void DqsConditionString(char **query, const char *field, DQS_COMPARISON compare, const char *value, int index)