2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _YPXFRD_H_RPCGEN
7 #define _YPXFRD_H_RPCGEN
15 #define _YPMAXRECORD 1024
16 #define _YPMAXDOMAIN 64
19 #define YPXFRBLOCK 32767
30 XFR_DB_ENDIAN_MISMATCH
= 9,
31 XFR_DB_TYPE_MISMATCH
= 10
33 typedef enum xfrstat xfrstat
;
49 typedef enum xfr_db_type xfr_db_type
;
53 XFR_ENDIAN_LITTLE
= 2,
56 typedef enum xfr_byte_order xfr_byte_order
;
58 typedef char *xfrdomain
;
62 typedef char *xfrmap_filename
;
64 struct ypxfr_mapname
{
67 xfrmap_filename xfrmap_filename
;
68 xfr_db_type xfr_db_type
;
69 xfr_byte_order xfr_byte_order
;
71 typedef struct ypxfr_mapname ypxfr_mapname
;
77 u_int xfrblock_buf_len
;
78 char *xfrblock_buf_val
;
83 typedef struct xfr xfr
;
85 #define YPXFRD_FREEBSD_PROG ((unsigned long)(600100069))
86 #define YPXFRD_FREEBSD_VERS ((unsigned long)(1))
88 extern void ypxfrd_freebsd_prog_1(struct svc_req
*rqstp
, SVCXPRT
*transp
);
89 #define YPXFRD_GETMAP ((unsigned long)(1))
90 extern struct xfr
* ypxfrd_getmap_1(ypxfr_mapname
*, CLIENT
*);
91 extern struct xfr
* ypxfrd_getmap_1_svc(ypxfr_mapname
*, struct svc_req
*);
92 extern int ypxfrd_freebsd_prog_1_freeresult(SVCXPRT
*, xdrproc_t
, caddr_t
);
94 /* the xdr functions */
95 extern bool_t
xdr_xfrstat(XDR
*, xfrstat
*);
96 extern bool_t
xdr_xfr_db_type(XDR
*, xfr_db_type
*);
97 extern bool_t
xdr_xfr_byte_order(XDR
*, xfr_byte_order
*);
98 extern bool_t
xdr_xfrdomain(XDR
*, xfrdomain
*);
99 extern bool_t
xdr_xfrmap(XDR
*, xfrmap
*);
100 extern bool_t
xdr_xfrmap_filename(XDR
*, xfrmap_filename
*);
101 extern bool_t
xdr_ypxfr_mapname(XDR
*, ypxfr_mapname
*);
102 extern bool_t
xdr_xfr(XDR
*, xfr
*);
108 #endif /* !_YPXFRD_H_RPCGEN */