summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-30 02:26:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-30 02:26:30 +0200
commitca127fccb899627e9e9a69d139bd27d79b30cd54 (patch)
treed6aba2530629cf805fc279dcb2702a3f66cdd177 /src/types.h
parent4d696a973af61e716959801c88b3ddbeca582e89 (diff)
downloadfastd-ca127fccb899627e9e9a69d139bd27d79b30cd54.tar
fastd-ca127fccb899627e9e9a69d139bd27d79b30cd54.zip
Rework handshake... again. ecfxp protocol broken, will be fixed with next commit.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/types.h b/src/types.h
index 9828c8f..1730459 100644
--- a/src/types.h
+++ b/src/types.h
@@ -48,9 +48,8 @@ typedef enum _fastd_mode {
typedef enum _fastd_peer_state {
STATE_WAIT,
- STATE_ESTABLISHED,
STATE_TEMP,
- STATE_TEMP_ESTABLISHED,
+ STATE_ESTABLISHED,
} fastd_peer_state;
@@ -67,6 +66,8 @@ typedef struct _fastd_context fastd_context;
typedef struct _fastd_protocol fastd_protocol;
+typedef struct _fastd_handshake fastd_handshake;
+
/* May be defined by the protocol however it likes */
typedef struct _fastd_protocol_config fastd_protocol_config;
typedef struct _fastd_protocol_peer_config fastd_protocol_peer_config;