PEP client PIP function prototypes and type. More...
Data Structures | |
struct | pep_pip |
PIP type. More... | |
Typedefs | |
typedef struct pep_pip | pep_pip_t |
PIP type. | |
typedef int | pip_destroy_func (void) |
PIP destroy function prototype. | |
typedef int | pip_init_func (void) |
PIP init function prototype. | |
typedef int | pip_process_func (xacml_request_t **) |
PIP process function prototype. |
PEP client PIP function prototypes and type.
These function prototypes allow to implement a PIP. The PIP pre-processes the PEP request, before the PEP client sends it to the PEP daemon.
The PIP functions must return 0 on success or an error code.
PIP must be added to the PEP client before sending the request.
typedef int pip_destroy_func(void) |
PIP destroy function prototype.
The destroy() function is called when the PEP client is destroyed.
typedef int pip_init_func(void) |
PIP init function prototype.
The init() function is called when the PIP is added to the PEP client.
typedef int pip_process_func(xacml_request_t **) |
PIP process function prototype.
The process(request) function is called before the PEP client submit the authorization request to the PEP daemon.
xacml_request_t | ** address of the pointer to the PEP request |