squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
auth
State.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
#ifndef __AUTH_AUTHENTICATE_STATE_T__
10
#define __AUTH_AUTHENTICATE_STATE_T__
11
12
#if USE_AUTH
13
14
#include "
auth/UserRequest.h
"
15
#include "
cbdata.h
"
16
17
namespace
Auth
18
{
19
23
class
StateData
24
{
25
CBDATA_CLASS
(
StateData
);
26
27
public
:
28
StateData
(
const
UserRequest::Pointer
&r,
AUTHCB
*h,
void
*d) :
29
data
(
cbdataReference
(d)),
30
auth_user_request
(r),
31
handler
(h) {}
32
33
~StateData
() {
34
auth_user_request
=
nullptr
;
35
cbdataReferenceDone
(
data
);
36
}
37
38
void
*
data
;
39
UserRequest::Pointer
auth_user_request
;
40
AUTHCB
*
handler
;
41
};
42
43
}
// namespace Auth
44
45
#endif
/* USE_AUTH */
46
#endif
/* __AUTH_AUTHENTICATE_STATE_T__ */
47
UserRequest.h
AUTHCB
void AUTHCB(void *)
Definition:
UserRequest.h:57
cbdata.h
cbdataReferenceDone
#define cbdataReferenceDone(var)
Definition:
cbdata.h:352
cbdataReference
#define cbdataReference(var)
Definition:
cbdata.h:343
Auth::StateData
Definition:
State.h:24
Auth::StateData::CBDATA_CLASS
CBDATA_CLASS(StateData)
Auth::StateData::~StateData
~StateData()
Definition:
State.h:33
Auth::StateData::auth_user_request
UserRequest::Pointer auth_user_request
Definition:
State.h:39
Auth::StateData::StateData
StateData(const UserRequest::Pointer &r, AUTHCB *h, void *d)
Definition:
State.h:28
Auth::StateData::handler
AUTHCB * handler
Definition:
State.h:40
Auth::StateData::data
void * data
Definition:
State.h:38
RefCount< Auth::UserRequest >
Auth
HTTP Authentication.
Definition:
Config.h:19
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Quick Setup
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
il
...
full list
FTP Package Archive