rpc_ns_mgmt_read_codesets(3rpc)Reads the code sets attribute associated with an RPC server entry in the name service database. Used by client applications. Synopsis #include <dce/rpc.h> void rpc_ns_mgmt_read_codesets( unsigned32 entry_name_syntax, unsigned_char_t *entry_name, rpc_codeset_mgmt_p_t *code_sets_array, error_status_t *status); Parameters Input
entry_name_syntax To use the syntax specified in the RPC_DEFAULT_ENTRY_SYNTAX environment variable, provide rpc_c_ns_syntax_default.
entry_name Output
code_sets_array
status
Description The rpc_ns_mgmt_read_codesets( ) routine reads the code sets attribute associated with an RPC server entry in the name service database. The routine takes the name of an RPC server entry and returns a code sets array that corresponds to the code sets that this RPC server supports. 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. Client applications that use the evaluation routines rpc_cs_eval_with_universal( ) and rpc_cs_eval_without_universal( ) do not need to call this routine explicitly, because these code sets evaluation routines call it on the client's behalf. Application developers who are writing their own character and code set evaluation routines may need to include rpc_ns_mgmt_read_codesets( ) in their user-written evaluation routines.
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 rpc_s_invalid_name_syntax rpc_s_mgmt_bad_type rpc_s_name_service_unavailable rpc_s_no_permission rpc_s_incomplete_name rpc_s_no_memory
Related Information rpc_ns_mgmt_free_codesets(3rpc) rpc_ns_mgmt_remove_attribute(3rpc) rpc_ns_mgmt_set_attribute(3rpc)
|