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

int gp_camera_get_storageinfo ( Camera camera,
CameraStorageInformation **  sifs,
int *  nrofsifs,
GPContext context 
)

Gets information on the camera attached storage.

Parameters:
camera a Camera
folder the folder from which to remove the directory
name the name of the directory to be removed
context a GPContext
Returns:
a gphoto2 error code

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

References CHECK_NULL, gp_filesystem_get_storageinfo(), and GP_OK.

{
      CHECK_NULL (camera && sifs && nrofsifs);
      CHECK_INIT (camera, context);

      CHECK_RESULT_OPEN_CLOSE (camera,
            gp_filesystem_get_storageinfo (
                  camera->fs, sifs, nrofsifs, context
            ),
            context
      );
      CAMERA_UNUSED (camera, context);
      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index