summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated/hoststated.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/hoststated/hoststated.h')
-rw-r--r--usr.sbin/hoststated/hoststated.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h
index eac62bae1bd..1759ebb8a0b 100644
--- a/usr.sbin/hoststated/hoststated.h
+++ b/usr.sbin/hoststated/hoststated.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststated.h,v 1.35 2007/02/27 13:38:58 reyk Exp $ */
+/* $OpenBSD: hoststated.h,v 1.36 2007/03/05 11:44:50 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -378,6 +378,12 @@ enum nodetype {
#define PNFLAG_LOOKUP_URL 0x08
#define PNFLAG_LOOKUP_COOKIE 0x10
+enum noderesult {
+ PN_DROP = 0,
+ PN_PASS = 1,
+ PN_FAIL = -1
+};
+
struct protonode {
objid_t id;
char *key;