X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazproxy%2Flimit-connect.h;h=a557502641f8c149d5f2cef68be0ca8e3f96c30a;hb=0bfdd4ef69c5f6b002f271ac25b1192597805502;hp=cfe8ae014dd478b5281cf47b512c4f7ebf7cbc5b;hpb=9c4af9d938abac93a949d756353c1bd89b769012;p=yazproxy-moved-to-github.git diff --git a/include/yazproxy/limit-connect.h b/include/yazproxy/limit-connect.h index cfe8ae0..a557502 100644 --- a/include/yazproxy/limit-connect.h +++ b/include/yazproxy/limit-connect.h @@ -1,4 +1,4 @@ -/* $Id: limit-connect.h,v 1.1 2006-03-30 10:35:15 adam Exp $ +/* $Id: limit-connect.h,v 1.3 2006-04-06 16:25:21 adam Exp $ Copyright (c) 1998-2006, Index Data. This file is part of the yazproxy. @@ -25,13 +25,14 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include -class LimitConnect { +class YAZ_EXPORT LimitConnect { public: LimitConnect(); ~LimitConnect(); void add_connect(const char *peername); int get_total(const char *peername); void cleanup(bool all); + void set_period(int sec); private: struct Peer;