Change licensing blob in every file into these two one-liners:
/* For terms of usage/redistribution/modification see the LICENSE file */
/* For authors and contributors see the CREDITS file */
Also introduce CREDITS file with name of every person which
worked on iptraf-ng.
Signed-off-by: Vitezslav Samel <vitezslav(a)samel.cz>
---
CREDITS | 21 +++++++++++++++++++++
src/bar.c | 19 ++-----------------
src/cidr.c | 19 ++-----------------
src/cidr.h | 14 --------------
src/deskman.c | 16 +++-------------
src/deskman.h | 3 ---
src/detstats.c | 18 +++++-------------
src/dirs.h | 18 ------------------
src/error.c | 16 +++-------------
src/fltdefs.h | 2 --
src/fltedit.c | 15 +++------------
src/fltmgr.c | 15 +++------------
src/fltmgr.h | 2 --
src/fltselect.c | 20 +++++---------------
src/fltselect.h | 6 ++----
src/getpath.c | 19 ++-----------------
src/hostmon.c | 15 +++------------
src/ifaces.c | 15 +++------------
src/ifaces.h | 2 +-
src/ifstats.c | 18 +++++-------------
src/instances.c | 15 +++------------
src/ipfilter.c | 16 +++-------------
src/ipfrag.c | 16 ++++------------
src/iptraf-ng-compat.h | 18 ------------------
src/iptraf.c | 21 +++------------------
src/isdntab.c | 15 +++------------
src/itrafmon.c | 15 +++------------
src/landesc.c | 14 ++------------
src/landesc.h | 12 ------------
src/list.h | 18 ------------------
src/log.c | 14 ++------------
src/log.h | 2 --
src/options.c | 15 +++------------
src/othptab.c | 15 +++------------
src/othptab.h | 2 --
src/packet.c | 16 +++-------------
src/packet.h | 2 --
src/parse-options.c | 19 ++-----------------
src/parse-options.h | 18 ------------------
src/parseproto.c | 14 +++-----------
src/pktsize.c | 16 +++-------------
src/promisc.c | 19 +++----------------
src/revname.c | 16 +++-------------
src/rvnamed.c | 13 +++----------
src/serv.c | 15 +++------------
src/serv.h | 2 --
src/servname.c | 15 +++------------
src/tcptable.c | 14 ++------------
src/tcptable.h | 2 --
src/timer.c | 15 ++-------------
src/tui/input.c | 9 +++------
src/tui/input.h | 2 --
src/tui/labels.c | 5 ++---
src/tui/listbox.c | 5 ++---
src/tui/menurt.c | 11 +++--------
src/tui/menurt.h | 2 --
src/tui/msgboxes.c | 5 ++---
src/tui/tui.h | 18 ------------------
src/tui/txbox.c | 6 +++---
src/tui/winops.c | 1 +
src/usage.c | 19 ++-----------------
src/wrapper.c | 19 ++-----------------
62 files changed, 142 insertions(+), 637 deletions(-)
create mode 100644 CREDITS
diff --git a/CREDITS b/CREDITS
new file mode 100644
index 0000000..58627ea
--- /dev/null
+++ b/CREDITS
@@ -0,0 +1,21 @@
+Original author of iptraf:
+--------------------------
+
+ 1997 - 2004 Gerard Paul Java
+
+Since no progress was made since 2004 and the author didn't answer
+any question if he will be working on iptraf anytime soon again,
+Nikola Pajkovsky from RedHat took over the project in 2010 and made
+a fork named iptraf-ng.
+
+iptraf-ng maintainer:
+---------------------
+ 2010 - Nikola Pajkovsky <npajkovs(a)redhat.com>
+
+Contributors:
+-------------
+ 2010 - 2012 Nikola Pajkovsky <npajkovs(a)redhat.com>
+ 2010 Jan Rafaj <jr-tools(a)cedric.unob.cz>
+ 2010 Petr Uzel <petr.uzel(a)suse.cz>
+ 2011 Jan Engelhardt <jengelh(a)medozas.de>
+ 2012 Vitezslav Samel <vitezslav(a)samel.cz>
diff --git a/src/bar.c b/src/bar.c
index ee20de9..da7c9dc 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -1,20 +1,5 @@
-/*
- Copyright (C) 2011 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
// TODO: full rewrite
diff --git a/src/cidr.c b/src/cidr.c
index 7663282..111c054 100644
--- a/src/cidr.c
+++ b/src/cidr.c
@@ -1,20 +1,5 @@
-/*
- Copyright (C) 2011 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
#include "iptraf-ng-compat.h"
diff --git a/src/cidr.h b/src/cidr.h
index 5e66b03..73504bd 100644
--- a/src/cidr.h
+++ b/src/cidr.h
@@ -1,20 +1,6 @@
#ifndef IPTRAF_NG_CIDR_H
#define IPTRAF_NG_CIDR_H
-/*
- * cidr.h - prototypes for cidr.c
- *
- * Copyright (c) Gerard Paul Java 2003
- *
- * This module contains functions that deal with CIDR address/mask notation.
- *
- * This module may be freely used for any purpose, commercial or otherwise,
- * In any product that uses this module, the following notice must appear:
- *
- * Includes software developed by Gerard Paul Java
- * Copyright (c) Gerard Paul Java 2003
- */
-
unsigned long cidr_get_mask(unsigned int maskbits);
char *cidr_get_quad_mask(unsigned int maskbits);
unsigned int cidr_get_maskbits(unsigned long mask);
diff --git a/src/deskman.c b/src/deskman.c
index 34cb094..71734ba 100644
--- a/src/deskman.c
+++ b/src/deskman.c
@@ -1,20 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
deskman.c - desktop management routines
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/deskman.h b/src/deskman.h
index 4216f70..a5badee 100644
--- a/src/deskman.h
+++ b/src/deskman.h
@@ -3,9 +3,6 @@
/*
deskman.h - header file for deskman.c
- Written by Gerard Paul Java
- Copyright (c) Gerard Paul Java 1997, 1998
-
*/
void draw_desktop(void);
diff --git a/src/detstats.c b/src/detstats.c
index 9b54759..e2a588d 100644
--- a/src/detstats.c
+++ b/src/detstats.c
@@ -1,19 +1,11 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
detstats.c - the interface statistics module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997-2002
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-***/
+
+ ***/
#include "iptraf-ng-compat.h"
#include "tui/tui.h"
diff --git a/src/dirs.h b/src/dirs.h
index 7d4214b..6bb09af 100644
--- a/src/dirs.h
+++ b/src/dirs.h
@@ -1,24 +1,6 @@
#ifndef IPTRAF_NG_DIRS_H
#define IPTRAF_NG_DIRS_H
-/*
- Copyright (C) 2011 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-
// TODO: full rewrite
#include "getpath.h"
diff --git a/src/error.c b/src/error.c
index 92ee71d..d010aab 100644
--- a/src/error.c
+++ b/src/error.c
@@ -1,20 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
error.c - Error-handling subroutines
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/fltdefs.h b/src/fltdefs.h
index 3ef5abc..3853469 100644
--- a/src/fltdefs.h
+++ b/src/fltdefs.h
@@ -4,8 +4,6 @@
/***
fltdefs.h - declarations for the TCP, UDP, and misc IP filters
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997-2002
***/
diff --git a/src/fltedit.c b/src/fltedit.c
index 46cdb3d..d864c65 100644
--- a/src/fltedit.c
+++ b/src/fltedit.c
@@ -1,19 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
fltedit.c - the filter editing Facility
-Copyright (c) Gerard Paul Java 1999, 2002
-
-This software is open-source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/fltmgr.c b/src/fltmgr.c
index 2853c26..eeaba68 100644
--- a/src/fltmgr.c
+++ b/src/fltmgr.c
@@ -1,19 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
fltmgr.c - filter list management routines
-Copyright (c) Gerard Paul Java 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/fltmgr.h b/src/fltmgr.h
index 1da1d5c..d9c9cd6 100644
--- a/src/fltmgr.h
+++ b/src/fltmgr.h
@@ -5,8 +5,6 @@
fltmgr.h - filter list management routine prototypes
-Copyright (c) Gerard Paul Java 1998, 2002
-
***/
struct filterfileent {
diff --git a/src/fltselect.c b/src/fltselect.c
index 6ea4829..3deb0c5 100644
--- a/src/fltselect.c
+++ b/src/fltselect.c
@@ -1,22 +1,12 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
/***
-
+
fltselect.c - a menu-based module that allows selection of
other protocols to display
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
-***/
+
+ ***/
#include "iptraf-ng-compat.h"
#include "tui/tui.h"
diff --git a/src/fltselect.h b/src/fltselect.h
index 72efc82..a850d62 100644
--- a/src/fltselect.h
+++ b/src/fltselect.h
@@ -4,10 +4,8 @@
/***
othfilter.h - declarations for the non-TCP filter module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997
-
-***/
+
+ ***/
#include "fltdefs.h"
diff --git a/src/getpath.c b/src/getpath.c
index 1acdec1..52eb1e8 100644
--- a/src/getpath.c
+++ b/src/getpath.c
@@ -1,20 +1,5 @@
-/*
- Copyright (C) 2011 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
// TODO: full rewrite
diff --git a/src/hostmon.c b/src/hostmon.c
index 36c0ce6..ba7cb14 100644
--- a/src/hostmon.c
+++ b/src/hostmon.c
@@ -1,19 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
hostmon.c - Host traffic monitor
Discovers LAN hosts and displays packet statistics for them
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/ifaces.c b/src/ifaces.c
index e13d39b..ca0b852 100644
--- a/src/ifaces.c
+++ b/src/ifaces.c
@@ -1,20 +1,11 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
ifaces.c - routine that determines whether a given interface is supported
by IPTraf
-Copyright (c) Gerard Paul Java 1998, 2003
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/ifaces.h b/src/ifaces.h
index 282167e..d51044c 100644
--- a/src/ifaces.h
+++ b/src/ifaces.h
@@ -5,7 +5,7 @@
ifaces.h - prototype declaration for interface support determination
routine.
-
+
***/
FILE *open_procnetdev(void);
diff --git a/src/ifstats.c b/src/ifstats.c
index 4e48155..c644f4d 100644
--- a/src/ifstats.c
+++ b/src/ifstats.c
@@ -1,19 +1,11 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
ifstats.c - the interface statistics module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997-2002
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-***/
+
+ ***/
#include "iptraf-ng-compat.h"
#include "tui/tui.h"
diff --git a/src/instances.c b/src/instances.c
index 961a448..e40780b 100644
--- a/src/instances.c
+++ b/src/instances.c
@@ -1,19 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
instances.c - handler routines for multiple IPTraf instances
-Copyright (c) Gerard Paul Java 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/ipfilter.c b/src/ipfilter.c
index cffc81d..8168d12 100644
--- a/src/ipfilter.c
+++ b/src/ipfilter.c
@@ -1,20 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
ipfilter.c - user interface and filter function for all IP packets
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 2001, 2002
-
-This software is open-source; you may 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/ipfrag.c b/src/ipfrag.c
index f31d7de..ee089a9 100644
--- a/src/ipfrag.c
+++ b/src/ipfrag.c
@@ -1,3 +1,6 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
ipfrag.c - module that handles fragmented IP packets.
@@ -10,19 +13,8 @@ This module is based on RFC 815, but does not really reassemble packets.
The routines here merely accumulate packet sizes and pass them off to
the IP traffic monitor routine.
-Copyright (c) Gerard Paul Java, 1998, 2002
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
+
#include "iptraf-ng-compat.h"
#include "ipfrag.h"
diff --git a/src/iptraf-ng-compat.h b/src/iptraf-ng-compat.h
index 1289eb8..7e79d69 100644
--- a/src/iptraf-ng-compat.h
+++ b/src/iptraf-ng-compat.h
@@ -1,21 +1,3 @@
-/*
- Copyright (C) 2010 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-
#ifndef IPTRAF_NG_COMPAT_H
#define IPTRAF_NG_COMPAT_H
diff --git a/src/iptraf.c b/src/iptraf.c
index 48636c6..68739e6 100644
--- a/src/iptraf.c
+++ b/src/iptraf.c
@@ -1,24 +1,9 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/*
-===========================================================================
IPTraf
An IP Network Statistics Utility
-Written by Gerard Paul Java <riker(a)seul.org>
-Copyright (c) Gerard Paul Java 1997-2004
-
-Version 3.0.0
-Main Module
-
----------------------------------------------------------------------------
-This software is open-source; you may 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
----------------------------------------------------------------------------
*/
#define MAIN_MODULE
diff --git a/src/isdntab.c b/src/isdntab.c
index bfe4065..fd2f384 100644
--- a/src/isdntab.c
+++ b/src/isdntab.c
@@ -1,19 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
isdntab.c - a set of simple routines that collect detected ISDN
interfaces and record their link encapsulation.
-
-Copyright (c) Gerard Paul Java, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/itrafmon.c b/src/itrafmon.c
index be2b72c..236e487 100644
--- a/src/itrafmon.c
+++ b/src/itrafmon.c
@@ -1,18 +1,9 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
itrafmon.c - the IP traffic monitor module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/landesc.c b/src/landesc.c
index 85c7d0a..e76e8ef 100644
--- a/src/landesc.c
+++ b/src/landesc.c
@@ -1,3 +1,5 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
/***
@@ -5,18 +7,6 @@ landesc.c - LAN host description management module
Currently includes support for Ethernet, PLIP,
and FDDI
-Copyright (c) Gerard Paul Java 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/landesc.h b/src/landesc.h
index 702e4a3..078c428 100644
--- a/src/landesc.h
+++ b/src/landesc.h
@@ -5,18 +5,6 @@
ethdesc.c - Ethernet host description management module
-Copyright (c) Gerard Paul Java 1998
-
-This program 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.
-
-This program 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.
-
***/
#include "list.h"
diff --git a/src/list.h b/src/list.h
index bb8d77a..daa7628 100644
--- a/src/list.h
+++ b/src/list.h
@@ -1,24 +1,6 @@
#ifndef IPTRAF_NG_LIST_H
#define IPTRAF_NG_LIST_H
-/*
- Copyright (C) 2010 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-
struct list_head {
struct list_head *next, *prev;
};
diff --git a/src/log.c b/src/log.c
index 712ecec..4f1557b 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,19 +1,9 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
/***
log.c - the iptraf logging facility
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/log.h b/src/log.h
index a899f76..bb93de3 100644
--- a/src/log.h
+++ b/src/log.h
@@ -4,8 +4,6 @@
/***
log.h - the iptraf logging facility header file
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997
***/
diff --git a/src/options.c b/src/options.c
index 7c9a858..4f4b99a 100644
--- a/src/options.c
+++ b/src/options.c
@@ -1,18 +1,9 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
options.c - implements the configuration section of the utility
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/othptab.c b/src/othptab.c
index d59022c..be869fd 100644
--- a/src/othptab.c
+++ b/src/othptab.c
@@ -1,18 +1,9 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
othptab.c - non-TCP protocol display module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/othptab.h b/src/othptab.h
index 48f9d29..0f4d30d 100644
--- a/src/othptab.h
+++ b/src/othptab.h
@@ -4,8 +4,6 @@
/***
othptab.h - header file for the non-TCP routines
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997
***/
diff --git a/src/packet.c b/src/packet.c
index 2770ee8..2ff7e41 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -1,21 +1,11 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
packet.c - routines to open the raw socket, read socket data and
adjust the initial packet pointer
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997-2002
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/packet.h b/src/packet.h
index fc350b9..185a229 100644
--- a/src/packet.h
+++ b/src/packet.h
@@ -5,8 +5,6 @@
packet.h - external declarations for packet.c
-Written by Gerard Paul Java
-
***/
/*
diff --git a/src/parse-options.c b/src/parse-options.c
index 36dd15f..5b0cf9f 100644
--- a/src/parse-options.c
+++ b/src/parse-options.c
@@ -1,20 +1,5 @@
-/*
- Copyright (C) 2010 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
#include "iptraf-ng-compat.h"
#include "parse-options.h"
diff --git a/src/parse-options.h b/src/parse-options.h
index 856ff05..d72041f 100644
--- a/src/parse-options.h
+++ b/src/parse-options.h
@@ -1,24 +1,6 @@
#ifndef IPTRAF_NG_PARSE_OPTIONS_H
#define IPTRAF_NG_PARSE_OPTIONS_H
-/*
- Copyright (C) 2010 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-
enum parse_opt_type {
OPTION_BOOL,
OPTION_GROUP,
diff --git a/src/parseproto.c b/src/parseproto.c
index 2c8d726..3fcbc75 100644
--- a/src/parseproto.c
+++ b/src/parseproto.c
@@ -1,18 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/*
* parseports.c - code to extract the protocol codes or ranges thereof from
* the user-defined string.
*
- * Copyright (c) Gerard Paul Java 2002
- *
- * This software is open-source; 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.
- *
- * This program is distributed WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License in the included COPYING file for
- * details.
*/
#include <string.h>
diff --git a/src/pktsize.c b/src/pktsize.c
index fc7c1db..052b8b6 100644
--- a/src/pktsize.c
+++ b/src/pktsize.c
@@ -1,20 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
pktsize.c - the packet size breakdown facility
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997-1999
-
-This software is open-source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/promisc.c b/src/promisc.c
index c5a37ab..78bd043 100644
--- a/src/promisc.c
+++ b/src/promisc.c
@@ -1,24 +1,11 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
promisc.c - handles the promiscuous mode flag for the Ethernet/FDDI/
Token Ring interfaces
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 2002
-
-This module contains functions that manage the promiscuous states of
-the interfaces.
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/revname.c b/src/revname.c
index 68dfa8f..b62f976 100644
--- a/src/revname.c
+++ b/src/revname.c
@@ -1,3 +1,6 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
revname.c - reverse DNS resolution module for IPTraf. As of IPTraf 1.1,
@@ -5,19 +8,6 @@ this module now communicates with the rvnamed process to resolve in the
background while allowing the foreground process to continue with the
interim IP addresses in the meantime.
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/rvnamed.c b/src/rvnamed.c
index 104e359..6c6f04a 100644
--- a/src/rvnamed.c
+++ b/src/rvnamed.c
@@ -1,3 +1,6 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
rvnamed - reverse DNS lookup daemon for the IPTraf network
@@ -22,16 +25,6 @@ reverse DNS lookups are enabled.
rvnamed and IPTraf communicate with each other using the BSD UNIX domain
socket protocol.
-This software is open-source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include <stdio.h>
diff --git a/src/serv.c b/src/serv.c
index c7f38d5..0de8f6f 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -1,18 +1,9 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
serv.c - TCP/UDP port statistics module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/serv.h b/src/serv.h
index c63381c..ecc5374 100644
--- a/src/serv.h
+++ b/src/serv.h
@@ -4,8 +4,6 @@
/***
serv.h - TCP/UDP port statistics header file
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997
***/
diff --git a/src/servname.c b/src/servname.c
index e396800..4cd3a66 100644
--- a/src/servname.c
+++ b/src/servname.c
@@ -1,20 +1,11 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
+
/***
servname.c - lookup module for TCP and UDP service names based on
port numbers
-Copyright (c) Gerard Paul Java 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/tcptable.c b/src/tcptable.c
index fb51c17..f8f2b8f 100644
--- a/src/tcptable.c
+++ b/src/tcptable.c
@@ -1,19 +1,9 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
/***
tcptable.c - table manipulation routines for the IP monitor
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
***/
diff --git a/src/tcptable.h b/src/tcptable.h
index e30917d..ee01417 100644
--- a/src/tcptable.h
+++ b/src/tcptable.h
@@ -4,8 +4,6 @@
/***
tcptable.h -- table manipulation for the statistics display.
- Written by Gerard Paul Java
- Copyright (c) Gerard Paul Java 1997-2005
***/
diff --git a/src/timer.c b/src/timer.c
index 6a09382..b2efb7c 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -1,22 +1,11 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
/***
timer.c - module to display the elapsed time since a facility
was started
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997
-
-This software is open source; 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.
-
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
-
***/
#include "iptraf-ng-compat.h"
diff --git a/src/tui/input.c b/src/tui/input.c
index 3206ddf..717f8d8 100644
--- a/src/tui/input.c
+++ b/src/tui/input.c
@@ -1,11 +1,8 @@
-/***
+/* For terms of usage/redistribution/modification see the LICENSE file */
-input.c - a custom keyboard input module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997
+/***
-This module is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+input.c - a custom keyboard input module
***/
diff --git a/src/tui/input.h b/src/tui/input.h
index ea93eb0..26d2912 100644
--- a/src/tui/input.h
+++ b/src/tui/input.h
@@ -4,8 +4,6 @@
/***
input.h - structure declarations and function prototypes for input.c
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997
***/
diff --git a/src/tui/labels.c b/src/tui/labels.c
index 0dd6fe9..654d026 100644
--- a/src/tui/labels.c
+++ b/src/tui/labels.c
@@ -1,9 +1,8 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+
/*
* labels.c - some common keyhelp printing routines for the iptraf
* user interface library
- *
- * Written by Gerard Paul Java
- * Copyright (c) Gerard Paul Java 2001
*/
#include <curses.h>
diff --git a/src/tui/listbox.c b/src/tui/listbox.c
index 9f23cea..ed563d3 100644
--- a/src/tui/listbox.c
+++ b/src/tui/listbox.c
@@ -1,8 +1,7 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+
/*
* listbox.c - scrollable listbox management module
- *
- * Written by Gerard Paul Java
- * Copyright (c) Gerard Paul Java 2001
*/
#include <curses.h>
diff --git a/src/tui/menurt.c b/src/tui/menurt.c
index ca18a5c..68dc689 100644
--- a/src/tui/menurt.c
+++ b/src/tui/menurt.c
@@ -1,13 +1,8 @@
-/***
+/* For terms of usage/redistribution/modification see the LICENSE file */
-menurt.c- ncurses-based menu definition module
-Written by Gerard Paul Java
-Copyright (c) Gerard Paul Java 1997, 1998
+/***
-This program is distributed WITHOUT ANY WARRANTY; without even the
-implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-See the GNU General Public License in the included COPYING file for
-details.
+menurt.c - ncurses-based menu definition module
***/
diff --git a/src/tui/menurt.h b/src/tui/menurt.h
index 73a88db..0316cac 100644
--- a/src/tui/menurt.h
+++ b/src/tui/menurt.h
@@ -3,8 +3,6 @@
/***
menu.h - declaration file for my menu library
- Copyright (c) Gerard Paul R. Java 1997
-
***/
#define SELECTED 1
diff --git a/src/tui/msgboxes.c b/src/tui/msgboxes.c
index 0aca08a..cfd075e 100644
--- a/src/tui/msgboxes.c
+++ b/src/tui/msgboxes.c
@@ -1,8 +1,7 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+
/*
* msgboxes.c - message and error box display functions
- *
- * Written by Gerard Paul Java
- * Copyright (c) Gerard Paul Java 2001
*/
#include <curses.h>
diff --git a/src/tui/tui.h b/src/tui/tui.h
index d25556e..81f7a05 100644
--- a/src/tui/tui.h
+++ b/src/tui/tui.h
@@ -1,24 +1,6 @@
#ifndef IPTRAF_NG_TUI_TUI_H
#define IPTRAF_NG_TUI_TUI_H
-/*
- Copyright (C) 2010 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-
#define ANYKEY_MSG "Press a key to continue"
extern void tui_error(const char *prompt, const char *err, ...) __attribute((format (printf, 2, 3)));
diff --git a/src/tui/txbox.c b/src/tui/txbox.c
index a729a29..402c23a 100644
--- a/src/tui/txbox.c
+++ b/src/tui/txbox.c
@@ -1,10 +1,10 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
+
/*
* txbox.c - custom window bordering routine for ncurses windows.
*
- * Copyright (c) Gerard Paul Java 2002
- *
* This function is written to address a strange symptom in ncurses 5.2, at
- *least on RedHat 7.3. The border drawn by the box() macro (actually an alias
+ * least on RedHat 7.3. The border drawn by the box() macro (actually an alias
* for a call to wborder()) no longer uses the color attributes set by
* wattrset(). However, the addch() and wvline() functions still do.
*
diff --git a/src/tui/winops.c b/src/tui/winops.c
index b39d1f0..139e8ce 100644
--- a/src/tui/winops.c
+++ b/src/tui/winops.c
@@ -1,3 +1,4 @@
+/* For terms of usage/redistribution/modification see the LICENSE file */
/***
diff --git a/src/usage.c b/src/usage.c
index 5618e4c..07dd9ee 100644
--- a/src/usage.c
+++ b/src/usage.c
@@ -1,20 +1,5 @@
-/*
- Copyright (C) 2010 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
#include "iptraf-ng-compat.h"
diff --git a/src/wrapper.c b/src/wrapper.c
index a592dc3..3fc8235 100644
--- a/src/wrapper.c
+++ b/src/wrapper.c
@@ -1,20 +1,5 @@
-/*
- Copyright (C) 2011 Nikola Pajkovsky (npajkovs(a)redhat.com)
-
- This program 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.
-
- This program 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 this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+/* For terms of usage/redistribution/modification see the LICENSE file */
+/* For authors and contributors see the CREDITS file */
#define _GNU_SOURCE
#include "iptraf-ng-compat.h"
--
1.7.8.4