Back out my previous change, and instead declare struct rx_securityClass
here.
Thanks to Derek Atkins <warlord@MIT.EDU> for this excellent suggestion.
}
/* 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;
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);