version 1.3, 2007/06/05 18:15:06
|
version 1.4, 2007/06/08 17:56:04
|
|
|
/* | /* |
**============================================================================== | **============================================================================== |
** | ** |
** Policy |
|
** |
|
** This structure defines a policy rule. |
|
** |
|
**============================================================================== |
|
*/ |
|
|
|
struct Policy |
|
{ |
|
enum ExecutorMessageCode messageCode; |
|
const char* arg1; |
|
const char* arg2; |
|
}; |
|
|
|
/* |
|
**============================================================================== |
|
** |
|
** _staticPolicyTable[] | ** _staticPolicyTable[] |
** | ** |
** This array defines the static policy table for the executor. | ** This array defines the static policy table for the executor. |
|
|
**============================================================================== | **============================================================================== |
*/ | */ |
| |
static int CheckPolicy( |
int CheckPolicy( |
const struct Policy* policyTable, | const struct Policy* policyTable, |
size_t policyTableSize, | size_t policyTableSize, |
enum ExecutorMessageCode messageCode, | enum ExecutorMessageCode messageCode, |