rpc_tower_vector_from_binding(3rpc) — Subroutines
NAME
rpc_tower_vector_from_binding — Creates a tower vector from a binding handle
Synopsis
void rpc_tower_vector_from_binding(
rpc_if_handle_t if_spec,
rpc_binding_handle_t binding,
rpc_tower_vector_p_t ∗twr_vector,
unsigned32 ∗status);
Parameters
Input
if_specThe interface specification that will be combined with a binding handle to form a tower vector.
bindingThe binding handle that will be combined with a interface specification to form a tower vector.
Output
twr_vectorReturns the allocated tower vector.
statusReturns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not.
The status code is either rpc_s_ok, or rpc_s_no_interfaces, or a value returned from a called routine.
Description
The rpc_tower_vector_from_binding() routine creates a vector of towers from a binding handle. After the caller is finished with the tower vector, the rpc_tower_vector_free() routine must be called to release the memory used by the vector.
Return Values
No value is returned.
Related Information
Functions: rpc_binding_copy(3rpc), rpc_binding_free(3rpc), rpc_tower_to_binding(3rpc), rpc_tower_vector_free(3rpc).