00001 #ifndef chpctldef_h 00002 #define chpctldef_h 00003 00004 #define CHPCTL_M_READ 0x1 00005 #define CHPCTL_M_WRITE 0x2 00006 #define CHPCTL_M_USEREADALL 0x4 00007 #define CHPCTL_M_NOAUDIT 0x8 00008 #define CHPCTL_M_NOFAILAUD 0x10 00009 #define CHPCTL_M_NOSUCCAUD 0x20 00010 #define CHPCTL_M_DELETE 0x40 00011 #define CHPCTL_M_MANDATORY 0x80 00012 #define CHPCTL_M_FLUSH 0x100 00013 #define CHPCTL_M_CREATE 0x200 00014 #define CHPCTL_M_INTERNAL 0x400 00015 #define CHPCTL_M_SERVER 0x800 00016 #define CHPCTL_K_LENGTH 32 00017 #define CHPCTL_C_LENGTH 32 00018 00019 struct _chpctl { 00020 unsigned int chpctl_l_access; 00021 union { 00022 unsigned int chpctl_l_flags; 00023 struct { 00024 unsigned chpctl_v_read : 1; 00025 unsigned chpctl_v_write : 1; 00026 unsigned chpctl_v_usereadall : 1; 00027 unsigned chpctl_v_noaudit : 1; 00028 unsigned chpctl_v_nofailaud : 1; 00029 unsigned chpctl_v_nosuccaud : 1; 00030 unsigned chpctl_v_delete : 1; 00031 unsigned chpctl_v_mandatory : 1; 00032 unsigned chpctl_v_flush : 1; 00033 unsigned chpctl_v_create : 1; 00034 unsigned chpctl_v_internal : 1; 00035 unsigned chpctl_v_server : 1; 00036 unsigned chpctl_v_fill_2_ : 4; 00037 }; 00038 }; 00039 unsigned int chpctl_l_mode; 00040 void *chpctl_l_audit_list; 00041 int chpctl_l_deaccess_key; 00042 unsigned int chpctl_l_message; 00043 union { 00044 struct _arb *chpctl_l_arb; 00045 struct _psb *chpctl_l_psb; 00046 }; 00047 struct _orb *chpctl_l_orb; 00048 }; 00049 00050 #endif 00051 00052