XACML I/O Callbacks


Functions

xacml_result_t xacml_request_set_io_module (xacml_request_t request, const char *module)
xacml_result_t xacml_request_set_io_descriptor (xacml_request_t request, const xacml_io_descriptor_t *descriptor)
xacml_result_t xacml_server_set_io_module (xacml_server_t server, const char *module)
xacml_result_t xacml_server_set_io_descriptor (xacml_server_t server, const xacml_io_descriptor_t *descriptor)

Function Documentation

xacml_result_t xacml_request_set_io_descriptor ( xacml_request_t  request,
const xacml_io_descriptor_t *  descriptor 
)

Use an I/O module for a request

Configure a request handle to use the I/O callbacks contained in the descriptor.

Parameters:
request XACML request handle.
descriptor Descriptor with the I/O callbacks to be used when processing request.
See also:
xacml_request_set_io_descriptor()

xacml_result_t xacml_request_set_io_module ( xacml_request_t  request,
const char *  module 
)

Load and use an I/O module from a shared object for a request

Open the module named by module and configures the request handle to use the I/O descriptor named "xacml_io_descriptor" in that module.

Parameters:
request XACML request handle.
module Name of a shared object containing the xacml_io_descriptor_t.
See also:
xacml_request_set_io_descriptor()

xacml_result_t xacml_server_set_io_descriptor ( xacml_server_t  server,
const xacml_io_descriptor_t *  descriptor 
)

Use an I/O module for a server

Configure a server handle to use the I/O callbacks contained in the descriptor.

Parameters:
server XACML server handle.
descriptor Descriptor with the I/O callbacks to be used when processing request.
Return values:
XACML_RESULT_SUCCESS Success.
XACML_RESULT_INVALID_PARAMETER Invalid parameter.
See also:
xacml_request_set_io_descriptor()

xacml_result_t xacml_server_set_io_module ( xacml_server_t  server,
const char *  module 
)

Load and use an I/O module from a shared object for a server's requests

Open the module named by module and configures the server handle to use the I/O descriptor named "xacml_io_descriptor" in that module to handle the server's I/O.

Parameters:
server XACML server handle.
module Name of a shared object containing the xacml_io_descriptor_t.
Return values:
XACML_RESULT_SUCCESS Success.
XACML_RESULT_INVALID_PARAMETER Invalid parameter.
Note:
If an error occurs loading the I/O module, an error message will be sent to stderr.
See also:
xacml_request_set_io_descriptor()