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.37 by pcg, Sat Jul 18 05:59:16 2009 UTC vs.
Revision 1.38 by root, Sun Mar 6 19:40:28 2011 UTC

149 u16 proxy_port; // the proxy port, e.g. 3128 149 u16 proxy_port; // the proxy port, e.g. 3128
150#endif 150#endif
151 151
152#if ENABLE_DNS 152#if ENABLE_DNS
153 char *dns_forw_host; 153 char *dns_forw_host;
154 bool dns_case_preserving;
154 u16 dns_forw_port; 155 u16 dns_forw_port;
155 float dns_timeout_factor; 156 float dns_timeout_factor;
156 float dns_send_interval; 157 float dns_send_interval;
157 float dns_overlap_factor; 158 float dns_overlap_factor;
158 int dns_max_outstanding; 159 int dns_max_outstanding;
162 void cleanup (); 163 void cleanup ();
163 void clear (); 164 void clear ();
164 165
165 // create a filename from string, replacing %s by the nodename 166 // create a filename from string, replacing %s by the nodename
166 // and using relative paths under confbase. 167 // and using relative paths under confbase.
167 char *config_filename (const char *name, const char *dflt); 168 char *config_filename (const char *name, const char *dflt = 0);
168 169
169 void print (); 170 void print ();
170 171
171 configuration (); 172 configuration ();
172 ~configuration (); 173 ~configuration ();
182 int argc; 183 int argc;
183 char **argv; 184 char **argv;
184 185
185 configuration_parser (configuration &conf, bool need_keys, int argc, char **argv); 186 configuration_parser (configuration &conf, bool need_keys, int argc, char **argv);
186 187
188 void parse_file (const char *fname);
187 const char *parse_line (char *line); 189 const char *parse_line (char *line);
188 void parse_argv (); 190 void parse_argv ();
189}; 191};
190 192
191extern struct configuration conf; 193extern struct configuration conf;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines