diff options
author | Jeffrey Hutzelman <jhutz@cmu.edu> | 2013-02-23 15:00:54 -0500 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2013-02-26 23:01:10 -0500 |
commit | a323589383be38de2f76b564c5edc493bf7f9ec2 (patch) | |
tree | 6547a2080c31a0fee4866f7d42196d52999fa58f /h | |
parent | 0fb2236580debdd37eeac27a5e0ae81d160400b4 (diff) |
zctl flush_subs
Provide a new zctl subcommand, flush_subs, to flush all subscriptions for
a specified recipient. This is implemented using a new library function,
ZFlushUserSubscriptions().
This is the client side of #103
Diffstat (limited to 'h')
-rw-r--r-- | h/zephyr/zephyr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h index 78b4139..207624b 100644 --- a/h/zephyr/zephyr.h +++ b/h/zephyr/zephyr.h @@ -244,6 +244,7 @@ Code_t ZSubscribeToSansDefaults(ZSubscription_t *sublist, int nitems, Code_t ZUnsubscribeTo(ZSubscription_t *sublist, int nitems, unsigned int port); Code_t ZCancelSubscriptions(unsigned int port); +Code_t ZFlushUserSubscriptions(char *recip); int ZPending(void); Code_t ZReceiveNotice(ZNotice_t *notice, struct sockaddr_in *from); const char *ZGetCharsetString(char *charset); |