X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/28d2517c9cd3a1c6b21d0db91b93e01e9a84ed39..a9bd543ab4ebe415bca9d6f27b90f16ddac79bc0:/endpt.c diff --git a/endpt.c b/endpt.c index b9a1d4d..2e51e54 100644 --- a/endpt.c +++ b/endpt.c @@ -1,13 +1,11 @@ /* -*-c-*- * - * $Id: endpt.c,v 1.2 1999/10/22 22:46:17 mdw Exp $ - * * Generic endpoint abstraction * * (c) 1999 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of the `fw' port forwarder. * @@ -15,45 +13,18 @@ * 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, * 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, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: endpt.c,v $ - * Revision 1.2 1999/10/22 22:46:17 mdw - * When a non-file endpoint is attached to a file, keep the file endpoint - * open until the nonfile is done. This stops socket sources from - * resetting their connection limits too early. - * - * Revision 1.1 1999/07/26 23:33:01 mdw - * Infrastructure for the new design. - * - */ - -/*----- Header files ------------------------------------------------------*/ - -#include "config.h" - -#include -#include -#include -#include - -#include -#include -#include - -#include "chan.h" -#include "endpt.h" +#include "fw.h" /*----- Data structures ---------------------------------------------------*/ @@ -377,6 +348,6 @@ void endpt_join(endpt *a, endpt *b) chan_open(&t->c->ab, a->in->fd, b->out->fd, doneab, t); chan_open(&t->c->ba, b->in->fd, a->out->fd, doneba, t); return; -} +} /*----- That's all, folks -------------------------------------------------*/