]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/db/pg_driver.h
Simplified admins API
[stg.git] / projects / stargazer / plugins / store / db / pg_driver.h
index a6cee6e2069247e76eef1c28d3a91ef6eac49a74..95b938fa2cb84c206848274cd1ef1d29a66df956 100644 (file)
@@ -5,6 +5,9 @@
 
 #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();
@@ -22,6 +25,7 @@ public:
 private:
     PGconn * conn;
     PGresult * result;
+    COLUMNS cols;
 };
 
 #endif