opnsense-src/share/examples/sunrpc/sort/sort.x
Warner Losh 97759ccc71 share: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
2023-11-26 22:23:29 -07:00

18 lines
414 B
Text

/*
* The sort procedure receives an array of strings and returns an array
* of strings. This toy service handles a maximum of 64 strings.
*/
const MAXSORTSIZE = 64;
const MAXSTRINGLEN = 64;
typedef string str<MAXSTRINGLEN>; /* the string itself */
struct sortstrings {
str ss<MAXSORTSIZE>;
};
program SORTPROG {
version SORTVERS {
sortstrings SORT(sortstrings) = 1;
} = 1;
} = 22855;