X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=database%2Ftags.h;h=9c6f78fd10a858d0f42b0ef176886fc261b94210;hb=948ce5be6ef6bba36edfb544565ca22e316afb0a;hp=18e7587467780c3b5ca81c1922807570003cce9e;hpb=1cf0f1ebfbd5b5a621af2a49ac0328fd0cec4bf4;p=blerg.git diff --git a/database/tags.h b/database/tags.h index 18e7587..9c6f78f 100644 --- a/database/tags.h +++ b/database/tags.h @@ -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 - -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