/* * Copyright (C) 1996-2017 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. */ /* DEBUG: section 93 ICAP (RFC 3507) Client */ #include "squid.h" #include "adaptation/Initiate.h" #include "adaptation/Initiator.h" #include "base/AsyncJobCalls.h" void Adaptation::Initiator::noteAdaptationAclCheckDone(Adaptation::ServiceGroupPointer group) { Must(false); } CbcPointer Adaptation::Initiator::initiateAdaptation(Initiate *x) { CbcPointer i(x); x->initiator(this); Start(x); return i; } void Adaptation::Initiator::clearAdaptation(CbcPointer &x) { x.clear(); } void Adaptation::Initiator::announceInitiatorAbort(CbcPointer &x) { CallJobHere(93, 5, x, Initiate, noteInitiatorAborted); clearAdaptation(x); }