camlib
Documentation for camlib is still a work-in-progress
Loading...
Searching...
No Matches
BindReq Struct Reference

Public Attributes

void * arg
 
int(* out )(struct BindReq *bind, char *fmt,...)
 
int(* out_bytes )(struct BindReq *bind, void *bytes, size_t length)
 Output raw binary data.
 
char name [BIND_MAX_NAME]
 Name of command to be run.
 
int params [5]
 Parameters for command.
 
int params_length
 
char * string
 String argument, NULL for none.
 
uint8_t * bytes
 Data argument, NULL for none.
 
int bytes_length
 

Detailed Description

Definition at line 10 of file cl_bind.h.

Member Data Documentation

◆ arg

void* BindReq::arg

Definition at line 12 of file cl_bind.h.

◆ bytes

uint8_t* BindReq::bytes

Data argument, NULL for none.

Definition at line 28 of file cl_bind.h.

◆ bytes_length

int BindReq::bytes_length

Definition at line 29 of file cl_bind.h.

◆ name

char BindReq::name[BIND_MAX_NAME]

Name of command to be run.

Definition at line 19 of file cl_bind.h.

◆ out

int(* BindReq::out) (struct BindReq *bind, char *fmt,...)

Definition at line 14 of file cl_bind.h.

◆ out_bytes

int(* BindReq::out_bytes) (struct BindReq *bind, void *bytes, size_t length)

Output raw binary data.

Definition at line 16 of file cl_bind.h.

◆ params

int BindReq::params[5]

Parameters for command.

Note
These are parsed by command handlers in bind.c, not always passed to the PTP operation

Definition at line 23 of file cl_bind.h.

◆ params_length

int BindReq::params_length

Definition at line 24 of file cl_bind.h.

◆ string

char* BindReq::string

String argument, NULL for none.

Definition at line 26 of file cl_bind.h.


The documentation for this struct was generated from the following file: