rx_securityClass-20021016
authorJim Rees <rees@umich.edu>
Wed, 16 Oct 2002 20:42:38 +0000 (20:42 +0000)
committerJim Rees <rees@umich.edu>
Wed, 16 Oct 2002 20:42:38 +0000 (20:42 +0000)
Back out my previous change, and instead declare struct rx_securityClass
here.
Thanks to Derek Atkins <warlord@MIT.EDU> for this excellent suggestion.

src/auth/authcon.c
src/auth/cellconfig.p.h

index f4af7c2..f532e45 100644 (file)
@@ -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;
 
index fa3e450..287dcc1 100644 (file)
@@ -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);