/* This file is part of Metaproxy.
- Copyright (C) 2005-2009 Index Data
+ Copyright (C) 2005-2010 Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
#include <boost/scoped_ptr.hpp>
-#include "filter.hpp"
+#include <metaproxy/filter.hpp>
namespace metaproxy_1 {
namespace filter {
extern struct metaproxy_1_filter_struct metaproxy_1_filter_limit;
}
-class Yaz_bw {
- public:
- Yaz_bw(int sz);
- ~Yaz_bw();
- void add_bytes(int m);
- int get_total();
- private:
- long m_sec; // time of most recent bucket
- int *m_bucket;
- int m_ptr;
- int m_size;
-};
#endif
/*