Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_file_set_type ( CameraFile file,
CameraFileType  type 
)

Parameters:
file a CameraFile
type a CameraFileType
Returns:
a gphoto2 error code.

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

References CHECK_NULL, and GP_OK.

Referenced by gp_filesystem_get_file().

{
      CHECK_NULL (file);

      file->type = type;

      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index