+/*
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
#ifndef SQUID_SRC_AUTH_QUEUENODE_H
#define SQUID_SRC_AUTH_QUEUENODE_H
+#include "cbdata.h"
+
namespace Auth
{
*/
class QueueNode
{
+ MEMPROXY_CLASS(Auth::QueueNode);
private:
// we store CBDATA here, copy is not safe
public:
QueueNode(Auth::UserRequest *aRequest, AUTHCB *aHandler, void *aData) :
- next(NULL),
- auth_user_request(aRequest),
- handler(aHandler),
- data(cbdataReference(aData)) {}
+ next(NULL),
+ auth_user_request(aRequest),
+ handler(aHandler),
+ data(cbdataReference(aData)) {}
~QueueNode() {
cbdataReferenceDone(data);
while (next) {
Auth::UserRequest::Pointer auth_user_request;
AUTHCB *handler;
void *data;
-
- MEMPROXY_CLASS(Auth::QueueNode);
};
-MEMPROXY_CLASS_INLINE(Auth::QueueNode);
-
} // namespace Auth
#endif /* SQUID_SRC_AUTH_QUEUENODE_H */
+