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

#ifndef _PORTMAP_XDR_H_RPCGEN
#define _PORTMAP_XDR_H_RPCGEN

#define RPCGEN_VERSION	199506

#include <rpc/rpc.h>

#include <glusterfs/compat.h>

struct pmap_port_by_brick_req {
	char *brick;
};
typedef struct pmap_port_by_brick_req pmap_port_by_brick_req;

struct pmap_port_by_brick_rsp {
	int op_ret;
	int op_errno;
	int status;
	int port;
};
typedef struct pmap_port_by_brick_rsp pmap_port_by_brick_rsp;

struct pmap_brick_by_port_req {
	int port;
};
typedef struct pmap_brick_by_port_req pmap_brick_by_port_req;

struct pmap_brick_by_port_rsp {
	int op_ret;
	int op_errno;
	int status;
	char *brick;
};
typedef struct pmap_brick_by_port_rsp pmap_brick_by_port_rsp;

struct pmap_signin_req {
	char *brick;
	int port;
	int pid;
};
typedef struct pmap_signin_req pmap_signin_req;

struct pmap_signin_rsp {
	int op_ret;
	int op_errno;
};
typedef struct pmap_signin_rsp pmap_signin_rsp;

struct pmap_signout_req {
	char *brick;
	int port;
	int rdma_port;
};
typedef struct pmap_signout_req pmap_signout_req;

struct pmap_signout_rsp {
	int op_ret;
	int op_errno;
};
typedef struct pmap_signout_rsp pmap_signout_rsp;

#ifdef __cplusplus
extern "C" {
#endif
bool_t xdr_pmap_port_by_brick_req(XDR *, pmap_port_by_brick_req *);
bool_t xdr_pmap_port_by_brick_rsp(XDR *, pmap_port_by_brick_rsp *);
bool_t xdr_pmap_brick_by_port_req(XDR *, pmap_brick_by_port_req *);
bool_t xdr_pmap_brick_by_port_rsp(XDR *, pmap_brick_by_port_rsp *);
bool_t xdr_pmap_signin_req(XDR *, pmap_signin_req *);
bool_t xdr_pmap_signin_rsp(XDR *, pmap_signin_rsp *);
bool_t xdr_pmap_signout_req(XDR *, pmap_signout_req *);
bool_t xdr_pmap_signout_rsp(XDR *, pmap_signout_rsp *);
#ifdef __cplusplus
};
#endif

#endif /* !_PORTMAP_XDR_H_RPCGEN */
