]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
Deprecate SR_DI_FILTERS.
[libsigrok.git] / libsigrok.h
index 90e5e537aaba8dfc80153733fe9b9ae142878be7..0a48366b239529b0e50ba3199a0ee7a3e662dbaf 100644 (file)
@@ -551,26 +551,12 @@ enum {
        SR_DI_HWOPTS = 10000,
        /** A list of capabilities supported by the device. */
        SR_DI_HWCAPS,
-       /** Samplerates supported by this device (struct sr_samplerates). */
-       SR_DI_SAMPLERATES,
        /** Types of logic trigger supported, out of "01crf" (char *). */
        SR_DI_TRIGGER_TYPES,
-       /** The currently set samplerate in Hz (uint64_t). */
-       SR_DI_CUR_SAMPLERATE,
-       /** Supported patterns (in pattern generator mode). */
-       SR_DI_PATTERNS,
-       /** Supported buffer sizes. */
-       SR_DI_BUFFERSIZES,
        /** Supported time bases. */
        SR_DI_TIMEBASES,
        /** Supported trigger sources. */
        SR_DI_TRIGGER_SOURCES,
-       /** Supported filter targets. */
-       SR_DI_FILTERS,
-       /** Valid volts/div values. */
-       SR_DI_VDIVS,
-       /** Coupling options. */
-       SR_DI_COUPLING,
 };
 
 /*
@@ -599,6 +585,8 @@ struct sr_dev_driver {
                        const struct sr_dev_inst *sdi);
        int (*config_set) (int id, const void *value,
                        const struct sr_dev_inst *sdi);
+       int (*config_list) (int info_id, const void **data,
+                       const struct sr_dev_inst *sdi);
 
        /* Device-specific */
        int (*dev_open) (struct sr_dev_inst *sdi);