96 query =
StrStrdup(
"SELECT COUNT(*) FROM ");
149 static void DqsAppendComparison(
char** query,
DQS_COMPARISON compare)
227 int value,
int index)
231 StrAppend(query, (index == 0) ?
" WHERE " :
" AND ");
233 DqsAppendComparison(query, compare);
241 const char* value,
int index)
243 StrAppend(query, (index == 0) ?
" WHERE " :
" AND ");
245 DqsAppendComparison(query, compare);
256 StrAppend(query, (index == 0) ?
" WHERE " :
" AND ");
258 DqsAppendComparison(query, compare);
char * DqsSpecifyInit(const char *table, const char *fields)
void DqsConditionKeyword(char **query, const char *field, DQS_COMPARISON compare, const char *value, int index)
void DqsOrderBy(char **query, const char *field)
void DqsFree(char *query)
char * DqsCountInit(const char *table)
char * StrStrdup(const char *string)
void DqsConditionInt(char **query, const char *field, DQS_COMPARISON compare, int value, int index)
void StrAppend(char **str1, const char *str2)
char * DqsInit(const char *table)
void DqsEnd(char **query)
void DqsConditionString(char **query, const char *field, DQS_COMPARISON compare, const char *value, int index)