libgphoto2 photo camera library (libgphoto2) API 2.4.14

- Main Page
- Related Pages
- Data Structures
- Files
- Directories

- File List
- Globals

# gphoto2-list.h

Go to the documentation of this file.

    00001
    00026 #ifndef __GPHOTO2_LIST_H__
    00027 #define __GPHOTO2_LIST_H__
    00028
    00029 #ifdef __cplusplus
    00030 extern "C" {
    00031 #endif /* __cplusplus */
    00032
    00066 typedef struct _CameraList CameraList;
    00067
    00068 int     gp_list_new   (CameraList **list);
    00069 int     gp_list_ref   (CameraList *list);
    00070 int     gp_list_unref (CameraList *list);
    00071 int     gp_list_free  (CameraList *list);
    00072
    00073 int     gp_list_count      (CameraList *list);
    00074 int     gp_list_append     (CameraList *list,
    00075                             const char *name, const char *value);
    00076 int     gp_list_reset      (CameraList *list);
    00077 int     gp_list_sort       (CameraList *list);
    00078
    00079 int gp_list_find_by_name (CameraList *list, int *index, const char *name);
    00080
    00081 int gp_list_get_name  (CameraList *list, int index, const char **name);
    00082 int gp_list_get_value (CameraList *list, int index, const char **value);
    00083
    00084 int gp_list_set_name  (CameraList *list, int index, const char *name);
    00085 int gp_list_set_value (CameraList *list, int index, const char *value);
    00086
    00087 int gp_list_populate  (CameraList *list, const char *format, int count);
    00088
    00089 #ifdef __cplusplus
    00090 }
    00091 #endif /* __cplusplus */
    00092
    00093 #endif /* __GPHOTO2_LIST_H__ */