/* This file is auto-generated from ../src/lxc/lxc_monitor_protocol.x */

#include <config.h>
#include "lxc_monitor_protocol.h"


void xdr_virLXCMonitorExitEventMsg_clear(virLXCMonitorExitEventMsg *objp)
{
    xdr_free((xdrproc_t)xdr_virLXCMonitorExitEventMsg, (char *)objp);
}


void xdr_virLXCMonitorInitEventMsg_clear(virLXCMonitorInitEventMsg *objp)
{
    xdr_free((xdrproc_t)xdr_virLXCMonitorInitEventMsg, (char *)objp);
}

bool_t
xdr_virLXCMonitorExitStatus(XDR *xdrs, virLXCMonitorExitStatus *objp)
{
    if (!xdr_enum(xdrs, (enum_t *)objp))
        return FALSE;
    return TRUE;
}

bool_t
xdr_virLXCMonitorExitEventMsg(XDR *xdrs, virLXCMonitorExitEventMsg *objp)
{
    if (!xdr_virLXCMonitorExitStatus(xdrs, &objp->status))
        return FALSE;
    return TRUE;
}

bool_t
xdr_virLXCMonitorInitEventMsg(XDR *xdrs, virLXCMonitorInitEventMsg *objp)
{
    if (!xdr_uint64_t(xdrs, &objp->initpid))
        return FALSE;
    return TRUE;
}

bool_t
xdr_virLXCMonitorProcedure(XDR *xdrs, virLXCMonitorProcedure *objp)
{
    if (!xdr_enum(xdrs, (enum_t *)objp))
        return FALSE;
    return TRUE;
}

