/* Machine generated file -- Do NOT edit */

#include "bumon.h"

static afs_int32 _BC_Print(struct rx_call *z_call, XDR *z_xdrs)
{
	afs_int32 z_result;
	afs_int32 code, flags;
	char * message=(char *)0;



	if ((!xdr_afs_int32(z_xdrs, &code))
	     || (!xdr_afs_int32(z_xdrs, &flags))
	     || (!xdr_string(z_xdrs, &message, 1024))) {
		z_result = RXGEN_SS_UNMARSHAL;
		goto fail;
	}

	z_result = BC_Print(z_call, code, flags, message);
fail:
	z_xdrs->x_op = XDR_FREE;
	if (!xdr_string(z_xdrs, &message, 1024)) goto fail1;
	return z_result;
fail1:
	return RXGEN_SS_XDRFREE;
}



static afs_int32 (*StubProcsArray0[])(struct rx_call *z_call, XDR *z_xdrs) = {_BC_Print};

int BC_ExecuteRequest(register struct rx_call *z_call)
{
	int op;
	XDR z_xdrs;
	afs_int32 z_result;

	xdrrx_create(&z_xdrs, z_call, XDR_DECODE);
	if (!xdr_int(&z_xdrs, &op))
		z_result = RXGEN_DECODE;
	else if (op < BC_LOWEST_OPCODE || op > BC_HIGHEST_OPCODE)
		z_result = RXGEN_OPCODE;
	else
		z_result = (*StubProcsArray0[op - BC_LOWEST_OPCODE])(z_call, &z_xdrs);
	return hton_syserr_conv(z_result);
}
