From ff5da06da823ac3a0bc7e89b35ed573255139b2d Mon Sep 17 00:00:00 2001 From: Soikk Date: Sun, 24 Jul 2022 22:18:31 +0200 Subject: Added ref count for files & tags. Refactored database.c. Removed tags.h but kept documentation. --- include/tags.h | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 include/tags.h (limited to 'include/tags.h') diff --git a/include/tags.h b/include/tags.h deleted file mode 100644 index 0b7f5a9..0000000 --- a/include/tags.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef TAGS_H -#define TAGS_H - -/* - tags are stored in a big table (or their hashes are) ordered - by alphabetical order - tags can have namespaces which are a special tag that starts - with a ':' - all tags in a namespace are located between two occurrences - of the namespace within the list, - e.g [":people", "sam hyde", "hitler", ":people"] - maybe namespaces use another hashing function to prevent - collisions because of the lack of space because of the ':' -*/ - -#define MAXTAGS 4094 - -void insertTag(char **tags, char *tag){ - if() -} - -#endif \ No newline at end of file -- cgit v1.2.3