master/ethernet.c
changeset 235 f973808540a6
parent 219 7572c5bf7bb3
child 246 0bf7c769de06
--- a/master/ethernet.c	Fri May 12 12:38:22 2006 +0000
+++ b/master/ethernet.c	Fri May 12 12:40:45 2006 +0000
@@ -263,6 +263,18 @@
 /*****************************************************************************/
 
 /**
+   Returns the state of the device.
+   \return 1 if the device is "up", 0 if it is "down"
+*/
+
+unsigned int ec_eoe_active(const ec_eoe_t *eoe /**< EoE object */)
+{
+    return eoe->opened;
+}
+
+/*****************************************************************************/
+
+/**
    Prints EoE object information.
 */