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 "ptopcodes.h"
17 const PR_MAXNAMELEN=64;
18 const PR_MAXGROUPS=5000;
19 const PR_MAXLIST=5000;
28 afs_int32 reserved[5];
29 afs_int32 entries[PRSIZE];
43 char name[PR_MAXNAMELEN];
54 afs_int32 reserved[5];
55 char name[PR_MAXNAMELEN];
58 struct prlistentries {
66 afs_int32 reserved[5];
67 char name[PR_MAXNAMELEN];
70 struct PrUpdateEntry {
79 afs_int32 reserved[5];
80 char name[PR_MAXNAMELEN];
83 /* struct VldbUpdateEntry Mask bit values */
84 const PRUPDATE_NAME = 0x0001;
85 const PRUPDATE_ID = 0x0002;
86 const PRUPDATE_FLAGS = 0x0004;
87 const PRUPDATE_NAMEHASH= 0x0008;
88 const PRUPDATE_IDHASH = 0x0010;
90 /* These bits are used when calling SetFieldsEntry. */
91 %#define PR_SF_ALLBITS 0xff /* set all access bits */
92 %#define PR_SF_NGROUPS (1<<31) /* set field limiting group creation */
93 %#define PR_SF_NUSERS (1<<30) /* " " foreign users " */
95 typedef char prname[PR_MAXNAMELEN];
96 typedef prname namelist<>;
97 typedef afs_int32 idlist<>;
98 typedef afs_int32 prlist<>;
99 typedef prlistentries prentries<>;
102 IN string name<PR_MAXNAMELEN>,
114 OUT struct prdebugentry *entry
148 IN string name<PR_MAXNAMELEN>,
166 OUT struct prcheckentry *entry
171 IN string name<PR_MAXNAMELEN>,
192 IN afs_int32 ngroups,
196 ) = PRSETFIELDSENTRY;
201 INOUT afs_int32 *lastp
219 IN string name<PR_MAXNAMELEN>,
220 IN PrUpdateEntry *uentry
225 IN afs_int32 startindex,
226 OUT prentries *bulkentries,
227 OUT afs_int32 *nextstartindex