gphoto2-list.h
Go to the documentation of this file.
#ifndef __GPHOTO2_LIST_H__
#define __GPHOTO2_LIST_H__
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct _CameraList CameraList;
int gp_list_new (CameraList **list);
int gp_list_ref (CameraList *list);
int gp_list_unref (CameraList *list);
int gp_list_free (CameraList *list);
int gp_list_count (CameraList *list);
int gp_list_append (CameraList *list,
const char *name, const char *value);
int gp_list_reset (CameraList *list);
int gp_list_sort (CameraList *list);
int gp_list_find_by_name (CameraList *list, int *index, const char *name);
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_set_name (CameraList *list, int index, const char *name);
int gp_list_set_value (CameraList *list, int index, const char *value);
int gp_list_populate (CameraList *list, const char *format, int count);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GPHOTO2_LIST_H__ */