4
* Copyright (C) 2010 Eric Day (eday@oddments.org)
7
* Use and distribution licensed under the BSD license. See the
8
* COPYING file in the root project directory for full text.
13
* @brief Network IP Common Declarations
16
#ifndef SCALESTACK_NETWORK_IP_COMMON_H
17
#define SCALESTACK_NETWORK_IP_COMMON_H
22
#include <scalestack/common/macros.h>
23
#include <scalestack/event/handler.h>
34
} /* namespace module */
41
class SCALESTACK_API common
49
void parse_hosts(kernel::module& current,
50
const std::vector<std::pair<std::string,std::string> >& hosts,
51
const struct addrinfo& address_options,
54
virtual void add_address_list(const struct addrinfo* local,
55
const struct addrinfo* peer);
60
* Don't allow copying of objects.
63
common(const common&);
66
* Don't allow assignment of objects.
69
common& operator=(const common&);
76
inline void common::add_address_list(const struct addrinfo*, const struct addrinfo*)
81
} /* namespace network */
82
} /* namespace scalestack */
84
#endif /* SCALESTACK_NETWORK_IP_COMMON_H */