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.
4 #ifndef _SUBSCRIPTION_H
5 #define _SUBSCRIPTION_H
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);
16 #endif /* _SUBSCRIPTION_H */