From 9fe644f0d99375ffd3011d8828f7dbd0fb103af0 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sat, 4 Dec 2021 13:48:01 +0100 Subject: Added more gui interaction --- tag.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tag.h (limited to 'tag.h') diff --git a/tag.h b/tag.h new file mode 100644 index 0000000..5e61e60 --- /dev/null +++ b/tag.h @@ -0,0 +1,22 @@ +#pragma once + +#include "link.h" +#include "util.h" + +struct tag { + char *name; + char *fname, *fpath; + + struct link link; +}; + +struct tag_ref { + struct tag *tag; + + struct link link; +}; + +int tagrefs_incl(struct link *head, struct tag *tag); +void tagrefs_add(struct link *head, struct tag *tag); +void tagrefs_rm(struct link *head, struct tag *tag); + -- cgit v1.2.3-71-gd317