master/ioctl.h
changeset 1242 632a6b91f8e4
parent 1200 ce1a65f06efc
child 1244 0b70040d3daa
--- a/master/ioctl.h	Wed Oct 01 14:37:34 2008 +0000
+++ b/master/ioctl.h	Wed Oct 01 14:42:28 2008 +0000
@@ -78,6 +78,7 @@
 #define EC_IOCTL_CONFIG_PDO           EC_IOWR(0x13, ec_ioctl_config_pdo_t)
 #define EC_IOCTL_CONFIG_PDO_ENTRY     EC_IOWR(0x14, ec_ioctl_config_pdo_entry_t)
 #define EC_IOCTL_CONFIG_SDO           EC_IOWR(0x15, ec_ioctl_config_sdo_t)
+#define EC_IOCTL_REQUEST               EC_IOR(0x16, ec_ioctl_request_t)
 
 #define EC_IOCTL_STRING_SIZE 64
 
@@ -361,6 +362,12 @@
 
 /*****************************************************************************/
 
+typedef struct {
+    ec_master_t *handle;
+} ec_ioctl_request_t;
+
+/*****************************************************************************/
+
 /** \endcond */
 
 #endif