config root man

Current Path : /compat/linux/proc/68247/root/usr/include/rpcsvc/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/68247/root/usr/include/rpcsvc/ypxfrd.h

/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#ifndef _YPXFRD_H_RPCGEN
#define	_YPXFRD_H_RPCGEN

#include <rpc/rpc.h>

#ifdef __cplusplus
extern "C" {
#endif

#define	_YPMAXRECORD 1024
#define	_YPMAXDOMAIN 64
#define	_YPMAXMAP 64
#define	_YPMAXPEER 64
#define	YPXFRBLOCK 32767

enum xfrstat {
	XFR_REQUEST_OK = 1,
	XFR_DENIED = 2,
	XFR_NOFILE = 3,
	XFR_ACCESS = 4,
	XFR_BADDB = 5,
	XFR_READ_OK = 6,
	XFR_READ_ERR = 7,
	XFR_DONE = 8,
	XFR_DB_ENDIAN_MISMATCH = 9,
	XFR_DB_TYPE_MISMATCH = 10
};
typedef enum xfrstat xfrstat;

enum xfr_db_type {
	XFR_DB_ASCII = 1,
	XFR_DB_BSD_HASH = 2,
	XFR_DB_BSD_BTREE = 3,
	XFR_DB_BSD_RECNO = 4,
	XFR_DB_BSD_MPOOL = 5,
	XFR_DB_BSD_NDBM = 6,
	XFR_DB_GNU_GDBM = 7,
	XFR_DB_DBM = 8,
	XFR_DB_NDBM = 9,
	XFR_DB_OPAQUE = 10,
	XFR_DB_ANY = 11,
	XFR_DB_UNKNOWN = 12
};
typedef enum xfr_db_type xfr_db_type;

enum xfr_byte_order {
	XFR_ENDIAN_BIG = 1,
	XFR_ENDIAN_LITTLE = 2,
	XFR_ENDIAN_ANY = 3
};
typedef enum xfr_byte_order xfr_byte_order;

typedef char *xfrdomain;

typedef char *xfrmap;

typedef char *xfrmap_filename;

struct ypxfr_mapname {
	xfrmap xfrmap;
	xfrdomain xfrdomain;
	xfrmap_filename xfrmap_filename;
	xfr_db_type xfr_db_type;
	xfr_byte_order xfr_byte_order;
};
typedef struct ypxfr_mapname ypxfr_mapname;

struct xfr {
	bool_t ok;
	union {
		struct {
			u_int xfrblock_buf_len;
			char *xfrblock_buf_val;
		} xfrblock_buf;
		xfrstat xfrstat;
	} xfr_u;
};
typedef struct xfr xfr;

#define	YPXFRD_FREEBSD_PROG ((unsigned long)(600100069))
#define	YPXFRD_FREEBSD_VERS ((unsigned long)(1))

extern  void ypxfrd_freebsd_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
#define	YPXFRD_GETMAP ((unsigned long)(1))
extern  struct xfr * ypxfrd_getmap_1(ypxfr_mapname *, CLIENT *);
extern  struct xfr * ypxfrd_getmap_1_svc(ypxfr_mapname *, struct svc_req *);
extern int ypxfrd_freebsd_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);

/* the xdr functions */
extern  bool_t xdr_xfrstat(XDR *, xfrstat*);
extern  bool_t xdr_xfr_db_type(XDR *, xfr_db_type*);
extern  bool_t xdr_xfr_byte_order(XDR *, xfr_byte_order*);
extern  bool_t xdr_xfrdomain(XDR *, xfrdomain*);
extern  bool_t xdr_xfrmap(XDR *, xfrmap*);
extern  bool_t xdr_xfrmap_filename(XDR *, xfrmap_filename*);
extern  bool_t xdr_ypxfr_mapname(XDR *, ypxfr_mapname*);
extern  bool_t xdr_xfr(XDR *, xfr*);

#ifdef __cplusplus
}
#endif

#endif /* !_YPXFRD_H_RPCGEN */

Man Man