Policy Information Point (PIP)

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.

Detailed Description

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 Documentation

typedef struct pep_pip pep_pip_t

PIP type.

typedef int pip_destroy_func(void)

PIP destroy function prototype.

The destroy() function is called when the PEP client is destroyed.

Returns:
0 on success or an error code.
See also:
pep_destroy()
typedef int pip_init_func(void)

PIP init function prototype.

The init() function is called when the PIP is added to the PEP client.

Returns:
0 on success or an error code.
See also:
pep_addpip(pep_pip_t * pip)

PIP process function prototype.

The process(request) function is called before the PEP client submit the authorization request to the PEP daemon.

Parameters:
xacml_request_t ** address of the pointer to the PEP request
Returns:
0 on success or an error code.
See also:
pep_authorize(xacml_request_t **, xacml_response_t **)

Generated on 29 Apr 2014 for Argus PEP client API by  doxygen 1.6.1