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.

Parameters:
list a CameraList
index index of the entry
value 
Returns:
a gphoto2 error code

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

References CHECK_LIST, CHECK_NULL, 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);
}


Generated by  Doxygen 1.6.0   Back to index