]>
Commit | Line | Data |
---|---|---|
713be7a4 | 1 | struct scope { |
7906b395 MG |
2 | struct { |
3 | struct usb_dev_handle *dev; | |
fc648ed8 MG |
4 | int ep_bulk_out; |
5 | unsigned int wMaxPacketSize_out; | |
6 | int ep_bulk_in; | |
7 | unsigned int wMaxPacketSize_in; | |
7906b395 | 8 | } usb; |
713be7a4 MG |
9 | char idn[128]; |
10 | }; | |
11 | ||
12 | int sendscpi(struct scope* sc, char* cmd, unsigned char *resp, int resplen); | |
13 | struct scope* initscope(void); | |
14 | void closescope(struct scope* sc); | |
15 | void claimscope(struct scope* sc); | |
16 | void releasescope(struct scope* sc); | |
17 | char *scope_idn(struct scope *sc); |