#### Registering the Server's Supported Code Sets in the Namespace

The next step in writing an internationalized RPC server is to make a call in the server's initialization code to the DCE RPC routine rpc_ns_mgmt_set_attribute( ), which takes the code sets array returned by rpc_rgy_get_codesets( ) and exports it to the server's entry in the name service database. The routine creates a "code sets" NSI attribute in the name service database and associates it with the server entry created by the NSI export operation.

The purpose of this step is to register the server's supported code sets into the name service database so that clients can gain access to the information. Note, then, that server entries for internationalized RPC servers will have code sets attributes in addition to the binding attributes and object attributes for the servers. For a general discussion of NSI attributes, see RPC and Other DCE Components . Refer to the rpc_ns_mgmt_set_attribute(3rpc) reference page in the OSF DCE Application Development Reference for a description of the rpc_ns_mgmt_set_attribute( ) routine's signature and arguments.

####