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
16 %#include <rx/rx_null.h>
18 %#define RMTSYS_SERVICEID 4 /* shared between client+server */
20 /* The following defines really belong to "afs/cellconfig.h" (and are there) but there is a deadlock dependency situation among the sys and auth packages: auth depends on libsys.a (in sys) and sys depends on cellconfig.h (in auth). To avoid creating a third package we define the needed macros below. Make sure to change them whenever they're changed in "afs/cellconfig.h"... */
21 %#define AFSCONF_RMTSYSPORT 7009
22 %#define AFSCONF_RMTSYSSERVICE "afsrmtsys"
23 %#define NIL_PATHP "__FOO__"
25 /* The following struct contains the necessary client credentials that need to be passed along over the net. Group0+group1 implement a 32-bit pag number */
32 const MAXBUFFERLEN = 2048; /* limited due to kernel buffer restrictions */
33 typedef opaque rmtbulk<MAXBUFFERLEN>;
35 SetPag( IN clientcred *cred,
36 OUT afs_int32 *newpag,
37 afs_int32 *errornumber) = 1;
39 Pioctl( IN clientcred *cred,
40 string path<MAXPATHLEN>,
44 INOUT rmtbulk *OutData,
45 OUT afs_int32 *errornumber) = 2;