Logo Search packages:      
Sourcecode: libgphoto2 version File versions

gphoto2-port-info-list.h File Reference

Detailed Description

Copyright 2001 Lutz Mueller <lutz@users.sf.net>
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.
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.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Definition in file gphoto2-port-info-list.h.

#include <gphoto2/gphoto2-port.h>

Go to the source code of this file.


struct  _GPPortInfo
 Information about the current port. More...


typedef GPPortInfo gp_port_info
typedef struct _GPPortInfo GPPortInfo
 Information about the current port.
typedef struct _GPPortInfoList GPPortInfoList


enum  GPPortType {
  GP_PORT_NONE = 0, GP_PORT_SERIAL = 1 << 0, GP_PORT_USB = 1 << 2, GP_PORT_DISK = 1 << 3,
  GP_PORT_PTPIP = 1 << 4
 The gphoto port type. More...


int gp_port_info_list_append (GPPortInfoList *list, GPPortInfo info)
 Append a portinfo to the port information list.
int gp_port_info_list_count (GPPortInfoList *list)
 Number of ports in the list.
int gp_port_info_list_free (GPPortInfoList *list)
 Free a GPPortInfo list.
int gp_port_info_list_get_info (GPPortInfoList *list, int n, GPPortInfo *info)
 Get port information of specific entry.
int gp_port_info_list_load (GPPortInfoList *list)
 Load system ports.
int gp_port_info_list_lookup_name (GPPortInfoList *list, const char *name)
 Look up a name in the list.
int gp_port_info_list_lookup_path (GPPortInfoList *list, const char *path)
 Lookup a specific path in the list.
int gp_port_info_list_new (GPPortInfoList **list)
 Create a new GPPortInfoList.
const char * gp_port_message_codeset (const char *)
 Specify codeset for translations.

Generated by  Doxygen 1.6.0   Back to index