(file) Return to Defines.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Executor

  1 mike  1.1.2.2 /*
  2 mike  1.1.2.1 //%2006////////////////////////////////////////////////////////////////////////
  3               //
  4               // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
  5               // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
  6               // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
  7               // IBM Corp.; EMC Corporation, The Open Group.
  8               // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
  9               // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
 10               // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 11               // EMC Corporation; VERITAS Software Corporation; The Open Group.
 12               // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
 13               // EMC Corporation; Symantec Corporation; The Open Group.
 14               //
 15               // Permission is hereby granted, free of charge, to any person obtaining a copy
 16               // of this software and associated documentation files (the "Software"), to
 17               // deal in the Software without restriction, including without limitation the
 18               // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 19               // sell copies of the Software, and to permit persons to whom the Software is
 20               // furnished to do so, subject to the following conditions:
 21               // 
 22               // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 23 mike  1.1.2.1 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 24               // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 25               // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 26               // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 27               // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 28               // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 29               // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 30               //
 31               //%/////////////////////////////////////////////////////////////////////////////
 32 mike  1.1.2.2 */
 33 mike  1.1.2.1 
 34               #ifndef _Executor_Defines_h
 35               #define _Executor_Defines_h
 36               
 37               #include <Pegasus/Common/Constants.h>
 38               
 39 mike  1.1.2.4 /*#define TRACE printf("TRACE: %s(%d)\n", __FILE__, __LINE__)*/
 40 mike  1.1.2.2 
 41               /*
 42               **==============================================================================
 43               **
 44               ** EXECUTOR_RESTART()
 45               **
 46               **     Macro used to repeatedly restart (retry) a system call as long as the
 47               **     errno is EINTR.
 48               **
 49               **==============================================================================
 50               */
 51 mike  1.1.2.1 
 52               #define EXECUTOR_RESTART(F, X) while (((X = (F)) == -1) && (errno == EINTR))
 53               
 54 mike  1.1.2.2 /*
 55               **==============================================================================
 56               **
 57               ** EXECUTOR_BUFFER_SIZE
 58               **
 59               **     General purpose buffer size (large enough for any file path or user
 60               **     name).
 61               **
 62               **==============================================================================
 63               */
 64 mike  1.1.2.1 
 65               #define EXECUTOR_BUFFER_SIZE 4096
 66               
 67 mike  1.1.2.2 /*
 68               **==============================================================================
 69               **
 70               ** FL
 71               **
 72               **     Shorthand macro for passing __FILE__ and __LINE__ arguments to a
 73               **     function.
 74               **
 75               **==============================================================================
 76               */
 77 mike  1.1.2.1 
 78               #define FL __FILE__, __LINE__
 79               
 80 mike  1.1.2.2 /*
 81               **==============================================================================
 82               **
 83               ** CIMSERVERMAIN
 84               **
 85               **     The name of the main CIM server program.
 86               **
 87               **==============================================================================
 88               */
 89 mike  1.1.2.1 
 90               #define CIMSERVERMAIN "cimservermain"
 91               
 92 mike  1.1.2.2 /*
 93               **==============================================================================
 94               **
 95               ** CIMSHUTDOWN
 96               **
 97               **     The name of the main CIM shutdown program.
 98               **
 99               **==============================================================================
100               */
101 mike  1.1.2.1 
102               #define CIMSHUTDOWN "cimshutdown"
103               
104 mike  1.1.2.2 /*
105               **==============================================================================
106               **
107               ** CIMPROVAGT
108               **
109               **     The name of the provider agent program.
110               **
111               **==============================================================================
112               */
113 mike  1.1.2.1 
114               #define CIMPROVAGT "cimprovagt"
115               
116 mike  1.1.2.2 /*
117               **==============================================================================
118               **
119               ** EXECUTOR_FINGERPRINT
120               **
121               **     The executor passes this "fingerprint" as the first command line 
122               **     argument when executing internal Pegasus programs such as cimservermain
123               **     and cimshutdown. This is to prevent inadvertant execution of these
124               **     programs by end users. Note that this is not a security measure. It is
125               **     only a way to make it inconvenient to execute internal programs.
126               **
127               **==============================================================================
128               */
129 mike  1.1.2.1 
130               #define EXECUTOR_FINGERPRINT "E97B2271E0E94DA8A2533FF9A9AA9443"
131               
132               #endif /* _Executor_Defines_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2