Previous section.

CDE 1.1: Remote Procedure Call
Copyright © 1997 The Open Group

NAME

rpc_binding_vector_free- frees the memory used to store a vector of binding handles

SYNOPSIS

#include <dce/rpc.h>

void rpc_binding_vector_free( rpc_binding_vector_t **binding_vector, unsigned32 *status);

PARAMETERS

Input/Output

binding_vector
Specifies the address of a pointer to a vector of server binding handles.

Output

status
Returns the status code from this routine. The status code indicates whether the routine completed successfully, or if not, why not.

Possible status codes and their meanings include:

rpc_s_ok
Success.

DESCRIPTION

The rpc_binding_vector_free() routine frees the memory used to store a vector of server binding handles when the vector was created using either the rpc_server_inq_bindings() routine or rpc_ns_binding_lookup_next() routine. The freed memory includes both the binding handles and the vector itself.

The rpc_binding_free() routine may be used to free individual elements of the vector. When an element has been freed with this routine, the NULL element entry replaces it; the rpc_binding_vector_free() routine ignores such an entry.

When the rpc_binding_vector_free() routine succeeds, the binding_vector pointer is set to NULL.

RETURN VALUE

None.

SEE ALSO


rpc_binding_free()
rpc_server_inq_bindings()
rpc_ns_binding_lookup_next().

Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.

Contents Next section Index