From a323589383be38de2f76b564c5edc493bf7f9ec2 Mon Sep 17 00:00:00 2001 From: Jeffrey Hutzelman Date: Sat, 23 Feb 2013 15:00:54 -0500 Subject: 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 --- h/zephyr/zephyr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'h/zephyr') 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); -- cgit v1.2.3