/[axel]/tags/2.3/conf.h
ViewVC logotype

Contents of /tags/2.3/conf.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 92 - (show annotations) (download)
Mon Jan 12 07:40:08 2009 UTC (4 years, 4 months ago) by appaji
File MIME type: text/plain
File size: 1764 byte(s)
Tagging 2.3 maintenance release
1 /********************************************************************\
2 * Axel -- A lighter download accelerator for Linux and other Unices. *
3 * *
4 * Copyright 2001 Wilmer van der Gaast *
5 \********************************************************************/
6
7 /* Configuration handling include file */
8
9 /*
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License with
21 the Debian GNU/Linux distribution in file /usr/doc/copyright/GPL;
22 if not, write to the Free Software Foundation, Inc., 59 Temple Place,
23 Suite 330, Boston, MA 02111-1307 USA
24 */
25
26 typedef struct
27 {
28 char default_filename[MAX_STRING];
29 char http_proxy[MAX_STRING];
30 char no_proxy[MAX_STRING];
31 int strip_cgi_parameters;
32 int save_state_interval;
33 int connection_timeout;
34 int reconnect_delay;
35 int num_connections;
36 int buffer_size;
37 int max_speed;
38 int verbose;
39 int alternate_output;
40
41 if_t *interfaces;
42
43 int search_timeout;
44 int search_threads;
45 int search_amount;
46 int search_top;
47
48 int add_header_count;
49 char add_header[MAX_ADD_HEADERS][MAX_STRING];
50
51 char user_agent[MAX_STRING];
52 } conf_t;
53
54 int conf_loadfile( conf_t *conf, char *file );
55 int conf_init( conf_t *conf );

  ViewVC Help
Powered by ViewVC 1.1.5