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: macro\common\macro.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 macro example.
- */
-
- /* This declaration defines an implicit, non-persistent process binding.
- * server_name is a predefined binding type (typedef char *server_name)
- */
- extern server_name [bind in] sname;
-
- struct record {
- char term_1; /* Termination character used in buffer_1 */
- char term_2; /* Termination character used in buffer_2 */
- char term_3; /* Termination character used in buffer_3 */
- char term_4; /* Termination character used in buffer_4 */
- char term_5; /* Termination character used in buffer_5 */
- char buffer_1[80] (*$0 == $2->term_1);
- struct {
- char buffer_2[80] (*$0 == $3->term_2);
- struct {
- char buffer_3[80] (*$0 == $4->term_3);
- struct {
- char buffer_4[80] (*$0 == $5->term_4);
- char buffer_5[80] (*$0 == $$->term_5);
- } r3;
- } r2;
- } r1;
- };
-
- /* Specification of the get_record() remote procedure. This procedure returns
- * a complete record structure pointed to by rp.
- */
- int
- get_record(int [in] num, struct record [out] *rp);
-