diff --git a/AUTHORS b/AUTHORS index 521f9785..77c221dc 100644 --- a/AUTHORS +++ b/AUTHORS @@ -2,3 +2,4 @@ Authors: Dominic Spill Adam Stasiak +Mike Kershaw / dragorn \ No newline at end of file diff --git a/README.md b/README.md index d1f64261..9a052c57 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,10 @@ ToDo License ------- -All files should have a license displayed at the start of the file. Any code -that we have written is released under the GPL v3 license. +Unless explicitly stated otherwise, all code in this repository is released +under the GPL v2 license, a copy of which can be found in the LICENSE file. All +files that are released under a different license contain a copy of that license +in the file. FAQ --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d94dd934..f4c587b1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,23 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# #top level cmake project for USBProxy lib, plugins, and commandline tool cmake_minimum_required(VERSION 2.8) diff --git a/src/Plugins/CMakeLists.txt b/src/Plugins/CMakeLists.txt index 37b80b32..81165322 100644 --- a/src/Plugins/CMakeLists.txt +++ b/src/Plugins/CMakeLists.txt @@ -1,24 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# -# Based heavily upon the hackrf/ubertooth cmake setup. project(usbproxy_plugins C) set(PACKAGE usbproxy_plugins) diff --git a/src/Plugins/Devices/CMakeLists.txt b/src/Plugins/Devices/CMakeLists.txt index cf0c5281..f08deca1 100644 --- a/src/Plugins/Devices/CMakeLists.txt +++ b/src/Plugins/Devices/CMakeLists.txt @@ -1,24 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# -# Based upon the hackrf/ubertooth cmake setup. project(usbproxy_devices C) set(PACKAGE usbproxy_devices) diff --git a/src/Plugins/Devices/DeviceProxy_LibUSB.cpp b/src/Plugins/Devices/DeviceProxy_LibUSB.cpp index 9fd7c1b1..d897c6c5 100644 --- a/src/Plugins/Devices/DeviceProxy_LibUSB.cpp +++ b/src/Plugins/Devices/DeviceProxy_LibUSB.cpp @@ -1,23 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #include diff --git a/src/Plugins/Devices/DeviceProxy_LibUSB.h b/src/Plugins/Devices/DeviceProxy_LibUSB.h index daa8b9ab..e811f834 100644 --- a/src/Plugins/Devices/DeviceProxy_LibUSB.h +++ b/src/Plugins/Devices/DeviceProxy_LibUSB.h @@ -1,23 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #ifndef USBPROXY_DEVICEPROXY_LIBUSB_H diff --git a/src/Plugins/Devices/DeviceProxy_Loopback.cpp b/src/Plugins/Devices/DeviceProxy_Loopback.cpp index 04fbaa68..415b0ba4 100644 --- a/src/Plugins/Devices/DeviceProxy_Loopback.cpp +++ b/src/Plugins/Devices/DeviceProxy_Loopback.cpp @@ -1,25 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * - * Based on libusb-gadget - Copyright 2009 Daiki Ueno - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #include "DeviceProxy_Loopback.h" diff --git a/src/Plugins/Devices/DeviceProxy_Loopback.h b/src/Plugins/Devices/DeviceProxy_Loopback.h index 95698c08..57e085b7 100644 --- a/src/Plugins/Devices/DeviceProxy_Loopback.h +++ b/src/Plugins/Devices/DeviceProxy_Loopback.h @@ -1,23 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #ifndef USBPROXY_DEVICEPROXY_LOOPBACK_H diff --git a/src/Plugins/Devices/DeviceProxy_Null.h b/src/Plugins/Devices/DeviceProxy_Null.h index eacd9757..cbcec494 100644 --- a/src/Plugins/Devices/DeviceProxy_Null.h +++ b/src/Plugins/Devices/DeviceProxy_Null.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * DeviceProxyNull.h - * - * Created on: Nov 15, 2013 */ + #ifndef USBPROXY_DEVICEPROXYNULL_H #define USBPROXY_DEVICEPROXYNULL_H diff --git a/src/Plugins/Devices/DeviceProxy_TCP.cpp b/src/Plugins/Devices/DeviceProxy_TCP.cpp index 4af45c7e..a38d23d3 100644 --- a/src/Plugins/Devices/DeviceProxy_TCP.cpp +++ b/src/Plugins/Devices/DeviceProxy_TCP.cpp @@ -1,25 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * - * Based on libusb-gadget - Copyright 2009 Daiki Ueno - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #include diff --git a/src/Plugins/Devices/DeviceProxy_TCP.h b/src/Plugins/Devices/DeviceProxy_TCP.h index 2359cda5..3fecf1a0 100644 --- a/src/Plugins/Devices/DeviceProxy_TCP.h +++ b/src/Plugins/Devices/DeviceProxy_TCP.h @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * DeviceProxy_TCP.h - * - * Created on: Dec 12, 2013 */ #ifndef USBPROXY_DEVICEPROXY_TCP_H diff --git a/src/Plugins/Devices/DeviceProxy_dot11.cpp b/src/Plugins/Devices/DeviceProxy_dot11.cpp index 732eb815..90d3c0f2 100644 --- a/src/Plugins/Devices/DeviceProxy_dot11.cpp +++ b/src/Plugins/Devices/DeviceProxy_dot11.cpp @@ -1,23 +1,5 @@ /* - * Copyright 2014 Dominic Spill - * Copyright 2014 Mike Kershaw / dragorn - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #include "DeviceProxy_dot11.h" diff --git a/src/Plugins/Devices/DeviceProxy_dot11.h b/src/Plugins/Devices/DeviceProxy_dot11.h index 08fe0c6b..a64f6d93 100644 --- a/src/Plugins/Devices/DeviceProxy_dot11.h +++ b/src/Plugins/Devices/DeviceProxy_dot11.h @@ -1,23 +1,5 @@ /* - * Copyright 2014 Dominic Spill - * Copyright 2014 Mike Kershaw / dragorn - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #ifndef USBPROXY_DEVICEPROXY_DOT11_H diff --git a/src/Plugins/Devices/Dot11_Interface.h b/src/Plugins/Devices/Dot11_Interface.h index f3b17d2b..e35435b2 100644 --- a/src/Plugins/Devices/Dot11_Interface.h +++ b/src/Plugins/Devices/Dot11_Interface.h @@ -1,23 +1,5 @@ /* - * Copyright 2014 Dominic Spill - * Copyright 2014 Mike Kershaw / dragorn - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #ifndef USBPROXY_DOT11_INTERFACE_H diff --git a/src/Plugins/Filters/CMakeLists.txt b/src/Plugins/Filters/CMakeLists.txt index 2535f5e0..4616b679 100644 --- a/src/Plugins/Filters/CMakeLists.txt +++ b/src/Plugins/Filters/CMakeLists.txt @@ -1,24 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# -# Based upon the hackrf/ubertooth cmake setup. project(usbproxy_filters C) set(PACKAGE usbproxy_filters) diff --git a/src/Plugins/Filters/PacketFilter_Callback.cpp b/src/Plugins/Filters/PacketFilter_Callback.cpp index 64757988..0a2d4189 100644 --- a/src/Plugins/Filters/PacketFilter_Callback.cpp +++ b/src/Plugins/Filters/PacketFilter_Callback.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_Callback.cpp - * - * Created on: Dec 28, 2013 */ + #include "PacketFilter_Callback.h" PacketFilter_Callback::PacketFilter_Callback(ConfigParser *cfg) { diff --git a/src/Plugins/Filters/PacketFilter_Callback.h b/src/Plugins/Filters/PacketFilter_Callback.h index 2124ca4d..89ac896a 100644 --- a/src/Plugins/Filters/PacketFilter_Callback.h +++ b/src/Plugins/Filters/PacketFilter_Callback.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_Callback.h - * - * Created on: Dec 28, 2013 */ + #ifndef PACKETFILTER_CALLBACK_H_ #define PACKETFILTER_CALLBACK_H_ diff --git a/src/Plugins/Filters/PacketFilter_KeyLogger.cpp b/src/Plugins/Filters/PacketFilter_KeyLogger.cpp index 9f643a06..725c6dad 100644 --- a/src/Plugins/Filters/PacketFilter_KeyLogger.cpp +++ b/src/Plugins/Filters/PacketFilter_KeyLogger.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_KeyLoggger.cpp - * - * Created on: Nov 23, 2013 */ + #include "PacketFilter_KeyLogger.h" #include diff --git a/src/Plugins/Filters/PacketFilter_KeyLogger.h b/src/Plugins/Filters/PacketFilter_KeyLogger.h index 8afe6966..5eb8ac5f 100644 --- a/src/Plugins/Filters/PacketFilter_KeyLogger.h +++ b/src/Plugins/Filters/PacketFilter_KeyLogger.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_KeyLogger.h - * - * Created on: Nov 23, 2013 */ + #ifndef USBPROXY_PACKETFILTER_KEYLOGGER_H_ #define USBPROXY_PACKETFILTER_KEYLOGGER_H_ diff --git a/src/Plugins/Filters/PacketFilter_MassStorage.cpp b/src/Plugins/Filters/PacketFilter_MassStorage.cpp index de395962..6cc0bbb8 100644 --- a/src/Plugins/Filters/PacketFilter_MassStorage.cpp +++ b/src/Plugins/Filters/PacketFilter_MassStorage.cpp @@ -1,24 +1,5 @@ /* - * Copyright 2014 Dominic Spill - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_MassStorage.cpp */ #include "PacketFilter_MassStorage.h" diff --git a/src/Plugins/Filters/PacketFilter_MassStorage.h b/src/Plugins/Filters/PacketFilter_MassStorage.h index dcc0f4ae..d9ba20fc 100644 --- a/src/Plugins/Filters/PacketFilter_MassStorage.h +++ b/src/Plugins/Filters/PacketFilter_MassStorage.h @@ -1,25 +1,7 @@ /* - * Copyright 2014 Dominic Spill - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_MassStorage.h */ + #ifndef PACKETFILTER_MASSSTORAGE_H #define PACKETFILTER_MASSSTORAGE_H diff --git a/src/Plugins/Filters/PacketFilter_PcapLogger.cpp b/src/Plugins/Filters/PacketFilter_PcapLogger.cpp index 8de2f17d..c779cece 100644 --- a/src/Plugins/Filters/PacketFilter_PcapLogger.cpp +++ b/src/Plugins/Filters/PacketFilter_PcapLogger.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_PcapLoggger.cpp - * - * Created on: Dec 5, 2013 */ + #include #include #include diff --git a/src/Plugins/Filters/PacketFilter_PcapLogger.h b/src/Plugins/Filters/PacketFilter_PcapLogger.h index 31e9a818..a2d51531 100644 --- a/src/Plugins/Filters/PacketFilter_PcapLogger.h +++ b/src/Plugins/Filters/PacketFilter_PcapLogger.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_PcapLogger.h - * - * Created on: Dec 5, 2013 */ + #ifndef USBPROXY_PACKETFILTER_KEYLOGGER_H #define USBPROXY_PACKETFILTER_KEYLOGGER_H diff --git a/src/Plugins/Filters/PacketFilter_Power.cpp b/src/Plugins/Filters/PacketFilter_Power.cpp index f6782522..44ffa6a9 100644 --- a/src/Plugins/Filters/PacketFilter_Power.cpp +++ b/src/Plugins/Filters/PacketFilter_Power.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_KeyLoggger.cpp - * - * Created on: Nov 23, 2013 */ + #include "PacketFilter_Power.h" #include diff --git a/src/Plugins/Filters/PacketFilter_Power.h b/src/Plugins/Filters/PacketFilter_Power.h index 849628f9..b1d00824 100644 --- a/src/Plugins/Filters/PacketFilter_Power.h +++ b/src/Plugins/Filters/PacketFilter_Power.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_Power.h - * - * Created on: Nov 23, 2013 */ + #ifndef USBPROXY_PACKETFILTER_POWER_H #define USBPROXY_PACKETFILTER_POWER_H diff --git a/src/Plugins/Filters/PacketFilter_ROT13.cpp b/src/Plugins/Filters/PacketFilter_ROT13.cpp index e166478c..81d1136a 100644 --- a/src/Plugins/Filters/PacketFilter_ROT13.cpp +++ b/src/Plugins/Filters/PacketFilter_ROT13.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_ROT13.cpp - * - * Created on: Dec 10, 2013 */ #include "PacketFilter_ROT13.h" diff --git a/src/Plugins/Filters/PacketFilter_ROT13.h b/src/Plugins/Filters/PacketFilter_ROT13.h index b9f0d277..c1e615c0 100644 --- a/src/Plugins/Filters/PacketFilter_ROT13.h +++ b/src/Plugins/Filters/PacketFilter_ROT13.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_ROT13.h - * - * Created on: Nov 24, 2013 */ + #ifndef USBPROXY_PACKETFILTER_ROT13_H_ #define USBPROXY_PACKETFILTER_ROT13_H_ diff --git a/src/Plugins/Filters/PacketFilter_StreamLog.cpp b/src/Plugins/Filters/PacketFilter_StreamLog.cpp index 1ce021af..9b11b978 100644 --- a/src/Plugins/Filters/PacketFilter_StreamLog.cpp +++ b/src/Plugins/Filters/PacketFilter_StreamLog.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_StreamLog.cpp - * - * Created on: Dec 28, 2013 */ + #include "HexString.h" #include "PacketFilter_StreamLog.h" diff --git a/src/Plugins/Filters/PacketFilter_StreamLog.h b/src/Plugins/Filters/PacketFilter_StreamLog.h index 5865d433..e2c16380 100644 --- a/src/Plugins/Filters/PacketFilter_StreamLog.h +++ b/src/Plugins/Filters/PacketFilter_StreamLog.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_StreamLog.h - * - * Created on: Dec 28, 2013 */ + #ifndef PACKETFILTER_STREAMLOG_H_ #define PACKETFILTER_STREAMLOG_H_ diff --git a/src/Plugins/Filters/PacketFilter_UDPHID.cpp b/src/Plugins/Filters/PacketFilter_UDPHID.cpp index 581506de..e6977a3f 100644 --- a/src/Plugins/Filters/PacketFilter_UDPHID.cpp +++ b/src/Plugins/Filters/PacketFilter_UDPHID.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_UDPHID.cpp - * - * Created on: Feb 22, 2014 */ + #include "PacketFilter_UDPHID.h" PacketFilter_UDPHID::PacketFilter_UDPHID(ConfigParser *cfg) { diff --git a/src/Plugins/Filters/PacketFilter_UDPHID.h b/src/Plugins/Filters/PacketFilter_UDPHID.h index e03e5189..d8967c1f 100644 --- a/src/Plugins/Filters/PacketFilter_UDPHID.h +++ b/src/Plugins/Filters/PacketFilter_UDPHID.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter_UDPHID.h - * - * Created on: Feb 22, 2014 */ + #ifndef PACKETFILTER_UDPHID_H_ #define PACKETFILTER_UDPHID_H_ diff --git a/src/Plugins/Hosts/CMakeLists.txt b/src/Plugins/Hosts/CMakeLists.txt index 8b8bf141..3fe7d962 100644 --- a/src/Plugins/Hosts/CMakeLists.txt +++ b/src/Plugins/Hosts/CMakeLists.txt @@ -1,24 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# -# Based upon the hackrf/ubertooth cmake setup. project(usbproxy_hosts C) set(PACKAGE usbproxy_hosts) diff --git a/src/Plugins/Hosts/HostProxy_GadgetFS.cpp b/src/Plugins/Hosts/HostProxy_GadgetFS.cpp index ac983991..a4906977 100644 --- a/src/Plugins/Hosts/HostProxy_GadgetFS.cpp +++ b/src/Plugins/Hosts/HostProxy_GadgetFS.cpp @@ -1,30 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * - * Based on libusb-gadget - Copyright 2009 Daiki Ueno - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HostProxyGadgetFS.cpp - * - * Created on: Nov 21, 2013 */ + #include "HostProxy_GadgetFS.h" #include #include diff --git a/src/Plugins/Hosts/HostProxy_GadgetFS.h b/src/Plugins/Hosts/HostProxy_GadgetFS.h index 5ec1053f..8de0b5ab 100644 --- a/src/Plugins/Hosts/HostProxy_GadgetFS.h +++ b/src/Plugins/Hosts/HostProxy_GadgetFS.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HostProxyGadgetFS.h - * - * Created on: Nov 21, 2013 */ + #ifndef USBPROXY_HOSTPROXY_GADGETFS_H #define USBPROXY_HOSTPROXY_GADGETFS_H diff --git a/src/Plugins/Hosts/HostProxy_Null.h b/src/Plugins/Hosts/HostProxy_Null.h index 293435c5..23644382 100644 --- a/src/Plugins/Hosts/HostProxy_Null.h +++ b/src/Plugins/Hosts/HostProxy_Null.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HostProxyNull.h - * - * Created on: Nov 15, 2013 */ + #ifndef USBPROXY_HOSTPROXYNULL_H #define USBPROXY_HOSTPROXYNULL_H diff --git a/src/Plugins/Hosts/HostProxy_TCP.cpp b/src/Plugins/Hosts/HostProxy_TCP.cpp index 8b86fb31..9ad8f8a3 100644 --- a/src/Plugins/Hosts/HostProxy_TCP.cpp +++ b/src/Plugins/Hosts/HostProxy_TCP.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HostProxy_TCP.cpp - * - * Created on: Dec 12, 2013 */ #include diff --git a/src/Plugins/Hosts/HostProxy_TCP.h b/src/Plugins/Hosts/HostProxy_TCP.h index 0a103af5..4122ec5e 100644 --- a/src/Plugins/Hosts/HostProxy_TCP.h +++ b/src/Plugins/Hosts/HostProxy_TCP.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HostProxy_TCP.h - * - * Created on: Dec 12, 2013 */ + #ifndef USBPROXY_HOSTPROXY_TCP_H #define USBPROXY_HOSTPROXY_TCP_H diff --git a/src/Plugins/Injectors/CMakeLists.txt b/src/Plugins/Injectors/CMakeLists.txt index 4496c76a..24d89fa7 100644 --- a/src/Plugins/Injectors/CMakeLists.txt +++ b/src/Plugins/Injectors/CMakeLists.txt @@ -1,24 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# -# Based upon the hackrf/ubertooth cmake setup. project(usbproxy_injectors C) set(PACKAGE usbproxy_injectors) diff --git a/src/Plugins/Injectors/Injector_UDP.cpp b/src/Plugins/Injectors/Injector_UDP.cpp index c64a2fe2..c32d7f22 100644 --- a/src/Plugins/Injectors/Injector_UDP.cpp +++ b/src/Plugins/Injectors/Injector_UDP.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * InjectorUDP.cpp - * - * Created on: Nov 22, 2013 */ + #include #include #include diff --git a/src/Plugins/Injectors/Injector_UDP.h b/src/Plugins/Injectors/Injector_UDP.h index 866c0a51..c1c1e2ee 100644 --- a/src/Plugins/Injectors/Injector_UDP.h +++ b/src/Plugins/Injectors/Injector_UDP.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * InjectorUDP.h - * - * Created on: Nov 22, 2013 */ + #ifndef USBPROXY_INJECTORUDP_H #define USBPROXY_INJECTORUDP_H diff --git a/src/Plugins/Injectors/Injector_UDPHID.cpp b/src/Plugins/Injectors/Injector_UDPHID.cpp index bacfee14..132a17ea 100644 --- a/src/Plugins/Injectors/Injector_UDPHID.cpp +++ b/src/Plugins/Injectors/Injector_UDPHID.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * InjectorUDPHID.cpp - * - * Created on: Feb 22, 2014 */ + #include #include #include diff --git a/src/Plugins/Injectors/Injector_UDPHID.h b/src/Plugins/Injectors/Injector_UDPHID.h index fbfd9f82..8f1eb1e0 100644 --- a/src/Plugins/Injectors/Injector_UDPHID.h +++ b/src/Plugins/Injectors/Injector_UDPHID.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * InjectorUDPHID.h - * - * Created on: Feb 22, 2014 */ + #ifndef INJECTORUDPHID_H_ #define INJECTORUDPHID_H_ diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt index 1e85f9fa..ca3b1e99 100644 --- a/src/lib/CMakeLists.txt +++ b/src/lib/CMakeLists.txt @@ -1,24 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# -# Based upon the hackrf/ubertooth cmake setup. project(libusbproxy C) set(PACKAGE libusbproxy) diff --git a/src/lib/ConfigParser.cpp b/src/lib/ConfigParser.cpp index 6c74c4e0..d510c8e8 100644 --- a/src/lib/ConfigParser.cpp +++ b/src/lib/ConfigParser.cpp @@ -1,22 +1,5 @@ /* - * Copyright 2014 Dominic Spill - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #include "ConfigParser.h" diff --git a/src/lib/ConfigParser.h b/src/lib/ConfigParser.h index 4dc420c3..9266450f 100644 --- a/src/lib/ConfigParser.h +++ b/src/lib/ConfigParser.h @@ -1,22 +1,5 @@ /* - * Copyright 2014 Dominic Spill - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #ifndef USBPROXY_CONFIGPARSER_H diff --git a/src/lib/Configuration.cpp b/src/lib/Configuration.cpp index 0f70bbce..f9c29c10 100644 --- a/src/lib/Configuration.cpp +++ b/src/lib/Configuration.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Configuration.cpp - * - * Created on: Nov 6, 2013 */ #include diff --git a/src/lib/Configuration.h b/src/lib/Configuration.h index 418a1e52..e7250c9e 100644 --- a/src/lib/Configuration.h +++ b/src/lib/Configuration.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Configuration.h - * - * Created on: Nov 6, 2013 */ + #ifndef USBPROXY_CONFIGURATION_H #define USBPROXY_CONFIGURATION_H diff --git a/src/lib/Criteria.cpp b/src/lib/Criteria.cpp index 294adbe7..b56a4440 100644 --- a/src/lib/Criteria.cpp +++ b/src/lib/Criteria.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Criteria.cpp - * - * Created on: Dec 9, 2013 */ #include "Criteria.h" diff --git a/src/lib/Criteria.h b/src/lib/Criteria.h index d75eadd4..7db47166 100644 --- a/src/lib/Criteria.h +++ b/src/lib/Criteria.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Criteria.h - * - * Created on: Dec 9, 2013 */ + #ifndef USBPROXY_CRITERIA_H #define USBPROXY_CRITERIA_H diff --git a/src/lib/DefinitionErrors.h b/src/lib/DefinitionErrors.h index 846c2c2c..7f2c131c 100644 --- a/src/lib/DefinitionErrors.h +++ b/src/lib/DefinitionErrors.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * DefinitionErrors.h - * - * Created on: Nov 10, 2013 */ + #ifndef USBPROXY_DEFINITIONERRORS_H #define USBPROXY_DEFINITIONERRORS_H diff --git a/src/lib/Device.cpp b/src/lib/Device.cpp index ff55a122..9904bdd5 100644 --- a/src/lib/Device.cpp +++ b/src/lib/Device.cpp @@ -1,23 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #include diff --git a/src/lib/Device.h b/src/lib/Device.h index c1740a83..1762c966 100644 --- a/src/lib/Device.h +++ b/src/lib/Device.h @@ -1,24 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ + #ifndef USBPROXY_DEVICE_H #define USBPROXY_DEVICE_H diff --git a/src/lib/DeviceProxy.h b/src/lib/DeviceProxy.h index 3127e716..f9af7965 100644 --- a/src/lib/DeviceProxy.h +++ b/src/lib/DeviceProxy.h @@ -1,24 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ + #ifndef USBPROXY_DEVICEPROXY_H #define USBPROXY_DEVICEPROXY_H diff --git a/src/lib/DeviceQualifier.cpp b/src/lib/DeviceQualifier.cpp index 4e570495..07fb798c 100644 --- a/src/lib/DeviceQualifier.cpp +++ b/src/lib/DeviceQualifier.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * DeviceQualifier.cpp - * - * Created on: Nov 9, 2013 */ #include diff --git a/src/lib/DeviceQualifier.h b/src/lib/DeviceQualifier.h index eab48a2b..97ba274f 100644 --- a/src/lib/DeviceQualifier.h +++ b/src/lib/DeviceQualifier.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * DeviceQualifier.h - * - * Created on: Nov 9, 2013 */ + #ifndef USBPROXY_DEVICEQUALIFIER_H #define USBPROXY_DEVICEQUALIFIER_H diff --git a/src/lib/EP_IO.h b/src/lib/EP_IO.h index d7995476..6590131f 100644 --- a/src/lib/EP_IO.h +++ b/src/lib/EP_IO.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * EP_IO.h - * - * Created on: Dec 8, 2013 */ + #ifndef EP_IO_H_ #define EP_IO_H_ diff --git a/src/lib/Endpoint.cpp b/src/lib/Endpoint.cpp index c3807896..c1db5593 100644 --- a/src/lib/Endpoint.cpp +++ b/src/lib/Endpoint.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Endpoint.cpp - * - * Created on: Nov 6, 2013 */ #include diff --git a/src/lib/Endpoint.h b/src/lib/Endpoint.h index fda76824..812a8f33 100644 --- a/src/lib/Endpoint.h +++ b/src/lib/Endpoint.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Endpoint.h - * - * Created on: Nov 6, 2013 */ + #ifndef USBPROXY_ENDPOINT_H #define USBPROXY_ENDPOINT_H diff --git a/src/lib/FDInfo.c b/src/lib/FDInfo.c index 41bb103b..e0199023 100644 --- a/src/lib/FDInfo.c +++ b/src/lib/FDInfo.c @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * FDInfo.c - * - * Created on: Dec 10, 2013 */ #include diff --git a/src/lib/FDInfo.h b/src/lib/FDInfo.h index e2ecdab8..be621625 100644 --- a/src/lib/FDInfo.h +++ b/src/lib/FDInfo.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * FDInfo.h - * - * Created on: Nov 30, 2013 */ + #ifndef USBPROXY_FDINFO_H #define USBPROXY_FDINFO_H diff --git a/src/lib/HID.cpp b/src/lib/HID.cpp index ff47b305..9183d334 100644 --- a/src/lib/HID.cpp +++ b/src/lib/HID.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HID.cpp - * - * Created on: Nov 8, 2013 */ #include diff --git a/src/lib/HID.h b/src/lib/HID.h index f799ccca..50a06e34 100644 --- a/src/lib/HID.h +++ b/src/lib/HID.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HID.h - * - * Created on: Nov 8, 2013 */ + #ifndef USBPROXY_HID_H #define USBPROXY_HID_H diff --git a/src/lib/HaltSignal.c b/src/lib/HaltSignal.c index 1509949d..511db63c 100644 --- a/src/lib/HaltSignal.c +++ b/src/lib/HaltSignal.c @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HaltSignal.c - * - * Created on: Dec 10, 2013 */ #include diff --git a/src/lib/HaltSignal.h b/src/lib/HaltSignal.h index 536a12d5..2f9ae356 100644 --- a/src/lib/HaltSignal.h +++ b/src/lib/HaltSignal.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HaltSignal.h - * - * Created on: Dec 9, 2013 */ + #ifndef HALTSIGNAL_H_ #define HALTSIGNAL_H_ diff --git a/src/lib/HexString.cpp b/src/lib/HexString.cpp index 0d9d3e9b..14a3a439 100644 --- a/src/lib/HexString.cpp +++ b/src/lib/HexString.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HexString.c - * - * Created on: Dec 10, 2013 */ #include diff --git a/src/lib/HexString.h b/src/lib/HexString.h index f2429a35..b9de8255 100644 --- a/src/lib/HexString.h +++ b/src/lib/HexString.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HexPrint.h - * - * Created on: Dec 3, 2013 */ + #ifndef USBPROXY_HEXSTRING_H #define USBPROXY_HEXSTRING_H diff --git a/src/lib/HostProxy.h b/src/lib/HostProxy.h index ffc12ca3..20d305bb 100644 --- a/src/lib/HostProxy.h +++ b/src/lib/HostProxy.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * HostProxy.h - * - * Created on: Nov 10, 2013 */ + #ifndef USBPROXY_HOSTPROXY_H #define USBPROXY_HOSTPROXY_H diff --git a/src/lib/Injector.cpp b/src/lib/Injector.cpp index 91b5847f..2a4b3ad5 100644 --- a/src/lib/Injector.cpp +++ b/src/lib/Injector.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Injector.cpp - * - * Created on: Nov 12, 2013 */ #include diff --git a/src/lib/Injector.h b/src/lib/Injector.h index 8981f767..6bfe2142 100644 --- a/src/lib/Injector.h +++ b/src/lib/Injector.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Injector.h - * - * Created on: Nov 12, 2013 */ + #ifndef USBPROXY_INJECTOR_H #define USBPROXY_INJECTOR_H diff --git a/src/lib/Interface.cpp b/src/lib/Interface.cpp index 87e1752c..6b5032fa 100644 --- a/src/lib/Interface.cpp +++ b/src/lib/Interface.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Interface.cpp - * - * Created on: Nov 6, 2013 */ #include diff --git a/src/lib/Interface.h b/src/lib/Interface.h index 6528ef5f..488ffc7f 100644 --- a/src/lib/Interface.h +++ b/src/lib/Interface.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Interface.h - * - * Created on: Nov 6, 2013 */ + #ifndef USBPROXY_INTERFACE_H #define USBPROXY_INTERFACE_H diff --git a/src/lib/InterfaceGroup.cpp b/src/lib/InterfaceGroup.cpp index d1198afc..c80f5078 100644 --- a/src/lib/InterfaceGroup.cpp +++ b/src/lib/InterfaceGroup.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * InterfaceGroup.cpp - * - * Created on: Nov 6, 2013 */ #include diff --git a/src/lib/InterfaceGroup.h b/src/lib/InterfaceGroup.h index 45f6b981..478fe562 100644 --- a/src/lib/InterfaceGroup.h +++ b/src/lib/InterfaceGroup.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * InterfaceGroup.h - * - * Created on: Nov 6, 2013 */ + #ifndef USBPROXY_INTERFACEGROUP_H #define USBPROXY_INTERFACEGROUP_H diff --git a/src/lib/Manager.cpp b/src/lib/Manager.cpp index 0076130d..a08fb123 100644 --- a/src/lib/Manager.cpp +++ b/src/lib/Manager.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Manager.cpp - * - * Created on: Nov 12, 2013 */ + #include #include #include diff --git a/src/lib/Manager.h b/src/lib/Manager.h index 3a86daf3..0eb27e5e 100644 --- a/src/lib/Manager.h +++ b/src/lib/Manager.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Manager.h - * - * Created on: Nov 12, 2013 */ + #ifndef USBPROXY_MANAGER_H #define USBPROXY_MANAGER_H diff --git a/src/lib/Packet.h b/src/lib/Packet.h index 0beb44f3..5f9b4665 100644 --- a/src/lib/Packet.h +++ b/src/lib/Packet.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Packet.h - * - * Created on: Nov 11, 2013 */ + #ifndef USBPROXY_PACKET_H #define USBPROXY_PACKET_H diff --git a/src/lib/PacketFilter.cpp b/src/lib/PacketFilter.cpp index 46ca16d0..eb88971e 100644 --- a/src/lib/PacketFilter.cpp +++ b/src/lib/PacketFilter.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter.cpp - * - * Created on: Nov 11, 2013 */ #include diff --git a/src/lib/PacketFilter.h b/src/lib/PacketFilter.h index a01c5585..2a367fee 100644 --- a/src/lib/PacketFilter.h +++ b/src/lib/PacketFilter.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * PacketFilter.h - * - * Created on: Nov 11, 2013 */ + #ifndef USBPROXY_PACKETFILTER_H #define USBPROXY_PACKETFILTER_H diff --git a/src/lib/PluginManager.cpp b/src/lib/PluginManager.cpp index 82e1bace..b70cd93c 100644 --- a/src/lib/PluginManager.cpp +++ b/src/lib/PluginManager.cpp @@ -1,23 +1,5 @@ /* - * Copyright 2014 Dominic Spill - * Copyright 2014 Jahmel Harris - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #include diff --git a/src/lib/PluginManager.h b/src/lib/PluginManager.h index 311a250b..8cb2f562 100644 --- a/src/lib/PluginManager.h +++ b/src/lib/PluginManager.h @@ -1,24 +1,7 @@ /* - * Copyright 2014 Dominic Spill - * Copyright 2014 Jahmel Harris - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ + #ifndef USBPROXY_PLUGIN_MANAGER_H #define USBPROXY_PLUGIN_MANAGER_H diff --git a/src/lib/Plugins.h b/src/lib/Plugins.h index 40384c51..be768b0d 100644 --- a/src/lib/Plugins.h +++ b/src/lib/Plugins.h @@ -1,23 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ #ifndef USBPROXY_PLUGINS_H diff --git a/src/lib/Proxy.h b/src/lib/Proxy.h index 22e93edb..e0a0e256 100644 --- a/src/lib/Proxy.h +++ b/src/lib/Proxy.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * Proxy.h - * - * Created on: Dec 8, 2013 */ + #ifndef USBPROXY_PROXY_H #define USBPROXY_PROXY_H diff --git a/src/lib/RelayReader.cpp b/src/lib/RelayReader.cpp index 08d94653..ca366017 100644 --- a/src/lib/RelayReader.cpp +++ b/src/lib/RelayReader.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * RelayReader.cpp - * - * Created on: Dec 8, 2013 */ + #include #include #include diff --git a/src/lib/RelayReader.h b/src/lib/RelayReader.h index fa35b56c..bbefc798 100644 --- a/src/lib/RelayReader.h +++ b/src/lib/RelayReader.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * RelayReader.h - * - * Created on: Dec 8, 2013 */ + #ifndef RELAYREADER_H_ #define RELAYREADER_H_ diff --git a/src/lib/RelayWriter.cpp b/src/lib/RelayWriter.cpp index d3f31617..3e7b3dfa 100644 --- a/src/lib/RelayWriter.cpp +++ b/src/lib/RelayWriter.cpp @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * RelayWriter.cpp - * - * Created on: Dec 8, 2013 */ + #include #include #include diff --git a/src/lib/RelayWriter.h b/src/lib/RelayWriter.h index 6c2ced0b..f9ea8900 100644 --- a/src/lib/RelayWriter.h +++ b/src/lib/RelayWriter.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * RelayWriter.h - * - * Created on: Dec 8, 2013 */ + #ifndef RELAYWRITER_H_ #define RELAYWRITER_H_ diff --git a/src/lib/TCP_Helper.cpp b/src/lib/TCP_Helper.cpp index b055e06c..ceeda886 100644 --- a/src/lib/TCP_Helper.cpp +++ b/src/lib/TCP_Helper.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * TCP_Helper.cpp - * - * Created on: Dec 19, 2013 */ #include diff --git a/src/lib/TCP_Helper.h b/src/lib/TCP_Helper.h index 81080fdd..7293d463 100644 --- a/src/lib/TCP_Helper.h +++ b/src/lib/TCP_Helper.h @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * TCP_Helper.h - * - * Created on: Dec 19, 2013 */ #ifndef USBPROXY_TCP_HELPER_H diff --git a/src/lib/TRACE.h b/src/lib/TRACE.h index 4af48a59..bb92b776 100644 --- a/src/lib/TRACE.h +++ b/src/lib/TRACE.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * TRACE.h - * - * Created on: Nov 21, 2013 */ + #ifndef USBPROXY_TRACE_H_ #define USBPROXY_TRACE_H_ diff --git a/src/lib/USBString.cpp b/src/lib/USBString.cpp index afa7f031..641bb80e 100644 --- a/src/lib/USBString.cpp +++ b/src/lib/USBString.cpp @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * USBString.cpp - * - * Created on: Nov 7, 2013 */ #include diff --git a/src/lib/USBString.h b/src/lib/USBString.h index dc033c06..e519f813 100644 --- a/src/lib/USBString.h +++ b/src/lib/USBString.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * USBString.h - * - * Created on: Nov 7, 2013 */ + #ifndef USBPROXY_USBSTRING_H_ #define USBPROXY_USBSTRING_H_ diff --git a/src/lib/get_tid.c b/src/lib/get_tid.c index dcd57362..3f85b12e 100644 --- a/src/lib/get_tid.c +++ b/src/lib/get_tid.c @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * get_tid.c - * - * Created on: Dec 10, 2013 */ #include diff --git a/src/lib/get_tid.h b/src/lib/get_tid.h index dc82dc6f..92f7dcbd 100644 --- a/src/lib/get_tid.h +++ b/src/lib/get_tid.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * get_tid.h - * - * Created on: Dec 4, 2013 */ + #ifndef USBPROXY_GET_TID_H #define USBPROXY_GET_TID_H diff --git a/src/lib/mqueue_helpers.c b/src/lib/mqueue_helpers.c index abdc18ac..ae080dfc 100644 --- a/src/lib/mqueue_helpers.c +++ b/src/lib/mqueue_helpers.c @@ -1,27 +1,5 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * mqueue_helpers.c - * - * Created on: Dec 9, 2013 */ #include diff --git a/src/lib/mqueue_helpers.h b/src/lib/mqueue_helpers.h index d4839f7e..1fb411da 100644 --- a/src/lib/mqueue_helpers.h +++ b/src/lib/mqueue_helpers.h @@ -1,28 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. - * - * mqueue_helpers.h - * - * Created on: Dec 9, 2013 */ + #ifndef MQUEUE_HELPERS_H_ #define MQUEUE_HELPERS_H_ diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 93bf72e0..71c48c23 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -1,24 +1,6 @@ # -# Copyright 2014 Dominic Spill -# # This file is part of USBProxy. # -# 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, 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; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. -# -# Based upon the hackrf/ubertooth cmake setup. set(TOOL usb-mitm) diff --git a/src/tools/usb-mitm.cpp b/src/tools/usb-mitm.cpp index 7cb4aa41..84d67b6f 100644 --- a/src/tools/usb-mitm.cpp +++ b/src/tools/usb-mitm.cpp @@ -1,33 +1,7 @@ /* - * Copyright 2013 Dominic Spill - * Copyright 2013 Adam Stasiak - * * This file is part of USBProxy. - * - * 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 3, 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; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, - * Boston, MA 02110-1301, USA. */ -/* - * This file is based on http://www.linux-usb.org/gadget/usb.c - * That file lacks any copyright information - but it belongs to someone - * probably David Brownell - so thank you very much to him too! - */ - -/* $(CROSS_COMPILE)cc -Wall -g -o proxy proxy.c usbstring.c -lpthread */ - #include #include #include @@ -71,8 +45,10 @@ void usage(char *arg) { void cleanup(void) { } -//sigterm: stop forwarding threads, and/or hotplug loop and exit -//sighup: reset forwarding threads, reset device and gadget +/* + * sigterm: stop forwarding threads, and/or hotplug loop and exit + * sighup: reset forwarding threads, reset device and gadget + */ void handle_signal(int signum) { struct sigaction action; @@ -91,14 +67,9 @@ void handle_signal(int signum) break; case SIGHUP: // modified 20140924 atsumi@aizulab.com - // restart manager for handling reset bus. - // begin fprintf(stderr, "Received SIGHUP, restarting relaying...\n"); if (manager) {manager->stop_relaying();} if (manager) {manager->start_control_relaying();} - // fprintf(stderr, "Received SIGHUP, restarting manager..\n"); - // if ( manager) {manager->set_status( USBM_RESET);} - // end break; } } @@ -111,8 +82,6 @@ extern "C" int main(int argc, char **argv) FILE *keylog_output_file = NULL; fprintf(stderr,"SIGRTMIN: %d\n",SIGRTMIN); - // int vendorId=LIBUSB_HOTPLUG_MATCH_ANY, productId=LIBUSB_HOTPLUG_MATCH_ANY; - struct sigaction action; memset(&action, 0, sizeof(struct sigaction)); action.sa_handler = handle_signal; @@ -222,11 +191,9 @@ extern "C" int main(int argc, char **argv) usleep(10000); } - // Tidy up manager->stop_relaying(); manager->cleanup(); delete(manager); - // modified 20141015 atsumi@aizulab.com for reset bus } while ( status == USBM_RESET); if (keylog_output_file) {