Module: FFI::GPhoto2Port

Extended by:
Library
Included in:
GPhoto2::Port, GPhoto2::PortInfo, GPhoto2::PortInfoList
Defined in:
lib/ffi/gphoto2_port.rb,
lib/ffi/gphoto2_port/gp_port.rb,
lib/ffi/gphoto2_port/gp_port_info.rb,
lib/ffi/gphoto2_port/gp_port_type.rb,
lib/ffi/gphoto2_port/gp_port_result.rb,
lib/ffi/gphoto2_port/gp_port_settings.rb,
lib/ffi/gphoto2_port/gp_port_info_list.rb,
lib/ffi/gphoto2_port/gp_port_settings_usb.rb,
lib/ffi/gphoto2_port/gp_port_serial_parity.rb,
lib/ffi/gphoto2_port/gp_port_settings_serial.rb,
lib/ffi/gphoto2_port/gp_port_settings_usb_scsi.rb,
lib/ffi/gphoto2_port/gp_port_settings_usb_disk_direct.rb

Defined Under Namespace

Classes: GPPort, GPPortInfo, GPPortInfoList, GPPortSettings, GPPortSettingsSerial, GPPortSettingsUSB, GPPortSettingsUsbDiskDirect, GPPortSettingsUsbScsi

Constant Summary collapse

GPPortType =

libgphoto2_port/gphoto2/gphoto2-port-info-list.h

enum :none, 0,
:serial, 1 << 0,
:usb, 1 << 2,
:disk, 1 << 3,
:ptpip, 1 << 4,
:usb_disk_direct, 1 << 5,
:usb_scsi, 1 << 6
GP_OK =

libgphoto2_port/gphoto2/gphoto2-port-result.h

0
GP_ERROR =
-1
GP_ERROR_BAD_PARAMETERS =
-2
GP_ERROR_NO_MEMORY =
-3
GP_ERROR_LIBRARY =
-4
GP_ERROR_UNKNOWN_PORT =
-5
GP_ERROR_NOT_SUPPORTED =
-6
GP_ERROR_IO =
-7
GP_ERROR_FIXED_LIMIT_EXCEEDED =
-8
GP_ERROR_TIMEOUT =
-10
GP_ERROR_IO_SUPPORTED_SERIAL =
-20
GP_ERROR_IO_SUPPORTED_USB =
-21
GP_ERROR_IO_INIT =
-31
GP_ERROR_IO_READ =
-34
GP_ERROR_IO_WRITE =
-35
GP_ERROR_IO_UPDATE =
-37
GP_ERROR_IO_SERIAL_SPEED =
-41
GP_ERROR_IO_USB_CLEAR_HALT =
-51
GP_ERROR_IO_USB_FIND =
-52
GP_ERROR_IO_USB_CLAIM =
-53
GP_ERROR_IO_LOCK =
-60
GP_ERROR_HAL =
-70
GPPortSerialParity =

libgphoto2_port/libgphoto2_port/gphoto2-port.h

enum :off, :even, :odd