aboutsummaryrefslogtreecommitdiffstats
path: root/codi/codi_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'codi/codi_db.h')
-rw-r--r--codi/codi_db.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/codi/codi_db.h b/codi/codi_db.h
deleted file mode 100644
index c6fd586..0000000
--- a/codi/codi_db.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) 2016 Intel Corporation
- *
- * Author: Todor Minchev <todor.minchev@linux.intel.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, or (at your option) any later version, as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- */
-
-#ifndef CODI_DB_H
-#define CODI_DB_H
-
-#define CODI_DB "codi.db"
-
-int init_db(void);
-int db_insert_node(char *id, char *ip, char *port);
-int exec_db_query(const char *sql, int (*callback)(void*, int, char**, char**), \
- void *callback_arg, char **errmsg);
-int get_db_nodes(char *id);
-
-#endif