OLD | NEW |
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 Loading... |
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 Loading... |
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 */ |
OLD | NEW |