about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-19T16·43+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-19T16·43+0000
commit9c9a88e9e25bdc4456368a40691e61acf5d3b330 (patch)
tree176cc03f2db2b325f9b4c0929a8f2b8410d2b025 /src/libstore/local-store.hh
parent762cee72ccd860e72c7b639a1dd542ac0f298bb2 (diff)
* Implement more stuff.
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index cfe26039efc3..34aa55fc8f2d 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -61,11 +61,15 @@ struct SQLiteStmt
 {
     sqlite3 * db;
     sqlite3_stmt * stmt;
+    unsigned int curArg;
     SQLiteStmt() { stmt = 0; }
     void create(sqlite3 * db, const string & s);
     void reset();
     ~SQLiteStmt();
     operator sqlite3_stmt * () { return stmt; }
+    void bind(const string & value);
+    void bind(int value);
+    void bind();
 };
     
 
@@ -191,6 +195,7 @@ private:
     SQLiteStmt stmtQueryPathInfo;
     SQLiteStmt stmtQueryReferences;
     SQLiteStmt stmtQueryReferrers;
+    SQLiteStmt stmtInvalidatePath;
 
     int getSchema();