]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
hwdriver: Introduce sr_config_commit() API call.
[libsigrok.git] / libsigrok-internal.h
index d7d740d822000685f5d56fc4ef24a6da9e26f851..aa8283f1c070c5eca237e46334692caca589f329 100644 (file)
@@ -174,6 +174,14 @@ SR_PRIV int sr_err(const char *format, ...);
 
 /*--- device.c --------------------------------------------------------------*/
 
+/** Values for the changes argument of sr_dev_driver.config_probe_set. */
+enum {
+       /** The enabled state of the probe has been changed. */
+       SR_PROBE_SET_ENABLED = 1 << 0,
+       /** The trigger setup of the probe has been changed. */
+       SR_PROBE_SET_TRIGGER = 1 << 1,
+};
+
 SR_PRIV struct sr_probe *sr_probe_new(int index, int type,
                gboolean enabled, const char *name);