~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/auth/digest/digestScheme.h

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2010-05-04 11:15:49 UTC
  • mfrom: (1.3.1 upstream)
  • mto: (20.3.1 squeeze) (21.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100504111549-1apjh2g5sndki4te
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
 
 * $Id: digestScheme.h,v 1.1 2004/08/30 03:29:00 robertc Exp $
 
3
 * $Id$
4
4
 *
5
5
 *
6
6
 * SQUID Web Proxy Cache          http://www.squid-cache.org/
19
19
 *  it under the terms of the GNU General Public License as published by
20
20
 *  the Free Software Foundation; either version 2 of the License, or
21
21
 *  (at your option) any later version.
22
 
 *  
 
22
 *
23
23
 *  This program is distributed in the hope that it will be useful,
24
24
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
25
25
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
26
 *  GNU General Public License for more details.
27
 
 *  
 
27
 *
28
28
 *  You should have received a copy of the GNU General Public License
29
29
 *  along with this program; if not, write to the Free Software
30
30
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
34
34
#ifndef SQUID_DIGESTSCHEME_H
35
35
#define SQUID_DIGESTSCHEME_H
36
36
 
37
 
#include "AuthScheme.h"
 
37
#include "auth/Scheme.h"
38
38
 
 
39
/// \ingroup AuthSchemeAPI
 
40
/// \ingroup AuthAPI
39
41
class digestScheme : public AuthScheme
40
42
{
41
43
 
42
44
public:
43
45
    static AuthScheme &GetInstance();
44
46
    digestScheme();
45
 
    virtual ~digestScheme(){}
 
47
    virtual ~digestScheme() {}
46
48
 
47
49
    /* per scheme */
48
50
    virtual char const *type () const;
53
55
    digestScheme &operator=(digestScheme const &);
54
56
 
55
57
private:
56
 
    static digestScheme _instance;
 
58
    static digestScheme *_instance;
57
59
};
58
60
 
59
61
#endif /* SQUID_DIGESTSCHEME_H */