summaryrefslogtreecommitdiff
path: root/gphoto2
diff options
context:
space:
mode:
authorDavid Rosca <nowrep@gmail.com>2021-10-22 11:28:13 +0200
committerMarcus Meissner <meissner@suse.de>2021-10-22 13:27:07 +0200
commit1866f1803c71b509516e3db275bd2adce2e3a24e (patch)
tree4d1156d7e33151bbbb49c8b6fa9d0f9fb6b4a72c /gphoto2
parent01ae4ff88379df8c5d95a32e88a096a713a86904 (diff)
downloadlibgphoto2-1866f1803c71b509516e3db275bd2adce2e3a24e.tar.gz
filesys: Add gp_filesystem_set_info_dirty
Use it in ptp2 PTP_EC_ObjectInfoChanged.
Diffstat (limited to 'gphoto2')
-rw-r--r--gphoto2/gphoto2-filesys.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gphoto2/gphoto2-filesys.h b/gphoto2/gphoto2-filesys.h
index eb417f640..f37378edc 100644
--- a/gphoto2/gphoto2-filesys.h
+++ b/gphoto2/gphoto2-filesys.h
@@ -242,6 +242,9 @@ int gp_filesystem_append (CameraFilesystem *fs, const char *folder,
int gp_filesystem_set_info_noop (CameraFilesystem *fs,
const char *folder, const char *filename,
CameraFileInfo info, GPContext *context);
+int gp_filesystem_set_info_dirty (CameraFilesystem *fs,
+ const char *folder, const char *filename,
+ GPContext *context);
int gp_filesystem_set_file_noop (CameraFilesystem *fs,
const char *folder, const char *filename,
CameraFileType type,