OSF DCE Application Development Guide--Core Components

Writing Internationalized RPC Applications
&status );
CHECK_STATUS(FALSE, "rpc_ns_binding_select", status, rpc_s_ok);
if (status != rpc_s_ok)
{
rpc_ns_mgmt_free_codesets(&client, &status);
CHECK_STATUS(TRUE, "rpc_ns_mgmt_free_codesets",
status, rpc_s_ok);
}
rpc_ns_binding_inq_entry_name (
bind_handle,
rpc_c_ns_syntax_default,
&entry_name,
&status );
CHECK_STATUS(TRUE, "rpc_ns_binding_inq_entry_name", status, \
rpc_s_ok);
if (status != rpc_s_ok)
{
rpc_ns_mgmt_free_codesets(&client, &status);
CHECK_STATUS(TRUE, "rpc_ns_mgmt_free_codesets",
status, rpc_s_ok);
}
/*
* Get the server’s supported code sets from NSI
*/
rpc_ns_mgmt_read_codesets (
rpc_c_ns_syntax_default,
entry_name,
&server,
&status );
CHECK_STATUS(FALSE, "rpc_ns_mgmt_read_codesets", status, \
rpc_s_ok);
if (status != rpc_s_ok)
{
rpc_ns_mgmt_free_codesets(&client, &status);
CHECK_STATUS(TRUE, "rpc_ns_mgmt_free_codesets",
status, rpc_s_ok);
}
124245 Tandem Computers Incorporated 15 33