-for (unsigned int i = 0; i < dataParser.size(); i++)
- {
- dataParser[i]->SetAdmins(a);
- }
-
-}
-//-----------------------------------------------------------------------------
-void CONFIGPROTO::SetUsers(USERS * u)
-{
-//users = u;
-for (unsigned int i = 0; i < dataParser.size(); i++)
- {
- dataParser[i]->SetUsers(u);
- }
-
-}
-//-----------------------------------------------------------------------------
-void CONFIGPROTO::SetTariffs(TARIFFS * t)
-{
-//tariffs = t;
-for (unsigned int i = 0; i < dataParser.size(); i++)
- {
- dataParser[i]->SetTariffs(t);
- }
-}
-//-----------------------------------------------------------------------------
-void CONFIGPROTO::SetStore(BASE_STORE * s)
-{
-//store = s;
-for (unsigned int i = 0; i < dataParser.size(); i++)
- {
- dataParser[i]->SetStore(s);
- }
-}
-//-----------------------------------------------------------------------------
-void CONFIGPROTO::SetStgSettings(const SETTINGS * s)
-{
-//settings = s;
-for (unsigned int i = 0; i < dataParser.size(); i++)
- {
- dataParser[i]->SetStgSettings(s);
- }
-}
-//-----------------------------------------------------------------------------
-/*void CONFIGPROTO::Start()
-{
-finished = false;
-threadExited = false;
-status = starting;
-
-xmlParser = XML_ParserCreate(NULL);
-
-if (!xmlParser)
- {
- WriteServLog("Couldn't allocate memory for parser.");
- }
-
-pthread_create(&thrReciveSendConf, NULL, ReciveSendConf, this);
-status = started;
-}*/
-//-----------------------------------------------------------------------------
-/*int CONFIGPROTO::Stop()
-{
-nonstop = true;
-close(outerSocket);
-return 0;
-}*/
-//-----------------------------------------------------------------------------
-/*void CONFIGPROTO::Restart()
-{
-//Stop();
-//Start();
-}*/
-//-----------------------------------------------------------------------------
-/*CONF_STATUS CONFIGPROTO::Status()
-{
-//return status;
-}
-//-----------------------------------------------------------------------------
-*/
-const string & CONFIGPROTO::GetStrError()
-{
-return errorStr;
-}
-//-----------------------------------------------------------------------------
-uint32_t CONFIGPROTO::GetAdminIP()
-{
-return adminIP;