summaryrefslogtreecommitdiff
path: root/h/zephyr
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-06-28 14:11:12 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-06-28 14:11:12 +0000
commitcfa30a1a94c9b46742fae240e89d3f7d64b8b9bc (patch)
treed45eb44e60eab328f580a05ef8d12f53dd776185 /h/zephyr
parent81f7a959509af3fcfb4bb7a882eea1da4ce4ff5d (diff)
return values for ZCheckAuthentication
Diffstat (limited to 'h/zephyr')
-rw-r--r--h/zephyr/zephyr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h
index 861c87e..5ab3fea 100644
--- a/h/zephyr/zephyr.h
+++ b/h/zephyr/zephyr.h
@@ -47,6 +47,11 @@ typedef char ZPacket_t[Z_MAXPKTLEN];
/* Maximum number of unknown fields in ZNotice_t */
#define Z_MAXOTHERFIELDS 10
+ /* Authentication levels returned by ZCheckAuthentication */
+#define ZAUTH_FAILED (-1)
+#define ZAUTH_YES 1
+#define ZAUTH_NO 0
+
/* Packet type */
typedef enum { UNSAFE, UNACKED, ACKED, HMACK, HMCTL, SERVACK, SERVNAK,
CLIENTACK, STAT } ZNotice_Kind_t;