(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 mike  1.1.2.8 #include <assert.h>
 39 mike  1.1.2.1 
 40 mike  1.1.2.7 #define EXECUTOR_TRACE printf("TRACE: %s(%d)\n", __FILE__, __LINE__)
 41 mike  1.1.2.2 
 42               /*
 43               **==============================================================================
 44               **
 45               ** EXECUTOR_RESTART()
 46               **
 47               **     Macro used to repeatedly restart (retry) a system call as long as the
 48               **     errno is EINTR.
 49               **
 50               **==============================================================================
 51               */
 52 mike  1.1.2.1 
 53               #define EXECUTOR_RESTART(F, X) while (((X = (F)) == -1) && (errno == EINTR))
 54               
 55 mike  1.1.2.2 /*
 56               **==============================================================================
 57               **
 58               ** EXECUTOR_BUFFER_SIZE
 59               **
 60               **     General purpose buffer size (large enough for any file path or user
 61               **     name).
 62               **
 63               **==============================================================================
 64               */
 65 mike  1.1.2.1 
 66               #define EXECUTOR_BUFFER_SIZE 4096
 67               
 68 mike  1.1.2.2 /*
 69               **==============================================================================
 70               **
 71               ** FL
 72               **
 73               **     Shorthand macro for passing __FILE__ and __LINE__ arguments to a
 74               **     function.
 75               **
 76               **==============================================================================
 77               */
 78 mike  1.1.2.1 
 79               #define FL __FILE__, __LINE__
 80               
 81 mike  1.1.2.2 /*
 82               **==============================================================================
 83               **
 84               ** CIMSERVERMAIN
 85               **
 86               **     The name of the main CIM server program.
 87               **
 88               **==============================================================================
 89               */
 90 mike  1.1.2.1 
 91               #define CIMSERVERMAIN "cimservermain"
 92               
 93 mike  1.1.2.2 /*
 94               **==============================================================================
 95               **
 96               ** CIMSHUTDOWN
 97               **
 98               **     The name of the main CIM shutdown program.
 99               **
100               **==============================================================================
101               */
102 mike  1.1.2.1 
103               #define CIMSHUTDOWN "cimshutdown"
104               
105 mike  1.1.2.2 /*
106               **==============================================================================
107               **
108               ** CIMPROVAGT
109               **
110               **     The name of the provider agent program.
111               **
112               **==============================================================================
113               */
114 mike  1.1.2.1 
115               #define CIMPROVAGT "cimprovagt"
116               
117 mike  1.1.2.6 /*
118               **==============================================================================
119               **
120 mike  1.1.2.8 ** CIMSERVERA
121               **
122               **     The name of the external PAM authentication program.
123               **
124               **==============================================================================
125               */
126               
127               #define CIMSERVERA "cimservera"
128               
129               /*
130               **==============================================================================
131               **
132 mike  1.1.2.6 ** EXIT_ON_POLICY_FAILURE
133               **
134               **     If this is defined, the executor exits on any policy failure.
135               **
136               **==============================================================================
137               */
138               
139               #define EXIT_ON_POLICY_FAILURE
140               
141 mike  1.1.2.1 #endif /* _Executor_Defines_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2