X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/7906b3955cc67818ef5fea5c4a92dc2ddfcf9291..bd29c60e53e501684134598436c05bb25915cb1c:/scope.h diff --git a/scope.h b/scope.h index 66ed6fa..2f3a61a 100644 --- a/scope.h +++ b/scope.h @@ -1,6 +1,12 @@ struct scope { struct { struct usb_dev_handle *dev; + int ep_bulk_out; + int ep_bulk_in; + unsigned int wMaxPacketSize_in; + unsigned char bTag; + int brokenRigol; + struct usbtmc_capabilities *cap; } usb; char idn[128]; }; @@ -10,4 +16,5 @@ struct scope* initscope(void); void closescope(struct scope* sc); void claimscope(struct scope* sc); void releasescope(struct scope* sc); +void resetscope(struct scope* sc); char *scope_idn(struct scope *sc);