summaryrefslogtreecommitdiffstats
path: root/tag.h
blob: 5e61e6083f8ab9b04315bcd41b1ebce043f1e561 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);