rpc_ns_mgmt_free_codesets(3rpc)Frees a code sets array that has been allocated by the RPC runtime Used by client and server applications. Synopsis #include <dce/rpc.h> void rpc_ns_mgmt_free_codesets( rpc_codeset_mgmt_p_t *code_sets_array, error_status_t *status); Parameters Input/Output
code_sets_array Output
status
Description The rpc_ns_mgmt_free_codesets( ) routine frees from the client application's memory a code sets array allocated by a client call to the rpc_ns_mgmt_read_codesets( ) or the rpc_rgy_get_codesets( ) routines. The routine frees from a server application's memory a code sets array allocated by a server call to the rpc_rgy_get_codesets( ) routine. Client applications use the rpc_ns_mgmt_read_codesets( ) routine to retrieve a server's supported code sets in order to evaluate them against the code sets that the client supports. Clients and servers use the rpc_rgy_get_codesets( ) routine to get their supported code sets from the code set registry. Clients and servers use the rpc_ns_mgmt_free_codesets( ) routine to free the memory allocated to the code sets array as part of their cleanup procedures.
Permissions Required
Return Values 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
Related Information
|