Add some missing includes
[blerg.git] / database / tags.h
index 18e7587..9c6f78f 100644 (file)
@@ -1,16 +1,15 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _TAGS_H
 #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, uint64_t *, int);
+struct blergref * tag_list(const char *, uint64_t, int *count, int direction);
 int tag_exists(const char *tag);
 
 #endif //_TAGS_H