Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

int gp_file_ref ( CameraFile file  ) 

Increase reference counter for CameraFile object.

file a CameraFile
a gphoto2 error code.

Definition at line 150 of file gphoto2-file.c.

References CHECK_NULL, and GP_OK.

Referenced by gp_filesystem_set_file_noop().

      CHECK_NULL (file);

      file->ref_count += 1;
      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index