git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New sensor added: ActiveUsers
[stg.git]
/
projects
/
stargazer
/
services_impl.h
diff --git
a/projects/stargazer/services_impl.h
b/projects/stargazer/services_impl.h
index d0c1c52ca690c09245782f76d2df3021e3fed38f..2bb9c8797c44a8d00f5c5b536f37436053e84913 100644
(file)
--- a/
projects/stargazer/services_impl.h
+++ b/
projects/stargazer/services_impl.h
@@
-48,11
+48,16
@@
public:
bool Exists(const std::string & name) const;
const std::string & GetStrError() const { return strError; }
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:
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;
typedef list<SERVICE_CONF>::iterator srv_iter;
typedef list<SERVICE_CONF>::const_iterator const_srv_iter;