Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_file_set_header ( CameraFile file,
const char *  header 
)

Parameters:
file a CameraFile
header 
Returns:
a gphoto2 error code.

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

References CHECK_NULL.

{
      CHECK_NULL (file && header);

      strncpy (file->header, header, sizeof (file->header));

      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index