/* * Copyright 2000, International Business Machines Corporation and others. * All Rights Reserved. * * This software has been released under the terms of the IBM Public * License. For details, see the LICENSE file in the top-level source * directory or online at http://www.openafs.org/dl/license10.html */ package TEST_ %#include %#include %#define SAMPLE_SERVER_PORT 5000 %#define SAMPLE_SERVICE_PORT 0 /* i.e. user server's port */ %#define SAMPLE_SERVICE_ID 4 /* Maximum number of requests that will be handled by this service simultaneously */ /* This number will also be guaranteed to execute in parallel if no services' requests are being processed */ %#define SAMPLE_MAX 2 /* Minimum number of requests that are guaranteed to be handled immediately */ %#define SAMPLE_MIN 1 /* 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) */ %#define SAMPLE_NULL 0 Add(IN int a, int b, OUT int *result) = 1; Sub(IN int a, int b, OUT int *result) = 2;