1:
2:
3: /*************
4: * *
5: * SENTINEL *
6: * *
7: *************/
8:
9:
10: #ifndef WWWI_MIND_DNSCONFIG_H
11: #define WWWI_MIND_DNSCONFIG_H
12:
13:
14: /********************
15: * *
16: * CLASS DNSCONFIG *
17: * *
18: ********************/
19:
20:
21: class DNSConfig {
22: public:
23: DNSConfig(void);
24: void AddDefaultRootServers(void);
25: void Configure(int i_iArgs, char **i_cppArgs);
26: inline bool GetDaemon(void) const;
27: inline IPAddress GetUDPClientInterface(void) const;
28: inline unsigned short GetUDPClientPort(void) const;
29:
30: protected:
31: bool m_bDaemon;
32: bool m_bHaveRoot;
33: unsigned short m_usUDPClientPort;
34: IPAddress m_ipUDPClientInterface;
35: };
36: typedef DNSConfig *DNSConfigPtr;
37:
38:
39: /*********************
40: * *
41: * INLINE FUNCTIONS *
42: * *
43: *********************/
44:
45:
46: #include "dnsconfig.i"
47:
48:
49: /************
50: * *
51: * THE END *
52: * *
53: ************/
54:
55:
56: #endif
57:
58:
59: