diff options
author | rubidium <rubidium@openttd.org> | 2009-08-21 20:21:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-08-21 20:21:05 +0000 |
commit | 7fbc33dae1dc1f7886ad11074fc109d10d8867e0 (patch) | |
tree | 1d24733538c3e894069a08b047e140c6db3696a6 /src/network/core | |
parent | 60a3bc903460476cffc6888e9f2e6345159d032e (diff) | |
download | openttd-7fbc33dae1dc1f7886ad11074fc109d10d8867e0.tar.xz |
(svn r17248) -Fix: add GPL license notice where appropriate
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/address.cpp | 7 | ||||
-rw-r--r-- | src/network/core/address.h | 7 | ||||
-rw-r--r-- | src/network/core/config.h | 7 | ||||
-rw-r--r-- | src/network/core/core.cpp | 7 | ||||
-rw-r--r-- | src/network/core/core.h | 7 | ||||
-rw-r--r-- | src/network/core/game.h | 7 | ||||
-rw-r--r-- | src/network/core/host.cpp | 7 | ||||
-rw-r--r-- | src/network/core/host.h | 7 | ||||
-rw-r--r-- | src/network/core/os_abstraction.h | 7 | ||||
-rw-r--r-- | src/network/core/packet.cpp | 7 | ||||
-rw-r--r-- | src/network/core/packet.h | 7 | ||||
-rw-r--r-- | src/network/core/tcp.cpp | 7 | ||||
-rw-r--r-- | src/network/core/tcp.h | 7 | ||||
-rw-r--r-- | src/network/core/tcp_connect.cpp | 7 | ||||
-rw-r--r-- | src/network/core/tcp_content.cpp | 7 | ||||
-rw-r--r-- | src/network/core/tcp_content.h | 7 | ||||
-rw-r--r-- | src/network/core/tcp_game.cpp | 7 | ||||
-rw-r--r-- | src/network/core/tcp_game.h | 7 | ||||
-rw-r--r-- | src/network/core/udp.cpp | 7 | ||||
-rw-r--r-- | src/network/core/udp.h | 7 |
20 files changed, 140 insertions, 0 deletions
diff --git a/src/network/core/address.cpp b/src/network/core/address.cpp index 09ea55419..676fc66c3 100644 --- a/src/network/core/address.cpp +++ b/src/network/core/address.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** @file core/address.cpp Implementation of the address. */ #include "../../stdafx.h" diff --git a/src/network/core/address.h b/src/network/core/address.h index 7d8d61ba1..72631220c 100644 --- a/src/network/core/address.h +++ b/src/network/core/address.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** @file core/address.h Wrapper for network addresses. */ #ifndef NETWORK_ADDRESS_H diff --git a/src/network/core/config.h b/src/network/core/config.h index e7d69f3a5..9dac7ebe5 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file config.h Configuration options of the network stuff. It is used even when compiling without network support. */ diff --git a/src/network/core/core.cpp b/src/network/core/core.cpp index 1c0ecad40..76f62bced 100644 --- a/src/network/core/core.cpp +++ b/src/network/core/core.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file core.cpp Functions used to initialize/shut down the core network */ diff --git a/src/network/core/core.h b/src/network/core/core.h index 89c316402..c14bc83a9 100644 --- a/src/network/core/core.h +++ b/src/network/core/core.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file core.h Base for all network types (UDP and TCP) */ diff --git a/src/network/core/game.h b/src/network/core/game.h index 462914176..ab94481db 100644 --- a/src/network/core/game.h +++ b/src/network/core/game.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file game.h Information about a game that is sent between a * game server, game client and masterserver. diff --git a/src/network/core/host.cpp b/src/network/core/host.cpp index ef0db3238..ee9fcfe8f 100644 --- a/src/network/core/host.cpp +++ b/src/network/core/host.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** @file host.cpp Functions related to getting host specific data (IPs). */ #ifdef ENABLE_NETWORK diff --git a/src/network/core/host.h b/src/network/core/host.h index 67ce5caac..48f24e318 100644 --- a/src/network/core/host.h +++ b/src/network/core/host.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file host.h Resolving of hostnames/IPs */ diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index fcfa05ca5..3274ea9aa 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file os_abstraction.h Network stuff has many things that needs to be * included and/or implemented by default. diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp index 013235d11..7a43173f1 100644 --- a/src/network/core/packet.cpp +++ b/src/network/core/packet.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file packet.cpp Basic functions to create, fill and read packets. */ diff --git a/src/network/core/packet.h b/src/network/core/packet.h index f0202eee6..32340263c 100644 --- a/src/network/core/packet.h +++ b/src/network/core/packet.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file packet.h Basic functions to create, fill and read packets. */ diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp index dd79edbb5..032af3c50 100644 --- a/src/network/core/tcp.cpp +++ b/src/network/core/tcp.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file tcp.cpp Basic functions to receive and send TCP packets. */ diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index 1ced4bd6e..fa3f0a12e 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file tcp.h Basic functions to receive and send TCP packets. */ diff --git a/src/network/core/tcp_connect.cpp b/src/network/core/tcp_connect.cpp index 2e292b5d0..bfc642c4b 100644 --- a/src/network/core/tcp_connect.cpp +++ b/src/network/core/tcp_connect.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file tcp_connect.cpp Basic functions to create connections without blocking. */ diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp index 51934108a..b46b1bbbe 100644 --- a/src/network/core/tcp_content.cpp +++ b/src/network/core/tcp_content.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file tcp_content.cpp Basic functions to receive and send Content packets. */ diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h index 9a7d0deb8..b1b100817 100644 --- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file tcp_content.h Basic functions to receive and send TCP packets to/from the content server. */ diff --git a/src/network/core/tcp_game.cpp b/src/network/core/tcp_game.cpp index ea8cad7b9..ffa2b07f9 100644 --- a/src/network/core/tcp_game.cpp +++ b/src/network/core/tcp_game.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file tcp_game.cpp Basic functions to receive and send TCP packets for game purposes. */ diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h index 69412fcd2..080fab7d2 100644 --- a/src/network/core/tcp_game.h +++ b/src/network/core/tcp_game.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file tcp_game.h Basic functions to receive and send TCP packets for game purposes. */ diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp index 9dbf8dea4..6c03343d0 100644 --- a/src/network/core/udp.cpp +++ b/src/network/core/udp.cpp @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file core/udp.cpp Basic functions to receive and send UDP packets. */ diff --git a/src/network/core/udp.h b/src/network/core/udp.h index 226cbb0df..106c48dde 100644 --- a/src/network/core/udp.h +++ b/src/network/core/udp.h @@ -1,5 +1,12 @@ /* $Id$ */ +/* + * This file is part of OpenTTD. + * OpenTTD 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, version 2. + * OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>. + */ + /** * @file udp.h Basic functions to receive and send UDP packets. * |