Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_file_get_name ( CameraFile file,
const char **  name 
)

Parameters:
file a CameraFile
name a pointer to a name string
Returns:
a gphoto2 error code.

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

References CHECK_NULL.

{
      CHECK_NULL (file && name);

      *name = file->name;

      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index