+#define FILTER_TYPE_NONE 0
+#define FILTER_TYPE_MOVING_AVERAGE 1
+#define FILTER_TYPE_MEDIAN 2
+
+#define MODE_AUTO 0 /* autodetect */
+#define MODE_POLL 1
+#define MODE_TRIGGER 2
+#define MODE_EVENT 3
+
+typedef struct
+{
+ const char *type; /* event type; e.g: transition */
+ const char *dir; /* event direction; e.g: rising */
+
+ /* sysfs entries located in /sys/bus/iio/devices/iio:deviceX/events/ */
+ const char *ev_en_path;
+ const char *ev_value_path;
+}
+event_descriptor_t;
+