ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/conf.h
(Generate patch)

Comparing gvpe/src/conf.h (file contents):
Revision 1.11 by pcg, Wed Apr 2 03:25:17 2003 UTC vs.
Revision 1.12 by pcg, Mon Apr 7 01:12:56 2003 UTC

57 57
58 u32 routerprio; 58 u32 routerprio;
59 59
60 void print (); 60 void print ();
61 61
62 ~conf_node () 62 ~conf_node ();
63 {
64 if (rsa_key)
65 RSA_free (rsa_key);
66
67 free (nodename);
68 free (hostname);
69 }
70}; 63};
71 64
72struct configuration { 65struct configuration {
73 typedef vector<conf_node *> node_vector; 66 typedef vector<conf_node *> node_vector;
74 node_vector nodes; 67 node_vector nodes;
85 u8 ip_proto; // the ip protocol to use 78 u8 ip_proto; // the ip protocol to use
86 79
87 char *script_if_up; 80 char *script_if_up;
88 char *script_node_up; 81 char *script_node_up;
89 char *script_node_down; 82 char *script_node_down;
83
84#if ENABLE_HTTP_PROXY
85 char *proxy_auth; // login:password
86 char *proxy_host; // the proxy hostname, e.g. proxy1.example.net
87 u16 proxy_port; // the proxy port, e.g. 3128
88#endif
90 89
91 void init (); 90 void init ();
92 void cleanup (); 91 void cleanup ();
93 void read_config (bool need_keys); 92 void read_config (bool need_keys);
94 void clear_config (); 93 void clear_config ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines