|
|
1.1 ! root 1: /* ! 2: * sort_prot.c ! 3: * Implements the protcol filter for the toy sort service. ! 4: */ ! 5: ! 6: #include <rpc/rpc.h> ! 7: #include "sort_prot.h" ! 8: ! 9: int ! 10: xdr_sortstrings(xdrs, ssp) ! 11: XDR *xdrs; ! 12: struct sortstrings *ssp; ! 13: { ! 14: ! 15: return (xdr_array(xdrs, &ssp->s, &ssp->ns, MAXSORTSIZE, ! 16: sizeof (char *), xdr_wrapstring)); ! 17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.