Bump year
[yazpp-moved-to-github.git] / include / yazpp / limit-connect.h
index 5ab55f9..5aabec9 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the yazpp toolkit.
- * Copyright (C) 1998-2009 Index Data and Mike Taylor
+ * Copyright (C) 1998-2013 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:
@@ -29,7 +29,6 @@
 #define YAZPP_LIMIT_CONNECT_H
 
 #include <yaz/yconfig.h>
-#include <yazpp/bw.h>
 
 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;
     };
 }