Home | History | Annotate | Download | only in examples

Lines Matching refs:folder

3  * Example program to create a folder on the device.
41 printf(" parent = parent folder or 0 to create the new folder in the root dir\n");
42 printf(" storage = storage id or 0 to create the new folder on the primary storage\n");
48 printf("Folder creation failed.\n");
50 printf("New folder created with ID: %d\n", newid);
57 printf("Creating new folder %s\n",path);
59 char * folder = basename(path);
61 int newid = LIBMTP_Create_Folder(device, folder, id, 0);
63 printf("Folder creation failed.\n");
67 printf("New folder created with ID: %d\n", newid);