about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
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();