Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_file_get_mime_type ( CameraFile file,
const char **  mime_type 

file a CameraFile
mime_type a pointer to a MIME type string
a gphoto2 error code.

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

References CHECK_NULL, and GP_OK.

Referenced by gp_camera_file_get_info().

      CHECK_NULL (file && mime_type);

      *mime_type = file->mime_type;

      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index