]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/auth/negotiate/Scheme.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / auth / negotiate / Scheme.h
index 89ad24495b35407dd9047c15905d7f79cde6640f..9b482548616c19cf35523d828d7204e0d21e8f5e 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
  * ----------------------------------------------------------
  *
  */
 
-#ifndef SQUID_NEGOTIATESCHEME_H
-#define SQUID_NEGOTIATESCHEME_H
+#ifndef SQUID_AUTH_NEGOTIATE_SCHEME_H
+#define SQUID_AUTH_NEGOTIATE_SCHEME_H
 
-#include "auth/Scheme.h"
 #include "auth/negotiate/auth_negotiate.h"
+#include "auth/Scheme.h"
+
+namespace Auth
+{
+namespace Negotiate
+{
 
 /// \ingroup AuthSchemeAPI
 /// \ingroup AuthAPI
-class negotiateScheme : public AuthScheme
+class Scheme : public Auth::Scheme
 {
 
 public:
-    static AuthScheme::Pointer GetInstance();
-    negotiateScheme() {};
-    virtual ~negotiateScheme() {};
+    static Auth::Scheme::Pointer GetInstance();
+    Scheme() {};
+    virtual ~Scheme() {};
 
     /* per scheme */
-    virtual char const *type () const;
-    virtual void done();
-    virtual AuthConfig *createConfig();
+    virtual char const *type() const;
+    virtual void shutdownCleanup();
+    virtual Auth::Config *createConfig();
 
     /* Not implemented */
-    negotiateScheme (negotiateScheme const &);
-    negotiateScheme &operator=(negotiateScheme const &);
+    Scheme (Scheme const &);
+    Scheme &operator=(Scheme const &);
 
 private:
-    static AuthScheme::Pointer _instance;
+    static Auth::Scheme::Pointer _instance;
 };
 
-#endif /* SQUID_negotiateSCHEME_H */
+} // namespace Negotiate
+} // namespace Auth
+
+#endif /* SQUID_AUTH_NEGOTIATE_SCHEME_H */