master/fsm_foe.h
changeset 2068 3001f6523e63
parent 2045 ff2a13a4603c
child 2589 2b9c78543663
--- a/master/fsm_foe.h	Fri May 13 15:33:16 2011 +0200
+++ b/master/fsm_foe.h	Fri May 13 15:34:20 2011 +0200
@@ -51,7 +51,7 @@
  */
 struct ec_fsm_foe {
     ec_slave_t *slave; /**< slave the FSM runs on */
-    ec_datagram_t *datagram; /**< datagram used in the state machine */
+    ec_mailbox_t *mbox; /**< mailbox used in the state machine */
     unsigned int retries; /**< retries upon datagram timeout */
 
     void (*state)(ec_fsm_foe_t *); /**< FoE state function */
@@ -80,7 +80,7 @@
 
 /*****************************************************************************/
 
-void ec_fsm_foe_init(ec_fsm_foe_t *, ec_datagram_t *);
+void ec_fsm_foe_init(ec_fsm_foe_t *, ec_mailbox_t *);
 void ec_fsm_foe_clear(ec_fsm_foe_t *);
 
 int ec_fsm_foe_exec(ec_fsm_foe_t *);