~ubuntu-branches/ubuntu/vivid/libapache2-mod-auth-openidc/vivid-proposed

« back to all changes in this revision

Viewing changes to src/cache/cache.h

  • Committer: Package Import Robot
  • Author(s): Hans Zandbelt
  • Date: 2014-10-13 12:23:35 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20141013122335-31wgnq50ascmubib
Tags: 1.6.0-1
new upstream release; add libssl-dev dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 * @Author: Hans Zandbelt - hzandbelt@pingidentity.com
51
51
 */
52
52
 
53
 
#ifndef _MOD_AUTH_CONNECT_CACHE_H_
54
 
#define _MOD_AUTH_CONNECT_CACHE_H_
 
53
#ifndef _MOD_AUTH_OPENIDC_CACHE_H_
 
54
#define _MOD_AUTH_OPENIDC_CACHE_H_
55
55
 
56
56
typedef void * (*oidc_cache_cfg_create)(apr_pool_t *pool);
57
57
typedef int (*oidc_cache_post_config_function)(server_rec *s);
58
58
typedef int (*oidc_cache_child_init_function)(apr_pool_t *p, server_rec *s);
59
 
typedef apr_byte_t (*oidc_cache_get_function)(request_rec *r, const char *key, const char **value);
60
 
typedef apr_byte_t (*oidc_cache_set_function)(request_rec *r, const char *key, const char *value, apr_time_t expiry);
 
59
typedef apr_byte_t (*oidc_cache_get_function)(request_rec *r,
 
60
                const char *section, const char *key, const char **value);
 
61
typedef apr_byte_t (*oidc_cache_set_function)(request_rec *r,
 
62
                const char *section, const char *key, const char *value,
 
63
                apr_time_t expiry);
61
64
typedef int (*oidc_cache_destroy_function)(server_rec *s);
62
65
 
63
66
typedef struct oidc_cache_t {
73
76
extern oidc_cache_t oidc_cache_memcache;
74
77
extern oidc_cache_t oidc_cache_shm;
75
78
 
76
 
#endif /* _MOD_AUTH_CONNECT_CACHE_H_ */
 
79
#endif /* _MOD_AUTH_OPENIDC_CACHE_H_ */