home *** CD-ROM | disk | FTP | other *** search
- %h{
- /* *
- * *
- * Copyright 1987, 1988, 1989 Netwise, Inc. *
- * All Rights Reserved *
- * This software contains information which is proprietary to and a trade *
- * secret of Netwise, Inc. It is not to be used, reproduced, or disclosed *
- * except as authorized in your license agreement. *
- * *
- * Restricted Rights Legend *
- * Use, duplication, or disclosure by the Government is subject to *
- * restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in *
- * Technical Data and Computer Software clause at 252.227-7013, or the *
- * equivalent Government clause for other agencies. *
- * Contractor: Netwise, Inc., Boulder, CO 80301 USA *
- * *
- */
- %}
-
- /*
- * File: debug\common\debug.rpc
- *
- * This RPC file runs in the following environment:
- * NetWare RPC 1.0, NetWare 2.1 or higher, DOS 3.3
- *
- * This is the RPC Specification file for the debug example.
- *
- */
-
- /* This declaration defines an implicit, non-persistent binding.
- * server_name is a predefined binding type (typedef char *server_name).
- */
- extern server_name [bind in] sname;
-
- /* Define constants to switch on additional debugging in the imported file */
- %h{
- #define SHOW_DETAILS 1
- #define SHOW_STATES 1
- %}
-
- /* Access debug RPC file specification using the import statement. */
- import "debug_i.rpc";
-
- /* The following procedures use the global variable sname implicitly
- * for obtaining process binding information. Additionally, because
- * debug code has been imported, this code is also added to
- * each of the following procedures.
- */
-
- int
- add( int a, int b);
-
- int
- sub( int a, int b);
-