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 /* @(#)rpc_parse.h 1.3 87/03/09 (C) 1987 SMI */
32 * rpc_parse.h, Definitions for the RPCL parser
33 * Copyright (C) 1987, Sun Microsystems, Inc.
44 typedef enum defkind defkind;
46 typedef char *const_def;
49 REL_VECTOR, /* fixed length array */
50 REL_ARRAY, /* variable length array */
51 REL_POINTER, /* pointer */
52 REL_ALIAS, /* simple */
54 typedef enum relation relation;
62 typedef struct typedef_def typedef_def;
68 struct enumval_list *next;
70 typedef struct enumval_list enumval_list;
75 typedef struct enum_def enum_def;
85 typedef struct declaration declaration;
90 struct decl_list *next;
92 typedef struct decl_list decl_list;
97 typedef struct struct_def struct_def;
102 declaration case_decl;
103 struct case_list *next;
105 typedef struct case_list case_list;
108 declaration enum_decl;
110 declaration *default_decl;
112 typedef struct union_def union_def;
123 struct proc_list *next;
125 typedef struct proc_list proc_list;
128 struct version_list {
132 struct version_list *next;
134 typedef struct version_list version_list;
138 version_list *versions;
140 typedef struct program_def program_def;
154 typedef struct definition definition;
156 /* @(#)rpc_parse.h 2.1 88/08/01 4.0 RPCSRC */
157 definition *get_definition();