@@ -31,8 +31,8 @@
* Module: \ref db_postgres
*/
-#ifndef DBASE_H
-#define DBASE_H
+#ifndef KM_DBASE_H
+#define KM_DBASE_H
#include "../../db/db_con.h"
#include "../../db/db_res.h"
@@ -110,4 +110,4 @@ int db_postgres_fetch_result(const db_con_t* _h, db_res_t** _r, const int nrows)
int db_postgres_use_table(db_con_t* _h, const str* _t);
-#endif /* DBASE_H */
+#endif /* KM_DBASE_H */
* Module: \ref db_mysql
-#ifndef PG_CON_H
-#define PG_CON_H
+#ifndef KM_PG_CON_H
+#define KM_PG_CON_H
#include "../../db/db_pool.h"
#include "../../db/db_id.h"
@@ -75,4 +75,4 @@ struct pg_con* db_postgres_new_connection(struct db_id* id);
void db_postgres_free_connection(struct pool_con* con);
-#endif /* PG_CON_H */
+#endif /* KM_PG_CON_H */
@@ -27,8 +27,8 @@
-#ifndef DB_PG_RES_H
-#define DB_PG_RES_H
+#ifndef KM_RES_H
+#define KM_RES_H
#include "../../db/db_row.h"
@@ -26,8 +26,8 @@
-#ifndef DB_PG_VAL_H
-#define DB_PG_VAL_H
+#ifndef KM_VAL_H
+#define KM_VAL_H
int db_postgres_str2val(const db_type_t _t, db_val_t* _v, const char* _s, const int _l);