summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-07 16:07:05 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-05-07 16:07:05 +0000
commitba8ff71d6e665ad0ff150937baaaf2bb073fe10e (patch)
tree192d6a169db1a1c16505ac88511b2adf16d8a26f /include
parent5448b89c2d4c3436b7a24ee8994ea2795e4aff20 (diff)
downloadzabbix-ba8ff71d6e665ad0ff150937baaaf2bb073fe10e.tar.gz
zabbix-ba8ff71d6e665ad0ff150937baaaf2bb073fe10e.tar.xz
zabbix-ba8ff71d6e665ad0ff150937baaaf2bb073fe10e.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2816 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r--include/db.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/db.h b/include/db.h
index 7b134f1a..034e32b4 100644
--- a/include/db.h
+++ b/include/db.h
@@ -77,7 +77,7 @@ extern int CONFIG_DBPORT;
#ifdef HAVE_ORACLE
#define DB_RESULT sqlo_stmt_handle_t
#define DBfree_result sqlo_close
- #define DB_ROW const char **
+ #define DB_ROW char **
#endif
#define MAX_HOST_HOST_LEN 64
@@ -342,6 +342,7 @@ DB_ROW DBfetch(DB_RESULT result);
/*char *DBget_field(DB_RESULT result, int rownum, int fieldnum);*/
/*int DBnum_rows(DB_RESULT result);*/
int DBinsert_id();
+int DBis_null(char *field);
int DBget_function_result(double *result,char *functionid);
void DBupdate_host_availability(int hostid,int available,int clock,char *error);