From cdff3c73f8945fe207b49ad6e7c7ce41b9e4ab31 Mon Sep 17 00:00:00 2001 From: Soikk Date: Thu, 5 May 2022 18:49:13 +0200 Subject: Deleted spare files --- storage.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 storage.h (limited to 'storage.h') 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 -- cgit v1.2.3