/database/tags.h
/* 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>
#include "blergref.h"

int tag_scan(const char *, const char *, int, uint64_t);
int tag_add(const char *, const char *, uint64_t);
struct blergref * tag_list(const char *, uint64_t, int *count, int direction);
int tag_exists(const char *tag);

#endif //_TAGS_H