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.12 #define LIBMTP_VERSION 0.0.14
/* 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 97 skipping to change at line 97
/** /**
* The callback type definition. Notice that a progress percentage ratio * The callback type definition. Notice that a progress percentage ratio
* is easy to calculate by dividing <code>sent</code> by * is easy to calculate by dividing <code>sent</code> by
* <code>total</code>. * <code>total</code>.
* @param sent the number of bytes sent so far * @param sent the number of bytes sent so far
* @param total the total number of bytes to send * @param total the total number of bytes to send
* @param data a user-defined dereferencable pointer * @param data a user-defined dereferencable pointer
* @return if anything else than 0 is returned, the current transfer will b e * @return if anything else than 0 is returned, the current transfer will b e
* interrupted / cancelled. * interrupted / cancelled.
*/ */
typedef int LIBMTP_progressfunc_t (uint64_t const sent, uint64_t const tota l, typedef int (* LIBMTP_progressfunc_t) (uint64_t const sent, uint64_t const total,
void const * const data); void const * const data);
/** /**
* @} * @}
* @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
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/