X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=include%2Fyazpp%2Flimit-connect.h;fp=include%2Fyazpp%2Flimit-connect.h;h=3f0c5ad9305a5831c4a231c79f172666d09ee8cd;hp=47ae13ef062e1af4a70d67c3492b2b1f8aaecc3f;hb=562ea2b80ffd1bd24aa6b6250b5b9dd61f3e468d;hpb=01ad980e5595816d57bc9aa6aa451914b6fd2d33 diff --git a/include/yazpp/limit-connect.h b/include/yazpp/limit-connect.h index 47ae13e..3f0c5ad 100644 --- a/include/yazpp/limit-connect.h +++ b/include/yazpp/limit-connect.h @@ -40,11 +40,10 @@ namespace yazpp_1 { void cleanup(bool all); void set_period(int sec); private: + struct Rep; struct Peer; - int m_period; - Peer *m_peers; - Peer **lookup(const char *peername); + Rep *m_p; }; }