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

#ifndef _ECHO_H_RPCGEN
#define	_ECHO_H_RPCGEN

#include <rpc/rpc.h>
#define	MAXMSG 4096

typedef char *mesidj;

struct echo_reply {
	int count;
	u_long respond_time;
};
typedef struct echo_reply echo_reply;

struct echo_request {
	mesidj message;
	u_long request_time;
};
typedef struct echo_request echo_request;

struct echo_res {
	int rpcerrno;
	union {
		echo_reply reply;
	} echo_res_u;
};
typedef struct echo_res echo_res;

#define	ECHOPROG ((unsigned long)(0x2deadbeef))
extern struct rpcgen_table echoprog_1_table[];
extern echoprog_1_nproc;
#define	ECHOVERS ((unsigned long)(1))
#define	ECHO ((unsigned long)(1))
extern  echo_res * echo_1();
extern int echoprog_1_freeresult();

/* the xdr functions */
extern bool_t xdr_mesidj();
extern bool_t xdr_echo_reply();
extern bool_t xdr_echo_request();
extern bool_t xdr_echo_res();
struct rpcgen_table {
	void	*(*proc)();
	xdrproc_t	xdr_arg;
	unsigned	len_arg;
	xdrproc_t	xdr_res;
	unsigned	len_res;
};

#endif /* !_ECHO_H_RPCGEN */
