projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 4_3 development
[unix-history]
/
usr
/
contrib
/
sunrpc
/
toys
/
sort_prot.c
/*
* 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
));
}