PreviousNext

rpc_mgmt_stats_vector_free(3rpc)

Frees a statistics vector

Used by client, server, or management applications.

Synopsis

#include <dce/rpc.h>

void rpc_mgmt_stats_vector_free(

rpc_stats_vector_t **stats_vector,

unsigned32 *status);

Parameters

Input/Output

stats_vector
Specifies the address of a pointer to a statistics vector. On return, stats_vector contains the value 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
An application calls rpc_mgmt_stats_vector_free( ) to release the memory used to store a vector of statistics.

An application calls rpc_mgmt_inq_stats( ) to obtain a vector of statistics. Follow a call to rpc_mgmt_inq_stats( ) with a call to rpc_mgmt_stats_vector_free( ).

Return Values
No value is returned.

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.

Related Information
Functions: rpc_mgmt_inq_stats(3rpc)