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