DCE for the HP e3000 (B3821-90003)

Chapter 7 69
Programming with RPC 1.2.1 on MPE/iX
* allocated by the runtime, the application should remember to free it.
* The first parameter is the binding vector to free; the second
* parameter is the DCE error status, which is ignored.
*/
rpc_binding_vector_free(&bvec, &_ignore);
/* rpc_server_unregister_if() --
*
* Unregister this server from the RPC runtime. This is unnecessary
* since this process is about to exit, but is here to demonstrate good
* programming style. The first parameter is the interface
* specification; the second is the manager type UUID (which is NULL
* since this application does not support multiple types). The last
* parameter is the DCE error status, which is ignored.
*/
rpc_server_unregister_if(sleeper_v1_0_s_ifspec, /* IDL-generated ifspec */
NULL, /* No object UUID */
&_ignore); /* ignore any errors */
exit(0);
}
/* common.h
***************************************************************************
* This file contains definitions common between the client and server.
***************************************************************************
* (c) Copyright 1992, 1993, 1994 Hewlett-Packard Co.
*/
/*
* @(#)HP DCE/3000 1.5
* @(#)Module: common.h
*/
/*
* This string will be registered with the RPC runtime as an annotation
* describing the endpoint entry.
*/
# define sleeper_description "sleeper"
#ifdef TRACING