summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-05-22 03:31:22 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-05-22 03:31:22 +0200
commit0e3407d9aa912ef6e110f3326de17744af9e0ad6 (patch)
tree7aaa22e791695bd17f0410ed9e66a9777ba86361
parent2693cfc6e5f1cf1949a8d4fe25fa7c28c7d1d9ae (diff)
downloadfastd-0e3407d9aa912ef6e110f3326de17744af9e0ad6.tar
fastd-0e3407d9aa912ef6e110f3326de17744af9e0ad6.zip
Move fastd_peer_state_t to peer.h
-rw-r--r--src/peer.h7
-rw-r--r--src/types.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/src/peer.h b/src/peer.h
index 74b1074..108a1c0 100644
--- a/src/peer.h
+++ b/src/peer.h
@@ -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,