of answer objects which now contain two integers instead of just one.
#include "squid-old.h"
#include "acl/Checklist.h"
-allow_t const &
-ACLChecklist::currentAnswer() const
-{
- return allow_;
-}
-
-void
-ACLChecklist::currentAnswer(allow_t const newAnswer)
-{
- allow_ = newAnswer;
-}
-
void
ACLChecklist::matchNonBlocking()
{
bool finished() const;
void markFinished();
- allow_t const & currentAnswer() const;
- void currentAnswer(allow_t const);
+ const allow_t ¤tAnswer() const { return allow_; }
+ void currentAnswer(const allow_t &newAnswer) { allow_ = newAnswer; }
void changeState(AsyncState *);
AsyncState *asyncState() const;