Add interface to select client security objects
[openafs.git] / src / update / update.xg
1 /*
2  * Copyright 2000, International Business Machines Corporation and others.
3  * All Rights Reserved.
4  * 
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
8  */
9
10 package UPDATE_
11 statindex 13
12 #define MAXNAMELEN 80
13
14 %#include <rx/rx.h>
15 %#include <rx/rx_null.h>
16 %#include "global.h"
17 %#include "update_internal.h"
18
19 %#define        UPDATE_SERVICEPORT                      htonl(0) /* user server's port */
20 %#define        UPDATE_SERVICEID                        4
21
22 /* Maximum number of requests that will be handled by this service simultaneously */
23 /* This number will also be guaranteed to execute in parallel if no services' requests are being processed */
24 %#define        UPDATE_MAX      4
25 /* Minimum number of requests that are guaranteed to be handled immediately */
26 %#define        UPDATE_MIN      2
27
28 /* Index of the "null" security class in the UPDATE service.  This must be 0 (there are N classes, numbered from 0.  In this case, N is 1) */
29 %#define        UPDATE_NULL     0
30
31 %#define UPDATE_ERROR   1               /* Error used to abort a UPDATE transfer */
32
33
34 FetchFile       (IN string name<MAXNAMELEN>) split = 1;
35 FetchInfo(IN string name<MAXNAMELEN>) split = 2;