X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazpp%2Flimit-connect.h;h=0497e9709f78bb6fd79119d267120b6af5d2299c;hb=HEAD;hp=5ab55f98b3ab2db571c9c4c6e00d9ede9626ba4c;hpb=660f5e8b270182001d931f65fa03ff95819c3b92;p=yazpp-moved-to-github.git diff --git a/include/yazpp/limit-connect.h b/include/yazpp/limit-connect.h index 5ab55f9..0497e97 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) Index Data * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -29,7 +29,6 @@ #define YAZPP_LIMIT_CONNECT_H #include -#include namespace yazpp_1 { class YAZ_EXPORT LimitConnect { @@ -41,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; }; }