]> git.stg.codes - stg.git/blobdiff - projects/stargazer/services_impl.h
Pass config file via const reference in sgauth/sgathstress settings
[stg.git] / projects / stargazer / services_impl.h
index d0c1c52ca690c09245782f76d2df3021e3fed38f..148676d74e1fdf17f7ed726bfbf64188d636f6fa 100644 (file)
@@ -48,6 +48,8 @@ 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;