/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	ypxfrd.h,v $
 * Revision 4.2  91/09/20  05:20:17  devbld
 * Adding ODE Headers
 * 
 * $EndLog$
 */
/*
 *	@(#)$RCSfile: ypxfrd.h,v $ $Revision: 4.2 $ (DEC) $Date: 91/09/20 05:20:17 $
 */
/*
 */

/* 
 * @(#)ypxfrd.x	1.1 90/07/23 4.1NFSSRC Copyr 1990 Sun Micro 
 * This is NOT source code!
 * DO NOT EDIT THIS FILE!
 */
#define PBLEN 1024
#define DBLEN 4096

enum answer {
	OK = 0,
	GETDBM_EOF = 1,
	GETDBM_ERROR = 2,
};
typedef enum answer answer;
bool_t xdr_answer();


typedef char pagblock[PBLEN];
bool_t xdr_pagblock();


typedef char dirblock[DBLEN];
bool_t xdr_dirblock();


typedef char *pathname;
bool_t xdr_pathname();


struct hosereq {
	pathname map;
	pathname domain;
};
typedef struct hosereq hosereq;
bool_t xdr_hosereq();


struct pagdat {
	int blkno;
	pagblock blkdat;
};
typedef struct pagdat pagdat;
bool_t xdr_pagdat();


struct dirdat {
	int blkno;
	dirblock blkdat;
};
typedef struct dirdat dirdat;
bool_t xdr_dirdat();


struct pag {
	answer status;
	union {
		pagdat ok;
	} pag_u;
};
typedef struct pag pag;
bool_t xdr_pag();


struct paglist {
	struct pag d;
	struct paglist *next;
};
typedef struct paglist paglist;
bool_t xdr_paglist();


struct dir {
	answer status;
	union {
		dirdat ok;
	} dir_u;
};
typedef struct dir dir;
bool_t xdr_dir();


struct dirlist {
	struct dir d;
	struct dirlist *next;
};
typedef struct dirlist dirlist;
bool_t xdr_dirlist();


struct du {
	struct paglist p;
	struct dirlist d;
};
typedef struct du du;
bool_t xdr_du();


struct dbmfyl {
	answer status;
	union {
		struct du ok;
	} dbmfyl_u;
};
typedef struct dbmfyl dbmfyl;
bool_t xdr_dbmfyl();


#define YPXFRD ((u_long)100069)
#define V1 ((u_long)1)
#define getdbm ((u_long)1)
extern dbmfyl *getdbm_1();

