If you're hacky enough, you can now call into auto-generated interfaces from
[wvapps.git] / wvipsec / wvipseckeeper.h
blob7ed056b97496b8e8769f6bcc7353857fd60c0e4e
1 /*
2 * Worldvisions Weaver Software:
3 * Copyright (C) 2003 Net Integration Technologies, Inc.
5 * WvIpSecKeeper to control all the WvIpSecGuides
6 */
9 #ifndef __WVIPSECKEEPER_H
10 #define __WVIPSECKEEPER_H
12 #include "wvngroute.h"
13 #include "wvlog.h"
14 #include "wvconfemu.h"
16 class WvIpSecGuide;
18 class WvIpSecKeeper : public WvNGRouteContainer
20 public:
21 WvIpSecKeeper( WvNGRouteContainer*_parent, WvConf &_cfg);
22 virtual ~WvIpSecKeeper();
24 WvConf &cfg;
25 WvIStreamList selectlist;
27 WvNGRouteList& get_gateways() { return get_children(); }
29 void create_gateways();
31 WvIpSecGuide *make_specific(const WvIPAddr &ip);
33 void probe_specific(const WvIPAddr &ip);
34 void probe_all();
36 WvIpSecGuide *find_gateway(const WvIPAddr &ip);
38 private:
40 time_t last_probe_time;
41 WvLog log;
44 #endif // __WVIPSECKEEPER_H