libgphoto2 photo camera library (libgphoto2) Internals
2.5.23
|
Go to the documentation of this file.
24 #ifndef __GPHOTO2_PORT_LIBRARY_H__
25 #define __GPHOTO2_PORT_LIBRARY_H__
63 char *bytes,
int size);
65 char *bytes,
int size);
67 int value,
int index,
char *bytes,
int size);
69 int value,
int index,
char *bytes,
int size);
71 int value,
int index,
char *bytes,
int size);
73 int value,
int index,
char *bytes,
int size);
80 char *cmd,
int cmd_size,
81 char *sense,
int sense_size,
82 char *data,
int data_size);
int(* msg_interface_read)(GPPort *dev, int request, int value, int index, char *bytes, int size)
struct _GPPortOperations GPPortOperations
The port operations.
int gp_port_library_list(GPPortInfoList *list)
int(* send_break)(GPPort *, int)
int(* write)(GPPort *, const char *, int)
int(* set_pin)(GPPort *, GPPin, GPLevel)
int(* msg_class_write)(GPPort *dev, int request, int value, int index, char *bytes, int size)
int(* msg_interface_write)(GPPort *dev, int request, int value, int index, char *bytes, int size)
The GPhoto port structure.
int(* msg_write)(GPPort *dev, int request, int value, int index, char *bytes, int size)
int(* find_device_by_class)(GPPort *dev, int class, int subclass, int protocol)
int(* GPPortLibraryList)(GPPortInfoList *list)
int(* msg_read)(GPPort *dev, int request, int value, int index, char *bytes, int size)
int(* find_device)(GPPort *dev, int idvendor, int idproduct)
int(* msg_class_read)(GPPort *dev, int request, int value, int index, char *bytes, int size)
GPPortOperations * gp_port_library_operations(void)
int(* flush)(GPPort *, int)
enum _GPLevel GPLevel
Level to pull specific lines.
enum _GPPin GPPin
Serial pins.
int(* seek)(GPPort *dev, int offset, int whence)
int(* read)(GPPort *, char *, int)
GPPortType(* GPPortLibraryType)(void)
int(* check_int)(GPPort *, char *, int, int)
GPPortType gp_port_library_type(void)
int(* send_scsi_cmd)(GPPort *port, int to_dev, char *cmd, int cmd_size, char *sense, int sense_size, char *data, int data_size)
int(* clear_halt)(GPPort *dev, int ep)
int(* get_pin)(GPPort *, GPPin, GPLevel *)
GPPortType
The gphoto port type.