summaryrefslogtreecommitdiff
path: root/h/zephyr
diff options
context:
space:
mode:
authorGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-02-22 21:17:44 -0500
committerGravatar Karl Ramm <kcr@1ts.org>2013-02-26 23:01:10 -0500
commit18e990a4f37a750ff71a2c5c9206afcd95df6208 (patch)
tree5f3ceffa9c90bbce6c6a4635de487302ae3d32e1 /h/zephyr
parent58a713e13c61dd4ce0b7f9f81685879353c0b911 (diff)
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
Diffstat (limited to 'h/zephyr')
-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 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*);