diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bidilink.c | 24 | ||||
| -rw-r--r-- | src/client-tcp.c | 24 | ||||
| -rw-r--r-- | src/client-tcp.h | 20 | ||||
| -rw-r--r-- | src/client-tty.c | 24 | ||||
| -rw-r--r-- | src/client-tty.h | 20 | ||||
| -rw-r--r-- | src/client-unix.c | 24 | ||||
| -rw-r--r-- | src/client-unix.h | 20 | ||||
| -rw-r--r-- | src/exec.c | 24 | ||||
| -rw-r--r-- | src/exec.h | 20 | ||||
| -rw-r--r-- | src/server-tcp.c | 24 | ||||
| -rw-r--r-- | src/server-tcp.h | 20 | ||||
| -rw-r--r-- | src/server-tty.c | 24 | ||||
| -rw-r--r-- | src/server-tty.h | 20 | ||||
| -rw-r--r-- | src/server-unix.c | 24 | ||||
| -rw-r--r-- | src/server-unix.h | 20 | ||||
| -rw-r--r-- | src/std.c | 24 | ||||
| -rw-r--r-- | src/std.h | 20 | ||||
| -rw-r--r-- | src/stream.c | 24 | ||||
| -rw-r--r-- | src/stream.h | 19 | 
19 files changed, 419 insertions, 0 deletions
diff --git a/src/bidilink.c b/src/bidilink.c index 3f421bf..8493f41 100644 --- a/src/bidilink.c +++ b/src/bidilink.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #define _GNU_SOURCE  #include <stdio.h> diff --git a/src/client-tcp.c b/src/client-tcp.c index 78d8fc4..623a481 100644 --- a/src/client-tcp.c +++ b/src/client-tcp.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <sys/types.h>  #include <sys/socket.h>  #include <inttypes.h> diff --git a/src/client-tcp.h b/src/client-tcp.h index 53f06c1..bf6a330 100644 --- a/src/client-tcp.h +++ b/src/client-tcp.h @@ -1,6 +1,26 @@  #ifndef fooclienttcphfoo  #define fooclienttcphfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_client_tcp(const char *args); diff --git a/src/client-tty.c b/src/client-tty.c index e94d560..5f31249 100644 --- a/src/client-tty.c +++ b/src/client-tty.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <unistd.h>  #include <fcntl.h>  #include <stdio.h> diff --git a/src/client-tty.h b/src/client-tty.h index 9befa7b..8852895 100644 --- a/src/client-tty.h +++ b/src/client-tty.h @@ -1,6 +1,26 @@  #ifndef fooclientttyhfoo  #define fooclientttyhfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_client_tty(const char *args); diff --git a/src/client-unix.c b/src/client-unix.c index 04dd496..ffcfb05 100644 --- a/src/client-unix.c +++ b/src/client-unix.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <sys/types.h>  #include <sys/socket.h>  #include <inttypes.h> diff --git a/src/client-unix.h b/src/client-unix.h index bb17b74..13d5485 100644 --- a/src/client-unix.h +++ b/src/client-unix.h @@ -1,6 +1,26 @@  #ifndef fooclientunixhfoo  #define fooclientunixhfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_client_unix(const char *args); @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <unistd.h>  #include <sys/types.h>  #include <assert.h> @@ -1,6 +1,26 @@  #ifndef fooexechfoo  #define fooexechfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_exec(const char *args); diff --git a/src/server-tcp.c b/src/server-tcp.c index 2a2e125..fc190f1 100644 --- a/src/server-tcp.c +++ b/src/server-tcp.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <sys/types.h>  #include <sys/socket.h>  #include <inttypes.h> diff --git a/src/server-tcp.h b/src/server-tcp.h index f8b2849..c3d3da7 100644 --- a/src/server-tcp.h +++ b/src/server-tcp.h @@ -1,6 +1,26 @@  #ifndef fooservertcphfoo  #define fooservertcphfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_server_tcp(const char *args); diff --git a/src/server-tty.c b/src/server-tty.c index d3f36b1..7325bfa 100644 --- a/src/server-tty.c +++ b/src/server-tty.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #define _GNU_SOURCE  #include <assert.h> diff --git a/src/server-tty.h b/src/server-tty.h index 626a55f..05f8178 100644 --- a/src/server-tty.h +++ b/src/server-tty.h @@ -1,6 +1,26 @@  #ifndef fooserverttyhfoo  #define fooserverttyhfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_server_tty(const char *args); diff --git a/src/server-unix.c b/src/server-unix.c index 36f1a4c..5112583 100644 --- a/src/server-unix.c +++ b/src/server-unix.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <sys/types.h>  #include <sys/socket.h>  #include <inttypes.h> diff --git a/src/server-unix.h b/src/server-unix.h index aa8693f..48910aa 100644 --- a/src/server-unix.h +++ b/src/server-unix.h @@ -1,6 +1,26 @@  #ifndef fooserverunixhfoo  #define fooserverunixhfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_server_unix(const char *args); @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <stdlib.h>  #include <assert.h>  #include <string.h> @@ -1,6 +1,26 @@  #ifndef foostdhfoo  #define foostdhfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  #include "stream.h"  struct stream* stream_std(const char *args); diff --git a/src/stream.c b/src/stream.c index 80ad2c2..72bc7a1 100644 --- a/src/stream.c +++ b/src/stream.c @@ -1,3 +1,27 @@ +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/ +  +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +  #include <string.h>  #include <stdio.h>  #include <assert.h> diff --git a/src/stream.h b/src/stream.h index 29bf46e..dead3ce 100644 --- a/src/stream.h +++ b/src/stream.h @@ -1,6 +1,25 @@  #ifndef foostreamhfoo  #define foostreamhfoo +/* $Id$ */ +  +/*** +  This file is part of bidilink. +  +  bidilink 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. +    +  bidilink 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 bidilink; if not, write to the Free Software Foundation, +  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +***/  struct stream {      int input_fd, output_fd;  | 
