comment out dumping code
[mech_eap.orig] / util_reauth.h
index dca9bf0..9b9f264 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010, JANET(UK)
+ * Copyright (c) 2011, JANET(UK)
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * SUCH DAMAGE.
  */
 
+/*
+ * Fast reauthentication support.
+ */
+
 #include "gssapiP_eap.h"
 
 #ifndef _UTIL_REAUTH_H_
 #define _UTIL_REAUTH_H_ 1
 
+/* AD element containing serialised AVPs. */
 #define KRB5_AUTHDATA_RADIUS_AVP        513
 
 OM_uint32
@@ -119,6 +124,7 @@ gssEapStoreReauthCreds(OM_uint32 *minor,
 
 OM_uint32
 gssEapGlueToMechName(OM_uint32 *minor,
+                     gss_ctx_id_t glueContext,
                      gss_name_t glueName,
                      gss_name_t *pMechName);
 
@@ -137,4 +143,9 @@ gssEapReauthComplete(OM_uint32 *minor,
 OM_uint32
 gssEapReauthInitialize(OM_uint32 *minor);
 
+int
+gssEapCanReauthP(gss_cred_id_t cred,
+                 gss_name_t target,
+                 OM_uint32 timeReq);
+
 #endif /* _UTIL_REAUTH_H_ */