summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorbpc2003 <wpesfriendnva@gmail.com>2025-03-10 16:31:37 -0400
committerbpc2003 <wpesfriendnva@gmail.com>2025-03-10 16:31:37 -0400
commit2011c1e008055005bf980acbff549c8f46a34f25 (patch)
tree54f6b74a190637fa2303bd6db4089bc60e419f2e /src/include
parentde52acd37ea5634712ed78c624f77566e3ac634e (diff)
moved mdb.h and associated files int lib
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