]> cygwin.com Git - cygwin-apps/setup.git/blob - state.h
2001-12-04 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / state.h
1 /*
2 * Copyright (c) 2000, 2001, Red Hat, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by DJ Delorie <dj@cygnus.com>
13 *
14 */
15
16 /* The purpose of this file is to contain all the global variables
17 that define the "state" of the install, that is, all the
18 information that the user has provided so far. These are set by
19 the various dialogs and used by the various actions.
20
21 Note that this is deprecated. Persistent settings should be accessed
22 via a class that stores them cross-installs, and non-persistent settings
23 directly via the appropriate class. One of the reasons for this is that
24 non-trivial types would require this file to include appropriate headers,
25 making all of setup.exe rebuild for potentially minor changes.
26
27 */
28
29 extern int source;
30
31 extern char *local_dir;
32
33 extern int root_text;
34 extern int root_scope;
35 extern int root_menu;
36 extern int root_desktop;
37
38 extern int net_method;
39 extern char *net_proxy_host;
40 extern int net_proxy_port;
41
42 extern char *net_user;
43 extern char *net_passwd;
44 extern char *net_proxy_user;
45 extern char *net_proxy_passwd;
46 extern char *net_ftp_user;
47 extern char *net_ftp_passwd;
48
49 extern int trust_level;
This page took 0.038698 seconds and 6 git commands to generate.