diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/peer.h | 7 | ||||
-rw-r--r-- | src/types.h | 7 |
2 files changed, 7 insertions, 7 deletions
@@ -29,6 +29,13 @@ #include "fastd.h" +typedef enum fastd_peer_state { + STATE_INIT = 0, + STATE_RESOLVING, + STATE_HANDSHAKE, + STATE_ESTABLISHED, +} fastd_peer_state_t; + struct fastd_peer { uint64_t id; diff --git a/src/types.h b/src/types.h index e53449a..7ad2e0b 100644 --- a/src/types.h +++ b/src/types.h @@ -68,13 +68,6 @@ typedef enum fastd_drop_caps { DROP_CAPS_EARLY, } fastd_drop_caps_t; -typedef enum fastd_peer_state { - STATE_INIT = 0, - STATE_RESOLVING, - STATE_HANDSHAKE, - STATE_ESTABLISHED, -} fastd_peer_state_t; - typedef enum fastd_loglevel { LL_UNSPEC = 0, LL_FATAL, |