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
17namespace Auth
18{
19
24{
26
27public:
28 StateData(const UserRequest::Pointer &r, AUTHCB *h, void *d) :
31 handler(h) {}
32
34 auth_user_request = nullptr;
36 }
37
38 void *data;
41};
42
43} // namespace Auth
44
45#endif /* USE_AUTH */
46#endif /* __AUTH_AUTHENTICATE_STATE_T__ */
47
void AUTHCB(void *)
Definition: UserRequest.h:57
#define cbdataReferenceDone(var)
Definition: cbdata.h:352
#define cbdataReference(var)
Definition: cbdata.h:343
CBDATA_CLASS(StateData)
UserRequest::Pointer auth_user_request
Definition: State.h:39
StateData(const UserRequest::Pointer &r, AUTHCB *h, void *d)
Definition: State.h:28
AUTHCB * handler
Definition: State.h:40
void * data
Definition: State.h:38
HTTP Authentication.
Definition: Config.h:19

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors