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

int gp_file_get_type ( CameraFile file,
CameraFileType type 

file a CameraFile
type a CameraFileType
a gphoto2 error code.

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

References CHECK_NULL, and GP_OK.

Referenced by gp_filesystem_set_file_noop().

      CHECK_NULL (file && type);

      *type = file->type;

      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index