summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-03-12 01:10:33 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-03-14 13:06:19 +0000
commit11ad5471b91dc1b36552ba4e5a3ea434c8a30f5f (patch)
tree94429d74652509b06efef17d17734f647ee4e6ce
parentc644ef76810f8db61bce3f52d36a1a6a25e47683 (diff)
Use spdx license identifier instead of GPL blurb.
-rw-r--r--auto_tests/file_saving_test.c25
-rw-r--r--other/DHT_bootstrap.c25
-rw-r--r--other/bootstrap_daemon/src/command_line_arguments.c25
-rw-r--r--other/bootstrap_daemon/src/command_line_arguments.h25
-rw-r--r--other/bootstrap_daemon/src/config.c25
-rw-r--r--other/bootstrap_daemon/src/config.h25
-rw-r--r--other/bootstrap_daemon/src/config_defaults.h25
-rw-r--r--other/bootstrap_daemon/src/global.h25
-rw-r--r--other/bootstrap_daemon/src/log.c25
-rw-r--r--other/bootstrap_daemon/src/log.h25
-rw-r--r--other/bootstrap_daemon/src/log_backend_stdout.c25
-rw-r--r--other/bootstrap_daemon/src/log_backend_stdout.h25
-rw-r--r--other/bootstrap_daemon/src/log_backend_syslog.c25
-rw-r--r--other/bootstrap_daemon/src/log_backend_syslog.h25
-rw-r--r--other/bootstrap_daemon/src/tox-bootstrapd.c25
-rw-r--r--other/bootstrap_node_packets.c25
-rw-r--r--other/bootstrap_node_packets.h25
-rw-r--r--testing/DHT_test.c25
-rw-r--r--testing/Messenger_test.c25
-rw-r--r--testing/misc_tools.c23
-rw-r--r--toxav/audio.c17
-rw-r--r--toxav/audio.h17
-rw-r--r--toxav/bwcontroller.c17
-rw-r--r--toxav/bwcontroller.h17
-rw-r--r--toxav/groupav.c17
-rw-r--r--toxav/groupav.h17
-rw-r--r--toxav/msi.c17
-rw-r--r--toxav/msi.h17
-rw-r--r--toxav/ring_buffer.c18
-rw-r--r--toxav/ring_buffer.h18
-rw-r--r--toxav/rtp.c17
-rw-r--r--toxav/rtp.h17
-rw-r--r--toxav/toxav.api.h17
-rw-r--r--toxav/toxav.c17
-rw-r--r--toxav/toxav.h17
-rw-r--r--toxav/toxav_old.c18
-rw-r--r--toxav/video.c17
-rw-r--r--toxav/video.h17
-rw-r--r--toxcore/DHT.c23
-rw-r--r--toxcore/DHT.h23
-rw-r--r--toxcore/LAN_discovery.api.h23
-rw-r--r--toxcore/LAN_discovery.c23
-rw-r--r--toxcore/LAN_discovery.h23
-rw-r--r--toxcore/Messenger.c23
-rw-r--r--toxcore/Messenger.h25
-rw-r--r--toxcore/TCP_client.c23
-rw-r--r--toxcore/TCP_client.h23
-rw-r--r--toxcore/TCP_connection.c23
-rw-r--r--toxcore/TCP_connection.h23
-rw-r--r--toxcore/TCP_server.c23
-rw-r--r--toxcore/TCP_server.h23
-rw-r--r--toxcore/crypto_core.api.h23
-rw-r--r--toxcore/crypto_core.c25
-rw-r--r--toxcore/crypto_core.h23
-rw-r--r--toxcore/friend_connection.c23
-rw-r--r--toxcore/friend_connection.h23
-rw-r--r--toxcore/friend_requests.c23
-rw-r--r--toxcore/friend_requests.h23
-rw-r--r--toxcore/group.c23
-rw-r--r--toxcore/group.h23
-rw-r--r--toxcore/list.c25
-rw-r--r--toxcore/list.h25
-rw-r--r--toxcore/logger.c23
-rw-r--r--toxcore/logger.h23
-rw-r--r--toxcore/mono_time.c4
-rw-r--r--toxcore/mono_time.h4
-rw-r--r--toxcore/net_crypto.c25
-rw-r--r--toxcore/net_crypto.h23
-rw-r--r--toxcore/network.c23
-rw-r--r--toxcore/network.h23
-rw-r--r--toxcore/onion.c23
-rw-r--r--toxcore/onion.h23
-rw-r--r--toxcore/onion_announce.c23
-rw-r--r--toxcore/onion_announce.h23
-rw-r--r--toxcore/onion_client.c25
-rw-r--r--toxcore/onion_client.h25
-rw-r--r--toxcore/ping.api.h26
-rw-r--r--toxcore/ping.c26
-rw-r--r--toxcore/ping.h26
-rw-r--r--toxcore/ping_array.api.h23
-rw-r--r--toxcore/ping_array.c23
-rw-r--r--toxcore/ping_array.h23
-rw-r--r--toxcore/state.c4
-rw-r--r--toxcore/state.h5
-rw-r--r--toxcore/tox.api.h23
-rw-r--r--toxcore/tox.c23
-rw-r--r--toxcore/tox.h23
-rw-r--r--toxcore/util.c26
-rw-r--r--toxcore/util.h26
-rw-r--r--toxencryptsave/toxencryptsave.api.h23
-rw-r--r--toxencryptsave/toxencryptsave.c23
-rw-r--r--toxencryptsave/toxencryptsave.h23
92 files changed, 347 insertions, 1656 deletions
diff --git a/auto_tests/file_saving_test.c b/auto_tests/file_saving_test.c
index 19a21dfe..7faa6b20 100644
--- a/auto_tests/file_saving_test.c
+++ b/auto_tests/file_saving_test.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Small test for checking if obtaining savedata, saving it to disk and using 2 * Copyright © 2016-2018 The TokTok team.
3 * works correctly. 3 * Copyright © 2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Small test for checking if obtaining savedata, saving it to disk and using
8 * Copyright © 2016 Tox project. 8 * works correctly.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25 10
26#ifdef HAVE_CONFIG_H 11#ifdef HAVE_CONFIG_H
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c
index 2c47ee8f..49ad8013 100644
--- a/other/DHT_bootstrap.c
+++ b/other/DHT_bootstrap.c
@@ -1,27 +1,12 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * DHT bootstrap 2 * Copyright © 2016-2018 The TokTok team.
3 * 3 * Copyright © 2013 Tox project.
4 * A simple DHT boostrap node for tox.
5 */ 4 */
6 5
7/* 6/*
8 * Copyright © 2016-2018 The TokTok team. 7 * DHT bootstrap
9 * Copyright © 2013 Tox project.
10 *
11 * This file is part of Tox, the free peer to peer instant messenger.
12 *
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 * 8 *
23 * You should have received a copy of the GNU General Public License 9 * A simple DHT boostrap node for tox.
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 10 */
26#include <stdio.h> 11#include <stdio.h>
27#include <stdlib.h> 12#include <stdlib.h>
diff --git a/other/bootstrap_daemon/src/command_line_arguments.c b/other/bootstrap_daemon/src/command_line_arguments.c
index 4b3f3e23..f7af443e 100644
--- a/other/bootstrap_daemon/src/command_line_arguments.c
+++ b/other/bootstrap_daemon/src/command_line_arguments.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Command line argument handling. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Command line argument handling.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#include "command_line_arguments.h" 10#include "command_line_arguments.h"
26 11
diff --git a/other/bootstrap_daemon/src/command_line_arguments.h b/other/bootstrap_daemon/src/command_line_arguments.h
index e6e69eed..2cb8edd9 100644
--- a/other/bootstrap_daemon/src/command_line_arguments.h
+++ b/other/bootstrap_daemon/src/command_line_arguments.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Command line argument handling. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Command line argument handling.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_COMMAND_LINE_ARGUMENTS_H 10#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_COMMAND_LINE_ARGUMENTS_H
26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_COMMAND_LINE_ARGUMENTS_H 11#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_COMMAND_LINE_ARGUMENTS_H
diff --git a/other/bootstrap_daemon/src/config.c b/other/bootstrap_daemon/src/config.c
index 326b6f5b..753c218b 100644
--- a/other/bootstrap_daemon/src/config.c
+++ b/other/bootstrap_daemon/src/config.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Functionality related to dealing with the config file. 3 * Copyright © 2014-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2014-2016 Tox project. 8 * Functionality related to dealing with the config file.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#include "config.h" 10#include "config.h"
26 11
diff --git a/other/bootstrap_daemon/src/config.h b/other/bootstrap_daemon/src/config.h
index 022419bf..50507b55 100644
--- a/other/bootstrap_daemon/src/config.h
+++ b/other/bootstrap_daemon/src/config.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Functionality related to dealing with the config file. 3 * Copyright © 2014-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2014-2016 Tox project. 8 * Functionality related to dealing with the config file.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_H 10#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_H
26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_H 11#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_H
diff --git a/other/bootstrap_daemon/src/config_defaults.h b/other/bootstrap_daemon/src/config_defaults.h
index 2b9bbf8e..a48e5fef 100644
--- a/other/bootstrap_daemon/src/config_defaults.h
+++ b/other/bootstrap_daemon/src/config_defaults.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Default config options for when they are missing in the config file. 3 * Copyright © 2014-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2014-2016 Tox project. 8 * Default config options for when they are missing in the config file.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H 10#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H 11#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_CONFIG_DEFAULTS_H
diff --git a/other/bootstrap_daemon/src/global.h b/other/bootstrap_daemon/src/global.h
index c939f19d..11a9d73d 100644
--- a/other/bootstrap_daemon/src/global.h
+++ b/other/bootstrap_daemon/src/global.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Globally used defines. 3 * Copyright © 2014-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2014-2016 Tox project. 8 * Globally used defines.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_GLOBAL_H 10#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_GLOBAL_H
26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_GLOBAL_H 11#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_GLOBAL_H
diff --git a/other/bootstrap_daemon/src/log.c b/other/bootstrap_daemon/src/log.c
index 4c8a9402..6f498b22 100644
--- a/other/bootstrap_daemon/src/log.c
+++ b/other/bootstrap_daemon/src/log.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Logging utility with support of multiple logging backends. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Logging utility with support of multiple logging backends.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#include "log.h" 10#include "log.h"
26#include "log_backend_stdout.h" 11#include "log_backend_stdout.h"
diff --git a/other/bootstrap_daemon/src/log.h b/other/bootstrap_daemon/src/log.h
index 9327da6c..162b8683 100644
--- a/other/bootstrap_daemon/src/log.h
+++ b/other/bootstrap_daemon/src/log.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Logging utility with support of multiple logging backends. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Logging utility with support of multiple logging backends.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_H 10#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_H
26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_H 11#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_H
diff --git a/other/bootstrap_daemon/src/log_backend_stdout.c b/other/bootstrap_daemon/src/log_backend_stdout.c
index 8d70ba0a..3fac48c0 100644
--- a/other/bootstrap_daemon/src/log_backend_stdout.c
+++ b/other/bootstrap_daemon/src/log_backend_stdout.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Stdout logging backend. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Stdout logging backend.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#include "log_backend_stdout.h" 10#include "log_backend_stdout.h"
26 11
diff --git a/other/bootstrap_daemon/src/log_backend_stdout.h b/other/bootstrap_daemon/src/log_backend_stdout.h
index 3ebcd069..b2c8dc7b 100644
--- a/other/bootstrap_daemon/src/log_backend_stdout.h
+++ b/other/bootstrap_daemon/src/log_backend_stdout.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Stdout logging backend. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Stdout logging backend.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_STDOUT_H 10#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_STDOUT_H
26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_STDOUT_H 11#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_STDOUT_H
diff --git a/other/bootstrap_daemon/src/log_backend_syslog.c b/other/bootstrap_daemon/src/log_backend_syslog.c
index c656f485..ad2bf4eb 100644
--- a/other/bootstrap_daemon/src/log_backend_syslog.c
+++ b/other/bootstrap_daemon/src/log_backend_syslog.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Syslog logging backend. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Syslog logging backend.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#include "log_backend_syslog.h" 10#include "log_backend_syslog.h"
26 11
diff --git a/other/bootstrap_daemon/src/log_backend_syslog.h b/other/bootstrap_daemon/src/log_backend_syslog.h
index 6afae224..6cb9eade 100644
--- a/other/bootstrap_daemon/src/log_backend_syslog.h
+++ b/other/bootstrap_daemon/src/log_backend_syslog.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Syslog logging backend. 3 * Copyright © 2015-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2015-2016 Tox project. 8 * Syslog logging backend.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H 10#ifndef C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
26#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H 11#define C_TOXCORE_OTHER_BOOTSTRAP_DAEMON_SRC_LOG_BACKEND_SYSLOG_H
diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c
index 88f45494..2bef50e9 100644
--- a/other/bootstrap_daemon/src/tox-bootstrapd.c
+++ b/other/bootstrap_daemon/src/tox-bootstrapd.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Tox DHT bootstrap daemon. 2 * Copyright © 2016-2018 The TokTok team.
3 * Main file. 3 * Copyright © 2014-2016 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Tox DHT bootstrap daemon.
8 * Copyright © 2014-2016 Tox project. 8 * Main file.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef _XOPEN_SOURCE 10#ifndef _XOPEN_SOURCE
26#define _XOPEN_SOURCE 600 11#define _XOPEN_SOURCE 600
diff --git a/other/bootstrap_node_packets.c b/other/bootstrap_node_packets.c
index 8b809013..a60dcad2 100644
--- a/other/bootstrap_node_packets.c
+++ b/other/bootstrap_node_packets.c
@@ -1,27 +1,12 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Special bootstrap node only packets. 2 * Copyright © 2016-2018 The TokTok team.
3 * 3 * Copyright © 2013 Tox project.
4 * Include it in your bootstrap node and use: bootstrap_set_callbacks() to enable.
5 */ 4 */
6 5
7/* 6/*
8 * Copyright © 2016-2018 The TokTok team. 7 * Special bootstrap node only packets.
9 * Copyright © 2013 Tox project.
10 *
11 * This file is part of Tox, the free peer to peer instant messenger.
12 *
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 * 8 *
23 * You should have received a copy of the GNU General Public License 9 * Include it in your bootstrap node and use: bootstrap_set_callbacks() to enable.
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 10 */
26#include "bootstrap_node_packets.h" 11#include "bootstrap_node_packets.h"
27 12
diff --git a/other/bootstrap_node_packets.h b/other/bootstrap_node_packets.h
index 1b8b87f2..ebf69261 100644
--- a/other/bootstrap_node_packets.h
+++ b/other/bootstrap_node_packets.h
@@ -1,27 +1,12 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Special bootstrap node only packets. 2 * Copyright © 2016-2018 The TokTok team.
3 * 3 * Copyright © 2015 Tox project.
4 * Include it in your bootstrap node and use: bootstrap_set_callbacks() to enable.
5 */ 4 */
6 5
7/* 6/*
8 * Copyright © 2016-2018 The TokTok team. 7 * Special bootstrap node only packets.
9 * Copyright © 2015 Tox project.
10 *
11 * This file is part of Tox, the free peer to peer instant messenger.
12 *
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 * 8 *
23 * You should have received a copy of the GNU General Public License 9 * Include it in your bootstrap node and use: bootstrap_set_callbacks() to enable.
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 10 */
26#ifndef C_TOXCORE_OTHER_BOOTSTRAP_NODE_PACKETS_H 11#ifndef C_TOXCORE_OTHER_BOOTSTRAP_NODE_PACKETS_H
27#define C_TOXCORE_OTHER_BOOTSTRAP_NODE_PACKETS_H 12#define C_TOXCORE_OTHER_BOOTSTRAP_NODE_PACKETS_H
diff --git a/testing/DHT_test.c b/testing/DHT_test.c
index 7e9a4a5f..8ba61ec2 100644
--- a/testing/DHT_test.c
+++ b/testing/DHT_test.c
@@ -1,3 +1,8 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
4 */
5
1/* DHT test 6/* DHT test
2 * A file with a main that runs our DHT for testing. 7 * A file with a main that runs our DHT for testing.
3 * 8 *
@@ -8,26 +13,6 @@
8 * 13 *
9 * The test will then ask you for the id (in hex format) of the friend you wish to add 14 * The test will then ask you for the id (in hex format) of the friend you wish to add
10 */ 15 */
11
12/*
13 * Copyright © 2016-2018 The TokTok team.
14 * Copyright © 2013 Tox project.
15 *
16 * This file is part of Tox, the free peer to peer instant messenger.
17 *
18 * Tox is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation, either version 3 of the License, or
21 * (at your option) any later version.
22 *
23 * Tox is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
27 *
28 * You should have received a copy of the GNU General Public License
29 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
30 */
31#ifndef _XOPEN_SOURCE 16#ifndef _XOPEN_SOURCE
32#define _XOPEN_SOURCE 600 17#define _XOPEN_SOURCE 600
33#endif 18#endif
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c
index a61d0dcf..8ac8db67 100644
--- a/testing/Messenger_test.c
+++ b/testing/Messenger_test.c
@@ -1,3 +1,8 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
4 */
5
1/* Messenger test 6/* Messenger test
2 * 7 *
3 * This program adds a friend and accepts all friend requests with the proper message. 8 * This program adds a friend and accepts all friend requests with the proper message.
@@ -18,26 +23,6 @@
18 * 23 *
19 * EX: ./test Save.bak 24 * EX: ./test Save.bak
20 */ 25 */
21
22/*
23 * Copyright © 2016-2018 The TokTok team.
24 * Copyright © 2013 Tox project.
25 *
26 * This file is part of Tox, the free peer to peer instant messenger.
27 *
28 * Tox is free software: you can redistribute it and/or modify
29 * it under the terms of the GNU General Public License as published by
30 * the Free Software Foundation, either version 3 of the License, or
31 * (at your option) any later version.
32 *
33 * Tox is distributed in the hope that it will be useful,
34 * but WITHOUT ANY WARRANTY; without even the implied warranty of
35 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 * GNU General Public License for more details.
37 *
38 * You should have received a copy of the GNU General Public License
39 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
40 */
41#include <stdio.h> 26#include <stdio.h>
42#include <stdlib.h> 27#include <stdlib.h>
43#include <string.h> 28#include <string.h>
diff --git a/testing/misc_tools.c b/testing/misc_tools.c
index 22fa0d0c..8ab23db9 100644
--- a/testing/misc_tools.c
+++ b/testing/misc_tools.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Miscellaneous functions and data structures for doing random things. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Miscellaneous functions and data structures for doing random things.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxav/audio.c b/toxav/audio.c
index de007424..d4618aaf 100644
--- a/toxav/audio.c
+++ b/toxav/audio.c
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
21#include "config.h" 6#include "config.h"
diff --git a/toxav/audio.h b/toxav/audio.h
index ccb28c10..6d609ee7 100644
--- a/toxav/audio.h
+++ b/toxav/audio.h
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifndef C_TOXCORE_TOXAV_AUDIO_H 5#ifndef C_TOXCORE_TOXAV_AUDIO_H
21#define C_TOXCORE_TOXAV_AUDIO_H 6#define C_TOXCORE_TOXAV_AUDIO_H
diff --git a/toxav/bwcontroller.c b/toxav/bwcontroller.c
index 113a228e..4440470d 100644
--- a/toxav/bwcontroller.c
+++ b/toxav/bwcontroller.c
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
21#include "config.h" 6#include "config.h"
diff --git a/toxav/bwcontroller.h b/toxav/bwcontroller.h
index c54cc5a6..a84898b1 100644
--- a/toxav/bwcontroller.h
+++ b/toxav/bwcontroller.h
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifndef C_TOXCORE_TOXAV_BWCONTROLLER_H 5#ifndef C_TOXCORE_TOXAV_BWCONTROLLER_H
21#define C_TOXCORE_TOXAV_BWCONTROLLER_H 6#define C_TOXCORE_TOXAV_BWCONTROLLER_H
diff --git a/toxav/groupav.c b/toxav/groupav.c
index 891b35e6..3bc2649a 100644
--- a/toxav/groupav.c
+++ b/toxav/groupav.c
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project. 3 * Copyright © 2014 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
21#include "config.h" 6#include "config.h"
diff --git a/toxav/groupav.h b/toxav/groupav.h
index 9d5351a4..42c230a8 100644
--- a/toxav/groupav.h
+++ b/toxav/groupav.h
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project. 3 * Copyright © 2014 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifndef C_TOXCORE_TOXAV_GROUPAV_H 5#ifndef C_TOXCORE_TOXAV_GROUPAV_H
21#define C_TOXCORE_TOXAV_GROUPAV_H 6#define C_TOXCORE_TOXAV_GROUPAV_H
diff --git a/toxav/msi.c b/toxav/msi.c
index f82b91ba..84a18f36 100644
--- a/toxav/msi.c
+++ b/toxav/msi.c
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
21#include "config.h" 6#include "config.h"
diff --git a/toxav/msi.h b/toxav/msi.h
index af7f6f34..e50171e5 100644
--- a/toxav/msi.h
+++ b/toxav/msi.h
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifndef C_TOXCORE_TOXAV_MSI_H 5#ifndef C_TOXCORE_TOXAV_MSI_H
21#define C_TOXCORE_TOXAV_MSI_H 6#define C_TOXCORE_TOXAV_MSI_H
diff --git a/toxav/ring_buffer.c b/toxav/ring_buffer.c
index 7cb8996d..d4041fe9 100644
--- a/toxav/ring_buffer.c
+++ b/toxav/ring_buffer.c
@@ -1,23 +1,7 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project. 3 * Copyright © 2013 Tox project.
4 * Copyright © 2013 plutooo 4 * Copyright © 2013 plutooo
5 *
6 * This file is part of Tox, the free peer to peer instant messenger.
7 * This file is donated to the Tox Project.
8 *
9 * Tox is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * Tox is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
21 */ 5 */
22#include "ring_buffer.h" 6#include "ring_buffer.h"
23 7
diff --git a/toxav/ring_buffer.h b/toxav/ring_buffer.h
index e63d08e4..45aeec73 100644
--- a/toxav/ring_buffer.h
+++ b/toxav/ring_buffer.h
@@ -1,23 +1,7 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project. 3 * Copyright © 2013 Tox project.
4 * Copyright © 2013 plutooo 4 * Copyright © 2013 plutooo
5 *
6 * This file is part of Tox, the free peer to peer instant messenger.
7 * This file is donated to the Tox Project.
8 *
9 * Tox is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * Tox is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
21 */ 5 */
22#ifndef C_TOXCORE_TOXAV_RING_BUFFER_H 6#ifndef C_TOXCORE_TOXAV_RING_BUFFER_H
23#define C_TOXCORE_TOXAV_RING_BUFFER_H 7#define C_TOXCORE_TOXAV_RING_BUFFER_H
diff --git a/toxav/rtp.c b/toxav/rtp.c
index 4482f4a1..35898b68 100644
--- a/toxav/rtp.c
+++ b/toxav/rtp.c
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
21#include "config.h" 6#include "config.h"
diff --git a/toxav/rtp.h b/toxav/rtp.h
index 4d6fb791..b6217d95 100644
--- a/toxav/rtp.h
+++ b/toxav/rtp.h
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifndef C_TOXCORE_TOXAV_RTP_H 5#ifndef C_TOXCORE_TOXAV_RTP_H
21#define C_TOXCORE_TOXAV_RTP_H 6#define C_TOXCORE_TOXAV_RTP_H
diff --git a/toxav/toxav.api.h b/toxav/toxav.api.h
index 5d8a8b26..158f74e6 100644
--- a/toxav/toxav.api.h
+++ b/toxav/toxav.api.h
@@ -1,22 +1,7 @@
1%{ 1%{
2/* 2/* SPDX-License-Identifier: GPL-3.0-or-later
3 * Copyright © 2016-2018 The TokTok team. 3 * Copyright © 2016-2018 The TokTok team.
4 * Copyright © 2013-2015 Tox project. 4 * Copyright © 2013-2015 Tox project.
5 *
6 * This file is part of Tox, the free peer to peer instant messenger.
7 *
8 * Tox is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * Tox is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
20 */ 5 */
21#ifndef C_TOXCORE_TOXAV_TOXAV_H 6#ifndef C_TOXCORE_TOXAV_TOXAV_H
22#define C_TOXCORE_TOXAV_TOXAV_H 7#define C_TOXCORE_TOXAV_TOXAV_H
diff --git a/toxav/toxav.c b/toxav/toxav.c
index 1b99404f..897c63c0 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
21#include "config.h" 6#include "config.h"
diff --git a/toxav/toxav.h b/toxav/toxav.h
index daa1314d..141ccb89 100644
--- a/toxav/toxav.h
+++ b/toxav/toxav.h
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifndef C_TOXCORE_TOXAV_TOXAV_H 5#ifndef C_TOXCORE_TOXAV_TOXAV_H
21#define C_TOXCORE_TOXAV_TOXAV_H 6#define C_TOXCORE_TOXAV_TOXAV_H
diff --git a/toxav/toxav_old.c b/toxav/toxav_old.c
index 1362798d..9ecc7969 100644
--- a/toxav/toxav_old.c
+++ b/toxav/toxav_old.c
@@ -1,22 +1,8 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
5
20/** 6/**
21 * This file contains the group chats code for the backwards compatibility. 7 * This file contains the group chats code for the backwards compatibility.
22 */ 8 */
diff --git a/toxav/video.c b/toxav/video.c
index 2550565f..c6206bbf 100644
--- a/toxav/video.c
+++ b/toxav/video.c
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
21#include "config.h" 6#include "config.h"
diff --git a/toxav/video.h b/toxav/video.h
index f7dfc992..6be9ac75 100644
--- a/toxav/video.h
+++ b/toxav/video.h
@@ -1,21 +1,6 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2015 Tox project. 3 * Copyright © 2013-2015 Tox project.
4 *
5 * This file is part of Tox, the free peer to peer instant messenger.
6 *
7 * Tox is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Tox is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 4 */
20#ifndef C_TOXCORE_TOXAV_VIDEO_H 5#ifndef C_TOXCORE_TOXAV_VIDEO_H
21#define C_TOXCORE_TOXAV_VIDEO_H 6#define C_TOXCORE_TOXAV_VIDEO_H
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index 8603b9c0..55116bc0 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * An implementation of the DHT as seen in docs/updates/DHT.md 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * An implementation of the DHT as seen in docs/updates/DHT.md
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/DHT.h b/toxcore/DHT.h
index 5feb74d2..06a7e012 100644
--- a/toxcore/DHT.h
+++ b/toxcore/DHT.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * An implementation of the DHT as seen in docs/updates/DHT.md 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * An implementation of the DHT as seen in docs/updates/DHT.md
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_DHT_H 9#ifndef C_TOXCORE_TOXCORE_DHT_H
25#define C_TOXCORE_TOXCORE_DHT_H 10#define C_TOXCORE_TOXCORE_DHT_H
diff --git a/toxcore/LAN_discovery.api.h b/toxcore/LAN_discovery.api.h
index 31d6a5f6..5c25b67b 100644
--- a/toxcore/LAN_discovery.api.h
+++ b/toxcore/LAN_discovery.api.h
@@ -1,26 +1,11 @@
1%{ 1%{
2/* 2/* SPDX-License-Identifier: GPL-3.0-or-later
3 * LAN discovery implementation. 3 * Copyright © 2016-2018 The TokTok team.
4 * Copyright © 2013 Tox project.
4 */ 5 */
5 6
6/* 7/*
7 * Copyright © 2016-2018 The TokTok team. 8 * LAN discovery implementation.
8 * Copyright © 2013 Tox project.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_TOXCORE_LAN_DISCOVERY_H 10#ifndef C_TOXCORE_TOXCORE_LAN_DISCOVERY_H
26#define C_TOXCORE_TOXCORE_LAN_DISCOVERY_H 11#define C_TOXCORE_TOXCORE_LAN_DISCOVERY_H
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c
index e7bb77ea..b1be2600 100644
--- a/toxcore/LAN_discovery.c
+++ b/toxcore/LAN_discovery.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * LAN discovery implementation. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * LAN discovery implementation.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/LAN_discovery.h b/toxcore/LAN_discovery.h
index 1364a280..7e049b99 100644
--- a/toxcore/LAN_discovery.h
+++ b/toxcore/LAN_discovery.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * LAN discovery implementation. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * LAN discovery implementation.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_LAN_DISCOVERY_H 9#ifndef C_TOXCORE_TOXCORE_LAN_DISCOVERY_H
25#define C_TOXCORE_TOXCORE_LAN_DISCOVERY_H 10#define C_TOXCORE_TOXCORE_LAN_DISCOVERY_H
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index a702793c..e08758e7 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * An implementation of a simple text chat only messenger on the tox network core. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * An implementation of a simple text chat only messenger on the tox network core.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index f6fb3d56..4d2b1b20 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * An implementation of a simple text chat only messenger on the tox network 2 * Copyright © 2016-2018 The TokTok team.
3 * core. 3 * Copyright © 2013 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * An implementation of a simple text chat only messenger on the tox network
8 * Copyright © 2013 Tox project. 8 * core.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_TOXCORE_MESSENGER_H 10#ifndef C_TOXCORE_TOXCORE_MESSENGER_H
26#define C_TOXCORE_TOXCORE_MESSENGER_H 11#define C_TOXCORE_TOXCORE_MESSENGER_H
diff --git a/toxcore/TCP_client.c b/toxcore/TCP_client.c
index 1fae897f..408ec489 100644
--- a/toxcore/TCP_client.c
+++ b/toxcore/TCP_client.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the TCP relay client part of Tox. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the TCP relay client part of Tox.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/TCP_client.h b/toxcore/TCP_client.h
index 6a9bf8e2..89f0d779 100644
--- a/toxcore/TCP_client.h
+++ b/toxcore/TCP_client.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the TCP relay client part of Tox. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the TCP relay client part of Tox.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_TCP_CLIENT_H 9#ifndef C_TOXCORE_TOXCORE_TCP_CLIENT_H
25#define C_TOXCORE_TOXCORE_TCP_CLIENT_H 10#define C_TOXCORE_TOXCORE_TCP_CLIENT_H
diff --git a/toxcore/TCP_connection.c b/toxcore/TCP_connection.c
index b11b1e3b..3dd8652e 100644
--- a/toxcore/TCP_connection.c
+++ b/toxcore/TCP_connection.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Handles TCP relay connections between two Tox clients. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2015 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Handles TCP relay connections between two Tox clients.
7 * Copyright © 2015 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/TCP_connection.h b/toxcore/TCP_connection.h
index 1962fb1a..a8e522d3 100644
--- a/toxcore/TCP_connection.h
+++ b/toxcore/TCP_connection.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Handles TCP relay connections between two Tox clients. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2015 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Handles TCP relay connections between two Tox clients.
7 * Copyright © 2015 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_TCP_CONNECTION_H 9#ifndef C_TOXCORE_TOXCORE_TCP_CONNECTION_H
25#define C_TOXCORE_TOXCORE_TCP_CONNECTION_H 10#define C_TOXCORE_TOXCORE_TCP_CONNECTION_H
diff --git a/toxcore/TCP_server.c b/toxcore/TCP_server.c
index 086fe3d3..b22bdb80 100644
--- a/toxcore/TCP_server.c
+++ b/toxcore/TCP_server.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the TCP relay server part of Tox. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the TCP relay server part of Tox.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/TCP_server.h b/toxcore/TCP_server.h
index bc159f73..5862a473 100644
--- a/toxcore/TCP_server.h
+++ b/toxcore/TCP_server.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the TCP relay server part of Tox. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the TCP relay server part of Tox.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_TCP_SERVER_H 9#ifndef C_TOXCORE_TOXCORE_TCP_SERVER_H
25#define C_TOXCORE_TOXCORE_TCP_SERVER_H 10#define C_TOXCORE_TOXCORE_TCP_SERVER_H
diff --git a/toxcore/crypto_core.api.h b/toxcore/crypto_core.api.h
index b6b49624..44f541fc 100644
--- a/toxcore/crypto_core.api.h
+++ b/toxcore/crypto_core.api.h
@@ -1,26 +1,11 @@
1%{ 1%{
2/* 2/* SPDX-License-Identifier: GPL-3.0-or-later
3 * Functions for the core crypto. 3 * Copyright © 2016-2018 The TokTok team.
4 * Copyright © 2013 Tox project.
4 */ 5 */
5 6
6/* 7/*
7 * Copyright © 2016-2018 The TokTok team. 8 * Functions for the core crypto.
8 * Copyright © 2013 Tox project.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_TOXCORE_CRYPTO_CORE_H 10#ifndef C_TOXCORE_TOXCORE_CRYPTO_CORE_H
26#define C_TOXCORE_TOXCORE_CRYPTO_CORE_H 11#define C_TOXCORE_TOXCORE_CRYPTO_CORE_H
diff --git a/toxcore/crypto_core.c b/toxcore/crypto_core.c
index 0e53100a..5875bca2 100644
--- a/toxcore/crypto_core.c
+++ b/toxcore/crypto_core.c
@@ -1,27 +1,12 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Functions for the core crypto. 2 * Copyright © 2016-2018 The TokTok team.
3 * 3 * Copyright © 2013 Tox project.
4 * NOTE: This code has to be perfect. We don't mess around with encryption.
5 */ 4 */
6 5
7/* 6/*
8 * Copyright © 2016-2018 The TokTok team. 7 * Functions for the core crypto.
9 * Copyright © 2013 Tox project.
10 *
11 * This file is part of Tox, the free peer to peer instant messenger.
12 *
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 * 8 *
23 * You should have received a copy of the GNU General Public License 9 * NOTE: This code has to be perfect. We don't mess around with encryption.
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 10 */
26#ifdef HAVE_CONFIG_H 11#ifdef HAVE_CONFIG_H
27#include "config.h" 12#include "config.h"
diff --git a/toxcore/crypto_core.h b/toxcore/crypto_core.h
index c2f0296e..07412e7e 100644
--- a/toxcore/crypto_core.h
+++ b/toxcore/crypto_core.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Functions for the core crypto. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Functions for the core crypto.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_CRYPTO_CORE_H 9#ifndef C_TOXCORE_TOXCORE_CRYPTO_CORE_H
25#define C_TOXCORE_TOXCORE_CRYPTO_CORE_H 10#define C_TOXCORE_TOXCORE_CRYPTO_CORE_H
diff --git a/toxcore/friend_connection.c b/toxcore/friend_connection.c
index 69533def..af5d09e3 100644
--- a/toxcore/friend_connection.c
+++ b/toxcore/friend_connection.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Connection to friends. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Connection to friends.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/friend_connection.h b/toxcore/friend_connection.h
index 166c731b..16df0236 100644
--- a/toxcore/friend_connection.h
+++ b/toxcore/friend_connection.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Connection to friends. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Connection to friends.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_FRIEND_CONNECTION_H 9#ifndef C_TOXCORE_TOXCORE_FRIEND_CONNECTION_H
25#define C_TOXCORE_TOXCORE_FRIEND_CONNECTION_H 10#define C_TOXCORE_TOXCORE_FRIEND_CONNECTION_H
diff --git a/toxcore/friend_requests.c b/toxcore/friend_requests.c
index fa1defc8..c6c9a0e0 100644
--- a/toxcore/friend_requests.c
+++ b/toxcore/friend_requests.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Handle friend requests. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Handle friend requests.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/friend_requests.h b/toxcore/friend_requests.h
index 7fcd3f0d..04863948 100644
--- a/toxcore/friend_requests.h
+++ b/toxcore/friend_requests.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Handle friend requests. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Handle friend requests.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_FRIEND_REQUESTS_H 9#ifndef C_TOXCORE_TOXCORE_FRIEND_REQUESTS_H
25#define C_TOXCORE_TOXCORE_FRIEND_REQUESTS_H 10#define C_TOXCORE_TOXCORE_FRIEND_REQUESTS_H
diff --git a/toxcore/group.c b/toxcore/group.c
index 9ba0c3df..fd7b2ac4 100644
--- a/toxcore/group.c
+++ b/toxcore/group.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Slightly better groupchats implementation. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Slightly better groupchats implementation.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/group.h b/toxcore/group.h
index 884ac8f5..d74d561d 100644
--- a/toxcore/group.h
+++ b/toxcore/group.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Slightly better groupchats implementation. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Slightly better groupchats implementation.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_GROUP_H 9#ifndef C_TOXCORE_TOXCORE_GROUP_H
25#define C_TOXCORE_TOXCORE_GROUP_H 10#define C_TOXCORE_TOXCORE_GROUP_H
diff --git a/toxcore/list.c b/toxcore/list.c
index 1cc143e2..cb3c71cc 100644
--- a/toxcore/list.c
+++ b/toxcore/list.c
@@ -1,28 +1,13 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
4 */
5
1/* 6/*
2 * Simple struct with functions to create a list which associates ids with data 7 * Simple struct with functions to create a list which associates ids with data
3 * -Allows for finding ids associated with data such as IPs or public keys in a short time 8 * -Allows for finding ids associated with data such as IPs or public keys in a short time
4 * -Should only be used if there are relatively few add/remove calls to the list 9 * -Should only be used if there are relatively few add/remove calls to the list
5 */ 10 */
6
7/*
8 * Copyright © 2016-2018 The TokTok team.
9 * Copyright © 2014 Tox project.
10 *
11 * This file is part of Tox, the free peer to peer instant messenger.
12 *
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */
26#ifdef HAVE_CONFIG_H 11#ifdef HAVE_CONFIG_H
27#include "config.h" 12#include "config.h"
28#endif 13#endif
diff --git a/toxcore/list.h b/toxcore/list.h
index c9c72c2a..9d65b53f 100644
--- a/toxcore/list.h
+++ b/toxcore/list.h
@@ -1,28 +1,13 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
4 */
5
1/* 6/*
2 * Simple struct with functions to create a list which associates ids with data 7 * Simple struct with functions to create a list which associates ids with data
3 * -Allows for finding ids associated with data such as IPs or public keys in a short time 8 * -Allows for finding ids associated with data such as IPs or public keys in a short time
4 * -Should only be used if there are relatively few add/remove calls to the list 9 * -Should only be used if there are relatively few add/remove calls to the list
5 */ 10 */
6
7/*
8 * Copyright © 2016-2018 The TokTok team.
9 * Copyright © 2014 Tox project.
10 *
11 * This file is part of Tox, the free peer to peer instant messenger.
12 *
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */
26#ifndef C_TOXCORE_TOXCORE_LIST_H 11#ifndef C_TOXCORE_TOXCORE_LIST_H
27#define C_TOXCORE_TOXCORE_LIST_H 12#define C_TOXCORE_TOXCORE_LIST_H
28 13
diff --git a/toxcore/logger.c b/toxcore/logger.c
index 80833219..00e85c36 100644
--- a/toxcore/logger.c
+++ b/toxcore/logger.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Text logging abstraction. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013,2015 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Text logging abstraction.
7 * Copyright © 2013,2015 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/logger.h b/toxcore/logger.h
index 3abed896..d2be3401 100644
--- a/toxcore/logger.h
+++ b/toxcore/logger.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Logger abstraction backed by callbacks for writing. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Logger abstraction backed by callbacks for writing.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_LOGGER_H 9#ifndef C_TOXCORE_TOXCORE_LOGGER_H
25#define C_TOXCORE_TOXCORE_LOGGER_H 10#define C_TOXCORE_TOXCORE_LOGGER_H
diff --git a/toxcore/mono_time.c b/toxcore/mono_time.c
index fd29dff5..876902f5 100644
--- a/toxcore/mono_time.c
+++ b/toxcore/mono_time.c
@@ -1,3 +1,7 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2020 The TokTok team.
3 * Copyright © 2014 Tox project.
4 */
1#ifndef _XOPEN_SOURCE 5#ifndef _XOPEN_SOURCE
2#define _XOPEN_SOURCE 600 6#define _XOPEN_SOURCE 600
3#endif 7#endif
diff --git a/toxcore/mono_time.h b/toxcore/mono_time.h
index aa244bae..0951fc74 100644
--- a/toxcore/mono_time.h
+++ b/toxcore/mono_time.h
@@ -1,3 +1,7 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2020 The TokTok team.
3 * Copyright © 2014 Tox project.
4 */
1#ifndef C_TOXCORE_TOXCORE_MONO_TIME_H 5#ifndef C_TOXCORE_TOXCORE_MONO_TIME_H
2#define C_TOXCORE_TOXCORE_MONO_TIME_H 6#define C_TOXCORE_TOXCORE_MONO_TIME_H
3 7
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c
index 09ce91ba..4eacb250 100644
--- a/toxcore/net_crypto.c
+++ b/toxcore/net_crypto.c
@@ -1,27 +1,12 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Functions for the core network crypto. 2 * Copyright © 2016-2018 The TokTok team.
3 * 3 * Copyright © 2013 Tox project.
4 * NOTE: This code has to be perfect. We don't mess around with encryption.
5 */ 4 */
6 5
7/* 6/*
8 * Copyright © 2016-2018 The TokTok team. 7 * Functions for the core network crypto.
9 * Copyright © 2013 Tox project.
10 *
11 * This file is part of Tox, the free peer to peer instant messenger.
12 *
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 * 8 *
23 * You should have received a copy of the GNU General Public License 9 * NOTE: This code has to be perfect. We don't mess around with encryption.
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 10 */
26#ifdef HAVE_CONFIG_H 11#ifdef HAVE_CONFIG_H
27#include "config.h" 12#include "config.h"
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h
index 6917301b..736a3dc3 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Functions for the core network crypto. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Functions for the core network crypto.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_NET_CRYPTO_H 9#ifndef C_TOXCORE_TOXCORE_NET_CRYPTO_H
25#define C_TOXCORE_TOXCORE_NET_CRYPTO_H 10#define C_TOXCORE_TOXCORE_NET_CRYPTO_H
diff --git a/toxcore/network.c b/toxcore/network.c
index e2870fee..ab0003e0 100644
--- a/toxcore/network.c
+++ b/toxcore/network.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Functions for the core networking. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Functions for the core networking.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/network.h b/toxcore/network.h
index a1d83842..9fbefc28 100644
--- a/toxcore/network.h
+++ b/toxcore/network.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Datatypes, functions and includes for the core networking. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Datatypes, functions and includes for the core networking.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_NETWORK_H 9#ifndef C_TOXCORE_TOXCORE_NETWORK_H
25#define C_TOXCORE_TOXCORE_NETWORK_H 10#define C_TOXCORE_TOXCORE_NETWORK_H
diff --git a/toxcore/onion.c b/toxcore/onion.c
index f1873992..4b7d446f 100644
--- a/toxcore/onion.c
+++ b/toxcore/onion.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the onion part of docs/Prevent_Tracking.txt 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the onion part of docs/Prevent_Tracking.txt
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/onion.h b/toxcore/onion.h
index 20cd1e5c..f125f3c3 100644
--- a/toxcore/onion.h
+++ b/toxcore/onion.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the onion part of docs/Prevent_Tracking.txt 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the onion part of docs/Prevent_Tracking.txt
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_ONION_H 9#ifndef C_TOXCORE_TOXCORE_ONION_H
25#define C_TOXCORE_TOXCORE_ONION_H 10#define C_TOXCORE_TOXCORE_ONION_H
diff --git a/toxcore/onion_announce.c b/toxcore/onion_announce.c
index f38772dd..6d38012a 100644
--- a/toxcore/onion_announce.c
+++ b/toxcore/onion_announce.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the announce part of docs/Prevent_Tracking.txt 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the announce part of docs/Prevent_Tracking.txt
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/onion_announce.h b/toxcore/onion_announce.h
index 2eb5051b..3145803c 100644
--- a/toxcore/onion_announce.h
+++ b/toxcore/onion_announce.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the announce part of docs/Prevent_Tracking.txt 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the announce part of docs/Prevent_Tracking.txt
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_ONION_ANNOUNCE_H 9#ifndef C_TOXCORE_TOXCORE_ONION_ANNOUNCE_H
25#define C_TOXCORE_TOXCORE_ONION_ANNOUNCE_H 10#define C_TOXCORE_TOXCORE_ONION_ANNOUNCE_H
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c
index b3a54879..dcec7ba8 100644
--- a/toxcore/onion_client.c
+++ b/toxcore/onion_client.c
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the client part of docs/Prevent_Tracking.txt (The part that 2 * Copyright © 2016-2018 The TokTok team.
3 * uses the onion stuff to connect to the friend) 3 * Copyright © 2013 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the client part of docs/Prevent_Tracking.txt (The part that
8 * Copyright © 2013 Tox project. 8 * uses the onion stuff to connect to the friend)
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifdef HAVE_CONFIG_H 10#ifdef HAVE_CONFIG_H
26#include "config.h" 11#include "config.h"
diff --git a/toxcore/onion_client.h b/toxcore/onion_client.h
index 66e417d7..88329aee 100644
--- a/toxcore/onion_client.h
+++ b/toxcore/onion_client.h
@@ -1,26 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of the client part of docs/Prevent_Tracking.txt (The part that 2 * Copyright © 2016-2018 The TokTok team.
3 * uses the onion stuff to connect to the friend) 3 * Copyright © 2013 Tox project.
4 */ 4 */
5 5
6/* 6/*
7 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of the client part of docs/Prevent_Tracking.txt (The part that
8 * Copyright © 2013 Tox project. 8 * uses the onion stuff to connect to the friend)
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_TOXCORE_ONION_CLIENT_H 10#ifndef C_TOXCORE_TOXCORE_ONION_CLIENT_H
26#define C_TOXCORE_TOXCORE_ONION_CLIENT_H 11#define C_TOXCORE_TOXCORE_ONION_CLIENT_H
diff --git a/toxcore/ping.api.h b/toxcore/ping.api.h
index 2ae5b365..d4d071b1 100644
--- a/toxcore/ping.api.h
+++ b/toxcore/ping.api.h
@@ -1,28 +1,12 @@
1%{ 1%{
2/* 2/* SPDX-License-Identifier: GPL-3.0-or-later
3 * Buffered pinging using cyclic arrays.
4 */
5
6/*
7 * Copyright © 2016-2018 The TokTok team. 3 * Copyright © 2016-2018 The TokTok team.
8 * Copyright © 2013 Tox project. 4 * Copyright © 2013 Tox project.
9 * Copyright © 2013 plutooo 5 * Copyright © 2013 plutooo
10 * 6 */
11 * This file is part of Tox, the free peer to peer instant messenger. 7
12 * This file is donated to the Tox Project. 8/*
13 * 9 * Buffered pinging using cyclic arrays.
14 * Tox is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation, either version 3 of the License, or
17 * (at your option) any later version.
18 *
19 * Tox is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
26 */ 10 */
27#ifndef C_TOXCORE_TOXCORE_PING_H 11#ifndef C_TOXCORE_TOXCORE_PING_H
28#define C_TOXCORE_TOXCORE_PING_H 12#define C_TOXCORE_TOXCORE_PING_H
diff --git a/toxcore/ping.c b/toxcore/ping.c
index df0adf04..d2677ee7 100644
--- a/toxcore/ping.c
+++ b/toxcore/ping.c
@@ -1,27 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Buffered pinging using cyclic arrays.
3 */
4
5/*
6 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
7 * Copyright © 2013 Tox project. 3 * Copyright © 2013 Tox project.
8 * Copyright © 2013 plutooo 4 * Copyright © 2013 plutooo
9 * 5 */
10 * This file is part of Tox, the free peer to peer instant messenger. 6
11 * This file is donated to the Tox Project. 7/*
12 * 8 * Buffered pinging using cyclic arrays.
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 9 */
26#ifdef HAVE_CONFIG_H 10#ifdef HAVE_CONFIG_H
27#include "config.h" 11#include "config.h"
diff --git a/toxcore/ping.h b/toxcore/ping.h
index 0413e285..9badd5aa 100644
--- a/toxcore/ping.h
+++ b/toxcore/ping.h
@@ -1,27 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Buffered pinging using cyclic arrays.
3 */
4
5/*
6 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
7 * Copyright © 2013 Tox project. 3 * Copyright © 2013 Tox project.
8 * Copyright © 2013 plutooo 4 * Copyright © 2013 plutooo
9 * 5 */
10 * This file is part of Tox, the free peer to peer instant messenger. 6
11 * This file is donated to the Tox Project. 7/*
12 * 8 * Buffered pinging using cyclic arrays.
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 9 */
26#ifndef C_TOXCORE_TOXCORE_PING_H 10#ifndef C_TOXCORE_TOXCORE_PING_H
27#define C_TOXCORE_TOXCORE_PING_H 11#define C_TOXCORE_TOXCORE_PING_H
diff --git a/toxcore/ping_array.api.h b/toxcore/ping_array.api.h
index e0ac333b..81ede8fa 100644
--- a/toxcore/ping_array.api.h
+++ b/toxcore/ping_array.api.h
@@ -1,26 +1,11 @@
1%{ 1%{
2/* 2/* SPDX-License-Identifier: GPL-3.0-or-later
3 * Implementation of an efficient array to store that we pinged something. 3 * Copyright © 2016-2018 The TokTok team.
4 * Copyright © 2013 Tox project.
4 */ 5 */
5 6
6/* 7/*
7 * Copyright © 2016-2018 The TokTok team. 8 * Implementation of an efficient array to store that we pinged something.
8 * Copyright © 2013 Tox project.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_TOXCORE_PING_ARRAY_H 10#ifndef C_TOXCORE_TOXCORE_PING_ARRAY_H
26#define C_TOXCORE_TOXCORE_PING_ARRAY_H 11#define C_TOXCORE_TOXCORE_PING_ARRAY_H
diff --git a/toxcore/ping_array.c b/toxcore/ping_array.c
index c39dc881..a93d48dd 100644
--- a/toxcore/ping_array.c
+++ b/toxcore/ping_array.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of an efficient array to store that we pinged something. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2014 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of an efficient array to store that we pinged something.
7 * Copyright © 2014 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/ping_array.h b/toxcore/ping_array.h
index a2e57856..589573c8 100644
--- a/toxcore/ping_array.h
+++ b/toxcore/ping_array.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Implementation of an efficient array to store that we pinged something. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Implementation of an efficient array to store that we pinged something.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_PING_ARRAY_H 9#ifndef C_TOXCORE_TOXCORE_PING_ARRAY_H
25#define C_TOXCORE_TOXCORE_PING_ARRAY_H 10#define C_TOXCORE_TOXCORE_PING_ARRAY_H
diff --git a/toxcore/state.c b/toxcore/state.c
index bca7a151..67cc68ad 100644
--- a/toxcore/state.c
+++ b/toxcore/state.c
@@ -1,3 +1,7 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2020 The TokTok team.
3 * Copyright © 2014 Tox project.
4 */
1#include "state.h" 5#include "state.h"
2 6
3#include <string.h> 7#include <string.h>
diff --git a/toxcore/state.h b/toxcore/state.h
index 829036d8..cbe97b49 100644
--- a/toxcore/state.h
+++ b/toxcore/state.h
@@ -1,3 +1,8 @@
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright © 2016-2020 The TokTok team.
3 * Copyright © 2014 Tox project.
4 */
5
1/** 6/**
2 * The state module is responsible for parsing the Tox save data format and for 7 * The state module is responsible for parsing the Tox save data format and for
3 * saving state in that format. 8 * saving state in that format.
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h
index f9712b7e..732262f1 100644
--- a/toxcore/tox.api.h
+++ b/toxcore/tox.api.h
@@ -1,26 +1,11 @@
1%{ 1%{
2/* 2/* SPDX-License-Identifier: GPL-3.0-or-later
3 * The Tox public API. 3 * Copyright © 2016-2018 The TokTok team.
4 * Copyright © 2013 Tox project.
4 */ 5 */
5 6
6/* 7/*
7 * Copyright © 2016-2018 The TokTok team. 8 * The Tox public API.
8 * Copyright © 2013 Tox project.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_TOXCORE_TOX_H 10#ifndef C_TOXCORE_TOXCORE_TOX_H
26#define C_TOXCORE_TOXCORE_TOX_H 11#define C_TOXCORE_TOXCORE_TOX_H
diff --git a/toxcore/tox.c b/toxcore/tox.c
index ebf3ab68..2099a26f 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * The Tox public API. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * The Tox public API.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 50e838f3..ab28be40 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * The Tox public API. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * The Tox public API.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXCORE_TOX_H 9#ifndef C_TOXCORE_TOXCORE_TOX_H
25#define C_TOXCORE_TOXCORE_TOX_H 10#define C_TOXCORE_TOXCORE_TOX_H
diff --git a/toxcore/util.c b/toxcore/util.c
index 3625f3d1..58b75763 100644
--- a/toxcore/util.c
+++ b/toxcore/util.c
@@ -1,27 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Utilities.
3 */
4
5/*
6 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
7 * Copyright © 2013 Tox project. 3 * Copyright © 2013 Tox project.
8 * Copyright © 2013 plutooo 4 * Copyright © 2013 plutooo
9 * 5 */
10 * This file is part of Tox, the free peer to peer instant messenger. 6
11 * This file is donated to the Tox Project. 7/*
12 * 8 * Utilities.
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 9 */
26#ifdef HAVE_CONFIG_H 10#ifdef HAVE_CONFIG_H
27#include "config.h" 11#include "config.h"
diff --git a/toxcore/util.h b/toxcore/util.h
index 2a0503e1..5483ff04 100644
--- a/toxcore/util.h
+++ b/toxcore/util.h
@@ -1,27 +1,11 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Utilities.
3 */
4
5/*
6 * Copyright © 2016-2018 The TokTok team. 2 * Copyright © 2016-2018 The TokTok team.
7 * Copyright © 2013 Tox project. 3 * Copyright © 2013 Tox project.
8 * Copyright © 2013 plutooo 4 * Copyright © 2013 plutooo
9 * 5 */
10 * This file is part of Tox, the free peer to peer instant messenger. 6
11 * This file is donated to the Tox Project. 7/*
12 * 8 * Utilities.
13 * Tox is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * Tox is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
25 */ 9 */
26#ifndef C_TOXCORE_TOXCORE_UTIL_H 10#ifndef C_TOXCORE_TOXCORE_UTIL_H
27#define C_TOXCORE_TOXCORE_UTIL_H 11#define C_TOXCORE_TOXCORE_UTIL_H
diff --git a/toxencryptsave/toxencryptsave.api.h b/toxencryptsave/toxencryptsave.api.h
index c6a395f3..b1068c50 100644
--- a/toxencryptsave/toxencryptsave.api.h
+++ b/toxencryptsave/toxencryptsave.api.h
@@ -1,26 +1,11 @@
1%{ 1%{
2/* 2/* SPDX-License-Identifier: GPL-3.0-or-later
3 * Batch encryption functions. 3 * Copyright © 2016-2018 The TokTok team.
4 * Copyright © 2013-2016 Tox Developers.
4 */ 5 */
5 6
6/* 7/*
7 * Copyright © 2016-2018 The TokTok team. 8 * Batch encryption functions.
8 * Copyright © 2013-2016 Tox Developers.
9 *
10 * This file is part of Tox, the free peer to peer instant messenger.
11 *
12 * Tox is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * Tox is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
24 */ 9 */
25#ifndef C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H 10#ifndef C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H
26#define C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H 11#define C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H
diff --git a/toxencryptsave/toxencryptsave.c b/toxencryptsave/toxencryptsave.c
index a3e70b2f..70aa3746 100644
--- a/toxencryptsave/toxencryptsave.c
+++ b/toxencryptsave/toxencryptsave.c
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Batch encryption functions. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013 Tox project.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Batch encryption functions.
7 * Copyright © 2013 Tox project.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
25#include "config.h" 10#include "config.h"
diff --git a/toxencryptsave/toxencryptsave.h b/toxencryptsave/toxencryptsave.h
index 0d608b1c..34287a1a 100644
--- a/toxencryptsave/toxencryptsave.h
+++ b/toxencryptsave/toxencryptsave.h
@@ -1,25 +1,10 @@
1/* 1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Batch encryption functions. 2 * Copyright © 2016-2018 The TokTok team.
3 * Copyright © 2013-2016 Tox Developers.
3 */ 4 */
4 5
5/* 6/*
6 * Copyright © 2016-2018 The TokTok team. 7 * Batch encryption functions.
7 * Copyright © 2013-2016 Tox Developers.
8 *
9 * This file is part of Tox, the free peer to peer instant messenger.
10 *
11 * Tox is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * Tox is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
23 */ 8 */
24#ifndef C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H 9#ifndef C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H
25#define C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H 10#define C_TOXCORE_TOXENCRYPTSAVE_TOXENCRYPTSAVE_H