From 377dc104be127291ede5b32640c23eea0ba6791a Mon Sep 17 00:00:00 2001 From: Soikk Date: Sat, 28 May 2022 03:45:54 +0200 Subject: trying boyer-moore --- include/tags.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/tags.h (limited to 'include/tags.h') diff --git a/include/tags.h b/include/tags.h new file mode 100644 index 0000000..b8a62b5 --- /dev/null +++ b/include/tags.h @@ -0,0 +1,23 @@ +#ifndef TAGS_H +#define TAGS_H + +/* + tags are stored in a big string, separated by semicolons (;) + tags can have namespaces, which should come before the tag + and be followed by a colon (:) + should a namespace store more than one tag, the following + tags will be separated by a comma (,) + spaces are only allowed inside tags or namespaces, as part + of themselves + semicolons, colons, and commas are not allowed inside tags + or namespaces + example: "person:ted kaczynsky;mood:serious;meta:jpg" +*/ + +#define MAXTAGS 4094 + +void insertTag(char **tags, char *tag){ + if() +} + +#endif \ No newline at end of file -- cgit v1.2.3