master/master.h
changeset 956 d9b9bc794d10
parent 946 6ef20c5de875
child 990 4f223f3df05a
equal deleted inserted replaced
955:9b1c277a1b34 956:d9b9bc794d10
   124     struct list_head datagram_queue; /**< datagram queue */
   124     struct list_head datagram_queue; /**< datagram queue */
   125     uint8_t datagram_index; /**< current datagram index */
   125     uint8_t datagram_index; /**< current datagram index */
   126 
   126 
   127     struct list_head domains; /**< list of domains */
   127     struct list_head domains; /**< list of domains */
   128 
   128 
   129     int debug_level; /**< master debug level */
   129     int debug_level; /**< Master debug level. */
   130     ec_stats_t stats; /**< cyclic statistics */
   130     ec_stats_t stats; /**< cyclic statistics */
   131     unsigned int frames_timed_out; /**< there were frame timeouts in the last
   131     unsigned int frames_timed_out; /**< there were frame timeouts in the last
   132                                      call to ecrt_master_receive() */
   132                                      call to ecrt_master_receive() */
   133 
   133 
   134     int thread_id; /**< master thread PID */
   134     int thread_id; /**< master thread PID */
   198 void ec_master_destroy_slaves(ec_master_t *);
   198 void ec_master_destroy_slaves(ec_master_t *);
   199 
   199 
   200 unsigned int ec_master_domain_count(const ec_master_t *);
   200 unsigned int ec_master_domain_count(const ec_master_t *);
   201 ec_domain_t *ec_master_find_domain(ec_master_t *, unsigned int);
   201 ec_domain_t *ec_master_find_domain(ec_master_t *, unsigned int);
   202 
   202 
   203 /*****************************************************************************/
   203 int ec_master_debug_level(ec_master_t *, int);
   204 
   204 
   205 #endif
   205 /*****************************************************************************/
       
   206 
       
   207 #endif