summaryrefslogtreecommitdiffstats
path: root/tag.h
diff options
context:
space:
mode:
Diffstat (limited to 'tag.h')
-rw-r--r--tag.h22
1 files changed, 22 insertions, 0 deletions
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);
+