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

« back to all changes in this revision

Viewing changes to src/ClientRequestContext.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
 
#if ICAP_CLIENT
2
 
#include "ICAP/ICAPServiceRep.h"
 
1
#ifndef SQUID_CLIENTREQUESTCONTEXT_H
 
2
#define SQUID_CLIENTREQUESTCONTEXT_H
 
3
 
 
4
class ACLChecklist;
 
5
class ClientHttpRequest;
 
6
 
 
7
#include "config.h"
 
8
/* for RefCountable */
 
9
#include "RefCount.h"
 
10
/* for CBDATA_CLASS() */
 
11
#include "cbdata.h"
 
12
 
 
13
#if USE_ADAPTATION
 
14
#include "adaptation/forward.h"
3
15
#endif
4
16
 
5
17
class ClientRequestContext : public RefCountable
14
26
 
15
27
    bool httpStateIsValid();
16
28
    void clientAccessCheck();
 
29
    void clientAccessCheck2();
17
30
    void clientAccessCheckDone(int answer);
18
31
    void clientRedirectStart();
19
32
    void clientRedirectDone(char *result);
20
33
    void checkNoCache();
21
34
    void checkNoCacheDone(int answer);
22
 
#if ICAP_CLIENT
 
35
#if USE_ADAPTATION
23
36
 
24
 
    void icapAccessCheck();
25
 
    void icapAclCheckDone(ICAPServiceRep::Pointer service);
 
37
    void adaptationAccessCheck();
 
38
    void adaptationAclCheckDone(Adaptation::ServiceGroupPointer g);
26
39
#endif
27
40
 
28
41
    ClientHttpRequest *http;
30
43
    int redirect_state;
31
44
 
32
45
    bool http_access_done;
33
 
#if ICAP_CLIENT
34
 
 
35
 
    bool icap_acl_check_done;
 
46
    bool adapted_http_access_done;
 
47
#if USE_ADAPTATION
 
48
    bool adaptation_acl_check_done;
36
49
#endif
37
 
 
38
50
    bool redirect_done;
39
51
    bool no_cache_done;
40
52
    bool interpreted_req_hdrs;
44
56
    CBDATA_CLASS(ClientRequestContext);
45
57
};
46
58
 
 
59
#endif /* SQUID_CLIENTREQUESTCONTEXT_H */