count entries to the list.
|list ||a CameraList |
|format ||the format |
|count ||number of entries to be added to the list return a gphoto2 error code|
Typically, this function is called by a camera driver when there is no way of retrieving the real name of a picture. In this case, when asked for a file list (see CameraFilesystemListFunc), the list is populated with dummy names generated by this function.
Definition at line 486 of file gphoto2-list.c.
References CHECK_LIST, CHECK_NULL, CHECK_RESULT, gp_list_append(), gp_list_reset(), and GP_OK.