Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
#include <sql_clause_list.h>
Public Member Functions | |
SQLClauseList * | AllocateSQLClauseList (void) |
Allocate a SQLClauseList. More... | |
void | FreeSQLClauseList (SQLClauseList *clause_list_p) |
Free a SQLClauseList. More... | |
bool | AddSQLClauseToSQLClauseListByParts (SQLClauseList *list_p, const char *key_s, const char *comp_s, const char *value_s, const char *op_s) |
Add a SQLClauseNode to a SQLClauseList. More... | |
char * | GetAllSQLClausesAsString (SQLClauseList *list_p) |
Get the string for all SQLClauses on a SQLClauseList. More... | |
Data Fields | |
LinkedList | sqlcl_list |
The sublist of SQLClauseNodes for this SQLClauseList. More... | |
SQLClauseList * AllocateSQLClauseList | ( | void | ) |
Allocate a SQLClauseList.
NULL
upon error. void FreeSQLClauseList | ( | SQLClauseList * | clause_list_p | ) |
Free a SQLClauseList.
clause_list_p | The SQLClauseList to free. |
bool AddSQLClauseToSQLClauseListByParts | ( | SQLClauseList * | list_p, |
const char * | key_s, | ||
const char * | comp_s, | ||
const char * | value_s, | ||
const char * | op_s | ||
) |
Add a SQLClauseNode to a SQLClauseList.
op_s | The operator the new SQLClause |
NULL
upon error. char * GetAllSQLClausesAsString | ( | SQLClauseList * | list_p | ) |
Get the string for all SQLClauses on a SQLClauseList.
list_p | The SQLClauseList of SQLClauses. |
NULL
upon error. LinkedList sqlcl_list |
The sublist of SQLClauseNodes for this SQLClauseList.