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) |
| 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.
| request | XACML request handle. | |
| descriptor | Descriptor with the I/O callbacks to be used when processing request. |
References XACML_RESULT_INVALID_PARAMETER, and XACML_RESULT_SUCCESS.
Referenced by xacml_request_set_io_module().
| 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.
| request | XACML request handle. | |
| module | Name of a shared object containing the xacml_io_descriptor_t. |
References xacml_request_set_io_descriptor(), XACML_RESULT_INVALID_PARAMETER, and XACML_RESULT_SUCCESS.
| 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.
| server | XACML server handle. | |
| descriptor | Descriptor with the I/O callbacks to be used when processing request. |
| XACML_RESULT_SUCCESS | Success. | |
| XACML_RESULT_INVALID_PARAMETER | Invalid parameter. |
References XACML_RESULT_INVALID_PARAMETER, and XACML_RESULT_SUCCESS.
Referenced by xacml_server_set_io_module().
| 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.
| server | XACML server handle. | |
| module | Name of a shared object containing the xacml_io_descriptor_t. |
| XACML_RESULT_SUCCESS | Success. | |
| XACML_RESULT_INVALID_PARAMETER | Invalid parameter. |
References XACML_RESULT_INVALID_PARAMETER, XACML_RESULT_SUCCESS, and xacml_server_set_io_descriptor().