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

#include "sortHomework4.h"
#include <stdio.h>
#include <stdlib.h> /* getenv, exit */

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

void *
sortnum_1(argp, clnt)
	cb_msg *argp;
	CLIENT *clnt;
{
	static char clnt_res;

	memset((char *)&clnt_res, 0, sizeof (clnt_res));
	if (clnt_call(clnt, SORTNUM,
		(xdrproc_t) xdr_cb_msg, (caddr_t) argp,
		(xdrproc_t) xdr_void, (caddr_t) &clnt_res,
		TIMEOUT) != RPC_SUCCESS) {
		return (NULL);
	}
	return ((void *)&clnt_res);
}

