rpc_binding_to_string_binding(3rpc)Returns a string representation of a binding handle Used by client, server, or management applications. Synopsis #include <dce/rpc.h> void rpc_binding_to_string_binding( rpc_binding_handle_t binding, unsigned_char_t **string_binding, unsigned32 *status); Parameters Input
binding Output
string_binding
status
Description The RPC runtime allocates memory for the string returned in the string_binding parameter. The application calls the rpc_string_free( ) routine to deallocate that memory. If the binding handle in the binding parameter contains a nil object UUID, the object UUID field is not included in the returned string. To parse the returned string_binding parameter, call rpc_string_binding_parse( ).
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_cant_getpeername
rpc_s_connection_closed
rpc_s_invalid_binding
Related Information rpc_string_binding_parse(3rpc)
|