add channel count and device listing functions
This commit is contained in:
parent
db4981628f
commit
f69011d589
5 changed files with 121 additions and 0 deletions
2
usbshm.h
2
usbshm.h
|
|
@ -48,6 +48,8 @@ struct usbshm {
|
|||
pthread_mutex_t* mutex;
|
||||
};
|
||||
|
||||
int usbshm_find(struct usbshm* instance, int vendorID, int productID, unsigned char*** serials, size_t* count);
|
||||
|
||||
int usbshm_open(struct usbshm* instance, int vendorID, int productID, const unsigned char* serial);
|
||||
|
||||
void usbshm_close(struct usbshm* instance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue