1: /*
2: * Protocol for a sorting service.
3: */
4:
5: #define SORTPROG ((long) 22855)
6: #define SORTVERS ((long) 1)
7: #define SORT ((long) 1)
8:
9: /*
10: * The sort procedure receives an array of strings and returns an array
11: * of strings. This toy service handles a maximum of 64 strings.
12: */
13: #define MAXSORTSIZE ((long) 64)
14:
15: struct sortstrings {
16: long ns; /* number of strings in the array */
17: char **s; /* pointer to the array of strings */
18: };
19:
20: int xdr_sortstrings();
Defined struct's
Defined macros
SORT
defined in line
7; used 2 times
Usage of this include