Browse Source

add copyright headers

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1525/head
R4SAS 5 years ago committed by R4SAS
parent
commit
8bae4975fb
  1. 8
      Win32/DaemonWin32.cpp
  2. 8
      Win32/Win32App.cpp
  3. 8
      Win32/Win32App.h
  4. 8
      Win32/Win32NetState.cpp
  5. 8
      Win32/Win32NetState.h
  6. 8
      Win32/Win32Service.cpp
  7. 8
      Win32/Win32Service.h
  8. 8
      android/jni/DaemonAndroid.cpp
  9. 8
      android/jni/DaemonAndroid.h
  10. 8
      android/jni/i2pd_android.cpp
  11. 8
      android/jni/org_purplei2p_i2pd_I2PD_JNI.h
  12. 8
      daemon/Daemon.cpp
  13. 8
      daemon/Daemon.h
  14. 8
      daemon/HTTPServer.cpp
  15. 8
      daemon/HTTPServer.h
  16. 8
      daemon/I2PControl.cpp
  17. 8
      daemon/I2PControl.h
  18. 8
      daemon/UPnP.cpp
  19. 8
      daemon/UPnP.h
  20. 8
      daemon/UnixDaemon.cpp
  21. 8
      daemon/i2pd.cpp
  22. 8
      libi2pd/Base.cpp
  23. 8
      libi2pd/Base.h
  24. 8
      libi2pd/Blinding.cpp
  25. 8
      libi2pd/Blinding.h
  26. 8
      libi2pd/BloomFilter.cpp
  27. 8
      libi2pd/BloomFilter.h
  28. 8
      libi2pd/CPU.cpp
  29. 8
      libi2pd/CPU.h
  30. 2
      libi2pd/ChaCha20.cpp
  31. 2
      libi2pd/ChaCha20.h
  32. 2
      libi2pd/Config.cpp
  33. 8
      libi2pd/Config.h
  34. 8
      libi2pd/Crypto.cpp
  35. 8
      libi2pd/Crypto.h
  36. 8
      libi2pd/CryptoKey.cpp
  37. 8
      libi2pd/CryptoKey.h
  38. 8
      libi2pd/CryptoWorker.h
  39. 8
      libi2pd/Datagram.cpp
  40. 8
      libi2pd/Datagram.h
  41. 8
      libi2pd/Destination.cpp
  42. 8
      libi2pd/Destination.h
  43. 8
      libi2pd/ECIESX25519AEADRatchetSession.cpp
  44. 8
      libi2pd/ECIESX25519AEADRatchetSession.h
  45. 8
      libi2pd/Ed25519.cpp
  46. 8
      libi2pd/Ed25519.h
  47. 8
      libi2pd/Elligator.cpp
  48. 8
      libi2pd/Elligator.h
  49. 2
      libi2pd/FS.cpp
  50. 2
      libi2pd/FS.h
  51. 8
      libi2pd/Family.cpp
  52. 8
      libi2pd/Family.h
  53. 8
      libi2pd/Garlic.cpp
  54. 8
      libi2pd/Garlic.h
  55. 8
      libi2pd/Gost.cpp
  56. 8
      libi2pd/Gost.h
  57. 2
      libi2pd/Gzip.cpp
  58. 8
      libi2pd/Gzip.h
  59. 2
      libi2pd/HTTP.cpp
  60. 2
      libi2pd/HTTP.h
  61. 8
      libi2pd/I2NPProtocol.cpp
  62. 8
      libi2pd/I2NPProtocol.h
  63. 8
      libi2pd/I2PEndian.cpp
  64. 8
      libi2pd/I2PEndian.h
  65. 8
      libi2pd/Identity.cpp
  66. 8
      libi2pd/Identity.h
  67. 8
      libi2pd/LeaseSet.cpp
  68. 8
      libi2pd/LeaseSet.h
  69. 8
      libi2pd/LittleBigEndian.h
  70. 2
      libi2pd/Log.cpp
  71. 2
      libi2pd/Log.h
  72. 8
      libi2pd/NTCPSession.cpp
  73. 8
      libi2pd/NTCPSession.h
  74. 8
      libi2pd/NetDb.cpp
  75. 8
      libi2pd/NetDb.hpp
  76. 8
      libi2pd/NetDbRequests.cpp
  77. 8
      libi2pd/NetDbRequests.h
  78. 8
      libi2pd/Profiling.cpp
  79. 8
      libi2pd/Profiling.h
  80. 8
      libi2pd/Queue.h
  81. 8
      libi2pd/Reseed.cpp
  82. 8
      libi2pd/Reseed.h
  83. 8
      libi2pd/RouterContext.cpp
  84. 8
      libi2pd/RouterContext.h
  85. 8
      libi2pd/RouterInfo.cpp
  86. 8
      libi2pd/RouterInfo.h
  87. 8
      libi2pd/SSU.cpp
  88. 8
      libi2pd/SSU.h
  89. 8
      libi2pd/SSUData.cpp
  90. 8
      libi2pd/SSUData.h
  91. 8
      libi2pd/SSUSession.cpp
  92. 8
      libi2pd/SSUSession.h
  93. 8
      libi2pd/Signature.cpp
  94. 8
      libi2pd/Signature.h
  95. 8
      libi2pd/Streaming.cpp
  96. 8
      libi2pd/Streaming.h
  97. 8
      libi2pd/Tag.h
  98. 8
      libi2pd/Timestamp.cpp
  99. 8
      libi2pd/Timestamp.h
  100. 8
      libi2pd/TransitTunnel.cpp
  101. Some files were not shown because too many files have changed in this diff Show More

8
Win32/DaemonWin32.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <thread>
#include <clocale>
#include "Config.h"

8
Win32/Win32App.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <stdio.h>
#include <string.h>
#include <windows.h>

8
Win32/Win32App.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef WIN32APP_H__
#define WIN32APP_H__

8
Win32/Win32NetState.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#if WINVER != 0x0501 // supported since Vista
#include "Win32NetState.h"
#include <windows.h>

8
Win32/Win32NetState.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef WIN_32_NETSTATE_H__
#define WIN_32_NETSTATE_H__

8
Win32/Win32Service.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifdef _WIN32
#define _CRT_SECURE_NO_WARNINGS // to use freopen
#endif

8
Win32/Win32Service.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef WIN_32_SERVICE_H__
#define WIN_32_SERVICE_H__

8
android/jni/DaemonAndroid.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <iostream>
#include <chrono>
#include <thread>

8
android/jni/DaemonAndroid.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef DAEMON_ANDROID_H
#define DAEMON_ANDROID_H

8
android/jni/i2pd_android.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <jni.h>
#include "org_purplei2p_i2pd_I2PD_JNI.h"
#include "DaemonAndroid.h"

8
android/jni/org_purplei2p_i2pd_I2PD_JNI.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_purplei2p_i2pd_I2PD_JNI */

8
daemon/Daemon.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <thread>
#include <memory>

8
daemon/Daemon.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef DAEMON_H__
#define DAEMON_H__

8
daemon/HTTPServer.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <iomanip>
#include <sstream>
#include <thread>

8
daemon/HTTPServer.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef HTTP_SERVER_H__
#define HTTP_SERVER_H__

8
daemon/I2PControl.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <stdio.h>
#include <sstream>
#include <openssl/x509.h>

8
daemon/I2PControl.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef I2P_CONTROL_H__
#define I2P_CONTROL_H__

8
daemon/UPnP.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifdef USE_UPNP
#include <string>
#include <thread>

8
daemon/UPnP.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef __UPNP_H__
#define __UPNP_H__

8
daemon/UnixDaemon.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include "Daemon.h"
#ifndef _WIN32

8
daemon/i2pd.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <stdlib.h>
#include "Daemon.h"

8
libi2pd/Base.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <stdlib.h>
#include <string.h>

8
libi2pd/Base.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef BASE_H__
#define BASE_H__

8
libi2pd/Blinding.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <zlib.h> // for crc32
#include <openssl/sha.h>
#include <openssl/hmac.h>

8
libi2pd/Blinding.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef BLINDING_H__
#define BLINDING_H__

8
libi2pd/BloomFilter.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include "BloomFilter.h"
#include "I2PEndian.h"
#include <array>

8
libi2pd/BloomFilter.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef BLOOM_FILTER_H_
#define BLOOM_FILTER_H_
#include <memory>

8
libi2pd/CPU.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include "CPU.h"
#if defined(__x86_64__) || defined(__i386__)
#include <cpuid.h>

8
libi2pd/CPU.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef LIBI2PD_CPU_H
#define LIBI2PD_CPU_H

2
libi2pd/ChaCha20.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2018, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

2
libi2pd/ChaCha20.h

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2018, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

2
libi2pd/Config.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2017, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

8
libi2pd/Config.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef CONFIG_H
#define CONFIG_H

8
libi2pd/Crypto.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <string>
#include <vector>

8
libi2pd/Crypto.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef CRYPTO_H__
#define CRYPTO_H__

8
libi2pd/CryptoKey.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include "Log.h"
#include "Gost.h"

8
libi2pd/CryptoKey.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef CRYPTO_KEY_H__
#define CRYPTO_KEY_H__

8
libi2pd/CryptoWorker.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef CRYPTO_WORKER_H_
#define CRYPTO_WORKER_H_

8
libi2pd/Datagram.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include "Crypto.h"
#include "Log.h"

8
libi2pd/Datagram.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef DATAGRAM_H__
#define DATAGRAM_H__

8
libi2pd/Destination.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <algorithm>
#include <cassert>
#include <string>

8
libi2pd/Destination.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef DESTINATION_H__
#define DESTINATION_H__

8
libi2pd/ECIESX25519AEADRatchetSession.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <openssl/sha.h>
#include "Log.h"

8
libi2pd/ECIESX25519AEADRatchetSession.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef ECIES_X25519_AEAD_RATCHET_SESSION_H__
#define ECIES_X25519_AEAD_RATCHET_SESSION_H__

8
libi2pd/Ed25519.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <openssl/sha.h>
#include "Log.h"
#include "Crypto.h"

8
libi2pd/Ed25519.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef ED25519_H__
#define ED25519_H__

8
libi2pd/Elligator.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <openssl/rand.h>
#include "Crypto.h"
#include "Elligator.h"

8
libi2pd/Elligator.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef ELLIGATOR_H__
#define ELLIGATOR_H__

2
libi2pd/FS.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2016, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

2
libi2pd/FS.h

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2016, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

8
libi2pd/Family.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <openssl/evp.h>
#include <openssl/ssl.h>

8
libi2pd/Family.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef FAMILY_H__
#define FAMILY_H__

8
libi2pd/Garlic.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <inttypes.h>
#include "I2PEndian.h"
#include <map>

8
libi2pd/Garlic.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef GARLIC_H__
#define GARLIC_H__

8
libi2pd/Gost.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <array>
#include <openssl/bn.h>

8
libi2pd/Gost.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef GOST_H__
#define GOST_H__

2
libi2pd/Gzip.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2017, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

8
libi2pd/Gzip.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef GZIP_H__
#define GZIP_H__

2
libi2pd/HTTP.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2019, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

2
libi2pd/HTTP.h

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2019, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

8
libi2pd/I2NPProtocol.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <atomic>
#include "Base.h"

8
libi2pd/I2NPProtocol.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef I2NP_PROTOCOL_H__
#define I2NP_PROTOCOL_H__

8
libi2pd/I2PEndian.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include "I2PEndian.h"
// http://habrahabr.ru/post/121811/

8
libi2pd/I2PEndian.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef I2PENDIAN_H__
#define I2PENDIAN_H__
#include <inttypes.h>

8
libi2pd/Identity.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include "Crypto.h"
#include "I2PEndian.h"
#include "Log.h"

8
libi2pd/Identity.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef IDENTITY_H__
#define IDENTITY_H__

8
libi2pd/LeaseSet.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include "I2PEndian.h"
#include "Crypto.h"

8
libi2pd/LeaseSet.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef LEASE_SET_H__
#define LEASE_SET_H__

8
libi2pd/LittleBigEndian.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
// LittleBigEndian.h fixed for 64-bits added union
//

2
libi2pd/Log.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2016, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

2
libi2pd/Log.h

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2016, The PurpleI2P Project
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*

8
libi2pd/NTCPSession.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <stdlib.h>
#include <future>

8
libi2pd/NTCPSession.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef NTCP_SESSION_H__
#define NTCP_SESSION_H__

8
libi2pd/NetDb.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <fstream>
#include <vector>

8
libi2pd/NetDb.hpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef NETDB_H__
#define NETDB_H__
// this file is called NetDb.hpp to resolve conflict with libc's netdb.h on case insensitive fs

8
libi2pd/NetDbRequests.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include "Log.h"
#include "I2NPProtocol.h"
#include "Transports.h"

8
libi2pd/NetDbRequests.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef NETDB_REQUESTS_H__
#define NETDB_REQUESTS_H__

8
libi2pd/Profiling.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <sys/stat.h>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ini_parser.hpp>

8
libi2pd/Profiling.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef PROFILING_H__
#define PROFILING_H__

8
libi2pd/Queue.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef QUEUE_H__
#define QUEUE_H__

8
libi2pd/Reseed.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <fstream>
#include <sstream>

8
libi2pd/Reseed.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef RESEED_H
#define RESEED_H

8
libi2pd/RouterContext.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <fstream>
#include <openssl/rand.h>
#include "Config.h"

8
libi2pd/RouterContext.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef ROUTER_CONTEXT_H__
#define ROUTER_CONTEXT_H__

8
libi2pd/RouterInfo.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <stdio.h>
#include <string.h>
#include "I2PEndian.h"

8
libi2pd/RouterInfo.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef ROUTER_INFO_H__
#define ROUTER_INFO_H__

8
libi2pd/SSU.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include <boost/bind.hpp>
#include "Log.h"

8
libi2pd/SSU.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef SSU_H__
#define SSU_H__

8
libi2pd/SSUData.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <stdlib.h>
#include <boost/bind.hpp>
#include "Log.h"

8
libi2pd/SSUData.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef SSU_DATA_H__
#define SSU_DATA_H__

8
libi2pd/SSUSession.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <boost/bind.hpp>
#include "version.h"
#include "Crypto.h"

8
libi2pd/SSUSession.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef SSU_SESSION_H__
#define SSU_SESSION_H__

8
libi2pd/Signature.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <memory>
#include "Log.h"
#include "Signature.h"

8
libi2pd/Signature.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef SIGNATURE_H__
#define SIGNATURE_H__

8
libi2pd/Streaming.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include "Crypto.h"
#include "Log.h"
#include "RouterInfo.h"

8
libi2pd/Streaming.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef STREAMING_H__
#define STREAMING_H__

8
libi2pd/Tag.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef TAG_H__
#define TAG_H__

8
libi2pd/Timestamp.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <time.h>
#include <stdio.h>
#include <inttypes.h>

8
libi2pd/Timestamp.h

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef TIMESTAMP_H__
#define TIMESTAMP_H__

8
libi2pd/TransitTunnel.cpp

@ -1,3 +1,11 @@ @@ -1,3 +1,11 @@
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#include <string.h>
#include "I2PEndian.h"
#include "Log.h"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save