master/master.h
changeset 1586 eb9185dfa8ac
parent 1585 1f640e321ee4
child 1596 ea8d2b4ee742
--- a/master/master.h	Mon Dec 14 13:11:36 2009 +0100
+++ b/master/master.h	Mon Dec 14 13:25:50 2009 +0100
@@ -114,6 +114,7 @@
     unsigned int injection_seq_rt; /**< Datagram injection sequence number
                                      for the realtime side. */
 
+
     ec_slave_t *slaves; /**< Array of slaves on the bus. */
     unsigned int slave_count; /**< Number of slaves on the bus. */
 
@@ -153,6 +154,8 @@
     struct semaphore ext_queue_sem; /**< Semaphore protecting the \a
                                       ext_datagram_queue. */
 
+    struct list_head sdo_datagram_queue; /**< SDO Datagram queue. */
+    size_t max_queue_size; /** max. size of datagram queue */
     struct list_head domains; /**< List of domains. */
 
     unsigned int debug_level; /**< Master debug level. */
@@ -220,6 +223,8 @@
 void ec_master_receive_datagrams(ec_master_t *, const uint8_t *, size_t);
 void ec_master_queue_datagram(ec_master_t *, ec_datagram_t *);
 void ec_master_queue_datagram_ext(ec_master_t *, ec_datagram_t *);
+void ec_master_queue_sdo_datagram(ec_master_t *, ec_datagram_t *);
+void ec_master_inject_sdo_datagrams(ec_master_t *);
 
 // misc.
 void ec_master_attach_slave_configs(ec_master_t *);