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
10 #ifndef _KAUTH_KADATABASE_H
11 #define _KAUTH_KADATABASE_H
12 extern int kawrite(struct ubik_trans
*, afs_int32
, char *, afs_int32
);
13 extern int karead(struct ubik_trans
*, afs_int32
, char *, afs_int32
);
14 extern int update_admin_count(struct ubik_trans
*, int);
16 extern int ka_LookupKvno(struct ubik_trans
*, char *, char *, afs_int32
,
17 struct ktc_encryptionKey
*);
19 extern afs_int32
AllocBlock(struct ubik_trans
*, struct kaentry
*);
20 extern afs_int32
FreeBlock(struct ubik_trans
*, afs_int32
);
22 extern afs_int32
FindBlock(struct ubik_trans
*, char *, char *, afs_int32
*,
24 extern afs_int32
ThreadBlock(struct ubik_trans
*, afs_int32
, struct kaentry
*);
26 extern afs_int32
UnthreadBlock(struct ubik_trans
*, struct kaentry
*);
28 extern afs_int32
NextBlock(struct ubik_trans
*, afs_int32
, struct kaentry
*,
31 extern afs_int32
ka_DelKey(struct ubik_trans
*tt
, afs_int32 tentryaddr
,
32 struct kaentry
*tentry
);
34 extern afs_int32
ka_LookupKvno(struct ubik_trans
*tt
, char *name
,
35 char *inst
, afs_int32 kvno
,
36 struct ktc_encryptionKey
*key
);
37 extern afs_int32
ka_LookupKey(struct ubik_trans
*, char *, char *,
38 afs_int32
*, struct ktc_encryptionKey
*);