DCE for the HP e3000 (B3821-90003)
Chapter 7 71
Programming with RPC 1.2.1 on MPE/iX
/* sleeper.idl
****************************************************************************
* This .idl file declares an interface with a set of remotely-callable
* procedures. This file is compiled by the idl compiler into a C interface
* declaration (.h) and a C client stub (_cstub.c) and server stub
* (_sstub.c) that interface with the RPC runtime. You must write a manager
* for this procedure (see manager.c) and the client and server main()
* functions (see client.c and server.c).
****************************************************************************/
/*
* (c) Copyright 1992, 1993, 1994 Hewlett-Packard Co.
*/
/*
* @(#)HP DCE/3000
* @(#)Module: sleeper.idl
*/
/*
* This definition declares the interface for this application and
* associates it with a globally (universally) unique identifier, or UUID.
* The RPC runtime uses the UUID to identify this interface. If you
* leverage this code, BE SURE TO CHANGE THE UUID! Do this by running the
* program "uuidgen" and putting the uuidgen output in place of the one
* supplied. Failure to do this may cause bizarre results.
*/
[uuid(D0FCDD70-7DCB-11CB-BDDD-08000920E4CC), /* NOTE: CHANGE THIS!!! */
version(1.0)]
interface sleeper
{
void remote_sleep
(
[in] handle_t h, /* Use explicit binding */
[in] long time /* Seconds to sleep */
);
}