int h = m_services.OpenSearch();
while (m_services.SearchNext(h, &conf) == 0)
{
int h = m_services.OpenSearch();
while (m_services.SearchNext(h, &conf) == 0)
{
if (!m_services.Find(m_name, &conf))
m_answer = "<Error result=\"Service '" + m_name + "' does not exist.\"/>";
else
if (!m_services.Find(m_name, &conf))
m_answer = "<Error result=\"Service '" + m_name + "' does not exist.\"/>";
else
if (m_services.Add(conf, &m_currAdmin) == 0)
m_answer = "<" + m_tag + " result=\"Ok\"/>";
else
if (m_services.Add(conf, &m_currAdmin) == 0)
m_answer = "<" + m_tag + " result=\"Ok\"/>";
else
m_answer = "<" + m_tag + " result = \"" + m_services.GetStrError() + "\"/>";
else
m_answer = "<" + m_tag + " result = \"Ok\"/>";
m_answer = "<" + m_tag + " result = \"" + m_services.GetStrError() + "\"/>";
else
m_answer = "<" + m_tag + " result = \"Ok\"/>";