aboutsummaryrefslogtreecommitdiff
path: root/storage.h
diff options
context:
space:
mode:
authorSoikk2022-05-05 18:49:13 +0200
committerSoikk2022-05-05 18:49:13 +0200
commitcdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31 (patch)
tree324257f3e7f72d9fd22f60ac05282bca38e84a2c /storage.h
parent39c0dfbc9c4279e519841afae5c7413b1bdf56d8 (diff)
downloadsoikk-DB-cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31.tar.xz
soikk-DB-cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31.tar.zst
Deleted spare files
Diffstat (limited to 'storage.h')
-rw-r--r--storage.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/storage.h b/storage.h
deleted file mode 100644
index 9689a56..0000000
--- a/storage.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef STORAGE_H
-#define STORAGE_H
-
-#include "db.h"
-
-#define MAXPATH 4096
-#define MAXTAGS 4096
-
-
-typedef struct{
- char path[MAXPATH];
- char tags[MAXTAGS];
- uint16_t numTags;
- uint16_t lentags;
-
-} row;
-
-
-row *newRow(const char *path);
-
-void split(const char *src, char sep, char ***arr, int *len);
-
-void swapWords(char ***arr, int a, int b);
-
-char *normalizeTag(char *tag);
-
-void insertTag(row *r, char *tag);
-
-void removeTag(row *r, char *tag);
-
-#endif