]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/db/pg_driver.h
Initialise 'user' field in IA_USER's constructor
[stg.git] / projects / stargazer / plugins / store / db / pg_driver.h
index a6cee6e2069247e76eef1c28d3a91ef6eac49a74..95b938fa2cb84c206848274cd1ef1d29a66df956 100644 (file)
@@ -5,6 +5,9 @@
 
 #include "base_db.h"
 
 
 #include "base_db.h"
 
+extern "C" BASE_DB * CreateDriver();
+extern "C" void DestroyDriver(BASE_DB *);
+
 class PG_DRIVER : public BASE_DB {
 public:
     virtual ~PG_DRIVER();
 class PG_DRIVER : public BASE_DB {
 public:
     virtual ~PG_DRIVER();
@@ -22,6 +25,7 @@ public:
 private:
     PGconn * conn;
     PGresult * result;
 private:
     PGconn * conn;
     PGresult * result;
+    COLUMNS cols;
 };
 
 #endif
 };
 
 #endif