summaryrefslogtreecommitdiff
path: root/camlibs/template
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2009-01-25 20:30:53 +0000
committerMarcus Meissner <marcus@jet.franken.de>2009-01-25 20:30:53 +0000
commita3ee73043c5dc7c28b5717fd971917627a7214f2 (patch)
tree4249bb9b1b0debbe19c6df749f8d045bcc39a055 /camlibs/template
parentccd327a379d7885389f57f0e8304c4cce948921f (diff)
downloadlibgphoto2-a3ee73043c5dc7c28b5717fd971917627a7214f2.tar.gz
* removed CameraFileInfoFile.name, adjusted users
and callers. * added filename argument to put_file_func, set_info_noop and set_file_noop functions. adjusted all camlibs git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11773 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/template')
-rw-r--r--camlibs/template/template.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/camlibs/template/template.c b/camlibs/template/template.c
index 883a5a511..a477b4fe0 100644
--- a/camlibs/template/template.c
+++ b/camlibs/template/template.c
@@ -268,17 +268,16 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename,
* This function is a CameraFilesystem method.
*/
int
-put_file_func (CameraFilesystem *fs, const char *folder, CameraFile *file,
- void *data, GPContext *context);
+put_file_func (CameraFilesystem *fs, const char *folder, const char *name,
+ CameraFile *file, void *data, GPContext *context);
int
-put_file_func (CameraFilesystem *fs, const char *folder, CameraFile *file,
- void *data, GPContext *context)
+put_file_func (CameraFilesystem *fs, const char *folder, const char *name,
+ CameraFile *file, void *data, GPContext *context)
{
/*Camera *camera = data;*/
/*
- * Upload the file to the camera. Use gp_file_get_data_and_size,
- * gp_file_get_name, etc.
+ * Upload the file to the camera. Use gp_file_get_data_and_size, etc
*/
return GP_OK;