X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazpp%2Flimit-connect.h;h=3f0c5ad9305a5831c4a231c79f172666d09ee8cd;hb=562ea2b80ffd1bd24aa6b6250b5b9dd61f3e468d;hp=9457dd8ba0b1435365eca177d9a71130a32a0f41;hpb=1a5ef336a2700bc8399f43a473ffc49bd81f37c8;p=yazpp-moved-to-github.git diff --git a/include/yazpp/limit-connect.h b/include/yazpp/limit-connect.h index 9457dd8..3f0c5ad 100644 --- a/include/yazpp/limit-connect.h +++ b/include/yazpp/limit-connect.h @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2009 Index Data and Mike Taylor + * Copyright (C) 1998-2012 Index Data and Mike Taylor * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -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; }; }