dbd/sqlite3/dbd_sqlite3.h

changeset 2
c4f02fc67e5a
parent 1
408291a6eb3e
child 13
10c8c6f0da14
equal deleted inserted replaced
1:408291a6eb3e 2:c4f02fc67e5a
2 #include <dbd/common.h> 2 #include <dbd/common.h>
3 3
4 #define DBD_SQLITE_CONNECTION "DBD.SQLite3.Connection" 4 #define DBD_SQLITE_CONNECTION "DBD.SQLite3.Connection"
5 #define DBD_SQLITE_STATEMENT "DBD.SQLite3.Statement" 5 #define DBD_SQLITE_STATEMENT "DBD.SQLite3.Statement"
6 6
7 /*
8 * connection object
9 */
7 typedef struct _connection { 10 typedef struct _connection {
8 sqlite3 *sqlite; 11 sqlite3 *sqlite;
9 } connection_t; 12 } connection_t;
10 13
14 /*
15 * statement object
16 */
11 typedef struct _statement { 17 typedef struct _statement {
12 sqlite3_stmt *stmt; 18 sqlite3_stmt *stmt;
13 sqlite3 *sqlite; 19 sqlite3 *sqlite;
14 int more_data; 20 int more_data;
15 } statement_t; 21 } statement_t;

mercurial