3 ping_construct - Constructor for the liboping class
9 pingobj_t *ping_construct (void);
10 void ping_destroy (pingobj_t *obj);
14 The B<ping_construct> constructor allocates the memory necessary for a
15 liboping object, initializes that memory and returns a pointer to it.
17 The B<ping_destroy> iterates over all hosts associated with the liboping object
18 I<obj>, closes the sockets, removes the hosts and frees I<obj>'s memory.
22 The B<ping_construct> constructor returns a pointer to the allocated memory or NULL if no memory could be allocated.
30 L<ping_iterator_get(3)>,
35 liboping is written by Florian octo Forster E<lt>octo at verplant.orgE<gt>.
36 Its homepage can be found at L<http://verplant.org/liboping/>.
38 (c) 2005-2009 by Florian octo Forster.