]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h
Drop unneeded skeleton files.
[libsigrok.git] / sigrok.h
index 22428d016fcb923b7586a18e440418f0f05faf9f..2fd171198e63e6d822d39b7d87a6692bb7164910 100644 (file)
--- a/sigrok.h
+++ b/sigrok.h
@@ -115,7 +115,7 @@ struct sr_datafeed_header {
        int num_logic_probes;
 };
 
-#if 0
+#if defined(HAVE_LA_ALSA)
 struct sr_analog_probe {
        uint8_t att;
        uint8_t res;    /* Needs to be a power of 2, FIXME */
@@ -327,8 +327,8 @@ struct sr_device_plugin {
        void (*cleanup) (void);
 
        /* Device-specific */
-       int (*open) (int device_index);
-       void (*close) (int device_index);
+       int (*opendev) (int device_index);
+       void (*closedev) (int device_index);
        void *(*get_device_info) (int device_index, int device_info_id);
        int (*get_status) (int device_index);
        int *(*get_capabilities) (void);