X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/blobdiff_plain/713be7a43ed11947c358fc67c11b9df7b0be204c..bd29c60e53e501684134598436c05bb25915cb1c:/scope.h diff --git a/scope.h b/scope.h index 119c150..2f3a61a 100644 --- a/scope.h +++ b/scope.h @@ -1,5 +1,13 @@ struct scope { - struct usb_dev_handle *usbdev; + 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]; }; @@ -8,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);