return -1;
}
-srv_iter si(find(data.begin(), data.end(), service));
+iterator si(find(data.begin(), data.end(), service));
if (si != data.end())
{
return -1;
}
-srv_iter si(find(data.begin(), data.end(), SERVICE_CONF(name)));
+iterator si(find(data.begin(), data.end(), SERVICE_CONF(name)));
if (si == data.end())
{
return -1;
}
-std::map<int, const_srv_iter>::iterator csi;
+std::map<int, const_iterator>::iterator csi;
csi = searchDescriptors.begin();
while (csi != searchDescriptors.end())
{
return -1;
}
-srv_iter si(find(data.begin(), data.end(), service));
+iterator si(find(data.begin(), data.end(), service));
if (si == data.end())
{
if (data.empty())
return false;
-const_srv_iter si(find(data.begin(), data.end(), SERVICE_CONF(name)));
+const_iterator si(find(data.begin(), data.end(), SERVICE_CONF(name)));
if (si != data.end())
{
return true;
}
-const_srv_iter si(find(data.begin(), data.end(), SERVICE_CONF(name)));
+const_iterator si(find(data.begin(), data.end(), SERVICE_CONF(name)));
if (si != data.end())
return true;
SERVICES_IMPL(const SERVICES_IMPL & rvalue);
SERVICES_IMPL & operator=(const SERVICES_IMPL & rvalue);
- typedef std::list<SERVICE_CONF>::iterator srv_iter;
- typedef std::list<SERVICE_CONF>::const_iterator const_srv_iter;
+ typedef std::list<SERVICE_CONF>::iterator iterator;
+ typedef std::list<SERVICE_CONF>::const_iterator const_iterator;
bool Read();
std::list<SERVICE_CONF> data;
STORE * store;
STG_LOGGER & WriteServLog;
- mutable std::map<int, const_srv_iter> searchDescriptors;
+ mutable std::map<int, const_iterator> searchDescriptors;
mutable unsigned int handle;
mutable pthread_mutex_t mutex;
std::string strError;