2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * (c) Copyright 1993, 1994 Hewlett-Packard Company *
25 * (c) Copyright 1993, 1994 International Business Machines Corp. *
26 * (c) Copyright 1993, 1994 Sun Microsystems, Inc. *
27 * (c) Copyright 1993, 1994 Novell, Inc. *
29 /****************************<+>*************************************
31 ** File: EnvControlP.h
33 ** RCS: $TOG: EnvControlP.h /main/6 1998/07/30 12:13:45 mgreess $
34 ** Project: DT Runtime Library
36 ** Description: Defines structures, and parameters used
37 ** for communication with the environment
39 ** (c) Copyright 1990 by Hewlett-Packard Company
41 ****************************<+>*************************************/
43 /******** Public Function Declarations ********/
47 extern int _DtEnvControl(
49 extern int _DtWsmSetBackdropSearchPath(
52 Boolean useMultiColorIcons) ;
53 /******** End Public Function Declarations ********/
55 /**********************************************************************
56 * Command parameters to the function, which double as result codes.
57 * If the invocation is successful, the same is returned;
58 * else DT_ENV_NO_OP is returned.
61 Sets the DT environment.
64 Restores the pre-DT application environment
66 DT_ENV_RESTORE_POST_DT
67 Reinstalls the DT environment after a restoring pre-DT
74 Sets the DT environment PLUS sets the PATH= variable to
75 where the DT files live.
77 **********************************************************************/
79 #define DT_ENV_RESTORE_PRE_DT 1
80 #define DT_ENV_RESTORE_POST_DT 2
81 #define DT_ENV_NO_OP 3
82 #define DT_ENV_SET_BIN 4
87 /**************************** eof **********************/