• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

saf-cache.h

Go to the documentation of this file.
00001 /****************************************************************************
00002  *
00003  * Copyright (C) 2006-2014 Micro Focus. All rights reserved.
00004  *
00005  * The software and information contained herein are proprietary to, and
00006  * comprise valuable trade secrets of, Micro Focus, 
00007  * which intends to preserve as trade secrets such software and 
00008  * information. This software is an unpublished copyright of Micro Focus  
00009  * and may not be used, copied, transmitted, or stored in any manner.  
00010  * This software and information or any other copies thereof may not be
00011  * provided or otherwise made available to any other person.
00012  *
00013  *      Enterprise Server SAF (Security) Manager
00014  *      Results Cache Facility
00015  *
00016  *      @(#)saf-cache.h $Revision: 621664 $     
00017  *
00018  *      $Date: 2014-08-11 20:08:36 -0400 (Mon, 11 Aug 2014) $
00019  *
00020  ****************************************************************************/
00021 
00022 /* Start of source module saf-cache.h */
00023 #if !defined(SafCACHE_H)
00024 #define SafCACHE_H
00025 
00043 enum SafCacheResult
00044 {
00045    SafCACHE_FOUND       =  0,   
00046    SafCACHE_NOTFOUND    =  1,   
00047    SafCACHE_EXPIRED     =  2,   
00048    SafCACHE_NOTCACHED   =  3,   
00049    SafCACHE_CANTCACHE   =  4,   
00050    SafCACHE_INVALID     =  5,   
00051    SafCACHE_BADCALL     = 10,   
00052    SafCACHE_INTERNAL    = 20,   
00053    SafCACHE_RESOURCE    = 21,   
00054    SafCACHE_NOTINIT     = 22,   
00055    SafCACHE_SHUTDOWN    = 23,   
00056    SafCACHE_TIMEOUT     = 24,   
00057    SafCACHE_R_Invalid,
00058    SafCACHE_R_Sizer = (1<<30)
00059 };
00060 
00061 
00068 enum SafCacheType
00069 {
00070    SafCACHE_NONE        = 0,    
00071    SafCACHE_VERIFY      = 1,    
00072    SafCACHE_AUTH        = 2,    
00073    SafCACHE_XAUTH       = 3,    
00074    SafCACHE_T_Invalid,
00075    SafCACHE_T_Sizer = (1<<30)
00076 };
00077 
00078 
00079 
00080 
00081 /* Cache Interface */
00082 mf_uns32 SafCacheInit(struct SafInit *Init);
00083 SafRet SafCacheTerminate(mf_uns32 What, void *Reserved);
00084 enum SafCacheResult SafCacheQuery(struct safpb_parameter_block *Request);
00085 enum SafCacheResult SafCacheStore(struct safpb_parameter_block *Request);
00086 SafRet SafCacheUpdate(struct safpb_parameter_block *Request);
00087 
00088 #endif
00089 
00090 /* End of saf-cache.h */
00091