summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/mdb.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/include/mdb.h b/src/include/mdb.h
deleted file mode 100644
index 49f5903..0000000
--- a/src/include/mdb.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef MDB_H
-#define MDB_H
-
-#define TABLEN 1024
-
-union value {
- char *str;
- double num;
- unsigned int b : 1;
-};
-
-struct keytab {
- char *key;
- int flag;
- union value v;
-};
-
-struct keytablist {
- int len;
- struct keytab tab[TABLEN];
-};
-
-int *getkeys(struct keytablist *list, int id);
-struct keytab getkey(struct keytablist *list, int id, char *key);
-int setkey(struct keytablist **list, int *len, int id, char *pair);
-void delkey(struct keytablist *list, int id, char *key);
-
-struct keytablist *readdb(char *filename);
-void writedb(char *filename, struct keytablist *list);
-
-#endif