rpc_object_inq_type(3rpc)Returns the type of an object Used by server applications. Synopsis #include <dce/rpc.h> void rpc_object_inq_type( uuid_t *obj_uuid, uuid_t *type_uuid, unsigned32 *status); Parameters Input
obj_uuid Output
type_uuid Specifying NULL here prevents the return of a type UUID. An application, by specifying NULL here, can determine from the value returned in status whether obj_uuid is registered. This determination occurs without the application specifying an output type UUID variable.
status
Description If the object is registered with the RPC runtime using the rpc_object_set_type( ) routine, the registered type is returned. Optionally, an application can maintain an object/type registration privately. In this case, if the application provides an object inquiry function (see rpc_object_set_inq_fn(3rpc) ), the RPC runtime uses that function to determine an object's type. The following table shows how rpc_object_inq_type( ) obtains the returned type UUID.
No value is returned. 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_object_not_found
uuid_s_bad_version
Related Information
|