From 18e990a4f37a750ff71a2c5c9206afcd95df6208 Mon Sep 17 00:00:00 2001 From: Jeffrey Hutzelman Date: Fri, 22 Feb 2013 21:17:44 -0500 Subject: Allow zctl flush_locs to take a user argument Provide a new library function, ZFlushUserLocations(), to flush locations for a specified user. This can be called using zctl flush_locs, which now takes an optional username parameter. This is the client side of #102 --- 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 a7eb17f..faa8140 100644 --- a/h/zephyr/zephyr.h +++ b/h/zephyr/zephyr.h @@ -209,6 +209,7 @@ Code_t ZInitLocationInfo(char *hostname, char *tty); Code_t ZSetLocation(char *exposure); Code_t ZUnsetLocation(void); Code_t ZFlushMyLocations(void); +Code_t ZFlushUserLocations(char *); char *ZParseExposureLevel(char *text); Code_t ZFormatRawNotice(ZNotice_t *, char**, int *); Code_t ZRetrieveSubscriptions(unsigned short, int*); -- cgit v1.2.3