Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_list_reset ( CameraList list  ) 

Resets the list and removes all entries.

list a CameraList
a gphoto2 error code

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

References CHECK_LIST, and GP_OK.

Referenced by gp_abilities_list_detect(), gp_camera_folder_list_files(), gp_camera_folder_list_folders(), gp_filesystem_list_files(), gp_filesystem_list_folders(), and gp_list_populate().

      CHECK_LIST (list);

      list->count = 0;

      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index