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
11 * Transarc does not currently use opcodes past 520, but
12 * they *could* decide at any time to use more opcodes.
13 * If they did, then one part of our local mods,
14 * ListSupergroups, would break. I've therefore
15 * renumbered it to 530, and put logic in to enable the
16 * old opcode to work (for now).
27 const PR_MAXNAMELEN=64;
28 const PR_MAXGROUPS=5000;
29 const PR_MAXLIST=5000;
38 afs_int32 reserved[5];
39 afs_int32 entries[PRSIZE];
53 char name[PR_MAXNAMELEN];
64 afs_int32 reserved[5];
65 char name[PR_MAXNAMELEN];
68 struct prlistentries {
76 afs_int32 reserved[5];
77 char name[PR_MAXNAMELEN];
80 struct PrUpdateEntry {
89 afs_int32 reserved[5];
90 char name[PR_MAXNAMELEN];
93 /* struct VldbUpdateEntry Mask bit values */
94 const PRUPDATE_NAME = 0x0001;
95 const PRUPDATE_ID = 0x0002;
96 const PRUPDATE_FLAGS = 0x0004;
97 const PRUPDATE_NAMEHASH= 0x0008;
98 const PRUPDATE_IDHASH = 0x0010;
100 /* These bits are used when calling SetFieldsEntry. */
101 %#define PR_SF_ALLBITS 0xff /* set all access bits */
102 %#define PR_SF_NGROUPS (1<<31) /* set field limiting group creation */
103 %#define PR_SF_NUSERS (1<<30) /* " " foreign users " */
105 typedef char prname[PR_MAXNAMELEN];
106 typedef prname namelist<>;
107 typedef afs_int32 idlist<>;
108 typedef afs_int32 prlist<>;
109 typedef prlistentries prentries<>;
112 IN string name<PR_MAXNAMELEN>,
124 OUT struct prdebugentry *entry
158 IN string name<PR_MAXNAMELEN>,
176 OUT struct prcheckentry *entry
181 IN string name<PR_MAXNAMELEN>,
202 IN afs_int32 ngroups,
211 INOUT afs_int32 *lastp
229 IN string name<PR_MAXNAMELEN>,
230 IN PrUpdateEntry *uentry
235 IN afs_int32 startindex,
236 OUT prentries *bulkentries,
237 OUT afs_int32 *nextstartindex
240 /* #if defined(SUPERGROUPS) */