Annotation of 43BSDReno/lib/librpc/toys/sort_prot.h, revision 1.1

1.1     ! root        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();
        !            21: 

unix.superglobalmegacorp.com

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