Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_camera_file_set_info ( Camera camera,
const char *  folder,
const char *  file,
CameraFileInfo  info,
GPContext context 

Sets some file properties like name or permissions.

camera a Camera
folder a folder
file the name of a file
info the CameraFileInfo
context a GPContext
a gphoto2 error code

Definition at line 1245 of file gphoto2-camera.c.

References CHECK_NULL, gp_filesystem_set_info(), and GP_OK.

      CHECK_NULL (camera && folder && file);
      CHECK_INIT (camera, context);

      CHECK_RESULT_OPEN_CLOSE (camera, gp_filesystem_set_info (camera->fs,
                              folder, file, info, context), context);

      CAMERA_UNUSED (camera, context);
      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index