OXIESEC PANEL
- Current Dir:
/
/
usr
/
include
/
gphoto2
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:50:42 AM
rwxr-xr-x
📄
gphoto2-abilities-list.h
7.67 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-camera.h
16.91 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-context.h
4.88 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-file.h
6.74 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-filesys.h
14.99 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-library.h
2.22 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-list.h
2.86 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-info-list.h
3.71 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-log.h
7.4 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-portability.h
7.08 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-result.h
3.06 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port-version.h
1.3 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-port.h
8.19 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-result.h
3.98 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-setting.h
1.12 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-version.h
1.11 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2-widget.h
4.77 KB
12/23/2017 12:19:04 PM
rw-r--r--
📄
gphoto2.h
1.48 KB
12/23/2017 12:19:04 PM
rw-r--r--
Editing: gphoto2-port-info-list.h
Close
/** \file * * \author Copyright 2001 Lutz Mueller <lutz@users.sf.net> * * \par License * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * \par * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * \par * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA */ #ifndef __GPHOTO2_PORT_INFO_LIST_H__ #define __GPHOTO2_PORT_INFO_LIST_H__ /** * \brief 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. */ typedef enum { 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. */ GP_PORT_USB_DISK_DIRECT = 1 << 5, /**< \brief Direct IO to an usb mass storage device. */ GP_PORT_USB_SCSI = 1 << 6 /**< \brief USB Mass Storage raw SCSI port. */ } GPPortType; /** * \brief Information about the current port. * * Specific information about the current port. Usually taken from the * "--port=XXXX" setting from the frontend. * * This is not to be confused with the driver configurable port settings * in \ref GPPortSettings. */ struct _GPPortInfo; typedef struct _GPPortInfo *GPPortInfo; #include <gphoto2/gphoto2-port.h> #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifdef _GPHOTO2_INTERNAL_CODE #include <gphoto2/gphoto2-port-log.h> extern const StringFlagItem gpi_gphoto_port_type_map[]; #endif int gp_port_info_new (GPPortInfo *info); int gp_port_info_get_name (GPPortInfo info, char **name); int gp_port_info_set_name (GPPortInfo info, const char *name); int gp_port_info_get_path (GPPortInfo info, char **path); int gp_port_info_set_path (GPPortInfo info, const char *path); int gp_port_info_get_type (GPPortInfo info, GPPortType *type); int gp_port_info_set_type (GPPortInfo info, const GPPortType type); int gp_port_info_get_library_filename (GPPortInfo info, char **lib); int gp_port_info_set_library_filename (GPPortInfo info, char *lib); /* Internals are private */ typedef struct _GPPortInfoList GPPortInfoList; int gp_port_info_list_new (GPPortInfoList **list); int gp_port_info_list_free (GPPortInfoList *list); int gp_port_info_list_append (GPPortInfoList *list, GPPortInfo info); int gp_port_info_list_load (GPPortInfoList *list); int gp_port_info_list_count (GPPortInfoList *list); int gp_port_info_list_lookup_path (GPPortInfoList *list, const char *path); int gp_port_info_list_lookup_name (GPPortInfoList *list, const char *name); int gp_port_info_list_get_info (GPPortInfoList *list, int n, GPPortInfo *info); const char *gp_port_message_codeset (const char*); /** * Name of the environment variable which may contain the path where * to look for the IO libs. If this environment variable is not defined, * use the compiled-in default constant. * * \internal Internal use only. */ #ifdef _GPHOTO2_INTERNAL_CODE #define IOLIBDIR_ENV "IOLIBS" #endif /* _GPHOTO2_INTERNAL_CODE */ #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __GPHOTO2_PORT_INFO_LIST_H__ */