Generic RPC header create function.
Creates request header array of given maximum size.
The function returns the following error codes:
E_ALLOC
if memory allocation failed.E_INVALID
if argument max_size
is less than 0.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(rpc_request_type), | intent(inout) | :: | request |
Request type. |
||
integer, | intent(in) | :: | max_size |
Max. number of headers. |
Creates response header array of given maximum size.
The function returns the following error codes:
E_ALLOC
if memory allocation failed.E_INVALID
if argument max_size
is less than 0.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(rpc_response_type), | intent(inout) | :: | response |
Response type. |
||
integer, | intent(in) | :: | max_size |
Max. number of headers. |