File:  [CSRG BSD Unix] / 43BSDReno / lib / librpc / toys / sort_prot.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

/*
 * sort_prot.c
 * Implements the protcol filter for the toy sort service.
 */

#include <rpc/rpc.h>
#include "sort_prot.h"

int
xdr_sortstrings(xdrs, ssp)
	XDR *xdrs;
	struct sortstrings *ssp;
{

	return (xdr_array(xdrs, &ssp->s, &ssp->ns, MAXSORTSIZE,
	    sizeof (char *), xdr_wrapstring));
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.