add abstraction for scope-access
[rigol] / usbtmc.h
index a5ee8c80fb75a70b0733ae73fb643d74774f5ff3..1ac3005e233ccaf4d4db277167d64997daf3304f 100644 (file)
--- a/usbtmc.h
+++ b/usbtmc.h
@@ -1,5 +1,5 @@
-int usbtmc_sendscpi(usb_dev_handle *dev, char* cmd, unsigned char *resp, int resplen);
-usb_dev_handle* usbtmc_initscope(void);
-void usbtmc_close(usb_dev_handle *sc);
-void usbtmc_claim(usb_dev_handle *sc);
-void usbtmc_release(usb_dev_handle *sc);
+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);
Impressum, Datenschutz