]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/auth/State.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / auth / State.cc
index 375bd232ca674c6fb8a70945b53b09b105ececb1..29cb204f271cebafbb22933dea8aa3b7d603b487 100644 (file)
@@ -1,11 +1,16 @@
-#include "config.h"
+/*
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
+#include "squid.h"
+
+#if USE_AUTH
 #include "auth/State.h"
 
-CBDATA_GLOBAL_TYPE(authenticateStateData);
+CBDATA_NAMESPACED_CLASS_INIT(Auth, StateData);
+#endif /* USE_AUTH */
 
-void
-authenticateStateFree(authenticateStateData * r)
-{
-    r->auth_user_request = NULL;
-    cbdataFree(r);
-}