mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
		
							parent
							
								
									d31cd2e5d6
								
							
						
					
					
						commit
						6b4ffcff5a
					
				
					 70 changed files with 848 additions and 847 deletions
				
			
		| 
						 | 
					@ -87,8 +87,7 @@ namespace client
 | 
				
			||||||
		m_RouterInfoHandlers["i2p.router.net.bw.outbound.1s"]        = &I2PControlService::OutboundBandwidth1S;
 | 
							m_RouterInfoHandlers["i2p.router.net.bw.outbound.1s"]        = &I2PControlService::OutboundBandwidth1S;
 | 
				
			||||||
		m_RouterInfoHandlers["i2p.router.net.status"]                = &I2PControlService::NetStatusHandler;
 | 
							m_RouterInfoHandlers["i2p.router.net.status"]                = &I2PControlService::NetStatusHandler;
 | 
				
			||||||
		m_RouterInfoHandlers["i2p.router.net.tunnels.participating"] = &I2PControlService::TunnelsParticipatingHandler;
 | 
							m_RouterInfoHandlers["i2p.router.net.tunnels.participating"] = &I2PControlService::TunnelsParticipatingHandler;
 | 
				
			||||||
		m_RouterInfoHandlers["i2p.router.net.tunnels.successrate"] =
 | 
							m_RouterInfoHandlers["i2p.router.net.tunnels.successrate"]   = &I2PControlService::TunnelsSuccessRateHandler;
 | 
				
			||||||
&I2PControlService::TunnelsSuccessRateHandler;
 | 
					 | 
				
			||||||
		m_RouterInfoHandlers["i2p.router.net.total.received.bytes"]  = &I2PControlService::NetTotalReceivedBytes;
 | 
							m_RouterInfoHandlers["i2p.router.net.total.received.bytes"]  = &I2PControlService::NetTotalReceivedBytes;
 | 
				
			||||||
		m_RouterInfoHandlers["i2p.router.net.total.sent.bytes"]      = &I2PControlService::NetTotalSentBytes;
 | 
							m_RouterInfoHandlers["i2p.router.net.total.sent.bytes"]      = &I2PControlService::NetTotalSentBytes;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -24,7 +24,7 @@ namespace data {
 | 
				
			||||||
	size_t ByteStreamToBase32 (const uint8_t * InBuf, size_t len, char * outBuf, size_t outLen);
 | 
						size_t ByteStreamToBase32 (const uint8_t * InBuf, size_t len, char * outBuf, size_t outLen);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
	 Compute the size for a buffer to contain encoded base64 given that the size of the input is input_size bytes
 | 
						 * Compute the size for a buffer to contain encoded base64 given that the size of the input is input_size bytes
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	size_t Base64EncodingBufferSize(const size_t input_size);
 | 
						size_t Base64EncodingBufferSize(const size_t input_size);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -128,8 +128,8 @@ namespace data
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
			validate lease set buffer signature and extract expiration timestamp
 | 
						 * validate lease set buffer signature and extract expiration timestamp
 | 
				
			||||||
			@returns true if the leaseset is well formed and signature is valid
 | 
						 * @returns true if the leaseset is well formed and signature is valid
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	bool LeaseSetBufferValidate(const uint8_t * ptr, size_t sz, uint64_t & expires);
 | 
						bool LeaseSetBufferValidate(const uint8_t * ptr, size_t sz, uint64_t & expires);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,12 +1,13 @@
 | 
				
			||||||
#include "Poly1305.h"
 | 
					 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
   This code is licensed under the MCGSI Public License
 | 
					 * This code is licensed under the MCGSI Public License
 | 
				
			||||||
   Copyright 2018 Jeff Becker
 | 
					 * Copyright 2018 Jeff Becker
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
   Kovri go write your own code
 | 
					 *Kovri go write your own code
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include "Poly1305.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if !OPENSSL_AEAD_CHACHA20_POLY1305
 | 
					#if !OPENSSL_AEAD_CHACHA20_POLY1305
 | 
				
			||||||
namespace i2p
 | 
					namespace i2p
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,7 @@
 | 
				
			||||||
 * Kovri go write your own code
 | 
					 * Kovri go write your own code
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef LIBI2PD_POLY1305_H
 | 
					#ifndef LIBI2PD_POLY1305_H
 | 
				
			||||||
#define LIBI2PD_POLY1305_H
 | 
					#define LIBI2PD_POLY1305_H
 | 
				
			||||||
#include <cstdint>
 | 
					#include <cstdint>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue