rwall.c revision 26213
172909Sjulian/*
272909Sjulian * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
372909Sjulian * unrestricted use provided that this legend is included on all tape
472909Sjulian * media and as a part of the software program in whole or part.  Users
572909Sjulian * may copy or modify Sun RPC without charge, but are not authorized
672909Sjulian * to license or distribute it to anyone else except as part of a product or
772909Sjulian * program developed by the user or with the express written consent of
872909Sjulian * Sun Microsystems, Inc.
972909Sjulian *
1072909Sjulian * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
1172909Sjulian * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
1272909Sjulian * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
1372909Sjulian *
1472909Sjulian * Sun RPC is provided with no support and without any obligation on the
1572909Sjulian * part of Sun Microsystems, Inc. to assist in its use, correction,
1672909Sjulian * modification or enhancement.
1772909Sjulian *
1872909Sjulian * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
1972909Sjulian * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
2072909Sjulian * OR ANY PART THEREOF.
2172909Sjulian *
2272909Sjulian * In no event will Sun Microsystems, Inc. be liable for any lost revenue
2372909Sjulian * or profits or other special, indirect and consequential damages, even if
2472909Sjulian * Sun has been advised of the possibility of such damages.
2572909Sjulian *
2672909Sjulian * Sun Microsystems, Inc.
2772909Sjulian * 2550 Garcia Avenue
2880304Sbrooks * Mountain View, California  94043
2972909Sjulian */
3072909Sjulian#if !defined(lint) && defined(SCCSIDS)
3172909Sjulianstatic char sccsid[] = "@(#)rwall.c	1.2 91/03/11 TIRPC 1.0; from  1.3 89/03/24 SMI";
3272909Sjulian#endif
3372909Sjulian
3472909Sjulian/*
3572909Sjulian * Copyright (c) 1985 by Sun Microsystems, Inc.
3672909Sjulian */
3780304Sbrooks
3880304Sbrooks/*
3972909Sjulian * "High" level programmatic interface to rwall RPC service.
4072909Sjulian */
4180304Sbrooks#include <rpc/rpc.h>
4280304Sbrooks#include <rpcsvc/rwall.h>
4380304Sbrooks
4472909Sjulianint
4572909Sjulianrwall(host, msg)
46	char *host;
47	char *msg;
48{
49	return (callrpc(host, WALLPROG, WALLVERS, WALLPROC_WALL,
50			xdr_wrapstring, (char *) &msg,
51			xdr_void, (char *) NULL));
52}
53