summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-07-23 19:48:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-07-23 19:48:46 +0200
commit945cc762afe999bdc9b30fa2818f64e7a5ae2db6 (patch)
tree16cce8aa878aeb08803e1bb764129f5c510e6be3 /src/types.h
parentf0a655e9db3a46ab3f0c8bba7af548ff440ab98e (diff)
downloadfastd-945cc762afe999bdc9b30fa2818f64e7a5ae2db6.tar
fastd-945cc762afe999bdc9b30fa2818f64e7a5ae2db6.zip
Prepare for improved peer state handling
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index fec723b..f3553c2 100644
--- a/src/types.h
+++ b/src/types.h
@@ -48,6 +48,11 @@ typedef enum fastd_drop_caps {
DROP_CAPS_EARLY,
} fastd_drop_caps_t;
+typedef enum fastd_peer_state {
+ STATE_INIT = 0,
+ STATE_ESTABLISHED,
+} fastd_peer_state_t;
+
typedef struct fastd_buffer fastd_buffer_t;
typedef union fastd_peer_address fastd_peer_address_t;