home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / n / n001 / 2.ddi / CBAK / COMMON / CBAK.RPC < prev   
Encoding:
Text File  |  1989-12-11  |  2.2 KB  |  54 lines

  1. %h{
  2. /*                                                                            *
  3.  *                                                                            *
  4.  *                  Copyright 1987, 1988, 1989 Netwise, Inc.                  *
  5.  *                              All Rights Reserved                           *
  6.  *   This software contains information which is proprietary to and a trade   *
  7.  *   secret of Netwise, Inc. It is not to be used, reproduced, or disclosed   *
  8.  *   except as authorized in your license agreement.                          *
  9.  *                                                                            *
  10.  *                          Restricted Rights Legend                          *
  11.  *   Use, duplication,  or  disclosure  by the  Government  is  subject  to   *
  12.  *   restrictions as set forth in subparagraph (c)(1)(ii) of the Rights  in   *
  13.  *   Technical Data and  Computer Software clause  at 252.227-7013, or  the   *
  14.  *   equivalent Government clause for other agencies.                         *
  15.  *   Contractor: Netwise, Inc., Boulder, CO 80301 USA                         *
  16.  *                                                                            *
  17.  */ 
  18. %}
  19. /*
  20.  * File: cbak\common\cbak.rpc
  21.  *
  22.  * This RPC file runs in the following environment:
  23.  *    NetWare RPC 1.0, NetWare 2.1 or higher, DOS 3.3
  24.  *
  25.  * This is the RPC Specification file for the callback example.
  26.  */
  27.  
  28. /*
  29.  * This is the primary interface for the callback example
  30.  *
  31.  * There's nothing special about this specification other than the use
  32.  * of the customization code imported from "cbak_i.rpc". All procedures
  33.  * following the import statement will have callback enabled.
  34.  * 
  35.  *
  36.  * A global variable called sname is identified as the variable containing
  37.  * process binding information. 
  38.  */
  39. extern server_name [bind in] sname;    /* server_name is a predefined binding
  40.                        type (typedef char *server_name) */
  41.  
  42. int
  43. stop_server();
  44.  
  45. /*
  46.  * RPC declarations before this point do not make use of callback.
  47.  * Everything following this "import" statement is permitted to make
  48.  * calls to "callback" procedures.
  49.  */
  50. import "cbak_i.rpc";
  51.  
  52. int
  53. sum_array ( int nitems ); 
  54.