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 * Results Cache Facility 00016 * 00017 * @(#)saf-cache.h $Revision: 1.8 $ 00018 * 00019 * $Date: 2009/04/07 14:56:53 $ 00020 * 00021 ****************************************************************************/ 00022 00023 /* Start of source module saf-cache.h */ 00024 #if !defined(SafCACHE_H) 00025 #define SafCACHE_H 00026 00044 enum SafCacheResult 00045 { 00046 SafCACHE_FOUND = 0, 00047 SafCACHE_NOTFOUND = 1, 00048 SafCACHE_EXPIRED = 2, 00049 SafCACHE_INVALID = 3, 00050 SafCACHE_BADCALL = 10, 00051 SafCACHE_INTERNAL = 20, 00052 SafCACHE_RESOURCE = 21, 00053 SafCACHE_NOTINIT = 22, 00054 SafCACHE_SHUTDOWN = 23, 00055 SafCACHE_TIMEOUT = 24, 00056 SafCACHE_R_Invalid, 00057 SafCACHE_R_Sizer = (1<<30) 00058 }; 00059 00060 00068 enum SafCacheId 00069 { 00070 SafCACHE_VERIFY = 1, 00071 SafCACHE_AUTH = 2, 00072 SafCACHE_I_Invalid, 00073 SafCACHE_I_Sizer = (1<<30) 00074 }; 00075 00076 00077 00078 00079 /* Cache Interface */ 00080 mf_uns32 SafCacheInit(void); 00081 00082 #endif 00083 00084 /* End of saf-cache.h */ 00085