rpc_util.h revision a2f144d1eca25f33af1e19affd8eda208f547108
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* All Rights Reserved */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * University Copyright- Copyright (c) 1982, 1986, 1988
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The Regents of the University of California
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * All Rights Reserved
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * University Acknowledgment- Portions of this document are derived from
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * software developed by the University of California, Berkeley, and its
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * contributors.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * rpc_util.h, Useful definitions for the RPC protocol compiler
struct list {
struct xdrfunc {
char *name;
int pointerp;
struct commandline {
extern char *where;
extern int linenum;
extern char *infilename;
extern list *defined;
extern int inetdflag;
extern int pmflag;
extern int tblflag;
extern int logflag;
extern int newstyle;
extern int mtflag;
extern int mtauto;
extern int rflag;
extern int indefinitewait;
extern int exitnow;
extern int timerflag;
extern int nonfatalerrors;
extern char *fixtype(char *);
extern char *stringfix(char *);
extern char *locase(char *);
extern void pvname_svc(char *, char *);
extern void pvname(char *, char *);
extern void ptype(char *, char *, int);
extern int streq(char *, char *);
extern void error(char *);
extern void record_open(char *);
extern void print_xdr_func_def(char *, int, int);
extern void write_most(char *, int, int);
extern void write_rest(void);
extern void write_inetd_register(char *);
extern void write_netid_register(char *);
extern void write_nettype_register(char *);
extern void write_stubs(void);
extern void write_tables(void);
#ifdef __cplusplus