Logo Search packages:      
Sourcecode: libgphoto2 version File versions

gphoto2-list.h File Reference

Detailed Description

Lists of files, folders, cameras, etc.

Copyright 2001 Scott Fritzinger
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-list.h.

Go to the source code of this file.


typedef struct _CameraList CameraList
 A generic list.


int gp_list_append (CameraList *list, const char *name, const char *value)
int gp_list_count (CameraList *list)
int gp_list_find_by_name (CameraList *list, int *index, const char *name)
int gp_list_free (CameraList *list)
int gp_list_get_name (CameraList *list, int index, const char **name)
int gp_list_get_value (CameraList *list, int index, const char **value)
int gp_list_new (CameraList **list)
 Creates a new CameraList.
int gp_list_populate (CameraList *list, const char *format, int count)
int gp_list_ref (CameraList *list)
 Increments the reference count of the list.
int gp_list_reset (CameraList *list)
int gp_list_set_name (CameraList *list, int index, const char *name)
int gp_list_set_value (CameraList *list, int index, const char *value)
int gp_list_sort (CameraList *list)
int gp_list_unref (CameraList *list)
 Decrements the reference count of the list.

Generated by  Doxygen 1.6.0   Back to index