/*
 * P_R_P_Q_# (C) COPYRIGHT IBM CORPORATION 1987, 1988
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */

#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 {
    long kvno;
    char key[8];
};

struct afsconf_keys {
    long nkeys;
    struct afsconf_key key[AFSCONF_MAXKEYS];
};

#endif /* __KEYS_AFS_INCL_ */
