X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/65f37f81452610d9e278ab391583584d0ce7f990..c399a4575976d9f60f2fa8b70939413c9afdf3ae:/usbtmc.h?ds=sidebyside diff --git a/usbtmc.h b/usbtmc.h index 34fb77d..519012e 100644 --- a/usbtmc.h +++ b/usbtmc.h @@ -18,8 +18,8 @@ struct usbtmc_header { #define USBTMC_TRANSFERATTRIB_EOM (1<<0) #define USBTMC_TRANSFERATTRIB_TERMCHAR (1<<1) -int usbtmc_sendscpi(struct usb_dev_handle *dev, char* cmd, unsigned char *resp, int resplen); -struct usb_dev_handle* usbtmc_initscope(void); -void usbtmc_close(struct usb_dev_handle *sc); -void usbtmc_claim(struct usb_dev_handle *sc); -void usbtmc_release(struct usb_dev_handle *sc); +int usbtmc_sendscpi(struct scope *sc, char* cmd, unsigned char *resp, int resplen); +struct scope * usbtmc_initscope(void); +void usbtmc_close(struct scope *sc); +void usbtmc_claim(struct scope *sc); +void usbtmc_release(struct scope *sc);