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

Diff for /pegasus/src/Executor/Policy.h between version 1.2 and 1.3

version 1.2, 2007/05/25 18:35:07 version 1.3, 2007/06/08 17:56:04
Line 34 
Line 34 
 #ifndef _Executor_Policy_h #ifndef _Executor_Policy_h
 #define _Executor_Policy_h #define _Executor_Policy_h
  
   #include <stdlib.h>
   #include "Defines.h"
   #include "Messages.h"
   
   /*
   **==============================================================================
   **
   ** Policy
   **
   **     This structure defines a policy rule.
   **
   **==============================================================================
   */
   
   struct Policy
   {
       enum ExecutorMessageCode messageCode;
       const char* arg1;
       const char* arg2;
   };
   
   EXECUTOR_LINKAGE
   int CheckPolicy(
       const struct Policy* policyTable,
       size_t policyTableSize,
       enum ExecutorMessageCode messageCode,
       const char* arg1,
       const char* arg2);
   
   EXECUTOR_LINKAGE
 int CheckOpenFilePolicy(const char* path, int mode); int CheckOpenFilePolicy(const char* path, int mode);
  
   EXECUTOR_LINKAGE
 int CheckRemoveFilePolicy(const char* path); int CheckRemoveFilePolicy(const char* path);
  
   EXECUTOR_LINKAGE
 int CheckRenameFilePolicy(const char* oldPath, const char* newPath); int CheckRenameFilePolicy(const char* oldPath, const char* newPath);
  
   EXECUTOR_LINKAGE
 void DumpPolicy(int expandMacros); void DumpPolicy(int expandMacros);
  
 #endif /* _Executor_Policy_h */ #endif /* _Executor_Policy_h */


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2