rpc_ns_entry_expand_name(3rpc)Expands the name of a name service entry Used by client, server, or management applications. Synopsis #include <dce/rpc.h> void rpc_ns_entry_expand_name( unsigned32 entry_name_syntax, unsigned_char_t *entry_name, unsigned_char_t **expanded_name, unsigned32 *status); Parameters Input
entry_name_syntax To use the syntax specified in the RPC_DEFAULT_ENTRY_SYNTAX environment variable, provide a value of rpc_c_ns_syntax_default.
entry_name Output
expanded_name
status
Description The RPC runtime allocates memory for the returned expanded_name parameter. The application is responsible for calling rpc_string_free( ) for that returned parameter string. The returned and expanded entry name accounts for local name translations and differences in locally defined naming schemas. For example, suppose the entry in the name service is /.:/subsys/PrintQ/server1 Upon return from rpc_ns_entry_expand_name( ), the expanded name could be /.../abc.com/subsys/PrintQ/server1 For more information about local names and their expansions, see the information on the DCE Directory Service in the OSF DCE Administration Guide - Core Components.
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_incomplete_name
Related Information Books: OSF DCE Administration Guide - Introduction
|