Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_camera_folder_make_dir ( Camera camera,
const char *  folder,
const char *  name,
GPContext context 
)

Creates a new directory called name in the given folder.

Parameters:
camera a Camera
folder the location where to create the new directory
name the name of the directory to be created
context a GPContext
Returns:
a gphoto2 error code

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

References CHECK_NULL, gp_filesystem_make_dir(), and GP_OK.

{
      CHECK_NULL (camera && folder && name);
      CHECK_INIT (camera, context);

      CHECK_RESULT_OPEN_CLOSE (camera, gp_filesystem_make_dir (camera->fs,
                              folder, name, context), context);

      CAMERA_UNUSED (camera, context);
      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index