]>
Commit | Line | Data |
---|---|---|
1 | struct scope { | |
2 | struct { | |
3 | struct usb_dev_handle *dev; | |
4 | } usb; | |
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); |