oping.h | oping.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#if HAVE_CONFIG_H | #if HAVE_CONFIG_H | |||
# include <config.h> | # include <config.h> | |||
#endif | #endif | |||
#if HAVE_STDLIB_H | #if HAVE_STDLIB_H | |||
# include <stdlib.h> | # include <stdlib.h> | |||
#endif | #endif | |||
#if HAVE_UNISTD_H | #if HAVE_UNISTD_H | |||
# include <unistd.h> | # include <unistd.h> | |||
#endif | #endif | |||
#if HAVE_SYS_TYPES_H | ||||
# include <sys/types.h> | ||||
#endif | ||||
#if HAVE_SYS_SOCKET_H | #if HAVE_SYS_SOCKET_H | |||
# include <sys/socket.h> | # include <sys/socket.h> | |||
#endif | #endif | |||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif | ||||
/* | /* | |||
* 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; | |||
typedef struct pingobj pingobj_t; | typedef struct pingobj pingobj_t; | |||
skipping to change at line 90 | skipping to change at line 97 | |||
#define PING_INFO_IDENT 6 | #define PING_INFO_IDENT 6 | |||
#define PING_INFO_DATA 7 | #define PING_INFO_DATA 7 | |||
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 | ||||
} | ||||
#endif | ||||
#endif /* OCTO_PING_H */ | #endif /* OCTO_PING_H */ | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added | |||