icinga2/lib/base/base64.hpp

26 lines
334 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2015-07-09 15:20:47 +02:00
#ifndef BASE64_H
#define BASE64_H
#include "remote/i2-remote.hpp"
#include "base/string.hpp"
namespace icinga
{
/**
* Base64
*
* @ingroup remote
*/
2017-12-31 07:22:16 +01:00
struct Base64
2015-07-09 15:20:47 +02:00
{
static String Decode(const String& data);
static String Encode(const String& data);
};
}
#endif /* BASE64_H */