]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Imporing the AuthReg.cc file. This file is a hack to force required
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sat, 28 Mar 2009 08:52:55 +0000 (10:52 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Sat, 28 Mar 2009 08:52:55 +0000 (10:52 +0200)
libraries and object files under the auth/* included in main squid
executable.

src/AuthReg.cc [new file with mode: 0644]
src/Makefile.am

diff --git a/src/AuthReg.cc b/src/AuthReg.cc
new file mode 100644 (file)
index 0000000..dce94ec
--- /dev/null
@@ -0,0 +1,35 @@
+#include "squid.h"
+
+
+#ifdef HAVE_AUTH_MODULE_BASIC
+#include "auth/basic/basicScheme.h"
+#endif
+
+#ifdef HAVE_AUTH_MODULE_NTLM
+#include "auth/ntlm/ntlmScheme.h"
+#endif
+
+#ifdef HAVE_AUTH_MODULE_DIGEST
+#include "auth/digest/digestScheme.h"
+#endif
+
+#ifdef HAVE_AUTH_MODULE_NEGOTIATE
+#include "auth/negotiate/negotiateScheme.h"
+#endif
+
+#ifdef HAVE_AUTH_MODULE_BASIC
+static const char *basic_type = basicScheme::GetInstance().type();
+#endif
+
+#ifdef HAVE_AUTH_MODULE_NTLM
+static const char *ntlm_type = ntlmScheme::GetInstance().type();
+#endif
+
+#ifdef HAVE_AUTH_MODULE_DIGEST
+static const char *digest_type = digestScheme::GetInstance().type();
+#endif
+
+#ifdef HAVE_AUTH_MODULE_NEGOTIATE
+static const char *negotiate_type = negotiateScheme::GetInstance().type();
+#endif
+
index f5f2884650fa0a54f8085093177f4309b92abca1..21df03240a51e171aac30172c8df89e41eb26e7a 100644 (file)
@@ -217,7 +217,7 @@ cf_gen_LDADD= \
 cf_gen.$(OBJEXT): cf_gen_defines.h
 
 
-ACL_REGISTRATION_SOURCES = AclRegs.cc
+ACL_REGISTRATION_SOURCES = AclRegs.cc AuthReg.cc
 
 DISKIO_SOURCE = \
        DiskIO/DiskIOModule.cc \