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__ */
_CameraList
Definition: gphoto2-list.c:47
gp_list_set_name
int gp_list_set_name(CameraList *list, int index, const char *name)
Definition: gphoto2-list.c:345
gp_list_unref
int gp_list_unref(CameraList *list)
Decrements the reference count of the list.
Definition: gphoto2-list.c:101
gp_list_set_value
int gp_list_set_value(CameraList *list, int index, const char *value)
Definition: gphoto2-list.c:322
gp_list_count
int gp_list_count(CameraList *list)
Definition: gphoto2-list.c:229
gp_list_append
int gp_list_append(CameraList *list, const char *name, const char *value)
Definition: gphoto2-list.c:174
gp_list_new
int gp_list_new(CameraList **list)
Creates a new CameraList.
Definition: gphoto2-list.c:63
gp_list_populate
int gp_list_populate(CameraList *list, const char *format, int count)
Definition: gphoto2-list.c:373
gp_list_ref
int gp_list_ref(CameraList *list)
Increments the reference count of the list.
Definition: gphoto2-list.c:82
gp_list_get_value
int gp_list_get_value(CameraList *list, int index, const char **value)
Definition: gphoto2-list.c:301
gp_list_get_name
int gp_list_get_name(CameraList *list, int index, const char **name)
Definition: gphoto2-list.c:280
gp_list_sort
int gp_list_sort(CameraList *list)
Definition: gphoto2-list.c:213
gp_list_reset
int gp_list_reset(CameraList *list)
Definition: gphoto2-list.c:148
gp_list_free
int gp_list_free(CameraList *list)
Definition: gphoto2-list.c:120
gp_list_find_by_name
int gp_list_find_by_name(CameraList *list, int *index, const char *name)
Definition: gphoto2-list.c:249