From 84a499ee5944b0f6610cbd47dcc24c235dce9053 Mon Sep 17 00:00:00 2001 From: Jean Christophe Roques Date: Fri, 17 May 2024 10:00:02 +0200 Subject: [PATCH] update copyright --- .../broker/http_tsdb/http_tsdb_config.hh | 35 ++++++++-------- .../com/centreon/broker/http_tsdb/stream.hh | 41 ++++++++++--------- broker/http_tsdb/src/factory.cc | 5 ++- broker/http_tsdb/src/stream.cc | 5 ++- broker/http_tsdb/test/stream_test.cc | 2 +- .../broker/victoria_metrics/stream.hh | 35 ++++++++-------- broker/victoria_metrics/src/connector.cc | 5 ++- broker/victoria_metrics/src/stream.cc | 5 ++- broker/victoria_metrics/test/stream_test.cc | 2 +- .../com/centreon/common/http/http_client.hh | 35 ++++++++-------- .../com/centreon/common/http/http_config.hh | 35 ++++++++-------- .../centreon/common/http/http_connection.hh | 35 ++++++++-------- .../com/centreon/common/http/http_server.hh | 35 ++++++++-------- .../centreon/common/http/https_connection.hh | 35 ++++++++-------- common/http/src/http_client.cc | 2 +- common/http/src/http_connection.cc | 2 +- common/http/src/http_server.cc | 2 +- common/http/src/https_connection.cc | 2 +- common/http/test/http_client_test.cc | 4 +- common/http/test/http_connection_test.cc | 4 +- common/inc/com/centreon/common/hex_dump.hh | 5 ++- common/precomp_inc/precomp.hh | 4 +- common/src/process_stat.cc | 5 ++- common/test/process_stat_test.cc | 5 ++- common/test/test_main.cc | 24 +++++------ 25 files changed, 192 insertions(+), 177 deletions(-) diff --git a/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/http_tsdb_config.hh b/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/http_tsdb_config.hh index 7ae74f435fc..069e2d32655 100644 --- a/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/http_tsdb_config.hh +++ b/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/http_tsdb_config.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2022 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_HTTP_TSDB_CONFIG_HH #define CCB_HTTP_TSDB_CONFIG_HH diff --git a/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/stream.hh b/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/stream.hh index 47cb22627cd..bbe341c1120 100644 --- a/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/stream.hh +++ b/broker/http_tsdb/inc/com/centreon/broker/http_tsdb/stream.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2011-2017 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_HTTP_TSDB_STREAM_HH #define CCB_HTTP_TSDB_STREAM_HH @@ -66,7 +67,7 @@ inline std::ostream& operator<<(std::ostream& str, const request& req) { return str; } -/** +/* * @class stream stream.hh "com/centreon/broker/influxdb/stream.hh" * @brief tsdb stream. * This class is a base class @@ -89,7 +90,7 @@ class stream : public io::stream, public std::enable_shared_from_this { request::pointer _request; // the two beans stat_unit and stat_average are used to produce statistics // about request time - /** + /* * @brief stat cumul * this bean is used to cumulate request for example during one second */ @@ -105,7 +106,7 @@ class stream : public io::stream, public std::enable_shared_from_this { stat _metric_stat; stat _status_stat; - /** + /* * @brief this cless calc an average over a period * */ diff --git a/broker/http_tsdb/src/factory.cc b/broker/http_tsdb/src/factory.cc index 46040566dbc..d456c708776 100644 --- a/broker/http_tsdb/src/factory.cc +++ b/broker/http_tsdb/src/factory.cc @@ -1,11 +1,11 @@ /** - * Copyright 2011-2017 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -14,6 +14,7 @@ * limitations under the License. * * For more information : contact@centreon.com + * */ #include "com/centreon/broker/http_tsdb/factory.hh" diff --git a/broker/http_tsdb/src/stream.cc b/broker/http_tsdb/src/stream.cc index 9c39c46cce9..dc78b102350 100644 --- a/broker/http_tsdb/src/stream.cc +++ b/broker/http_tsdb/src/stream.cc @@ -1,11 +1,11 @@ /** - * Copyright 2022 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -14,6 +14,7 @@ * limitations under the License. * * For more information : contact@centreon.com + * */ #include "com/centreon/broker/http_tsdb/stream.hh" diff --git a/broker/http_tsdb/test/stream_test.cc b/broker/http_tsdb/test/stream_test.cc index 9edc1e336ee..c5cee36daaf 100644 --- a/broker/http_tsdb/test/stream_test.cc +++ b/broker/http_tsdb/test/stream_test.cc @@ -1,5 +1,5 @@ /** - * Copyright 2022 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/broker/victoria_metrics/inc/com/centreon/broker/victoria_metrics/stream.hh b/broker/victoria_metrics/inc/com/centreon/broker/victoria_metrics/stream.hh index 4156e1246b8..e6c1b338310 100644 --- a/broker/victoria_metrics/inc/com/centreon/broker/victoria_metrics/stream.hh +++ b/broker/victoria_metrics/inc/com/centreon/broker/victoria_metrics/stream.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2022 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_VICTORIA_METRICS_STREAM_HH #define CCB_VICTORIA_METRICS_STREAM_HH diff --git a/broker/victoria_metrics/src/connector.cc b/broker/victoria_metrics/src/connector.cc index 3c731bbdc1e..a9c06069dab 100644 --- a/broker/victoria_metrics/src/connector.cc +++ b/broker/victoria_metrics/src/connector.cc @@ -1,11 +1,11 @@ /** - * Copyright 2022 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -14,6 +14,7 @@ * limitations under the License. * * For more information : contact@centreon.com + * */ #include "com/centreon/broker/victoria_metrics/connector.hh" diff --git a/broker/victoria_metrics/src/stream.cc b/broker/victoria_metrics/src/stream.cc index 7e18f7ecf82..afe84157706 100644 --- a/broker/victoria_metrics/src/stream.cc +++ b/broker/victoria_metrics/src/stream.cc @@ -1,11 +1,11 @@ /** - * Copyright 2022 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -14,6 +14,7 @@ * limitations under the License. * * For more information : contact@centreon.com + * */ #include "com/centreon/broker/victoria_metrics/stream.hh" diff --git a/broker/victoria_metrics/test/stream_test.cc b/broker/victoria_metrics/test/stream_test.cc index 83c51955cd4..76c431167ba 100644 --- a/broker/victoria_metrics/test/stream_test.cc +++ b/broker/victoria_metrics/test/stream_test.cc @@ -1,5 +1,5 @@ /** - * Copyright 2019 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/http/inc/com/centreon/common/http/http_client.hh b/common/http/inc/com/centreon/common/http/http_client.hh index 2679cc34402..4bbe4a1f6c2 100644 --- a/common/http/inc/com/centreon/common/http/http_client.hh +++ b/common/http/inc/com/centreon/common/http/http_client.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2022 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_HTTP_CLIENT_CLIENT_HH__ #define CCB_HTTP_CLIENT_CLIENT_HH__ diff --git a/common/http/inc/com/centreon/common/http/http_config.hh b/common/http/inc/com/centreon/common/http/http_config.hh index 470b815d0af..90c0bce3aa8 100644 --- a/common/http/inc/com/centreon/common/http/http_config.hh +++ b/common/http/inc/com/centreon/common/http/http_config.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2022 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_HTTP_CLIENT_CONFIG_HH__ #define CCB_HTTP_CLIENT_CONFIG_HH__ diff --git a/common/http/inc/com/centreon/common/http/http_connection.hh b/common/http/inc/com/centreon/common/http/http_connection.hh index 2e0807ee74e..840d5f32c41 100644 --- a/common/http/inc/com/centreon/common/http/http_connection.hh +++ b/common/http/inc/com/centreon/common/http/http_connection.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2022 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_HTTP_CLIENT_CONNECTION_HH__ #define CCB_HTTP_CLIENT_CONNECTION_HH__ diff --git a/common/http/inc/com/centreon/common/http/http_server.hh b/common/http/inc/com/centreon/common/http/http_server.hh index bbc024999e9..7c9d680083b 100644 --- a/common/http/inc/com/centreon/common/http/http_server.hh +++ b/common/http/inc/com/centreon/common/http/http_server.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2022 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_HTTP_SERVER_HH__ #define CCB_HTTP_SERVER_HH__ diff --git a/common/http/inc/com/centreon/common/http/https_connection.hh b/common/http/inc/com/centreon/common/http/https_connection.hh index 5e4c839cbe8..049b5824735 100644 --- a/common/http/inc/com/centreon/common/http/https_connection.hh +++ b/common/http/inc/com/centreon/common/http/https_connection.hh @@ -1,20 +1,21 @@ -/* -** Copyright 2022 Centreon -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -** -** For more information : contact@centreon.com -*/ +/** + * Copyright 2024 Centreon (https://www.centreon.com/) + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com + * + */ #ifndef CCB_HTTPS_CLIENT_CONNECTION_HH__ #define CCB_HTTPS_CLIENT_CONNECTION_HH__ diff --git a/common/http/src/http_client.cc b/common/http/src/http_client.cc index 45155a1bb4a..fee72c2c674 100644 --- a/common/http/src/http_client.cc +++ b/common/http/src/http_client.cc @@ -1,5 +1,5 @@ /** - * Copyright 2022 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/http/src/http_connection.cc b/common/http/src/http_connection.cc index 73bbc46578e..8f7ce8f6e52 100644 --- a/common/http/src/http_connection.cc +++ b/common/http/src/http_connection.cc @@ -1,5 +1,5 @@ /** - * Copyright 2022 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/http/src/http_server.cc b/common/http/src/http_server.cc index 0f90dc29f9d..16bfa336d36 100644 --- a/common/http/src/http_server.cc +++ b/common/http/src/http_server.cc @@ -1,5 +1,5 @@ /** - * Copyright 2022 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/http/src/https_connection.cc b/common/http/src/https_connection.cc index a0d0a643573..7e2e68e59d3 100644 --- a/common/http/src/https_connection.cc +++ b/common/http/src/https_connection.cc @@ -1,5 +1,5 @@ /** - * Copyright 2022 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/http/test/http_client_test.cc b/common/http/test/http_client_test.cc index ae32a78a383..280d03f3571 100644 --- a/common/http/test/http_client_test.cc +++ b/common/http/test/http_client_test.cc @@ -1,5 +1,5 @@ /** - * Copyright 2022 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,8 +15,8 @@ * * For more information : contact@centreon.com * - * */ + #include #include diff --git a/common/http/test/http_connection_test.cc b/common/http/test/http_connection_test.cc index 53118aaccf6..fdcb820e9bd 100644 --- a/common/http/test/http_connection_test.cc +++ b/common/http/test/http_connection_test.cc @@ -1,5 +1,5 @@ /** - * Copyright 2022 Centreon (https://www.centreon.com/) + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,8 +15,8 @@ * * For more information : contact@centreon.com * - * */ + #include #include diff --git a/common/inc/com/centreon/common/hex_dump.hh b/common/inc/com/centreon/common/hex_dump.hh index 9d4bb573b71..73b570a8605 100644 --- a/common/inc/com/centreon/common/hex_dump.hh +++ b/common/inc/com/centreon/common/hex_dump.hh @@ -1,11 +1,11 @@ /** - * Copyright 2023 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -14,6 +14,7 @@ * limitations under the License. * * For more information : contact@centreon.com + * */ #ifndef CCCM_HEX_DUMP_HH diff --git a/common/precomp_inc/precomp.hh b/common/precomp_inc/precomp.hh index b7d3acbbf9c..07853c4edab 100644 --- a/common/precomp_inc/precomp.hh +++ b/common/precomp_inc/precomp.hh @@ -1,5 +1,5 @@ -/* - * Copyright 2022 Centreon (https://www.centreon.com/) +/** + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/common/src/process_stat.cc b/common/src/process_stat.cc index c7c02a4f88d..fa784d68ffa 100644 --- a/common/src/process_stat.cc +++ b/common/src/process_stat.cc @@ -1,11 +1,11 @@ /** - * Copyright 2023 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -14,6 +14,7 @@ * limitations under the License. * * For more information : contact@centreon.com + * */ #include diff --git a/common/test/process_stat_test.cc b/common/test/process_stat_test.cc index fa24f7791c9..401ccf777c5 100644 --- a/common/test/process_stat_test.cc +++ b/common/test/process_stat_test.cc @@ -1,11 +1,11 @@ /** - * Copyright 2023 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -14,6 +14,7 @@ * limitations under the License. * * For more information : contact@centreon.com + * */ #include diff --git a/common/test/test_main.cc b/common/test/test_main.cc index deb53f47cb6..995392ef7a4 100644 --- a/common/test/test_main.cc +++ b/common/test/test_main.cc @@ -1,20 +1,20 @@ /** - * Copyright 2016 Centreon + * Copyright 2024 Centreon (https://www.centreon.com/) * - * This file is part of Centreon Engine. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * Centreon Engine is free software: you can redistribute it and/or - * modify it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Centreon Engine 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. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * For more information : contact@centreon.com * - * You should have received a copy of the GNU General Public License - * along with Centreon Engine. If not, see - * . */ #include