SR_ERR_NA = -6, /**< Not applicable. */
SR_ERR_DEV_CLOSED = -7, /**< Device is closed, but needs to be open. */
SR_ERR_TIMEOUT = -8, /**< A timeout occurred. */
+ SR_ERR_PROBE_GROUP= -9, /**< A probe group must be specified. */
/*
* Note: When adding entries here, don't forget to also update the
char *trigger;
};
+/** Structure for groups of probes that have common properties. */
struct sr_probe_group {
- /* List of sr_probe structs. */
+ /** Name of the probe group. */
+ char *name;
+ /** List of sr_probe structs of the probes belonging to this group. */
GSList *probes;
- /* Private data for driver use. */
+ /** Private data for driver use. */
void *priv;
};