Make SR_CONF_MASK an internal constant.

This commit is contained in:
Martin Ling 2015-11-03 01:59:42 +00:00 committed by Uwe Hermann
parent cffdc3e63b
commit e318f01b2f
2 changed files with 3 additions and 2 deletions

View File

@ -662,8 +662,6 @@ enum sr_configcap {
SR_CONF_LIST = (1 << 29),
};
#define SR_CONF_MASK 0x1fffffff
/** Configuration keys */
enum sr_configkey {
/*--- Device classes ------------------------------------------------*/

View File

@ -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. */