X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/08cb0dd89765683f47206905c9116b73949fee63..35a142ca710c7b6d9be2ef65b55fe95bf7af5bdc:/chan.c diff --git a/chan.c b/chan.c index 2e483cd..e5b6d06 100644 --- a/chan.c +++ b/chan.c @@ -1,76 +1,30 @@ /* -*-c-*- * - * $Id: chan.c,v 1.6 2003/10/31 13:56:14 mdw Exp $ - * * Channel management * * (c) 1999 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * - * This file is part of the `fw' port forwarder. + * This file is part of the `fwd' port forwarder. * - * `fw' is free software; you can redistribute it and/or modify + * `fwd' 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 Software Foundation; either version 2 of the License, or * (at your option) any later version. - * - * `fw' is distributed in the hope that it will be useful, + * + * `fwd' is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License - * along with `fw'; if not, write to the Free Software Foundation, + * along with `fwd'; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: chan.c,v $ - * Revision 1.6 2003/10/31 13:56:14 mdw - * Fix data corruption in channel\! - * - * Revision 1.5 2000/07/19 17:55:43 mdw - * (writechan): Pointless tweak: when the buffer is empty, reset the start - * pointer to the beginning. This saves doing slightly trickier - * @writev(2)@ calls when loading is light. - * - * Revision 1.4 1999/08/31 17:42:49 mdw - * Use `sel_force' to avoid a `select' call between reads and writes. - * - * Revision 1.3 1999/07/27 18:30:53 mdw - * Various minor portability fixes. - * - * Revision 1.2 1999/07/26 23:27:52 mdw - * Minor modifications for new design. - * - * Revision 1.1.1.1 1999/07/01 08:56:23 mdw - * Initial revision. - * - */ - -/*----- Header files ------------------------------------------------------*/ - -#include "config.h" - -#include -#include -#include -#include - -#include -#include -#include -#include - -#include -#include -#include - -#include "chan.h" -#include "fw.h" +#include "fwd.h" #ifdef CHAN_DEBUG # define D(x) x