2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
9 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
10 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
11 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
13 * Sun RPC is provided with no support and without any obligation on the
14 * part of Sun Microsystems, Inc. to assist in its use, correction,
15 * modification or enhancement.
17 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
18 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
19 * OR ANY PART THEREOF.
21 * In no event will Sun Microsystems, Inc. be liable for any lost revenue
22 * or profits or other special, indirect and consequential damages, even if
23 * Sun has been advised of the possibility of such damages.
25 * Sun Microsystems, Inc.
27 * Mountain View, California 94043
29 #pragma ident "@(#)rpc_parse.h 1.10 94/05/15 SMI"
31 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
32 /* All Rights Reserved */
34 /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
35 /* The copyright notice above does not evidence any */
36 /* actual or intended publication of such source code. */
39 /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
40 * PROPRIETARY NOTICE (Combined)
42 * This source code is unpublished proprietary information
43 * constituting, or derived under license from AT&T's UNIX(r) System V.
44 * In addition, portions of such source code were derived from Berkeley
45 * 4.3 BSD under license from the Regents of the University of
52 * Notice of copyright on this source code product does not indicate
55 * (c) 1986,1987,1988.1989 Sun Microsystems, Inc
56 * (c) 1983,1984,1985,1986,1987,1988,1989 AT&T.
57 * All rights reserved.
60 /* @(#)rpc_parse.h 1.3 90/08/29 (C) 1987 SMI */
63 * rpc_parse.h, Definitions for the RPCL parser
74 typedef enum defkind defkind;
76 typedef char *const_def;
79 REL_VECTOR, /* fixed length array */
80 REL_ARRAY, /* variable length array */
81 REL_POINTER, /* pointer */
82 REL_ALIAS, /* simple */
84 typedef enum relation relation;
92 typedef struct typedef_def typedef_def;
97 struct enumval_list *next;
99 typedef struct enumval_list enumval_list;
104 typedef struct enum_def enum_def;
113 typedef struct declaration declaration;
117 struct decl_list *next;
119 typedef struct decl_list decl_list;
124 typedef struct struct_def struct_def;
129 declaration case_decl;
130 struct case_list *next;
132 typedef struct case_list case_list;
135 declaration enum_decl;
137 declaration *default_decl;
139 typedef struct union_def union_def;
142 char *argname; /* name of struct for arg*/
146 typedef struct arg_list arg_list;
155 struct proc_list *next;
157 typedef struct proc_list proc_list;
159 struct version_list {
163 struct version_list *next;
165 typedef struct version_list version_list;
169 version_list *versions;
171 typedef struct program_def program_def;
185 typedef struct definition definition;
187 definition *get_definition();
194 struct bas_type *next;
197 typedef struct bas_type bas_type;