Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

enum GPPortType

The gphoto port type.

Enumeration specifying the port type. The enum is providing bitmasks, but most code uses it as just the one specific values.

Enumerator:
GP_PORT_NONE  No specific type associated.
GP_PORT_SERIAL  Serial port.
GP_PORT_USB  USB port.
GP_PORT_DISK  Disk / local mountpoint port.
GP_PORT_PTPIP  PTP/IP port.

Definition at line 34 of file gphoto2-port-info-list.h.

             { 
      GP_PORT_NONE        =      0, /**< \brief No specific type associated. */
      GP_PORT_SERIAL      = 1 << 0, /**< \brief Serial port. */
      GP_PORT_USB         = 1 << 2, /**< \brief USB port. */
      GP_PORT_DISK        = 1 << 3, /**< \brief Disk / local mountpoint port. */
      GP_PORT_PTPIP       = 1 << 4  /**< \brief PTP/IP port. */
} GPPortType;


Generated by  Doxygen 1.6.0   Back to index