summaryrefslogtreecommitdiff
path: root/h
diff options
context:
space:
mode:
authorGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-02-23 15:00:54 -0500
committerGravatar Karl Ramm <kcr@1ts.org>2013-02-26 23:01:10 -0500
commita323589383be38de2f76b564c5edc493bf7f9ec2 (patch)
tree6547a2080c31a0fee4866f7d42196d52999fa58f /h
parent0fb2236580debdd37eeac27a5e0ae81d160400b4 (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.h1
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);