apop_db_sqlite.c File Reference
Data Structures
Defines
- #define sqfn(name)
-
#define sqlink(name) sqlite3_create_function(db, #name , 1, SQLITE_ANY, NULL, &name##Fn, NULL, NULL);
Typedefs
Functions
-
sqfn (sqrt)
-
apop_data * apop_sqlite_query_to_text (char *query)
-
apop_data * apop_sqlite_multiquery (const char *intypes, char *query)
Variables
-
sqlite3 * db = NULL
-
int currentrow
-
int namecol
Detailed Description
This file is included directly into apop_db.c. It is read only if APOP_USE_SQLITE is defined.
Copyright (c) 2006--2007 by Ben Klemens. Licensed under the modified GNU GPL v2; see COPYING and COPYING2.
Define Documentation
Value:static void name##Fn(sqlite3_context *context, int argc, sqlite3_value **argv){ \
sqlite3_result_double(context, name(sqlite3_value_double(argv[0]))); }
Autogenerated by doxygen on 23 Nov 2009.