4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
26 /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
27 /* All Rights Reserved */
29 * University Copyright- Copyright (c) 1982, 1986, 1988
30 * The Regents of the University of California
33 * University Acknowledgment- Portions of this document are derived from
34 * software developed by the University of California, Berkeley, and its
46 * rpc_parse.h, Definitions for the RPCL parser
58 typedef enum defkind defkind
;
60 typedef char *const_def
;
63 REL_VECTOR
, /* fixed length array */
64 REL_ARRAY
, /* variable length array */
65 REL_POINTER
, /* pointer */
66 REL_ALIAS
/* simple */
68 typedef enum relation relation
;
76 typedef struct typedef_def typedef_def
;
81 struct enumval_list
*next
;
83 typedef struct enumval_list enumval_list
;
88 typedef struct enum_def enum_def
;
97 typedef struct declaration declaration
;
101 struct decl_list
*next
;
103 typedef struct decl_list decl_list
;
110 typedef struct struct_def struct_def
;
115 declaration case_decl
;
116 struct case_list
*next
;
118 typedef struct case_list case_list
;
121 declaration enum_decl
;
123 declaration
*default_decl
;
125 typedef struct union_def union_def
;
128 char *argname
; /* name of struct for arg */
132 typedef struct arg_list arg_list
;
141 struct proc_list
*next
;
143 typedef struct proc_list proc_list
;
145 struct version_list
{
149 struct version_list
*next
;
151 typedef struct version_list version_list
;
155 version_list
*versions
;
157 typedef struct program_def program_def
;
171 typedef struct definition definition
;
173 definition
*get_definition();
180 struct bas_type
*next
;
183 typedef struct bas_type bas_type
;
189 #endif /* !_RPC_PARSE_H */