summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-06 12:56:44 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-06 12:56:44 +0000
commitbc87e8b5844d32a4b6367ca7ecc6aec56a1adf28 (patch)
treed909561e095c41f10d984147442a3d49071a8ae2 /include
parent4fadc291f8754315252c8c05af222eb92520555e (diff)
downloadzabbix-bc87e8b5844d32a4b6367ca7ecc6aec56a1adf28.tar.gz
zabbix-bc87e8b5844d32a4b6367ca7ecc6aec56a1adf28.tar.xz
zabbix-bc87e8b5844d32a4b6367ca7ecc6aec56a1adf28.zip
- [DEV-131] First boot - database creation (sqlite3)
git-svn-id: svn://svn.zabbix.com/trunk@5455 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r--include/db.h1
-rw-r--r--include/zbxdb.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/db.h b/include/db.h
index 500b1210..c0c2b3c9 100644
--- a/include/db.h
+++ b/include/db.h
@@ -469,6 +469,7 @@ const char *DBnode(const char *fieldid, const int nodeid);
int DBping(void);
void DBconnect(int flag);
+void DBinit();
void DBclose(void);
void DBvacuum(void);
diff --git a/include/zbxdb.h b/include/zbxdb.h
index 939fc76d..18c56fef 100644
--- a/include/zbxdb.h
+++ b/include/zbxdb.h
@@ -113,6 +113,7 @@ void PG_DBfree_result(DB_RESULT result);
#endif
int zbx_db_connect(char *host, char *user, char *password, char *dbname, char *dbsocket, int port);
+void zbx_db_init(char *host, char *user, char *password, char *dbname, char *dbsocket, int port);
void zbx_db_close(void);
void zbx_db_vacuum(void);