Licensing

Added the GPLv3 license to some files in addition to fixing some
comments at the beginning of the files.
This commit is contained in:
SilentSand 2013-07-25 21:45:56 -04:00
parent 63375b68b6
commit f377eb9ca2
22 changed files with 442 additions and 226 deletions

View File

@ -2,29 +2,25 @@
* *
* An implementation of the DHT as seen in docs/DHT.txt * An implementation of the DHT as seen in docs/DHT.txt
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */
#include "DHT.h" #include "DHT.h"

View File

@ -2,24 +2,23 @@
* *
* An implementation of the DHT as seen in docs/DHT.txt * An implementation of the DHT as seen in docs/DHT.txt
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */

View File

@ -2,25 +2,25 @@
* *
* An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt * An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */
/* TODO: clean this file a bit. /* TODO: clean this file a bit.
There are a couple of useless variables to get rid of. */ There are a couple of useless variables to get rid of. */
#include "Lossless_UDP.h" #include "Lossless_UDP.h"

View File

@ -2,24 +2,23 @@
* *
* An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt * An implementation of the Lossless_UDP protocol as seen in docs/Lossless_UDP.txt
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */
#ifndef LOSSLESS_UDP_H #ifndef LOSSLESS_UDP_H

View File

@ -2,24 +2,23 @@
* *
* An implementation of a simple text chat only messenger on the tox network core. * An implementation of a simple text chat only messenger on the tox network core.
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */
#include "Messenger.h" #include "Messenger.h"

View File

@ -3,24 +3,25 @@
* An implementation of a simple text chat only messenger on the tox network core. * An implementation of a simple text chat only messenger on the tox network core.
* *
* NOTE: All the text in the messages must be encoded using UTF-8 * NOTE: All the text in the messages must be encoded using UTF-8
*
Copyright (C) 2013 Tox project All Rights Reserved. * Copyright (C) 2013 Tox project All Rights Reserved.
*
This file is part of Tox. * This file is part of Tox.
*
Tox is free software: you can redistribute it and/or modify * Tox is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. * (at your option) any later version.
*
Tox is distributed in the hope that it will be useful, * Tox is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. * GNU General Public License for more details.
*
You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
along with Tox. If not, see <http://www.gnu.org/licenses/>. * along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/
*/ */

View File

@ -2,6 +2,23 @@
* *
* Handle friend requests. * Handle friend requests.
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include "friend_requests.h" #include "friend_requests.h"

View File

@ -2,6 +2,23 @@
* *
* Handle friend requests. * Handle friend requests.
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */

View File

@ -5,24 +5,23 @@
* *
* NOTE: This code has to be perfect. We don't mess around with encryption. * NOTE: This code has to be perfect. We don't mess around with encryption.
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */
#include "net_crypto.h" #include "net_crypto.h"

View File

@ -2,25 +2,25 @@
* *
* Functions for the core network crypto. * Functions for the core network crypto.
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */
#ifndef NET_CRYPTO_H #ifndef NET_CRYPTO_H
#define NET_CRYPTO_H #define NET_CRYPTO_H

View File

@ -2,24 +2,23 @@
* *
* Functions for the core networking. * Functions for the core networking.
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */
#include "network.h" #include "network.h"

View File

@ -2,24 +2,23 @@
* *
* Datatypes, functions and includes for the core networking. * Datatypes, functions and includes for the core networking.
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
Copyright (C) 2013 Tox project All Rights Reserved. *
* This file is part of Tox.
This file is part of Tox. *
* Tox is free software: you can redistribute it and/or modify
Tox is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or
the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
(at your option) any later version. *
* Tox is distributed in the hope that it will be useful,
Tox is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License * along with Tox. If not, see <http://www.gnu.org/licenses/>.
along with Tox. If not, see <http://www.gnu.org/licenses/>. *
*/ */

View File

@ -6,6 +6,25 @@
* gcc -O2 -Wall -D VANILLA_NACL -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c ../core/friend_requests.c ../nacl/build/${HOSTNAME%.*}/lib/amd64/{cpucycles.o,libnacl.a,randombytes.o} DHT_bootstrap.c * gcc -O2 -Wall -D VANILLA_NACL -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c ../core/friend_requests.c ../nacl/build/${HOSTNAME%.*}/lib/amd64/{cpucycles.o,libnacl.a,randombytes.o} DHT_bootstrap.c
* *
* gcc -O2 -Wall -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c ../core/friend_requests.c -lsodium DHT_bootstrap.c * gcc -O2 -Wall -o bootstrap_server ../core/Lossless_UDP.c ../core/network.c ../core/net_crypto.c ../core/Messenger.c ../core/DHT.c ../core/friend_requests.c -lsodium DHT_bootstrap.c
*
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include "../core/DHT.h" #include "../core/DHT.h"

View File

@ -1,6 +1,24 @@
/* DHT boostrap /* DHT boostrap
* *
* A simple DHT boostrap server for tox - daemon edition. * A simple DHT boostrap server for tox - daemon edition.
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include <sys/types.h> /* pid_t */ #include <sys/types.h> /* pid_t */

View File

@ -15,7 +15,26 @@
* Saves all received data to: received.txt * Saves all received data to: received.txt
* *
* EX: ./test 127.0.0.1 33445 filename.txt * EX: ./test 127.0.0.1 33445 filename.txt
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include "../core/network.h" #include "../core/network.h"
#include "../core/DHT.h" #include "../core/DHT.h"
#include "../core/net_crypto.h" #include "../core/net_crypto.h"

View File

@ -14,6 +14,24 @@
* Saves all received data to: received.txt * Saves all received data to: received.txt
* *
* EX: ./test 127.0.0.1 33445 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef filename.txt ABCDEFGHIJKLMNOPQRSTUVWXYZabcdeg * EX: ./test 127.0.0.1 33445 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef filename.txt ABCDEFGHIJKLMNOPQRSTUVWXYZabcdeg
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include "../core/network.h" #include "../core/network.h"
#include "../core/DHT.h" #include "../core/DHT.h"

View File

@ -7,7 +7,26 @@
* EX: ./test 127.0.0.1 33445 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA * EX: ./test 127.0.0.1 33445 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
* *
* The test will then ask you for the id (in hex format) of the friend you wish to add * The test will then ask you for the id (in hex format) of the friend you wish to add
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
//#include "../core/network.h" //#include "../core/network.h"
#include "../core/DHT.c" #include "../core/DHT.c"
#include "../core/friend_requests.c" #include "../core/friend_requests.c"

View File

@ -8,6 +8,24 @@
* *
* Command line arguments are the ip and port to connect and send the file to. * Command line arguments are the ip and port to connect and send the file to.
* EX: ./testclient 127.0.0.1 33445 filename.txt * EX: ./testclient 127.0.0.1 33445 filename.txt
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include "../core/network.h" #include "../core/network.h"

View File

@ -8,6 +8,24 @@
* *
* Command line argument is the name of the file to save what we recieve to. * Command line argument is the name of the file to save what we recieve to.
* EX: ./testserver filename1.txt * EX: ./testserver filename1.txt
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include "../core/network.h" #include "../core/network.h"

View File

@ -18,6 +18,23 @@
* *
* EX: ./test Save.bak * EX: ./test Save.bak
* *
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/ */
#include "../core/Messenger.h" #include "../core/Messenger.h"

View File

@ -1,3 +1,26 @@
/* nTox.c
*
* Textual frontend for Tox.
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/
#include "nTox.h" #include "nTox.h"
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>

View File

@ -1,3 +1,25 @@
/* nTox.h
*
*Textual frontend for Tox.
*
* Copyright (C) 2013 Tox project All Rights Reserved.
*
* This file is part of Tox.
*
* Tox is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Tox is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Tox. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef NTOX_H #ifndef NTOX_H
#define NTOX_H #define NTOX_H