OSF DCE Application Development Guide--Introduction and Style Guide

A Sample Application
/****************************************************************************/
/* [27.VI.94] */
/* */
/* sample_bind.idl -- */
/* */
/* */
/* */
/* -77 cols- */
/****************************************************************************/
[
uuid(006868ca-6064-1d49-9829-0000c0d4de56),
version(1.0)
]
interface sample_bind
{
void rs_bind_to_object(
[in] handle_t binding,
[in, string] char *component,
[out] uuid_t *object_uuid,
[out] uuid_t *mgr_type_uuid,
[out] error_status_t *status
);
}
/****************************************************************************/
/* [27.VI.94] */
/* */
/* sample_bind.acf -- */
/* */
/* */
/* */
/* -77 cols- */
/****************************************************************************/
interface sample_bind
{
rs_bind_to_object([comm_status,fault_status] status);
}
A.3 Manager and Client Illustrations
Most of the application-specific server code is contained in sample_manager.c. Since
generic client tasks are so simple, the whole client is contained in sample_client.c.
/****************************************************************************/
124246 Tandem Computers Incorporated A 73