PingAccess Agent SDK for C
Classes | Macros | Typedefs
paa-cache.h File Reference
#include "apr.h"
#include "apr_pools.h"
#include "paa-http-server-facade.h"
#include "paa-util.h"

Go to the source code of this file.

Classes

struct  paa_cache_struct
 

Macros

#define APR_PAA_CACHE_HIT_CONSULT   (APR_PAA_CACHE_START + 0)
 
#define APR_PAA_CACHE_HIT_UNPROTECTED   (APR_PAA_CACHE_START + 1)
 
#define APR_PAA_CACHE_HIT_PROTECTED   (APR_PAA_CACHE_START + 2)
 
#define APR_PAA_CACHE_RESOURCE_MISS   (APR_PAA_CACHE_START + 3)
 
#define APR_PAA_CACHE_TOKEN_MISS   (APR_PAA_CACHE_START + 4)
 
#define APR_PAA_CACHE_EXPIRED_MISS   (APR_PAA_CACHE_START + 5)
 
#define APR_PAA_CACHE_NA   (APR_PAA_CACHE_START + 6)
 
#define APR_PAA_CACHE_INVALID_MISS   (APR_PAA_CACHE_START + 7)
 

Typedefs

typedef struct paa_cache_struct paa_cache
 

Detailed Description

Header for the paa_cache interface

Macro Definition Documentation

#define APR_PAA_CACHE_EXPIRED_MISS   (APR_PAA_CACHE_START + 5)

indicates a miss in the token cache due an expired token

#define APR_PAA_CACHE_HIT_CONSULT   (APR_PAA_CACHE_START + 0)

indicates a cache hit for a consult resource

#define APR_PAA_CACHE_HIT_PROTECTED   (APR_PAA_CACHE_START + 2)

indicates a cache hit for a protected resource

#define APR_PAA_CACHE_HIT_UNPROTECTED   (APR_PAA_CACHE_START + 1)

indicates a cache hit for an unprotected resource

#define APR_PAA_CACHE_INVALID_MISS   (APR_PAA_CACHE_START + 7)

indicates a miss in the cache due to an invalid request such as a missing host header

#define APR_PAA_CACHE_NA   (APR_PAA_CACHE_START + 6)

indicates the cache is not available due to a previous error

#define APR_PAA_CACHE_RESOURCE_MISS   (APR_PAA_CACHE_START + 3)

indicates a miss in the resource cache

#define APR_PAA_CACHE_TOKEN_MISS   (APR_PAA_CACHE_START + 4)

indicates a miss in the token cache

Typedef Documentation

typedef struct paa_cache_struct paa_cache

paa_cache forward declaration