PreviousNext

rpc_protseq_vector_free(3rpc)

Frees the memory used by a vector and its protocol sequences

Used by client or server applications.

Synopsis

#include <dce/rpc.h>

void rpc_protseq_vector_free(

rpc_protseq_vector_t **protseq_vector,

unsigned32 *status);

Parameters

Input/Output

protseq_vector
Specifies the address of a pointer to a vector of protocol sequences. On return the pointer is set to NULL.

Output

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

Description
The rpc_protseq_vector_free( ) routine frees the memory used to store a vector of protocol sequences. The freed memory includes both the protocol sequences and the vector itself.

Call rpc_network_inq_protseqs( ) to obtain a vector of protocol sequences. Follow a call to rpc_network_inq_protseqs( ) with a call to rpc_protseq_vector_free( ).

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

rpc_s_ok
Success.

Return Values
No value is returned.

Related Information
Functions: rpc_network_inq_protseqs(3rpc)