Lines Matching defs:files
2 * \file files.c
3 * Example program that lists all files on a device.
52 LIBMTP_file_t *files;
61 fprintf(stdout, "mtp-files: No Devices have been found\n");
64 fprintf(stderr, "mtp-files: There has been an error connecting. Exit\n");
67 fprintf(stderr, "mtp-files: Memory Allocation Error. Exit\n");
73 fprintf(stderr, "mtp-files: Unknown error, please report "
79 fprintf(stdout, "mtp-files: Successfully connected\n");
99 files = LIBMTP_Get_Filelisting_With_Callback(iter, NULL, NULL);
100 if (files == NULL) {
101 printf("No files.\n");
106 file = files;