/* This file is auto-generated from ../src/remote/qemu_protocol.x */

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


void xdr_qemu_domain_monitor_command_args_clear(qemu_domain_monitor_command_args *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_monitor_command_args, (char *)objp);
}


void xdr_qemu_domain_monitor_command_ret_clear(qemu_domain_monitor_command_ret *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_monitor_command_ret, (char *)objp);
}


void xdr_qemu_domain_attach_args_clear(qemu_domain_attach_args *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_attach_args, (char *)objp);
}


void xdr_qemu_domain_attach_ret_clear(qemu_domain_attach_ret *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_attach_ret, (char *)objp);
}


void xdr_qemu_domain_agent_command_args_clear(qemu_domain_agent_command_args *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_agent_command_args, (char *)objp);
}


void xdr_qemu_domain_agent_command_ret_clear(qemu_domain_agent_command_ret *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_agent_command_ret, (char *)objp);
}


void xdr_qemu_connect_domain_monitor_event_register_args_clear(qemu_connect_domain_monitor_event_register_args *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_connect_domain_monitor_event_register_args, (char *)objp);
}


void xdr_qemu_connect_domain_monitor_event_register_ret_clear(qemu_connect_domain_monitor_event_register_ret *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_connect_domain_monitor_event_register_ret, (char *)objp);
}


void xdr_qemu_connect_domain_monitor_event_deregister_args_clear(qemu_connect_domain_monitor_event_deregister_args *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_connect_domain_monitor_event_deregister_args, (char *)objp);
}


void xdr_qemu_domain_monitor_event_msg_clear(qemu_domain_monitor_event_msg *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_monitor_event_msg, (char *)objp);
}


void xdr_qemu_domain_monitor_command_with_files_args_clear(qemu_domain_monitor_command_with_files_args *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_monitor_command_with_files_args, (char *)objp);
}


void xdr_qemu_domain_monitor_command_with_files_ret_clear(qemu_domain_monitor_command_with_files_ret *objp)
{
    xdr_free((xdrproc_t)xdr_qemu_domain_monitor_command_with_files_ret, (char *)objp);
}

bool_t
xdr_qemu_domain_monitor_command_args(XDR *xdrs, qemu_domain_monitor_command_args *objp)
{
    if (!xdr_remote_nonnull_domain(xdrs, &objp->dom))
        return FALSE;
    if (!xdr_remote_nonnull_string(xdrs, &objp->cmd))
        return FALSE;
    if (!xdr_u_int(xdrs, &objp->flags))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_monitor_command_ret(XDR *xdrs, qemu_domain_monitor_command_ret *objp)
{
    if (!xdr_remote_nonnull_string(xdrs, &objp->result))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_attach_args(XDR *xdrs, qemu_domain_attach_args *objp)
{
    if (!xdr_u_int(xdrs, &objp->pid_value))
        return FALSE;
    if (!xdr_u_int(xdrs, &objp->flags))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_attach_ret(XDR *xdrs, qemu_domain_attach_ret *objp)
{
    if (!xdr_remote_nonnull_domain(xdrs, &objp->dom))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_agent_command_args(XDR *xdrs, qemu_domain_agent_command_args *objp)
{
    if (!xdr_remote_nonnull_domain(xdrs, &objp->dom))
        return FALSE;
    if (!xdr_remote_nonnull_string(xdrs, &objp->cmd))
        return FALSE;
    if (!xdr_int(xdrs, &objp->timeout))
        return FALSE;
    if (!xdr_u_int(xdrs, &objp->flags))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_agent_command_ret(XDR *xdrs, qemu_domain_agent_command_ret *objp)
{
    if (!xdr_remote_string(xdrs, &objp->result))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_connect_domain_monitor_event_register_args(XDR *xdrs, qemu_connect_domain_monitor_event_register_args *objp)
{
    if (!xdr_remote_domain(xdrs, &objp->dom))
        return FALSE;
    if (!xdr_remote_string(xdrs, &objp->event))
        return FALSE;
    if (!xdr_u_int(xdrs, &objp->flags))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_connect_domain_monitor_event_register_ret(XDR *xdrs, qemu_connect_domain_monitor_event_register_ret *objp)
{
    if (!xdr_int(xdrs, &objp->callbackID))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_connect_domain_monitor_event_deregister_args(XDR *xdrs, qemu_connect_domain_monitor_event_deregister_args *objp)
{
    if (!xdr_int(xdrs, &objp->callbackID))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_monitor_event_msg(XDR *xdrs, qemu_domain_monitor_event_msg *objp)
{
    if (!xdr_int(xdrs, &objp->callbackID))
        return FALSE;
    if (!xdr_remote_nonnull_domain(xdrs, &objp->dom))
        return FALSE;
    if (!xdr_remote_nonnull_string(xdrs, &objp->event))
        return FALSE;
    if (!xdr_int64_t(xdrs, &objp->seconds))
        return FALSE;
    if (!xdr_u_int(xdrs, &objp->micros))
        return FALSE;
    if (!xdr_remote_string(xdrs, &objp->details))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_monitor_command_with_files_args(XDR *xdrs, qemu_domain_monitor_command_with_files_args *objp)
{
    if (!xdr_remote_nonnull_domain(xdrs, &objp->dom))
        return FALSE;
    if (!xdr_remote_nonnull_string(xdrs, &objp->cmd))
        return FALSE;
    if (!xdr_u_int(xdrs, &objp->flags))
        return FALSE;
    return TRUE;
}

bool_t
xdr_qemu_domain_monitor_command_with_files_ret(XDR *xdrs, qemu_domain_monitor_command_with_files_ret *objp)
{
    if (!xdr_remote_nonnull_string(xdrs, &objp->result))
        return FALSE;
    return TRUE;
}

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

