Add subscription feed fetching, clean up a bit
[blerg.git] / database / tags.h
index a75047b..9c6f78f 100644 (file)
@@ -5,15 +5,11 @@
 #define _TAGS_H
 
 #include <stdint.h>
-
-struct tag {
-       char author[32];
-       uint64_t record;
-};
+#include "blergref.h"
 
 int tag_scan(const char *, const char *, int, uint64_t);
 int tag_add(const char *, const char *, uint64_t);
-struct tag * tag_list(const char *, uint64_t, int *count, int direction);
+struct blergref * tag_list(const char *, uint64_t, int *count, int direction);
 int tag_exists(const char *tag);
 
 #endif //_TAGS_H