]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/lascar-el-usb/protocol.h
drivers: Provide proper drvopts.
[libsigrok.git] / src / hardware / lascar-el-usb / protocol.h
index a0f7f4fdb6e16749b28046001c8f7fd4507a6071..9e7b716783f94ea5a8d45158eac1c43ac2ca7764 100644 (file)
@@ -21,7 +21,7 @@
 #define LIBSIGROK_HARDWARE_LASCAR_EL_USB_PROTOCOL_H
 
 #include <stdint.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "lascar-el-usb"
@@ -41,7 +41,6 @@
 
 /** Private, per-device-instance driver context. */
 struct dev_context {
-       void *cb_data;
        const struct elusb_profile *profile;
        /* Generic EL-USB */
        unsigned char config[MAX_CONFIGBLOCK_SIZE];
@@ -68,7 +67,7 @@ enum {
 
 struct elusb_profile {
        int modelid;
-       char *modelname;
+       const char *modelname;
        int logformat;
 };
 
@@ -80,6 +79,5 @@ SR_PRIV void LIBUSB_CALL lascar_el_usb_receive_transfer(struct libusb_transfer *
 SR_PRIV int lascar_start_logging(const struct sr_dev_inst *sdi);
 SR_PRIV int lascar_stop_logging(const struct sr_dev_inst *sdi);
 SR_PRIV int lascar_is_logging(const struct sr_dev_inst *sdi);
-SR_PRIV int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data);
 
 #endif