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

int gp_camera_get_abilities ( Camera camera,
CameraAbilities abilities 
)

Retrieve the abilities of the camera.

Parameters:
camera a Camera
abilities 
Returns:
a gphoto2 error code

Definition at line 412 of file gphoto2-camera.c.

References CHECK_NULL, and GP_OK.

{
      CHECK_NULL (camera && abilities);

      memcpy (abilities, &camera->pc->a, sizeof (CameraAbilities));

      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index