1 kumpf 1.2 /*
|
2 martin 1.6 //%LICENSE////////////////////////////////////////////////////////////////
|
3 martin 1.7 //
|
4 martin 1.6 // Licensed to The Open Group (TOG) under one or more contributor license
5 // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
6 // this work for additional information regarding copyright ownership.
7 // Each contributor licenses this file to you under the OpenPegasus Open
8 // Source License; you may not use this file except in compliance with the
9 // License.
|
10 martin 1.7 //
|
11 martin 1.6 // Permission is hereby granted, free of charge, to any person obtaining a
12 // copy of this software and associated documentation files (the "Software"),
13 // to deal in the Software without restriction, including without limitation
14 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
15 // and/or sell copies of the Software, and to permit persons to whom the
16 // Software is furnished to do so, subject to the following conditions:
|
17 martin 1.7 //
|
18 martin 1.6 // The above copyright notice and this permission notice shall be included
19 // in all copies or substantial portions of the Software.
|
20 martin 1.7 //
|
21 martin 1.6 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
22 martin 1.7 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
23 martin 1.6 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
25 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
26 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
27 // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
28 martin 1.7 //
|
29 martin 1.6 //////////////////////////////////////////////////////////////////////////
|
30 kumpf 1.2 */
31
32 #ifndef _Executor_Globals_h
33 #define _Executor_Globals_h
34
35 #include "Defines.h"
36
37 /*
38 **==============================================================================
39 **
40 ** struct Globals
41 **
42 ** This structure contains all globally visible data.
43 **
44 **==============================================================================
45 */
46
47 struct Globals
48 {
49 /* Same as argc passed to main(). */
50 int argc;
51 kumpf 1.2
52 /* Same as argv passed to main(). */
53 char** argv;
54
|
55 kumpf 1.5 /* A pipe to alert the cimserver command when the server is initialized. */
56 int initCompletePipe;
57
|
58 kumpf 1.2 /* PID of child process (CIMSERVERMAIN). */
59 int childPid;
60
|
61 kumpf 1.4 /* Indicates whether we are in the Child process. If true, we need to
62 * call _exit() instead of exit().
63 */
64 int isChildProcess;
|
65 kumpf 1.2
66 /* Mask of signals encountered by executor process. */
67 unsigned long signalMask;
68
69 /* Same as the Pegasus enableAuthentication configuration option, either
70 * passed to the command line or found in the planned configuration file.
71 */
72 int enableAuthentication;
|
73 kumpf 1.5
74 /* Indicates whether terminal I/O streams should be left intact. */
75 int bindVerbose;
|
76 kumpf 1.2 };
77
78 EXECUTOR_LINKAGE
79 extern struct Globals globals;
80
81 #endif /* _Executor_Globals_h */
|