Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / lib / DtSvc / DtUtil2 / EnvControlP.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
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
22  */
23 /*
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.                                *
28  */
29 /****************************<+>*************************************
30  **
31  **   File:     EnvControlP.h
32  **
33  **   RCS:      $TOG: EnvControlP.h /main/6 1998/07/30 12:13:45 mgreess $
34  **   Project:  DT Runtime Library
35  **
36  **   Description: Defines structures, and parameters used
37  **                for communication with the environment
38  **
39  **   (c) Copyright 1990 by Hewlett-Packard Company
40  **
41  ****************************<+>*************************************/
42
43 /********    Public Function Declarations    ********/
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 extern int _DtEnvControl(
48                         int mode) ;
49 extern int _DtWsmSetBackdropSearchPath(
50                         Screen *screen,
51                         char   *backdropDir,
52                         Boolean useMultiColorIcons) ;
53 /********    End Public Function Declarations    ********/
54
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.
59
60 DT_ENV_SET
61         Sets the DT environment.
62
63 DT_ENV_RESTORE_PRE_DT
64         Restores the pre-DT application environment
65
66 DT_ENV_RESTORE_POST_DT
67         Reinstalls the DT environment after a restoring pre-DT
68         environment
69
70 DT_ENV_NO_OP
71         Does nothing
72
73 DT_ENV_SET_BIN
74         Sets the DT environment PLUS sets the PATH= variable to
75         where the DT files live.
76
77  **********************************************************************/
78 #define DT_ENV_SET                      0
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
83
84 #ifdef __cplusplus
85 }
86 #endif
87 /****************************        eof       **********************/