X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Foping.h;h=ff144e82ec2904ae0d06ee7173092bfa0f9b0e85;hb=HEAD;hp=e5bc5fa9c284e981d137a17a40751b3e62a55a0e;hpb=c67acf4ccc381985f5da5881e976b749651f07b1;p=liboping.git diff --git a/src/oping.h b/src/oping.h index e5bc5fa..ff144e8 100644 --- a/src/oping.h +++ b/src/oping.h @@ -1,6 +1,6 @@ /** * Object oriented C module to send ICMP and ICMPv6 `echo's. - * Copyright (C) 2006-2011 Florian octo Forster + * Copyright (C) 2006-2017 Florian octo Forster * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the @@ -33,7 +33,7 @@ extern "C" { #endif -#define OPING_VERSION 1008000 +#define OPING_VERSION 1009000 /* * Type definitions @@ -75,6 +75,7 @@ int ping_host_remove (pingobj_t *obj, const char *host); pingobj_iter_t *ping_iterator_get (pingobj_t *obj); pingobj_iter_t *ping_iterator_next (pingobj_iter_t *iter); +int ping_iterator_count (pingobj_t *obj); #define PING_INFO_HOSTNAME 1 #define PING_INFO_ADDRESS 2