* camlibs/sierra/library.[c,h]: (do_capture): Return the right location
of the picture (on my camera, it is in /DCIM/100OLYMP)
(sierra_file_count): Move that function into ...
* camlibs/sierra/sierra.c: (update_fs_for_folder): New. Check the
contents of the camera once at the beginning (init), then don't access
the card anymore.
(camera_init): Populate the filesystem
(camera_folder_list_files): Use gp_filesystem_list_files
(camera_folder_list_folders): Use gp_filesystem_list_folders
(camera_file_get_info): The thumbnails aren't in quicktime format
(camera_capture): Add the picture to the filesystem
* include/gphoto2-filesys.h:
* libgphoto2/filesys.c: (gp_filesystem_append): Allow filename == NULL
for appending just folders
(gp_filesystem_dump): New
(gp_filesystem_list_files): New
(gp_filesystem_list_folders): New
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@1973 67ed7778-7388-44ab-90cf-0a291f65f57c