dbd/sqlite3/dbd_sqlite3.h

Fri, 16 Jul 2010 06:25:44 +0000

author
nrich@ii.net
date
Fri, 16 Jul 2010 06:25:44 +0000
changeset 39
9320905982a8
parent 21
7956401a0c5e
child 41
e490414a391d
permissions
-rw-r--r--

Create builddir before building

#include <sqlite3.h>
#include <dbd/common.h>

#define DBD_SQLITE_CONNECTION	"DBD.SQLite3.Connection"
#define DBD_SQLITE_STATEMENT	"DBD.SQLite3.Statement"

/*
 * connection object
 */
typedef struct _connection {
    sqlite3 *sqlite;
    int autocommit;
} connection_t;

/*
 * statement object
 */
typedef struct _statement {
    sqlite3_stmt *stmt;
    sqlite3 *sqlite;
    int more_data;
    int affected;
} statement_t;

mercurial