equal
deleted
inserted
replaced
261 } |
261 } |
262 |
262 |
263 /*****************************************************************************/ |
263 /*****************************************************************************/ |
264 |
264 |
265 /** |
265 /** |
|
266 Returns the state of the device. |
|
267 \return 1 if the device is "up", 0 if it is "down" |
|
268 */ |
|
269 |
|
270 unsigned int ec_eoe_active(const ec_eoe_t *eoe /**< EoE object */) |
|
271 { |
|
272 return eoe->opened; |
|
273 } |
|
274 |
|
275 /*****************************************************************************/ |
|
276 |
|
277 /** |
266 Prints EoE object information. |
278 Prints EoE object information. |
267 */ |
279 */ |
268 |
280 |
269 void ec_eoe_print(const ec_eoe_t *eoe /**< EoE object */) |
281 void ec_eoe_print(const ec_eoe_t *eoe /**< EoE object */) |
270 { |
282 { |