X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Flibsigrok-internal.h;h=a045b57eada2d24da9d403439213567d7391e3eb;hp=cc87e1edc93094d8f3de6aaa3fd14fa4ad814029;hb=e318f01b2f17d60fc4b25feb7d23e948cb5ffb8f;hpb=cffdc3e63b132795bfcaab91864c1c6b124e87fa diff --git a/src/libsigrok-internal.h b/src/libsigrok-internal.h index cc87e1ed..a045b57e 100644 --- a/src/libsigrok-internal.h +++ b/src/libsigrok-internal.h @@ -681,6 +681,9 @@ SR_PRIV int sr_log(int loglevel, const char *format, ...) G_GNUC_PRINTF(2, 3); /** Device options for a particular device. */ #define SR_CONF_DEVICE_OPTIONS 0x7FFF0001 +/** Mask for separating config keys from capabilities. */ +#define SR_CONF_MASK 0x1fffffff + /** Values for the changes argument of sr_dev_driver.config_channel_set. */ enum { /** The enabled state of the channel has been changed. */