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

#include <memory.h>
#include "drac.h"

/* Default timeout can be changed using clnt_control() */
static struct timeval TIMEOUT = { 25, 0 };

addstat *
dracproc_add_1(drac_add_parm *argp, CLIENT *clnt)
{
	static addstat clnt_res;

	memset((char *)&clnt_res, 0, sizeof(clnt_res));
	if (clnt_call(clnt, DRACPROC_ADD, xdr_drac_add_parm, argp, xdr_addstat, &clnt_res, TIMEOUT) != RPC_SUCCESS)
		return (NULL);
	return (&clnt_res);
}


syntax highlighted by Code2HTML, v. 0.9.1