6#define PTP_BIND_DEFAULT_SIZE 5000000
8#define BIND_MAX_NAME 64
14 int (*out)(
struct BindReq *bind,
char *fmt, ...);
34int bind_run_req(
struct PtpRuntime *r,
struct BindReq *bind);
int(* out_bytes)(struct BindReq *bind, void *bytes, size_t length)
Output raw binary data.
int params[5]
Parameters for command.
uint8_t * bytes
Data argument, NULL for none.
char * string
String argument, NULL for none.
char name[BIND_MAX_NAME]
Name of command to be run.