1 /* $Id: limit-connect.h,v 1.1 2006-03-30 10:35:15 adam Exp $
2 Copyright (c) 1998-2006, Index Data.
4 This file is part of the yazproxy.
6 YAZ proxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
11 YAZ proxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with YAZ proxy; see the file LICENSE. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 #ifndef YAZPROXY_LIMIT_CONNECT_H
23 #define YAZPROXY_LIMIT_CONNECT_H
25 #include <yaz/yconfig.h>
26 #include <yazproxy/bw.h>
32 void add_connect(const char *peername);
33 int get_total(const char *peername);
34 void cleanup(bool all);
40 Peer **lookup(const char *peername);
48 * indent-tabs-mode: nil
50 * vim: shiftwidth=4 tabstop=8 expandtab