mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
Move the USB functions to a separate file, so that we can build the nbdkit plugin without including qdl.c. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
11 lines
269 B
C
11 lines
269 B
C
#ifndef __QDL_USB_H__
|
|
#define __QDL_USB_H__
|
|
|
|
struct qdl_device;
|
|
|
|
struct qdl_device *usb_open(void);
|
|
int qdl_read(struct qdl_device *qdl, void *buf, size_t len, unsigned int timeout);
|
|
int qdl_write(struct qdl_device *qdl, const void *buf, size_t len, bool eot);
|
|
|
|
#endif
|