Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(588)

Side by Side Diff: src/libmtp.h

Issue 365823004: Add LIBMTP_Get_Children() to read the list of raw IDs of a folder. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libmtp.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « patches/19_raw_read_directory.patch ('k') | src/libmtp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * \file libmtp.h 2 * \file libmtp.h
3 * Interface to the Media Transfer Protocol library. 3 * Interface to the Media Transfer Protocol library.
4 * 4 *
5 * Copyright (C) 2005-2012 Linus Walleij <triad@df.lth.se> 5 * Copyright (C) 2005-2012 Linus Walleij <triad@df.lth.se>
6 * Copyright (C) 2005-2008 Richard A. Low <richard@wentnet.com> 6 * Copyright (C) 2005-2008 Richard A. Low <richard@wentnet.com>
7 * Copyright (C) 2007 Ted Bullock <tbullock@canada.com> 7 * Copyright (C) 2007 Ted Bullock <tbullock@canada.com>
8 * Copyright (C) 2008 Florent Mertens <flomertens@gmail.com> 8 * Copyright (C) 2008 Florent Mertens <flomertens@gmail.com>
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 */ 868 */
869 LIBMTP_file_t *LIBMTP_new_file_t(void); 869 LIBMTP_file_t *LIBMTP_new_file_t(void);
870 void LIBMTP_destroy_file_t(LIBMTP_file_t*); 870 void LIBMTP_destroy_file_t(LIBMTP_file_t*);
871 char const * LIBMTP_Get_Filetype_Description(LIBMTP_filetype_t); 871 char const * LIBMTP_Get_Filetype_Description(LIBMTP_filetype_t);
872 LIBMTP_file_t *LIBMTP_Get_Filelisting(LIBMTP_mtpdevice_t *); 872 LIBMTP_file_t *LIBMTP_Get_Filelisting(LIBMTP_mtpdevice_t *);
873 LIBMTP_file_t *LIBMTP_Get_Filelisting_With_Callback(LIBMTP_mtpdevice_t *, 873 LIBMTP_file_t *LIBMTP_Get_Filelisting_With_Callback(LIBMTP_mtpdevice_t *,
874 LIBMTP_progressfunc_t const, void const * const); 874 LIBMTP_progressfunc_t const, void const * const);
875 LIBMTP_file_t * LIBMTP_Get_Files_And_Folders(LIBMTP_mtpdevice_t *, 875 LIBMTP_file_t * LIBMTP_Get_Files_And_Folders(LIBMTP_mtpdevice_t *,
876 uint32_t const, 876 uint32_t const,
877 uint32_t const); 877 uint32_t const);
878 int LIBMTP_Get_Children(LIBMTP_mtpdevice_t *,
879 uint32_t const,
880 uint32_t const,
881 uint32_t **);
878 LIBMTP_file_t *LIBMTP_Get_Filemetadata(LIBMTP_mtpdevice_t *, uint32_t const); 882 LIBMTP_file_t *LIBMTP_Get_Filemetadata(LIBMTP_mtpdevice_t *, uint32_t const);
879 int LIBMTP_Get_File_Chunk(LIBMTP_mtpdevice_t*, uint32_t, uint32_t, uint32_t, 883 int LIBMTP_Get_File_Chunk(LIBMTP_mtpdevice_t*, uint32_t, uint32_t, uint32_t,
880 unsigned char**, uint32_t*); 884 unsigned char**, uint32_t*);
881 int LIBMTP_Get_File_To_File(LIBMTP_mtpdevice_t*, uint32_t, char const * const, 885 int LIBMTP_Get_File_To_File(LIBMTP_mtpdevice_t*, uint32_t, char const * const,
882 LIBMTP_progressfunc_t const, void const * const); 886 LIBMTP_progressfunc_t const, void const * const);
883 int LIBMTP_Get_File_To_File_Descriptor(LIBMTP_mtpdevice_t*, 887 int LIBMTP_Get_File_To_File_Descriptor(LIBMTP_mtpdevice_t*,
884 uint32_t const, 888 uint32_t const,
885 int const, 889 int const,
886 LIBMTP_progressfunc_t const, 890 LIBMTP_progressfunc_t const,
887 void const * const); 891 void const * const);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 1023
1020 1024
1021 /** @} */ 1025 /** @} */
1022 1026
1023 /* End of C++ exports */ 1027 /* End of C++ exports */
1024 #ifdef __cplusplus 1028 #ifdef __cplusplus
1025 } 1029 }
1026 #endif 1030 #endif
1027 1031
1028 #endif /* LIBMTP_H_INCLUSION_GUARD */ 1032 #endif /* LIBMTP_H_INCLUSION_GUARD */
OLDNEW
« no previous file with comments | « patches/19_raw_read_directory.patch ('k') | src/libmtp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698