Optimize BASIC AUTH checks with sessions.
[mod_auth_gssapi.git] / src / mod_auth_gssapi.h
index 2d8ffff..00765c4 100644 (file)
@@ -66,5 +66,9 @@ struct mag_conn {
     const char *user_name;
     const char *gss_name;
     time_t expiration;
-    const char *auth_type;
+    int auth_type;
+    bool delegated;
+    struct databuf basic_hash;
 };
+
+#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))