From: Jim Rees Date: Wed, 16 Oct 2002 20:42:38 +0000 (+0000) Subject: rx_securityClass-20021016 X-Git-Tag: openafs-devel-1_3_50~558 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1a8c712ae1bd0a563bc63670f734ef981180ae29;p=packages%2Fo%2Fopenafs.git rx_securityClass-20021016 Back out my previous change, and instead declare struct rx_securityClass here. Thanks to Derek Atkins for this excellent suggestion. --- diff --git a/src/auth/authcon.c b/src/auth/authcon.c index f4af7c22d..f532e450a 100644 --- a/src/auth/authcon.c +++ b/src/auth/authcon.c @@ -132,10 +132,10 @@ rxkad_level enclevel; { } /* build a fake ticket for 'afs' using keys from adir, returning an - * appropriate security class and index. - * astr is really a struct rx_securityClass. + * appropriate security class and index */ -afs_int32 afsconf_ClientAuth(struct afsconf_dir *adir, void *astr, afs_int32 *aindex) +afs_int32 afsconf_ClientAuth(struct afsconf_dir *adir, + struct rx_securityClass **astr, afs_int32 *aindex) { afs_int32 rc; diff --git a/src/auth/cellconfig.p.h b/src/auth/cellconfig.p.h index fa3e450e9..287dcc1b7 100644 --- a/src/auth/cellconfig.p.h +++ b/src/auth/cellconfig.p.h @@ -121,8 +121,9 @@ extern int afsconf_AddKey(struct afsconf_dir *adir, afs_int32 akvno, char akey[8], afs_int32 overwrite); extern int afsconf_DeleteKey(struct afsconf_dir *adir, afs_int32 akvno); - -extern afs_int32 afsconf_ClientAuth(struct afsconf_dir *adir, void *astr, afs_int32 *aindex); +struct rx_securityClass; +extern afs_int32 afsconf_ClientAuth(struct afsconf_dir *adir, + struct rx_securityClass **astr, afs_int32 *aindex);