Sun, 23 Nov 2008 04:12:04 +0000
Cleanup and commenting
1 | 1 | #include <sqlite3.h> |
2 | #include <dbd/common.h> | |
3 | ||
4 | #define DBD_SQLITE_CONNECTION "DBD.SQLite3.Connection" | |
5 | #define DBD_SQLITE_STATEMENT "DBD.SQLite3.Statement" | |
6 | ||
2 | 7 | /* |
8 | * connection object | |
9 | */ | |
1 | 10 | typedef struct _connection { |
11 | sqlite3 *sqlite; | |
12 | } connection_t; | |
13 | ||
2 | 14 | /* |
15 | * statement object | |
16 | */ | |
1 | 17 | typedef struct _statement { |
18 | sqlite3_stmt *stmt; | |
19 | sqlite3 *sqlite; | |
20 | int more_data; | |
21 | } statement_t; | |
22 |