diff --git a/include/certstore.h b/include/certstore.h index 06b5dc1ae290bc51c0c9ffa6189f1069dec9bd76..289d400d62552467ca76aded3448ae4d886662ac 100644 --- a/include/certstore.h +++ b/include/certstore.h @@ -1,28 +1,21 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once -//#include "security_const.h" -//#include "noncopyable.h" - #include <opendht/crypto.h> #include <string> diff --git a/include/connectionmanager.h b/include/connectionmanager.h index 38cd9635bf65a76a7a72be7b5f41669ce62299c1..99c74669a759a80b382d3af61f371eeb10abe2bd 100644 --- a/include/connectionmanager.h +++ b/include/connectionmanager.h @@ -1,14 +1,14 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 diff --git a/include/diffie-hellman.h b/include/diffie-hellman.h index 56fc06422250039208f76dc54ddee52646e94abe..3642a966d0826b917d88c91547d866d05f0dfb2d 100644 --- a/include/diffie-hellman.h +++ b/include/diffie-hellman.h @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include <gnutls/gnutls.h> diff --git a/include/fileutils.h b/include/fileutils.h index c2dcdc9f1f9b76602703a4cc9450251345e6543f..5116e229a8872e3465ac73a59c6367db4d947248 100644 --- a/include/fileutils.h +++ b/include/fileutils.h @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Rafaël Carré <rafael.carre@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include <string> @@ -113,7 +109,7 @@ std::mutex& getFileLock(const std::string& path); * Remove a file with optional erasing of content. * Return the same value as std::remove(). */ -//int remove(const std::string& path, bool erase = false); +int remove(const std::string& path, bool erase = false); /** * Prune given directory's content and remove it, symlinks are not followed. diff --git a/include/generic_io.h b/include/generic_io.h index db0ce33c7863434bdee18fa18eaa30744f960e95..3ad9c80822ae801be6a033aa15df519567b9b085 100644 --- a/include/generic_io.h +++ b/include/generic_io.h @@ -1,14 +1,14 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 diff --git a/include/ice_options.h b/include/ice_options.h index d3a9e83f3fa3bcce7bb193451f3eb49e879df1f0..b58751220685492a752abd7e7202543ce1089890 100644 --- a/include/ice_options.h +++ b/include/ice_options.h @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2004-2023 Savoir-faire Linux Inc. + * + * 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 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ #pragma once #include "ip_utils.h" diff --git a/include/ice_socket.h b/include/ice_socket.h index 5e3c1750ec784063cdd527c94cea34848cb63485..4a6b457f188738402bd21882ee6beee0c9cecc5b 100644 --- a/include/ice_socket.h +++ b/include/ice_socket.h @@ -1,21 +1,18 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #pragma once diff --git a/include/ice_transport.h b/include/ice_transport.h index 7403e9912caf221fc9b53db9916ff658370730c4..d1bba380688106001a12af66547a305c9fc39492 100644 --- a/include/ice_transport.h +++ b/include/ice_transport.h @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "ice_options.h" diff --git a/include/ice_transport_factory.h b/include/ice_transport_factory.h index 5b34e9f9ee3e77e10e9789edf2a0d1db178814c7..ecb04b0d6d9d5ba57895e3493858a025cb30fda0 100644 --- a/include/ice_transport_factory.h +++ b/include/ice_transport_factory.h @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "ice_options.h" diff --git a/include/ip_utils.h b/include/ip_utils.h index cf88124b8a31d6f241b18b0fb49db7e0ce3321a4..b13e563ad545d1fee153809e68612ac9096edcd8 100644 --- a/include/ip_utils.h +++ b/include/ip_utils.h @@ -1,14 +1,14 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 diff --git a/include/multiplexed_socket.h b/include/multiplexed_socket.h index 23c1ba12a6b8453172c57e158875d16d7c24b106..7b62fc378fa9a1f562d6b47436573224e61839be 100644 --- a/include/multiplexed_socket.h +++ b/include/multiplexed_socket.h @@ -1,14 +1,14 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 diff --git a/include/string_utils.h b/include/string_utils.h index 5d7e2ebf0121bdf8a8d89afd5c9d9e2eef3aa0aa..e9876df6caaf82f8f929989553a13a8afe327968 100644 --- a/include/string_utils.h +++ b/include/string_utils.h @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Tristan Matthews <tristan.matthews@savoirfairelinux.com> - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include <cstdint> diff --git a/include/tls_session.h b/include/tls_session.h index 19db4fc47675be45b75f2dc467ecc384e18aa312..87e84a2a41b3b8376a7f3d944f31a9dbf26f4844 100644 --- a/include/tls_session.h +++ b/include/tls_session.h @@ -1,26 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> - * Author: Vsevolod Ivanov <vsevolod.ivanov@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once //#include "noncopyable.h" diff --git a/include/upnp/mapping.h b/include/upnp/mapping.h index 19e6421c005caac9182c907ee5672daaf3892916..d22e64277cdd729bfeb246b280718bb4fc416e45 100644 --- a/include/upnp/mapping.h +++ b/include/upnp/mapping.h @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "../ip_utils.h" diff --git a/include/upnp/upnp_context.h b/include/upnp/upnp_context.h index 2ac63cd10a86311872fce8a8c25d3ac288d96a4d..1ed96ea56ac0596143c42a8b773451c77f6c546e 100644 --- a/include/upnp/upnp_context.h +++ b/include/upnp/upnp_context.h @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once /*#include "upnp_protocol.h" diff --git a/include/upnp/upnp_control.h b/include/upnp/upnp_control.h index 236c0c7fde2a5212e0f7deeaa983e1a91e284ce3..3926e90f3db1835de0e7f688fa7c8ad840dc8a01 100644 --- a/include/upnp/upnp_control.h +++ b/include/upnp/upnp_control.h @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "mapping.h" diff --git a/include/upnp/upnp_thread_util.h b/include/upnp/upnp_thread_util.h index 564a6ebd23912722d031fed7e207c74dc53078a5..8ba06d6e5f52626bc5e1f698bc4596396aef697b 100644 --- a/include/upnp/upnp_thread_util.h +++ b/include/upnp/upnp_thread_util.h @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2004-2023 Savoir-faire Linux Inc. + * + * 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 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ #pragma once #include <thread> diff --git a/src/connectionmanager.cpp b/src/connectionmanager.cpp index 87fcae297ac2de30916fd08512e848d1ac84fbb3..9d955a5275e132978c4b49d870ac34c58cb9fbf9 100644 --- a/src/connectionmanager.cpp +++ b/src/connectionmanager.cpp @@ -1,15 +1,14 @@ /* - * Copyright (C) 2019-2023 Savoir-faire Linux Inc. - * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> + * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 diff --git a/src/fileutils.cpp b/src/fileutils.cpp index 10679636b4d767b121cd6a78f3ae73bbaad9a108..565263c75626683803104f2ff136386e4f62ee85 100644 --- a/src/fileutils.cpp +++ b/src/fileutils.cpp @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Rafaël Carré <rafael.carre@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "fileutils.h" #include <opendht/crypto.h> diff --git a/src/ice_transport.cpp b/src/ice_transport.cpp index 9b73507eb91052ad483c582fd5792b6d9b3ed70e..0318a3d1fa81609e0198d9ef2c0d6a1858f47f55 100644 --- a/src/ice_transport.cpp +++ b/src/ice_transport.cpp @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "ice_transport.h" #include "ice_transport_factory.h" #include "ice_socket.h" diff --git a/src/ip_utils.cpp b/src/ip_utils.cpp index 2d8f098ae032593f9e79e4aa2a0b9b68b6a7c8cc..e3fd748418e3d0e9cd71ce8534b365a7160499ca 100644 --- a/src/ip_utils.cpp +++ b/src/ip_utils.cpp @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "ip_utils.h" #include "logger.h" diff --git a/src/multiplexed_socket.cpp b/src/multiplexed_socket.cpp index faf680e695b0df4545b7064547add0715405881c..085514bf61cc27e5b5edd4fc329358e598f57b66 100644 --- a/src/multiplexed_socket.cpp +++ b/src/multiplexed_socket.cpp @@ -1,21 +1,19 @@ /* - * Copyright (C) 2019-2023 Savoir-faire Linux Inc. - * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> + * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "multiplexed_socket.h" #include "peer_connection.h" #include "ice_transport.h" diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 8b6b8a98ad1a81f39507359767061588b5214046..a2c0615ef2be65fa9ffc23ee6233f9761511c692 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "peer_connection.h" #include "tls_session.h" diff --git a/src/peer_connection.h b/src/peer_connection.h index 484562a6486823efccd6303f14be127dd7a25fab..962e8d0fa6c1bf1e86ae854fe6f564a48cf6f203 100644 --- a/src/peer_connection.h +++ b/src/peer_connection.h @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "ip_utils.h" diff --git a/src/security/certstore.cpp b/src/security/certstore.cpp index f9876ef2390e8cddd3eab28293884d4bcffd589d..865493b0772b4376365051f11ceac3d8c164ce96 100644 --- a/src/security/certstore.cpp +++ b/src/security/certstore.cpp @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * Author: Vsevolod Ivanov <vsevolod.ivanov@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "certstore.h" #include "security_const.h" diff --git a/src/security/diffie-hellman.cpp b/src/security/diffie-hellman.cpp index 450a7a0c55c3030c073327c183678ca030e34556..b9970ead24633015feeb8f9c22f3f3c6a73eff5f 100644 --- a/src/security/diffie-hellman.cpp +++ b/src/security/diffie-hellman.cpp @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "diffie-hellman.h" #include "logger.h" #include "fileutils.h" diff --git a/src/security/security_const.h b/src/security/security_const.h index 0160e36b8e4156623aa1c5e01afdc576406a6871..0873e1b071e26643d7f91d0f2ab07a901f6762da 100644 --- a/src/security/security_const.h +++ b/src/security/security_const.h @@ -1,21 +1,18 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Philippe Proulx <philippe.proulx@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #pragma once diff --git a/src/security/threadloop.cpp b/src/security/threadloop.cpp index 5db493e70dd8b777d115f68fb7c5184b68737084..ab570f26d67fcc5569492ec8c4dff42f960c05e1 100644 --- a/src/security/threadloop.cpp +++ b/src/security/threadloop.cpp @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <Guillaume.Roguez@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "threadloop.h" #include <ciso646> // fix windows compiler bug diff --git a/src/security/threadloop.h b/src/security/threadloop.h index de4e475bf9802c743d516df2ac0087ec3cda4135..58524244430f6967851a868aae715e62a8e24179 100644 --- a/src/security/threadloop.h +++ b/src/security/threadloop.h @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Guillaume Roguez <Guillaume.Roguez@savoirfairelinux.com> - * Author: Eloi Bail <Eloi.Bail@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include <atomic> diff --git a/src/security/tls_session.cpp b/src/security/tls_session.cpp index 94078a3e64475837af071c88d99a7f4f798c15ca..ef856379b59aedda4aca6d8e02e6f6a5fe719f8f 100644 --- a/src/security/tls_session.cpp +++ b/src/security/tls_session.cpp @@ -1,24 +1,18 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * Author: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> - * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> - * Author: Vsevolod Ivanov <vsevolod.ivanov@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "tls_session.h" #include "threadloop.h" diff --git a/src/sip_utils.h b/src/sip_utils.h index 453344e87879f64ab8a7eb674ef1c29b62060b1a..25b2a2ea72fed519036fdbc50dd61e540509ad0b 100644 --- a/src/sip_utils.h +++ b/src/sip_utils.h @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Tristan Matthews <tristan.matthews@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "ip_utils.h" diff --git a/src/string_utils.cpp b/src/string_utils.cpp index 3ab43593a034682b7babbd9a382c2ec7b2b99dac..e3141ae3fb3ef73a3c9cba5649349f15e0a4ee41 100644 --- a/src/string_utils.cpp +++ b/src/string_utils.cpp @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Tristan Matthews <tristan.matthews@savoirfairelinux.com> - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "string_utils.h" #include <fmt/core.h> diff --git a/src/tracepoint/trace-tools.h b/src/tracepoint/trace-tools.h index ccd65cdf834cb59072d237908cb8d611f82e114a..3e1f0ff150018296934e50fffede35997546aff1 100644 --- a/src/tracepoint/trace-tools.h +++ b/src/tracepoint/trace-tools.h @@ -1,23 +1,19 @@ /* - * Copyright (C) 2022-2023 Savoir-faire Linux Inc. + * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Olivier Dion <olivier.dion@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #ifdef ENABLE_TRACEPOINTS diff --git a/src/tracepoint/tracepoint.h b/src/tracepoint/tracepoint.h index 1e7f9a378dd16abc4bf391b601c7f72fe8ce73ae..83c4d7086cae8d092be33cb512d2298b1cef1e74 100644 --- a/src/tracepoint/tracepoint.h +++ b/src/tracepoint/tracepoint.h @@ -1,23 +1,19 @@ /* - * Copyright (C) 2022-2023 Savoir-faire Linux Inc. + * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Olivier Dion <olivier.dion@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmissing-field-initializers" diff --git a/src/transport/peer_channel.h b/src/transport/peer_channel.h index a2a910f9ab1086cabe37bbfe01c670079376c828..62dd76ed0356336b8867b95fa98e18f12f2d3985 100644 --- a/src/transport/peer_channel.h +++ b/src/transport/peer_channel.h @@ -1,16 +1,14 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. - * Authors: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 diff --git a/src/upnp/protocol/igd.cpp b/src/upnp/protocol/igd.cpp index e816fb896b91308d4268bb10689e3cdd1fb3c590..2b0b2891bbb4e65d40fcb5b9f478ff5dd08e2da1 100644 --- a/src/upnp/protocol/igd.cpp +++ b/src/upnp/protocol/igd.cpp @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "igd.h" //#include "logger.h" diff --git a/src/upnp/protocol/igd.h b/src/upnp/protocol/igd.h index 7e1d21128a30095ed15a15ff82f1369e052dc72d..5ee5549c8a6f7d61ca7e3dacedb8cf303acbd936 100644 --- a/src/upnp/protocol/igd.h +++ b/src/upnp/protocol/igd.h @@ -1,22 +1,18 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #pragma once diff --git a/src/upnp/protocol/mapping.cpp b/src/upnp/protocol/mapping.cpp index 9b285e9f12626073db8b09f1cf45840e2f7febc0..bcd53b5d35fbbf61e27c46d36c3703dca6e768ea 100644 --- a/src/upnp/protocol/mapping.cpp +++ b/src/upnp/protocol/mapping.cpp @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "upnp/mapping.h" // #include "logger.h" #include "igd.h" diff --git a/src/upnp/protocol/natpmp/nat_pmp.cpp b/src/upnp/protocol/natpmp/nat_pmp.cpp index 8f04a19838691944de038dc4ac9af1d0933e78bd..b0aa78ca68757abadaecb2465591227b9683a2f1 100644 --- a/src/upnp/protocol/natpmp/nat_pmp.cpp +++ b/src/upnp/protocol/natpmp/nat_pmp.cpp @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "nat_pmp.h" #if HAVE_LIBNATPMP diff --git a/src/upnp/protocol/natpmp/nat_pmp.h b/src/upnp/protocol/natpmp/nat_pmp.h index 1ecf90ebd360777306790745c965521d395f9282..b62b2f59a6db5744bda09b5b044f4ed41246e0a9 100644 --- a/src/upnp/protocol/natpmp/nat_pmp.h +++ b/src/upnp/protocol/natpmp/nat_pmp.h @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "connectivity/upnp/protocol/upnp_protocol.h" diff --git a/src/upnp/protocol/natpmp/pmp_igd.cpp b/src/upnp/protocol/natpmp/pmp_igd.cpp index 41f25dd88cfa9134d00b01131e6ab1f528b667e1..e43c0c6f333eadd5b349f8527a0af15b50b3e05a 100644 --- a/src/upnp/protocol/natpmp/pmp_igd.cpp +++ b/src/upnp/protocol/natpmp/pmp_igd.cpp @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "pmp_igd.h" #include <algorithm> diff --git a/src/upnp/protocol/natpmp/pmp_igd.h b/src/upnp/protocol/natpmp/pmp_igd.h index b6274624409a1e1ff2dfc6d160b2381b20184eaf..84a042bb67a69e8e23e5b2a7bb5c89d1e2488e92 100644 --- a/src/upnp/protocol/natpmp/pmp_igd.h +++ b/src/upnp/protocol/natpmp/pmp_igd.h @@ -1,23 +1,18 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #pragma once diff --git a/src/upnp/protocol/pupnp/pupnp.cpp b/src/upnp/protocol/pupnp/pupnp.cpp index 4df86211e5ff11861fff8aa1ce4cdba0fbf1e1f4..ad6ef9e37feb7bd2f32e58cbc71ae23decea1a9a 100644 --- a/src/upnp/protocol/pupnp/pupnp.cpp +++ b/src/upnp/protocol/pupnp/pupnp.cpp @@ -1,26 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Adrien Béraud <adrien.beraud@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "pupnp.h" #include <opendht/thread_pool.h> diff --git a/src/upnp/protocol/pupnp/pupnp.h b/src/upnp/protocol/pupnp/pupnp.h index 7c5939c63bbc37990c12a621ddcb28efcdcc1740..268846f30f552470eb6793605ea90d94b20795c4 100644 --- a/src/upnp/protocol/pupnp/pupnp.h +++ b/src/upnp/protocol/pupnp/pupnp.h @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #ifdef _WIN32 diff --git a/src/upnp/protocol/pupnp/upnp_igd.cpp b/src/upnp/protocol/pupnp/upnp_igd.cpp index 18be2d4ac7b1dde4d5172872692f0ca1e6d76f8c..6e36a9b9e0d2d0f36e8727f94f02ef6e2574b76b 100644 --- a/src/upnp/protocol/pupnp/upnp_igd.cpp +++ b/src/upnp/protocol/pupnp/upnp_igd.cpp @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "upnp_igd.h" namespace dhtnet { diff --git a/src/upnp/protocol/pupnp/upnp_igd.h b/src/upnp/protocol/pupnp/upnp_igd.h index da6b40037416e0eb9a8323ac6eeea0e22f13a40a..077f07196a5a3b3ae3814c4108f3bc11b4c0facc 100644 --- a/src/upnp/protocol/pupnp/upnp_igd.h +++ b/src/upnp/protocol/pupnp/upnp_igd.h @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "connectivity/upnp/protocol/igd.h" diff --git a/src/upnp/protocol/upnp_protocol.h b/src/upnp/protocol/upnp_protocol.h index 9ab83395f7e6f717008eeac5d7003998d0d2c564..d960d3e6ad3ed15da5c26aebe9202b0f2b4f1341 100644 --- a/src/upnp/protocol/upnp_protocol.h +++ b/src/upnp/protocol/upnp_protocol.h @@ -1,24 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #pragma once #include "igd.h" diff --git a/src/upnp/upnp_context.cpp b/src/upnp/upnp_context.cpp index 5aa3f7852111a769c0c216cf01352a12e3b82f2b..c4344cf7a7761796030405f84cda5e865835116d 100644 --- a/src/upnp/upnp_context.cpp +++ b/src/upnp/upnp_context.cpp @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "upnp/upnp_context.h" #include "protocol/upnp_protocol.h" diff --git a/src/upnp/upnp_control.cpp b/src/upnp/upnp_control.cpp index 2c7f07afda8a7a64ebdda6ebf38b1c2111fe38df..77db1cefe3247cb0601b59487cc6693f54afb43f 100644 --- a/src/upnp/upnp_control.cpp +++ b/src/upnp/upnp_control.cpp @@ -1,25 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> - * Author: Eden Abitbol <eden.abitbol@savoirfairelinux.com> - * Author: Mohamed Chibani <mohamed.chibani@savoirfairelinux.com> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include "upnp/upnp_control.h" #include "upnp/upnp_context.h" diff --git a/tests/certstore.cpp b/tests/certstore.cpp index 43967c68e0905ca081f83b31bf8862871f587c37..01005e91582ff6bfa895ee3ce18daf5b83f0206b 100644 --- a/tests/certstore.cpp +++ b/tests/certstore.cpp @@ -1,23 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * Author: florian Wiesweg <florian.wiesweg@campus.tu-berlin.de> - * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> diff --git a/tests/connectionManager.cpp b/tests/connectionManager.cpp index 90321f84121fc397e318282ca899f4fa50c8277a..cc74dd83d909d73756f301db66cc711e6af44318 100644 --- a/tests/connectionManager.cpp +++ b/tests/connectionManager.cpp @@ -1,21 +1,19 @@ /* - * Copyright (C) 2017-2023 Savoir-faire Linux Inc. - * Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> + * Copyright (C) 2004-2023 Savoir-faire Linux Inc. * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> diff --git a/tests/testFileutils.cpp b/tests/testFileutils.cpp index 34ca646de174d23109eb77d5ca83e456d354087b..fa353a6ad2bb619aa98abd8e51638a89bd6caa49 100644 --- a/tests/testFileutils.cpp +++ b/tests/testFileutils.cpp @@ -1,22 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. - * Author: Olivier Gregoire <olivier.gregoire@savoirfairelinux.com> * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> diff --git a/tests/testString_utils.cpp b/tests/testString_utils.cpp index 60c136379d1445f1a0330325bca36e05fdb5d437..b858c77748f3bd2b1e2328a0f052667be3e7c454 100644 --- a/tests/testString_utils.cpp +++ b/tests/testString_utils.cpp @@ -1,22 +1,19 @@ /* * Copyright (C) 2004-2023 Savoir-faire Linux Inc. - * Author: Olivier Gregoire <olivier.gregoire@savoirfairelinux.com> * - * This program is free software; you can redistribute it and/or modify + * 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 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ - #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h>