summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/switchd/types.h')
-rw-r--r--usr.sbin/switchd/types.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/switchd/types.h b/usr.sbin/switchd/types.h
index b9d8b81c95b..0ebf1e708e5 100644
--- a/usr.sbin/switchd/types.h
+++ b/usr.sbin/switchd/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.7 2016/10/12 19:07:42 reyk Exp $ */
+/* $OpenBSD: types.h,v 1.8 2016/11/17 12:40:56 reyk Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -97,6 +97,17 @@ enum switch_conn_type {
SWITCH_CONN_TLS
};
+enum oflowmod_state {
+ OFMCTX_INIT,
+ OFMCTX_OPEN,
+ OFMCTX_MOPEN,
+ OFMCTX_MCLOSE,
+ OFMCTX_IOPEN,
+ OFMCTX_ICLOSE,
+ OFMCTX_CLOSE,
+ OFMCTX_ERR
+};
+
#ifndef nitems
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
#endif