]> git.stg.codes - stg.git/blobdiff - projects/stargazer/services_impl.h
Add headers for old BSD systems, add unistd.h for close in sgauthstress
[stg.git] / projects / stargazer / services_impl.h
index d0c1c52ca690c09245782f76d2df3021e3fed38f..2bb9c8797c44a8d00f5c5b536f37436053e84913 100644 (file)
@@ -48,11 +48,16 @@ public:
     bool Exists(const std::string & name) const;
     const std::string & GetStrError() const { return strError; }
 
+    size_t Count() const { return data.size(); }
+
     int OpenSearch() const;
     int SearchNext(int, SERVICE_CONF * service) const;
     int CloseSearch(int) const;
 
 private:
+    SERVICES_IMPL(const SERVICES_IMPL & rvalue);
+    SERVICES_IMPL & operator=(const SERVICES_IMPL & rvalue);
+
     typedef list<SERVICE_CONF>::iterator       srv_iter;
     typedef list<SERVICE_CONF>::const_iterator const_srv_iter;