Add some subscription (a.k.a. "follow") functionality
[blerg.git] / database / subscription.h
1 #ifndef _SUBSCRIPTION_H
2 #define _SUBSCRIPTION_H
3
4 #include <stdint.h>
5
6 struct subscription_record {
7         char author[32];
8         uint64_t record;
9 };
10
11 int subscription_add(const char *from, const char *to);
12 int subscription_remove(const char *from, const char *to);
13
14 #endif /* _SUBSCRIPTION_H */