From 2b1838ecf30fd91575a71b877965ed3363356138 Mon Sep 17 00:00:00 2001 From: Soikk Date: Fri, 29 Apr 2022 03:28:34 +0200 Subject: Add or remove tags --- storage.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'storage.h') diff --git a/storage.h b/storage.h index 20cb329..b37bdb8 100644 --- a/storage.h +++ b/storage.h @@ -10,9 +10,12 @@ typedef struct{ char path[MAXPATH]; char tags[MAXTAGS]; + int numTags; } 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); @@ -21,4 +24,6 @@ char *normalizeTag(char *tag); void insertTag(row *r, char *tag); +void removeTag(row *r, char *tag); + #endif \ No newline at end of file -- cgit v1.2.3