Code

store, plugin: Let the plugin module determine an objects backends.
[sysdb.git] / src / include / utils / dbi.h
index c2490410de8b5a38cd66b8c89db85f0e1b9bd1df..af2c8a44ecb1da78acc6ed8de7581e1445da0c2e 100644 (file)
 #define SDB_UTILS_DBI_H 1
 
 #include "core/object.h"
-#include "utils/data.h"
+#include "core/data.h"
 
 #include <stddef.h>
 
 /* translate libdbi types to SysDB types */
-#define DBI_TYPE_TO_SC(dt) \
+#define DBI_TYPE_TO_SDB(dt) \
        (((dt) == DBI_TYPE_INTEGER) \
                ? SDB_TYPE_INTEGER \
                : ((dt) == DBI_TYPE_DECIMAL) \