rpc_binding_set_object(3) — Subroutines
NAME
rpc_binding_set_object - Sets the object UUID value into a server binding handle
Used by client applications.
SYNOPSIS
#include <dce/rpc.h>
void rpc_binding_set_object(
rpc_binding_handle_t binding ,
uuid_t ∗object_uuid ,
unsigned32 ∗status );
PARAMETERS
Input
bindingSpecifies the server binding into which argument object_uuid is set. Supply NULL to specify a nil UUID for this argument.
object_uuidSpecifies the UUID of the object serviced by the server specified in the binding argument. The object UUID is a unique identifier for an object for which a remote procedure call can be made.
Output
statusReturns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not. The possible status codes and their meanings are as follows:
rpc_s_okSuccess.
rpc_s_invalid_bindingInvalid binding handle.
rpc_s_wrong_kind_of_binding
Wrong kind of binding for operation.
DESCRIPTION
The rpc_binding_set_object routine associates an object UUID with a server binding handle. This operation replaces the previously associated object UUID with the UUID in the object_uuid argument.
To set the object UUID to the nil UUID, specify NULL or the nil UUID for the object_uuid argument.
RETURN VALUES
None.
RELATED INFORMATION
Functions: rpc_binding_from_string_binding(3), rpc_binding_inq_object(3)