aboutsummaryrefslogtreecommitdiff
path: root/common/subscriptions.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/subscriptions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/subscriptions.h b/common/subscriptions.h
index a152345..0ade221 100644
--- a/common/subscriptions.h
+++ b/common/subscriptions.h
@@ -14,7 +14,7 @@ enum subscription_type {
};
struct subscription {
- char* id;
+ char* rid;
char* name;
enum subscription_type type;
size_t unread;
@@ -22,7 +22,7 @@ struct subscription {
};
void common_subscription_add(struct subscription** subscriptions, const char* id, const char* name, enum subscription_type type, size_t unread);
-struct subscription* common_subscription_new(const char* id, const char* name, enum subscription_type type, size_t unread);
+struct subscription* common_subscription_new(const char* rid, const char* name, enum subscription_type type, size_t unread);
void common_subscriptions_free(struct subscription* subscriptions);
void common_subscriptions_const_walk(const struct subscription* subscriptions, void (*func)(const struct subscription*));