2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
13 #include <rx/rx_null.h>
15 #define SAMPLE_SERVER_PORT htonl(5000)
16 #define SAMPLE_SERVICE_PORT htonl(0) /* i.e. user server's port */
17 #define SAMPLE_SERVICE_ID 4
19 /* Maximum number of requests that will be handled by this service simultaneously */
20 /* This number will also be guaranteed to execute in parallel if no services' requests are being processed */
22 /* Minimum number of requests that are guaranteed to be handled immediately */
25 /* Index of the "null" security class in the sample service. This must be 0 (there are N classes, numbered from 0. In this case, N is 1) */
28 /* The "multi" flag, below, tells rxgen to create appropriate stubs for multi rx */
29 Add(IN int verbose, int a, int b, OUT int *result) multi = 1;
30 Sub(IN int verbose, int a, int b, OUT int *result) multi = 2;