summaryrefslogtreecommitdiff
path: root/include/db-util-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/db-util-common.h')
-rwxr-xr-xinclude/db-util-common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/db-util-common.h b/include/db-util-common.h
index 11d4915..4229d5a 100755
--- a/include/db-util-common.h
+++ b/include/db-util-common.h
@@ -27,6 +27,7 @@ extern "C" {
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <stdbool.h>
#include <sqlite3.h>
@@ -34,6 +35,20 @@ extern "C" {
#define EXPORT_API __attribute__ ((visibility("default")))
#endif
+#ifndef PARAM_IN
+#define PARAM_IN
+#endif
+
+#ifndef PARAM_OUT
+#define PARAM_OUT
+#endif
+
+typedef enum {
+ DB_UTIL_ERROR = SQLITE_ERROR,
+ DB_UTIL_OK = SQLITE_OK,
+} db_util_err;
+
+
#ifdef __cplusplus
}
#endif