/*
Copyright (c) 1993 Xerox Corporation.  All rights reserved.
*/
/* Chauser, October 28, 1993 5:04 pm PDT */
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <unistd.h>

#define bcmp(a,b,c) \
 ( memcmp (b,a,c) )


#define bcopy(a,b,c) \
 ( memcpy (b,a,c) )

#define bzero(a,b) \
 ( memset(a, 0, b) )

#define  getnetname PCR←getnetname
#define host2netname PCR←host2netname
#define netname2host PCR←netname2host
#define netname2user PCR←netname2user
#define user2netname PCR←user2netname

#define authnone←create PCR←authnone←create
#define authunix←create PCR←authunix←create
#define authunix←create←default PCR←authunix←create←default
#define clntudp←bufcreate PCR←clntudp←bufcreate
#define clntudp←bufcreate PCR←clntudp←bufcreate
#define clntudp←create PCR←clntudp←create
#define clntudp←create PCR←clntudp←create
#define clnt←broadcast PCR←clnt←broadcast
#define clnt←create PCR←clnt←create
#define clnt←create←vers PCR←clnt←create←vers
#define clnt←pcreateerror PCR←clnt←pcreateerror
#define clnt←perrno PCR←clnt←perrno
#define clnt←perror PCR←clnt←perror
#define clnt←spcreateerror PCR←clnt←spcreateerror
#define clnt←sperror PCR←clnt←sperror
#define h←errno (*PCR←h←errno())
#define pmap←getmaps PCR←pmap←getmaps
#define pmap←getport PCR←pmap←getport
#define pmap←rmtcall PCR←pmap←rmtcall
#define pmap←set PCR←pmap←set
#define pmap←unset PCR←pmap←unset
#define rpctest←service PCR←rpctest←service
#define rpc←createerr (*PCR←rpc←createerr()) 
#define rpc←server←create PCR←rpc←server←create
#define svcerr←auth PCR←svcerr←auth
#define svcerr←decode PCR←svcerr←decode
#define svcerr←noproc PCR←svcerr←noproc
#define svcerr←noprog PCR←svcerr←noprog
#define svcerr←progvers PCR←svcerr←progvers
#define svcerr←systemerr PCR←svcerr←systemerr
#define svcerr←weakauth PCR←svcerr←weakauth
#define svcudp←create PCR←svcudp←create
#define svcudp←create←pcr PCR←svcudp←create←pcr
#define svcudp←sockcreate PCR←svcudp←sockcreate
#define svcudp←enablecache PCR←svcudp←enablecache
#define svc←sendreply PCR←svc←sendreply
#define xdrmbuf←init PCR←xdrmbuf←init
#define xdrmem←create PCR←xdrmem←create
#define xdrrec←create PCR←xdrrec←create
#define xdrrec←endofrecord PCR←xdrrec←endofrecord
#define xdrrec←eof PCR←xdrrec←eof
#define xdrrec←readbytes PCR←xdrrec←readbytes
#define xdrrec←skiprecord PCR←xdrrec←skiprecord
#define xdrstdio←create PCR←xdrstdio←create
#define xdr←array PCR←xdr←array
#define xdr←authunix←parms PCR←xdr←authunix←parms
#define xdr←bool PCR←xdr←bool
#define xdr←bytes PCR←xdr←bytes
#define xdr←callhdr PCR←xdr←callhdr
#define xdr←callmsg PCR←xdr←callmsg
#define xdr←char PCR←xdr←char
#define xdr←cryptkeyarg PCR←xdr←cryptkeyarg
#define xdr←cryptkeyres PCR←xdr←cryptkeyres
#define xdr←double PCR←xdr←double
#define xdr←enum PCR←xdr←enum
#define xdr←float PCR←xdr←float
#define xdr←free PCR←xdr←free
#define xdr←getcredres PCR←xdr←getcredres
#define xdr←int PCR←xdr←int
#define xdr←keybuf PCR←xdr←keybuf
#define xdr←keystatus PCR←xdr←keystatus
#define xdr←long PCR←xdr←long
#define xdr←netnamestr PCR←xdr←netnamestr
#define xdr←netobj PCR←xdr←netobj
#define xdr←opaque PCR←xdr←opaque
#define xdr←opaque←auth PCR←xdr←opaque←auth
#define xdr←pmap PCR←xdr←pmap
#define xdr←pmaplist PCR←xdr←pmaplist
#define xdr←pointer PCR←xdr←pointer
#define xdr←reference PCR←xdr←reference
#define xdr←replymsg PCR←xdr←replymsg
#define xdr←rmtcallres PCR←xdr←rmtcallres
#define xdr←rmtcall←args PCR←xdr←rmtcall←args
#define xdr←short PCR←xdr←short
#define xdr←string PCR←xdr←string
#define xdr←union PCR←xdr←union
#define xdr←unixcred PCR←xdr←unixcred
#define xdr←u←char PCR←xdr←u←char
#define xdr←u←int PCR←xdr←u←int
#define xdr←u←long PCR←xdr←u←long
#define xdr←u←short PCR←xdr←u←short
#define xdr←vector PCR←xdr←vector
#define xdr←void PCR←xdr←void
#define xdr←wrapstring PCR←xdr←wrapstring
#define ←authenticate PCR←←authenticate
#define ←null←auth (*PCR←←null←auth())
#define ←svcauth←unix PCR←←svcauth←unix
#define ←svcauth←short PCR←←svcauth←short
#define svc←dthread PCR←svc←dthread
#define svc←versquiet PCR←svc←versquiet

#define ←seterr←reply PCR←←seterr←reply
#define xdr←accepted←reply PCR←xdr←accepted←reply
#define xdr←rejected←reply PCR←xdr←rejected←reply
#define xdr←des←block PCR←xdr←des←block

#define ←openchild PCR←←openchild
#define ←rpc←dtablesize PCR←←rpc←dtablesize
#define ←svcauth←des PCR←←svcauth←des
#define ←svcauth←null PCR←←svcauth←null
#define clnt←broadcast←exp PCR←clnt←broadcast←exp
#define clnt←sperrno PCR←clnt←sperrno
#define get←myaddress PCR←get←myaddress