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.4 | #define LIBMTP_VERSION 0.0.5 | |||
/* 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 182 | skipping to change at line 182 | |||
* @defgroup internals The libmtp internals API. | * @defgroup internals The libmtp internals API. | |||
* @{ | * @{ | |||
*/ | */ | |||
void LIBMTP_Init(void); | void LIBMTP_Init(void); | |||
int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const, int * const); | int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const, int * const); | |||
/** | /** | |||
* @} | * @} | |||
* @defgroup basic The basic device management API. | * @defgroup basic The basic device management API. | |||
* @{ | * @{ | |||
*/ | */ | |||
int LIBMTP_Detect_Descriptor(uint16_t*,uint16_t*); | ||||
LIBMTP_mtpdevice_t *LIBMTP_Get_First_Device(void); | LIBMTP_mtpdevice_t *LIBMTP_Get_First_Device(void); | |||
void LIBMTP_Release_Device(LIBMTP_mtpdevice_t*); | void LIBMTP_Release_Device(LIBMTP_mtpdevice_t*); | |||
void LIBMTP_Dump_Device_Info(LIBMTP_mtpdevice_t*); | void LIBMTP_Dump_Device_Info(LIBMTP_mtpdevice_t*); | |||
char *LIBMTP_Get_Modelname(LIBMTP_mtpdevice_t*); | char *LIBMTP_Get_Modelname(LIBMTP_mtpdevice_t*); | |||
char *LIBMTP_Get_Serialnumber(LIBMTP_mtpdevice_t*); | char *LIBMTP_Get_Serialnumber(LIBMTP_mtpdevice_t*); | |||
char *LIBMTP_Get_Deviceversion(LIBMTP_mtpdevice_t*); | char *LIBMTP_Get_Deviceversion(LIBMTP_mtpdevice_t*); | |||
char *LIBMTP_Get_Ownername(LIBMTP_mtpdevice_t*); | char *LIBMTP_Get_Ownername(LIBMTP_mtpdevice_t*); | |||
int LIBMTP_Get_Storageinfo(LIBMTP_mtpdevice_t *, uint64_t * const, | int LIBMTP_Get_Storageinfo(LIBMTP_mtpdevice_t *, uint64_t * const, | |||
uint64_t * const, char ** const storage_description, | uint64_t * const, char ** const storage_description, | |||
char ** const volume_label); | char ** const volume_label); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||