libmtp.h | libmtp.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |||
* Boston, MA 02111-1307, USA. | * Boston, MA 02111-1307, USA. | |||
* | * | |||
* <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.2.2 | #define LIBMTP_VERSION 0.2.3 | |||
#define LIBMTP_VERSION_STRING "0.2.2" | #define LIBMTP_VERSION_STRING "0.2.3" | |||
/* 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 161 | skipping to change at line 161 | |||
/** | /** | |||
* @} | * @} | |||
* @defgroup structar libmtp data structures | * @defgroup structar libmtp data structures | |||
* @{ | * @{ | |||
*/ | */ | |||
/** | /** | |||
* A data structure to hold MTP device entries. | * A data structure to hold MTP device entries. | |||
*/ | */ | |||
struct LIBMTP_device_entry_struct { | struct LIBMTP_device_entry_struct { | |||
char *name; /**< The descriptive name of this device */ | char *vendor; /**< The vendor of this device */ | |||
uint16_t vendor_id; /**< Vendor ID for this device */ | uint16_t vendor_id; /**< Vendor ID for this device */ | |||
char *product; /**< The product name of this device */ | ||||
uint16_t product_id; /**< Product ID for this device */ | uint16_t product_id; /**< Product ID for this device */ | |||
uint32_t device_flags; /**< Bugs, device specifics etc */ | uint32_t device_flags; /**< Bugs, device specifics etc */ | |||
}; | }; | |||
/** | /** | |||
* A data structure to hold errors from the library. | * A data structure to hold errors from the library. | |||
*/ | */ | |||
struct LIBMTP_error_struct { | struct LIBMTP_error_struct { | |||
LIBMTP_error_number_t errornumber; | LIBMTP_error_number_t errornumber; | |||
char *error_text; | char *error_text; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||