libmtp.h | libmtp.h | |||
---|---|---|---|---|
skipping to change at line 13 | skipping to change at line 13 | |||
* | * | |||
* Interface to the Media Transfer Protocol library. | * Interface to the Media Transfer Protocol library. | |||
* | * | |||
* <code> | * <code> | |||
* #include <libmtp.h> | * #include <libmtp.h> | |||
* </code> | * </code> | |||
*/ | */ | |||
#ifndef LIBMTP_H_INCLUSION_GUARD | #ifndef LIBMTP_H_INCLUSION_GUARD | |||
#define LIBMTP_H_INCLUSION_GUARD | #define LIBMTP_H_INCLUSION_GUARD | |||
#define LIBMTP_VERSION 0.0.15 | #define LIBMTP_VERSION 0.0.16 | |||
/* This handles MSVC pecularities */ | /* This handles MSVC pecularities */ | |||
#ifdef _MSC_VER | #ifdef _MSC_VER | |||
#include <windows.h> | #include <windows.h> | |||
#define __WIN32__ | #define __WIN32__ | |||
#define snprintf _snprintf | #define snprintf _snprintf | |||
#define ssize_t SSIZE_T | #define ssize_t SSIZE_T | |||
#endif | #endif | |||
#include <stdio.h> | #include <stdio.h> | |||
skipping to change at line 338 | skipping to change at line 338 | |||
LIBMTP_playlist_t *LIBMTP_Get_Playlist_List(LIBMTP_mtpdevice_t *); | LIBMTP_playlist_t *LIBMTP_Get_Playlist_List(LIBMTP_mtpdevice_t *); | |||
LIBMTP_playlist_t *LIBMTP_Get_Playlist(LIBMTP_mtpdevice_t *, uint32_t const ); | LIBMTP_playlist_t *LIBMTP_Get_Playlist(LIBMTP_mtpdevice_t *, uint32_t const ); | |||
int LIBMTP_Create_New_Playlist(LIBMTP_mtpdevice_t *, LIBMTP_playlist_t * co nst, uint32_t const); | int LIBMTP_Create_New_Playlist(LIBMTP_mtpdevice_t *, LIBMTP_playlist_t * co nst, uint32_t const); | |||
int LIBMTP_Update_Playlist(LIBMTP_mtpdevice_t *, LIBMTP_playlist_t const * const); | int LIBMTP_Update_Playlist(LIBMTP_mtpdevice_t *, LIBMTP_playlist_t const * const); | |||
/** | /** | |||
* @} | * @} | |||
* @defgroup objects The object management API. | * @defgroup objects The object management API. | |||
* @{ | * @{ | |||
*/ | */ | |||
char *LIBMTP_Get_String_From_Object(LIBMTP_mtpdevice_t *,const uint32_t, co nst uint32_t, uint8_t); | char *LIBMTP_Get_String_From_Object(LIBMTP_mtpdevice_t *,const uint32_t, co nst uint32_t); | |||
uint32_t LIBMTP_Get_U32_From_Object(LIBMTP_mtpdevice_t *,const uint32_t, co nst uint32_t, const uint32_t); | uint32_t LIBMTP_Get_U32_From_Object(LIBMTP_mtpdevice_t *,const uint32_t, co nst uint32_t, const uint32_t); | |||
uint16_t LIBMTP_Get_U16_From_Object(LIBMTP_mtpdevice_t *,const uint32_t, co nst uint32_t, const uint16_t); | uint16_t LIBMTP_Get_U16_From_Object(LIBMTP_mtpdevice_t *,const uint32_t, co nst uint32_t, const uint16_t); | |||
int LIBMTP_Set_Object_String(LIBMTP_mtpdevice_t *,const uint32_t,const uint 32_t, | int LIBMTP_Set_Object_String(LIBMTP_mtpdevice_t *,const uint32_t,const uint 32_t, | |||
char const * const, const uint8_t); | char const * const); | |||
int LIBMTP_Set_Object_U32(LIBMTP_mtpdevice_t *,const uint32_t, const uint32 _t, const uint32_t); | int LIBMTP_Set_Object_U32(LIBMTP_mtpdevice_t *,const uint32_t, const uint32 _t, const uint32_t); | |||
int LIBMTP_Set_Object_U16(LIBMTP_mtpdevice_t *,const uint32_t, const uint32 _t, const uint16_t); | int LIBMTP_Set_Object_U16(LIBMTP_mtpdevice_t *,const uint32_t, const uint32 _t, const uint16_t); | |||
int LIBMTP_Get_Object_References(LIBMTP_mtpdevice_t *, const uint32_t, uint 32_t **, uint32_t *); | int LIBMTP_Get_Object_References(LIBMTP_mtpdevice_t *, const uint32_t, uint 32_t **, uint32_t *); | |||
int LIBMTP_Set_Object_References(LIBMTP_mtpdevice_t *, const uint32_t, uint 32_t const * const, const uint32_t); | int LIBMTP_Set_Object_References(LIBMTP_mtpdevice_t *, const uint32_t, uint 32_t const * const, const uint32_t); | |||
LIBMTP_object_t *LIBMTP_Make_List(LIBMTP_mtpdevice_t *, uint32_t *, uint32_ t, uint32_t *, uint32_t); | LIBMTP_object_t *LIBMTP_Make_List(LIBMTP_mtpdevice_t *, uint32_t *, uint32_ t, uint32_t *, uint32_t); | |||
LIBMTP_object_t *LIBMTP_Find_Object(LIBMTP_object_t *, const uint32_t); | LIBMTP_object_t *LIBMTP_Find_Object(LIBMTP_object_t *, const uint32_t); | |||
void LIBMTP_Dump_List(LIBMTP_object_t *); | void LIBMTP_Dump_List(LIBMTP_object_t *); | |||
LIBMTP_object_t *LIBMTP_new_object_t(void); | LIBMTP_object_t *LIBMTP_new_object_t(void); | |||
void LIBMTP_destroy_object_t(LIBMTP_object_t *, uint32_t); | void LIBMTP_destroy_object_t(LIBMTP_object_t *, uint32_t); | |||
int LIBMTP_Delete_Object(LIBMTP_mtpdevice_t *, uint32_t); | int LIBMTP_Delete_Object(LIBMTP_mtpdevice_t *, uint32_t); | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||