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.1.1 | #define LIBMTP_VERSION 0.1.2 | |||
/* 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 78 | skipping to change at line 78 | |||
LIBMTP_FILETYPE_PNG, | LIBMTP_FILETYPE_PNG, | |||
LIBMTP_FILETYPE_VCALENDAR1, | LIBMTP_FILETYPE_VCALENDAR1, | |||
LIBMTP_FILETYPE_VCALENDAR2, | LIBMTP_FILETYPE_VCALENDAR2, | |||
LIBMTP_FILETYPE_VCARD2, | LIBMTP_FILETYPE_VCARD2, | |||
LIBMTP_FILETYPE_VCARD3, | LIBMTP_FILETYPE_VCARD3, | |||
LIBMTP_FILETYPE_WINDOWSIMAGEFORMAT, | LIBMTP_FILETYPE_WINDOWSIMAGEFORMAT, | |||
LIBMTP_FILETYPE_WINEXEC, | LIBMTP_FILETYPE_WINEXEC, | |||
LIBMTP_FILETYPE_TEXT, | LIBMTP_FILETYPE_TEXT, | |||
LIBMTP_FILETYPE_HTML, | LIBMTP_FILETYPE_HTML, | |||
LIBMTP_FILETYPE_FIRMWARE, | LIBMTP_FILETYPE_FIRMWARE, | |||
LIBMTP_FILETYPE_AAC, | ||||
LIBMTP_FILETYPE_MEDIACARD, | ||||
LIBMTP_FILETYPE_FLAC, | ||||
LIBMTP_FILETYPE_MP2, | ||||
LIBMTP_FILETYPE_M4A, | ||||
LIBMTP_FILETYPE_DOC, | ||||
LIBMTP_FILETYPE_XML, | ||||
LIBMTP_FILETYPE_XLS, | ||||
LIBMTP_FILETYPE_PPT, | ||||
LIBMTP_FILETYPE_MHT, | ||||
LIBMTP_FILETYPE_JP2, | ||||
LIBMTP_FILETYPE_JPX, | ||||
LIBMTP_FILETYPE_UNKNOWN | LIBMTP_FILETYPE_UNKNOWN | |||
} LIBMTP_filetype_t; | } LIBMTP_filetype_t; | |||
typedef struct LIBMTP_device_entry_struct LIBMTP_device_entry_t; /**< @see LIBMTP_device_entry_struct */ | typedef struct LIBMTP_device_entry_struct LIBMTP_device_entry_t; /**< @see LIBMTP_device_entry_struct */ | |||
typedef struct LIBMTP_mtpdevice_struct LIBMTP_mtpdevice_t; /**< @see LIBMTP _mtpdevice_struct */ | typedef struct LIBMTP_mtpdevice_struct LIBMTP_mtpdevice_t; /**< @see LIBMTP _mtpdevice_struct */ | |||
typedef struct LIBMTP_file_struct LIBMTP_file_t; /**< @see LIBMTP_file_stru ct */ | typedef struct LIBMTP_file_struct LIBMTP_file_t; /**< @see LIBMTP_file_stru ct */ | |||
typedef struct LIBMTP_track_struct LIBMTP_track_t; /**< @see LIBMTP_track_s truct */ | typedef struct LIBMTP_track_struct LIBMTP_track_t; /**< @see LIBMTP_track_s truct */ | |||
typedef struct LIBMTP_playlist_struct LIBMTP_playlist_t; /**< @see LIBMTP_p laylist_struct */ | typedef struct LIBMTP_playlist_struct LIBMTP_playlist_t; /**< @see LIBMTP_p laylist_struct */ | |||
typedef struct LIBMTP_album_struct LIBMTP_album_t; /**< @see LIBMTP_album_s truct */ | typedef struct LIBMTP_album_struct LIBMTP_album_t; /**< @see LIBMTP_album_s truct */ | |||
typedef struct LIBMTP_folder_struct LIBMTP_folder_t; /**< @see LIBMTP_folde r_t */ | typedef struct LIBMTP_folder_struct LIBMTP_folder_t; /**< @see LIBMTP_folde r_t */ | |||
typedef struct LIBMTP_object_struct LIBMTP_object_t; /**< @see LIBMTP_objec t_t */ | typedef struct LIBMTP_object_struct LIBMTP_object_t; /**< @see LIBMTP_objec t_t */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 13 lines changed or added | |||