/usr/include/afs/keys.h is in libopenafs-dev 1.6.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | /*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
#ifndef __KEYS_AFS_INCL_
#define __KEYS_AFS_INCL_ 1
/* include file for getting keys from the server's key file in /usr/afs/etc/ServerKeys.
The format of server keys is a long count, followed by that many
structures containing a kvno long and a key. The key is treated
as an array of 8 chars, but the longs should be in network byte order.
*/
#define AFSCONF_MAXKEYS 8
struct afsconf_key {
afs_int32 kvno;
char key[8];
};
struct afsconf_keys {
afs_int32 nkeys;
struct afsconf_key key[AFSCONF_MAXKEYS];
};
#define AFSCONF_KEYINUSE 512 /* Random error code - only "locally" unique */
#endif /* __KEYS_AFS_INCL_ */
|