X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libsigrok-internal.h;fp=libsigrok-internal.h;h=aa8283f1c070c5eca237e46334692caca589f329;hb=2a854d71392d2d22c59ec975ca11eb72ab81061d;hp=d7d740d822000685f5d56fc4ef24a6da9e26f851;hpb=2b0e4a468a522770f27959d07efdd7b23e70a509;p=libsigrok.git diff --git a/libsigrok-internal.h b/libsigrok-internal.h index d7d740d8..aa8283f1 100644 --- a/libsigrok-internal.h +++ b/libsigrok-internal.h @@ -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);