Bug fix: Handle the case where an APDU can be decoded but not encoded.
[yazproxy-moved-to-github.git] / include / yazproxy / limit-connect.h
index cfe8ae0..a557502 100644 (file)
@@ -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 <yaz/yconfig.h>
 #include <yazproxy/bw.h>
 
-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;