~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename entire project from `fw' to `fwd'.
[fwd]
/
endpt.c
diff --git
a/endpt.c
b/endpt.c
index
8e5d0e6
..
a1b6ac7
100644
(file)
--- a/
endpt.c
+++ b/
endpt.c
@@
-5,42
+5,26
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
*
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fw
d
' port forwarder.
*
*
- * `fw' is free software; you can redistribute it and/or modify
+ * `fw
d
' 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.
* 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,
+ *
+ * `fw
d
' 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.
* 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
* 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 `fw
d
'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Header files ------------------------------------------------------*/
-
-#include "config.h"
-
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include <sys/types.h>
-#include <unistd.h>
-#include <fcntl.h>
-
-#include <mLib/alloc.h>
-
-#include "chan.h"
-#include "endpt.h"
+#include "fwd.h"
/*----- Data structures ---------------------------------------------------*/
/*----- Data structures ---------------------------------------------------*/
@@
-364,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;
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 -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/