rpc_binding_vector_free(3) — Subroutines
NAME
rpc_binding_vector_free - Frees the memory used to store a vector and binding handles
Used by client or server applications.
SYNOPSIS
#include <dce/rpc.h>
void rpc_binding_vector_free(
rpc_binding_vector_t ∗∗binding_vector ,
unsigned32 ∗status );
PARAMETERS
Input/Output
binding_vectorSpecifies the address of a pointer to a vector of server binding handles. On return the pointer is set to NULL.
Output
statusReturns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not. The possible status codes and their meanings are as follows:
rpc_s_okSuccess.
rpc_s_invalid_argInvalid argument.
rpc_s_invalid_bindingInvalid binding handle.
rpc_s_wrong_kind_of_binding
Wrong kind of binding for operation.
DESCRIPTION
The rpc_binding_vector_free routine frees the memory used to store a vector of server binding handles. The freed memory includes both the binding handles and the vector itself.
A server obtains a vector of binding handles by calling the rpc_server_inq_bindings routine. A client obtains a vector of binding handles by calling the rpc_ns_binding_lookup_next routine. Call the rpc_binding_vector_free routine if you have used either of these routines.
The rpc_binding_free routine frees individual elements of the vector. If an element is freed with this routine, the NULL element entry replaces it; the rpc_binding_vector_free routine ignores such an entry.
RETURN VALUES
None.
RELATED INFORMATION
Functions: rpc_binding_free(3), rpc_ns_binding_lookup_next(3), rpc_server_inq_bindings(3)