RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

app_cache.h

Go to the documentation of this file.
00001 /* $Id: app_cache.h,v 1.5 2005/06/09 06:21:55 jmckee Exp $ */
00002 /*
00003  * Copyright (C) 1999-2003 RSA Security Inc. All rights reserved.
00004  *
00005  * This work contains proprietary information of RSA Security.
00006  * Distribution is limited to authorized licensees of RSA
00007  * Security. Any unauthorized reproduction, distribution or
00008  * modification of this work is strictly prohibited.
00009  */
00010 
00018 #ifndef HEADER_SHARE_APP_CACHE_H
00019 #define HEADER_SHARE_APP_CACHE_H
00020 
00021 #ifdef  __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 #include "r_prod.h"
00026 
00027 /*
00028  * Type Definitions
00029  */
00030 
00031 typedef struct sess_cache_st SESS_CACHE;
00032 
00033 /*
00034  * Exported Functions
00035  */
00036 
00037 extern int APP_session_cache_init(SESS_CACHE **sess_cache);
00038 extern int APP_session_cache_final(SESS_CACHE *sess_cache);
00039 extern int APP_session_cache_stats(SESS_CACHE *sess_cache, BIO *bio);
00040 extern int APP_session_cache_cb(SSL_CTX *ctx, int cmd, SSL_SESSION **session,
00041     void *my_arg);
00042 
00043 #ifdef  __cplusplus
00044 }
00045 #endif
00046 
00047 #endif /* HEADER_SHARE_APP_CACHE_H */

Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1