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 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 LIBMTP_file_t *LIBMTP_Get_Filemetadata(LIBMTP_mtpdevice_t *, uint32_t const); | 878 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, |
| 880 unsigned char**, uint32_t*); |
879 int LIBMTP_Get_File_To_File(LIBMTP_mtpdevice_t*, uint32_t, char const * const, | 881 int LIBMTP_Get_File_To_File(LIBMTP_mtpdevice_t*, uint32_t, char const * const, |
880 LIBMTP_progressfunc_t const, void const * const); | 882 LIBMTP_progressfunc_t const, void const * const); |
881 int LIBMTP_Get_File_To_File_Descriptor(LIBMTP_mtpdevice_t*, | 883 int LIBMTP_Get_File_To_File_Descriptor(LIBMTP_mtpdevice_t*, |
882 uint32_t const, | 884 uint32_t const, |
883 int const, | 885 int const, |
884 LIBMTP_progressfunc_t const, | 886 LIBMTP_progressfunc_t const, |
885 void const * const); | 887 void const * const); |
886 int LIBMTP_Get_File_To_Handler(LIBMTP_mtpdevice_t *, | 888 int LIBMTP_Get_File_To_Handler(LIBMTP_mtpdevice_t *, |
887 uint32_t const, | 889 uint32_t const, |
888 MTPDataPutFunc, | 890 MTPDataPutFunc, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 | 1019 |
1018 | 1020 |
1019 /** @} */ | 1021 /** @} */ |
1020 | 1022 |
1021 /* End of C++ exports */ | 1023 /* End of C++ exports */ |
1022 #ifdef __cplusplus | 1024 #ifdef __cplusplus |
1023 } | 1025 } |
1024 #endif | 1026 #endif |
1025 | 1027 |
1026 #endif /* LIBMTP_H_INCLUSION_GUARD */ | 1028 #endif /* LIBMTP_H_INCLUSION_GUARD */ |
OLD | NEW |