diff options
| author | Soikk | 2022-05-05 18:49:13 +0200 |
|---|---|---|
| committer | Soikk | 2022-05-05 18:49:13 +0200 |
| commit | cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31 (patch) | |
| tree | 324257f3e7f72d9fd22f60ac05282bca38e84a2c /storage.h | |
| parent | 39c0dfbc9c4279e519841afae5c7413b1bdf56d8 (diff) | |
| download | soikk-DB-cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31.tar.xz soikk-DB-cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31.tar.zst | |
Deleted spare files
Diffstat (limited to 'storage.h')
| -rw-r--r-- | storage.h | 31 |
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 |
