Home | History | Annotate | Download | only in examples

Lines Matching defs:id

44   int id = parse_path (from_path,files,folders);
45 if (id > 0) {
47 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) {
58 uint32_t id;
62 // We need file ID and filename
68 // Sanity check song ID
69 id = strtoul(argv[1], &endptr, 10);
73 } else if ( ! id ) {
74 fprintf(stderr, "bad file/track id %u\n", id);
80 printf("Getting file/track %d to local file %s\n", id, file);
83 if (LIBMTP_Get_File_To_File(device, id, file, progress, NULL) != 0 ) {