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.
|
A datatype for storing a SQLClause on a LinkedList. More...
#include <sql_clause.h>
Public Member Functions | |
SQLClauseNode * | AllocateSQLClauseNode (const char *key_s, const char *comp_s, const char *value_s, const char *op_s) |
Allocate a SQLClauseNode containing a fully initialised SQLClause. More... | |
void | FreeSQLClauseNode (ListItem *node_p) |
Free a SQLClauseNode. More... | |
Data Fields | |
ListItem | sqlcn_node |
The base ListItem. More... | |
const char * | sqlcn_op_s |
The op for this string such as AND, OR, NOT, etc. More... | |
SQLClause * | sqlcn_clause_p |
The SQLClause. More... | |
A datatype for storing a SQLClause on a LinkedList.
SQLClauseNode * AllocateSQLClauseNode | ( | const char * | key_s, |
const char * | comp_s, | ||
const char * | value_s, | ||
const char * | op_s | ||
) |
Allocate a SQLClauseNode containing a fully initialised SQLClause.
key_s | The key for the underlying SQLClause. |
comp_s | The comparison for the underlying SQLClause. |
value_s | The value for the underlying SQLClause. |
op_s | The value for how the underling SQLClause will be used with other SQLClauses. |
NULL
upon error. void FreeSQLClauseNode | ( | ListItem * | node_p | ) |
Free a SQLClauseNode.
This will also call FreeSQLClause() for the contained SQLClause.
node_p | The SQLClauseNode to free. |
const char* sqlcn_op_s |
The op for this string such as AND, OR, NOT, etc.