Argus PEP client API
2.3
|
Go to the source code of this file.
Macros | |
#define | PEP_LOGLEVEL_DEBUG 3 |
Logs ERROR, WARN, INFO and DEBUG messages. More... | |
#define | PEP_LOGLEVEL_ERROR 0 |
Logs only ERROR messages. More... | |
#define | PEP_LOGLEVEL_INFO 2 |
Logs ERROR, WARN and INFO messages. More... | |
#define | PEP_LOGLEVEL_NONE -1 |
No logging at all. More... | |
#define | PEP_LOGLEVEL_WARN 1 |
Logs ERROR and WARN messages. More... | |
Typedefs | |
typedef struct pep_handle | PEP |
PEP client handle. More... | |
typedef int | pep_log_handler_callback (int level, const char *format, va_list args) |
Optional log handler function callback prototype. More... | |
typedef enum pep_option | pep_option_t |
PEP client configuration options. More... | |
Functions | |
pep_error_t | pep_addobligationhandler (PEP *pep, const pep_obligationhandler_t *oh) |
Adds an Obligation Handler post-processor to the PEP client. More... | |
pep_error_t | pep_addpip (PEP *pep, const pep_pip_t *pip) |
Adds a PIP request pre-processor to the PEP client. More... | |
pep_error_t | pep_authorize (PEP *pep, xacml_request_t **request, xacml_response_t **response) |
Sends the XACML request to the PEP daemon and returns the XACML response. More... | |
void | pep_destroy (PEP *pep) |
Cleanups and destroys the PEP client. More... | |
int | pep_getid (PEP *pep) |
Returns the id of the PEP handle. More... | |
void | pep_global_cleanup (void) |
NOT THREAD SAFE. More... | |
pep_error_t | pep_global_init (void) |
NOT THREAD SAFE. More... | |
PEP * | pep_initialize (void) |
Creates and initializes a new PEP client handle. More... | |
pep_error_t | pep_setoption (PEP *pep, pep_option_t option,...) |
Sets a PEP client configuration option. More... | |
const char * | pep_version (void) |
Returns a human readable string with the version number of the PEP client API and some of its important components (like libcurl version). More... | |