Add some missing includes
[blerg.git] / database / subscription.h
1 /* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
2  * BSD-style license.  Please see the COPYING file for details.
3  */
4 #ifndef _SUBSCRIPTION_H
5 #define _SUBSCRIPTION_H
6
7 #include <stdint.h>
8 #include "blergref.h"
9
10 int subscription_add(const char *from, const char *to);
11 int subscription_remove(const char *from, const char *to);
12 int subscription_notify(const char *author, uint64_t record);
13 struct blergref * subscription_list(const char *author, uint64_t offset, int *count, int direction);
14 int is_subscribed(const char *from, const char *to);
15 int subscription_count_items(const char *user);
16
17 #endif /* _SUBSCRIPTION_H */