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

#ifndef _MC_H_RPCGEN
#define _MC_H_RPCGEN

#include <rpc/rpc.h>


#ifdef __cplusplus
extern "C" {
#endif


struct mypair {
	int arg1;
	int arg2;
};
typedef struct mypair mypair;

#define MCPROG 0x20000002
#define MCVERS 1

#if defined(__STDC__) || defined(__cplusplus)
#define ADD 1
extern  int * add_1(mypair *, CLIENT *);
extern  int * add_1_svc(mypair *, struct svc_req *);
#define SUBTRACT 2
extern  int * subtract_1(mypair *, CLIENT *);
extern  int * subtract_1_svc(mypair *, struct svc_req *);
extern int mcprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);

#else /* K&R C */
#define ADD 1
extern  int * add_1();
extern  int * add_1_svc();
#define SUBTRACT 2
extern  int * subtract_1();
extern  int * subtract_1_svc();
extern int mcprog_1_freeresult ();
#endif /* K&R C */

/* the xdr functions */

#if defined(__STDC__) || defined(__cplusplus)
extern  bool_t xdr_mypair (XDR *, mypair*);

#else /* K&R C */
extern bool_t xdr_mypair ();

#endif /* K&R C */

#ifdef __cplusplus
}
#endif

#endif /* !_MC_H_RPCGEN */
