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

#include "changelog-xdr.h"
#include "rpc-pragmas.h"
#include <glusterfs/compat.h>

bool_t
xdr_changelog_probe_req (XDR *xdrs, changelog_probe_req *objp)
{
	register int32_t *buf;

	int i;
	 if (!xdr_u_int (xdrs, &objp->filter))
		 return FALSE;
	 if (!xdr_vector (xdrs, (char *)objp->sock, UNIX_PATH_MAX,
		sizeof (char), (xdrproc_t) xdr_char))
		 return FALSE;
	return TRUE;
}

bool_t
xdr_changelog_probe_rsp (XDR *xdrs, changelog_probe_rsp *objp)
{
	register int32_t *buf;

	 if (!xdr_int (xdrs, &objp->op_ret))
		 return FALSE;
	return TRUE;
}

bool_t
xdr_changelog_event_req (XDR *xdrs, changelog_event_req *objp)
{
	register int32_t *buf;

	 if (!xdr_u_quad_t (xdrs, &objp->seq))
		 return FALSE;
	 if (!xdr_u_quad_t (xdrs, &objp->tv_sec))
		 return FALSE;
	 if (!xdr_u_quad_t (xdrs, &objp->tv_usec))
		 return FALSE;
	return TRUE;
}

bool_t
xdr_changelog_event_rsp (XDR *xdrs, changelog_event_rsp *objp)
{
	register int32_t *buf;

	 if (!xdr_int (xdrs, &objp->op_ret))
		 return FALSE;
	 if (!xdr_u_quad_t (xdrs, &objp->seq))
		 return FALSE;
	return TRUE;
}
