Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

int gp_list_get_value ( CameraList list,
int  index,
const char **  value 

Retrieves the value of entry with index.

lista CameraList
indexindex of the entry
a gphoto2 error code

Definition at line 390 of file gphoto2-list.c.

References CHECK_LIST, and GP_OK.

Referenced by gp_camera_init().

      CHECK_LIST (list);
      CHECK_NULL (value);
      CHECK_INDEX_RANGE (list, index);

      *value = list->entry[index].value;

      return (GP_OK);

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index