summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/db.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/api/db.h b/api/db.h
index 24dd4a1..337f8bb 100644
--- a/api/db.h
+++ b/api/db.h
@@ -10,4 +10,12 @@ struct DATA
char* szModule; //database nodue (used when reading info)
char* szSetting; //setting name
};
+
+#define DB_WRITE_SETTING "Db/WriteSetting"
+#define DB_GET_SETTING "Db/GetSetting"
+#define DB_DELETE_SETTING "Db/DeleteSetting"
+#define dbGetSetting(a, b) CallService(DB_GET_SETTING, a, b)
+#define dbSetSetting(a, b) CallService(DB_WRITE_SETTING, a, b)
+#define dbDeleteSetting(a, b) CallService(DB_DELETE_SETTING, a, b)
+
#endif