From 0fb2236580debdd37eeac27a5e0ae81d160400b4 Mon Sep 17 00:00:00 2001 From: Jeffrey Hutzelman Date: Sat, 23 Feb 2013 03:34:06 -0500 Subject: server: add CLIENT_FLUSHSUBS control message This adds support to the server for a new client control message, CLIENT_FLUSHSUBS, which flushes all subscriptions and pending retransmits for clients belonging to a given principal. The target principal must be the same as the sender, unless the sender is on the opstaff ACL. This is the server side of #103 --- h/zephyr/zephyr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'h') diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h index faa8140..78b4139 100644 --- a/h/zephyr/zephyr.h +++ b/h/zephyr/zephyr.h @@ -316,6 +316,7 @@ void Z_debug_stderr(const char *format, va_list args, void *closure); #define CLIENT_GIMMESUBS "GIMME" /* Opcode: Give me subs */ #define CLIENT_GIMMEDEFS "GIMMEDEFS" /* Opcode: Give me default * subscriptions */ +#define CLIENT_FLUSHSUBS "FLUSHSUBS" /* Opcode: Clear subs for princ */ #define ZEPHYR_CTL_HM "HM" /* Inst: From HM */ #define HM_BOOT "BOOT" /* Opcode: Boot msg */ -- cgit v1.2.3