oping.h   oping.h 
skipping to change at line 44 skipping to change at line 44
# include <sys/types.h> # include <sys/types.h>
#endif #endif
#if HAVE_SYS_SOCKET_H #if HAVE_SYS_SOCKET_H
# include <sys/socket.h> # include <sys/socket.h>
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#define OPING_VERSION 1000000 #define OPING_VERSION 1001000
/* /*
* Type definitions * Type definitions
*/ */
struct pinghost; struct pinghost;
typedef struct pinghost pinghost_t; typedef struct pinghost pinghost_t;
typedef pinghost_t pingobj_iter_t; typedef pinghost_t pingobj_iter_t;
struct pingobj; struct pingobj;
skipping to change at line 84 skipping to change at line 84
int ping_setopt (pingobj_t *obj, int option, void *value); int ping_setopt (pingobj_t *obj, int option, void *value);
int ping_send (pingobj_t *obj); int ping_send (pingobj_t *obj);
int ping_host_add (pingobj_t *obj, const char *host); int ping_host_add (pingobj_t *obj, const char *host);
int ping_host_remove (pingobj_t *obj, const char *host); int ping_host_remove (pingobj_t *obj, const char *host);
pingobj_iter_t *ping_iterator_get (pingobj_t *obj); pingobj_iter_t *ping_iterator_get (pingobj_t *obj);
pingobj_iter_t *ping_iterator_next (pingobj_iter_t *iter); pingobj_iter_t *ping_iterator_next (pingobj_iter_t *iter);
#define PING_INFO_HOSTNAME 1 #define PING_INFO_HOSTNAME 1
#define PING_INFO_ADDRESS 2 #define PING_INFO_ADDRESS 2
#define PING_INFO_FAMILY 3 #define PING_INFO_FAMILY 3
#define PING_INFO_LATENCY 4 #define PING_INFO_LATENCY 4
#define PING_INFO_SEQUENCE 5 #define PING_INFO_SEQUENCE 5
#define PING_INFO_IDENT 6 #define PING_INFO_IDENT 6
#define PING_INFO_DATA 7 #define PING_INFO_DATA 7
#define PING_INFO_USERNAME 8 #define PING_INFO_USERNAME 8
#define PING_INFO_DROPPED 9 #define PING_INFO_DROPPED 9
#define PING_INFO_RECV_TTL 10
int ping_iterator_get_info (pingobj_iter_t *iter, int info, int ping_iterator_get_info (pingobj_iter_t *iter, int info,
void *buffer, size_t *buffer_len); void *buffer, size_t *buffer_len);
const char *ping_get_error (pingobj_t *obj); const char *ping_get_error (pingobj_t *obj);
void *ping_iterator_get_context (pingobj_iter_t *iter); void *ping_iterator_get_context (pingobj_iter_t *iter);
void ping_iterator_set_context (pingobj_iter_t *iter, void *context); void ping_iterator_set_context (pingobj_iter_t *iter, void *context);
#ifdef __cplusplus #ifdef __cplusplus
} }
 End of changes. 2 change blocks. 
10 lines changed or deleted 11 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/