summaryrefslogtreecommitdiffstats
path: root/tag.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-12-04 13:48:01 +0100
committerLouis Burda <quent.burda@gmail.com>2021-12-20 15:31:16 +0100
commit9fe644f0d99375ffd3011d8828f7dbd0fb103af0 (patch)
tree71ed89f1c7316dba818bc921d772aaa1fc957dab /tag.h
parentd68d0f39ab7675745e7d177f6774736f7ec58783 (diff)
downloadtmus-9fe644f0d99375ffd3011d8828f7dbd0fb103af0.tar.gz
tmus-9fe644f0d99375ffd3011d8828f7dbd0fb103af0.zip
Added more gui interaction
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);
+