mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-03 21:25:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			334 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			334 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
 | 
						|
 | 
						|
#ifndef BASE64_H
 | 
						|
#define BASE64_H
 | 
						|
 | 
						|
#include "remote/i2-remote.hpp"
 | 
						|
#include "base/string.hpp"
 | 
						|
 | 
						|
namespace icinga
 | 
						|
{
 | 
						|
 | 
						|
/**
 | 
						|
 * Base64
 | 
						|
 *
 | 
						|
 * @ingroup remote
 | 
						|
 */
 | 
						|
struct Base64
 | 
						|
{
 | 
						|
	static String Decode(const String& data);
 | 
						|
	static String Encode(const String& data);
 | 
						|
};
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
#endif /* BASE64_H */
 |