#include "stg/admins.h"
#include "stg/tariffs.h"
#include "stg/logger.h"
+#include "stg/common.h"
#include <unistd.h>
if (cp->currParser)
{
- cp->currParser->SetAnswerList(&cp->answerList);
cp->currParser->SetCurrAdmin(*cp->currAdmin);
cp->currParser->ParseStart(data, el, attr);
}
{
for (size_t i = 0; i < cp->dataParser.size(); i++)
{
- cp->dataParser[i]->SetAnswerList(&cp->answerList);
cp->dataParser[i]->SetCurrAdmin(*cp->currAdmin);
cp->dataParser[i]->Reset();
if (cp->dataParser[i]->ParseStart(data, el, attr) == 0)