diff options
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 |
