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.
sqlite_column.h File Reference
#include "typedefs.h"
#include "linked_list.h"
#include "sqlite_library.h"
Include dependency graph for sqlite_column.h:

Go to the source code of this file.

Data Structures

struct  SQLiteColumn
 A datatype to model an SQLite column. More...
 
struct  SQLiteColumnNode
 A datatype for storing a SQLiteColumn on a LinkedList. More...
 

Functions

SQLiteColumnAllocateSQLiteColumn (const char *name_s, uint32 datatype, bool primary_key_flag, bool unique_flag, bool can_be_null_flag, const char *check_s)
 
void FreeSQLiteColumn (SQLiteColumn *column_p)
 
SQLiteColumnNodeAllocateSQLiteColumnNode (const char *name_s, uint32 datatype, bool primary_key_flag, bool unique_flag, bool can_be_null_flag, const char *check_s)
 
void FreeSQLiteColumnNode (ListItem *node_p)
 
char * GetSQLiteColumnAsString (const SQLiteColumn *column_p)
 
const char * GetSQLiteColumnDatatypeAsString (const SQLiteColumn *column_p)
 

Function Documentation

◆ AllocateSQLiteColumn()

SQLiteColumn* AllocateSQLiteColumn ( const char *  name_s,
uint32  datatype,
bool  primary_key_flag,
bool  unique_flag,
bool  can_be_null_flag,
const char *  check_s 
)

◆ FreeSQLiteColumn()

void FreeSQLiteColumn ( SQLiteColumn column_p)

◆ AllocateSQLiteColumnNode()

SQLiteColumnNode* AllocateSQLiteColumnNode ( const char *  name_s,
uint32  datatype,
bool  primary_key_flag,
bool  unique_flag,
bool  can_be_null_flag,
const char *  check_s 
)

◆ FreeSQLiteColumnNode()

void FreeSQLiteColumnNode ( ListItem node_p)

◆ GetSQLiteColumnAsString()

char* GetSQLiteColumnAsString ( const SQLiteColumn column_p)

◆ GetSQLiteColumnDatatypeAsString()

const char* GetSQLiteColumnDatatypeAsString ( const SQLiteColumn column_p)