saf-acee.h

Go to the documentation of this file.
00001 /****************************************************************************
00002  *
00003  * Copyright (C) 2006 Micro Focus (IP) Limited.
00004  * All rights reserved.
00005  *
00006  * The software and information contained herein are proprietary to, and
00007  * comprise valuable trade secrets of, Micro Focus International Ltd., 
00008  * which intends to preserve as trade secrets such software and 
00009  * information. This software is an unpublished copyright of Micro Focus  
00010  * and may not be used, copied, transmitted, or stored in any manner.  
00011  * This software and information or any other copies thereof may not be
00012  * provided or otherwise made available to any other person.
00013  *
00014  *      Enterprise Server SAF (Security) Manager
00015  *      Access Control Environment Element (ACEE)
00016  *
00017  *      @(#)saf-acee.h  $Revision: 1.8 $     
00018  *
00019  *      $Date: 2009/04/07 14:56:53 $
00020  *
00021  ****************************************************************************/
00022 
00023 /* Start of source module saf-acee.h */
00024 #if !defined(SafACEE_H)
00025 #define SafACEE_H
00026 
00046 typedef struct SafACEE
00047 {
00048    char           ACEE[4];                
00049       #define SafACEE_NAME "ACEE"         
00050    mf_uns8        Subpool;                
00051    mf_uns8        Length[3];              
00052    mf_uns8        Version;                
00053       #define SafACEE_VER  1              
00054    mf_uns8        Reserved[3];
00055    void          *Iep;
00056    void          *Inst;                   
00057    mf_uns8        UserLen;                
00058    char           User[8];                
00059    mf_uns8        GroupLen;               
00060    char           Group[8];               
00061    mf_uns8        Flag1;                  
00064       #define SafACEE_F1_SPEC (1<<7)      
00065       #define SafACEE_F1_ADSP (1<<6)      
00066       #define SafACEE_F1_OPER (1<<5)      
00067       #define SafACEE_F1_AUDT (1<<4)      
00068       #define SafACEE_F1_LOGU (1<<3)      
00069       #define SafACEE_F1_PRIV (1<<1)      
00070       #define SafACEE_F1_RACF (1<<0)      
00072    mf_uns8        Flag2;                  
00075       #define SafACEE_F2_ALTR (1<<7)      
00076       #define SafACEE_F2_CNTL (1<<6)      
00077       #define SafACEE_F2_UPDT (1<<5)      
00078       #define SafACEE_F2_READ (1<<4)      
00079       #define SafACEE_F2_NONE (1<<0)      
00081    mf_uns8        Flag3;                  
00084       #define SafACEE_F3_GRPA (1<<7)      
00085       #define SafACEE_F3_RASP (1<<6)      
00086       #define SafACEE_F3_CLNT (1<<5)      
00087       #define SafACEE_F3_ACLT (1<<4)      
00088       #define SafACEE_F3_TSKP (1<<3)      
00089       #define SafACEE_F3_IUSP (1<<2)      
00090       #define SafACEE_F3_DUID (1<<1)      
00091       #define SafACEE_F3_NPWR (1<<0)      
00093    mf_uns8        Date[3];                
00094    char           Proc[8];                
00095    void          *TermIdPtr;              
00096    mf_uns8        EsmAreas[8][8];         
00100    mf_uns8        Priority;
00101    mf_uns8        OperId[3];
00102    mf_uns8        filler;
00103    mf_uns8        OperClass[3];
00104    mf_uns8        SecurityKeys[8];
00105    mf_uns8        ResourceKeys[3];
00106    mf_uns8        UserResourceKeys[3];
00107    mf_uns8        Timeout[2];
00108    mf_uns8        RdAccessFlags[24];
00109       #define SafACEE_17_RDU    1
00110       #define SafACEE_17_RDR    2
00111       #define SafACEE_17_RDN  255
00112 
00114 } SafACEE;
00115 
00116 #endif
00117 
00118 /* End of saf-acee.h */
00119