set(base_SOURCES
application.cpp application.thpp application-version.cpp array.cpp
- array-script.cpp boolean.cpp boolean-script.cpp console.cpp context.cpp
+ array-script.cpp boolean.cpp boolean-script.cpp base64.cpp console.cpp context.cpp
convert.cpp datetime.cpp datetime.thpp datetime-script.cpp debuginfo.cpp dictionary.cpp dictionary-script.cpp
configobject.cpp configobject.thpp configobject-script.cpp configtype.cpp configwriter.cpp dependencygraph.cpp
exception.cpp fifo.cpp filelogger.cpp filelogger.thpp initialize.cpp json.cpp
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
******************************************************************************/
-#include "remote/base64.hpp"
+#include "base/base64.hpp"
#include <openssl/bio.h>
#include <openssl/evp.h>
#include <openssl/buffer.h>
*
* @ingroup remote
*/
-struct I2_REMOTE_API Base64
+struct I2_BASE_API Base64
{
static String Decode(const String& data);
static String Encode(const String& data);
set(remote_SOURCES
actionshandler.cpp apiaction.cpp apiclient.cpp
apifunction.cpp apilistener.cpp apilistener.thpp apilistener-configsync.cpp
- apilistener-filesync.cpp apiuser.cpp apiuser.thpp authority.cpp base64.cpp
+ apilistener-filesync.cpp apiuser.cpp apiuser.thpp authority.cpp
consolehandler.cpp configfileshandler.cpp configpackageshandler.cpp configpackageutility.cpp configobjectutility.cpp
configstageshandler.cpp createobjecthandler.cpp deleteobjecthandler.cpp
endpoint.cpp endpoint.thpp eventshandler.cpp eventqueue.cpp filterutility.cpp
******************************************************************************/
#include "remote/apiclient.hpp"
-#include "remote/base64.hpp"
+#include "base/base64.hpp"
#include "base/json.hpp"
#include "base/logger.hpp"
#include "base/exception.hpp"
******************************************************************************/
#include "remote/httpclientconnection.hpp"
-#include "remote/base64.hpp"
#include "base/configtype.hpp"
#include "base/objectlock.hpp"
+#include "base/base64.hpp"
#include "base/utility.hpp"
#include "base/logger.hpp"
#include "base/exception.hpp"
#include "remote/apilistener.hpp"
#include "remote/apifunction.hpp"
#include "remote/jsonrpc.hpp"
-#include "remote/base64.hpp"
+#include "base/base64.hpp"
#include "base/configtype.hpp"
#include "base/objectlock.hpp"
#include "base/utility.hpp"
include(BoostTestTargets)
set(base_test_SOURCES
- base-array.cpp base-convert.cpp base-dictionary.cpp base-fifo.cpp
+ base-array.cpp base-base64.cpp base-convert.cpp base-dictionary.cpp base-fifo.cpp
base-json.cpp base-match.cpp base-netstring.cpp base-object.cpp
base-serialize.cpp base-shellescape.cpp base-stacktrace.cpp
base-stream.cpp base-string.cpp base-timer.cpp base-type.cpp
base-value.cpp config-ops.cpp icinga-checkresult.cpp icinga-macros.cpp
icinga-notification.cpp
- icinga-perfdata.cpp remote-base64.cpp remote-url.cpp
+ icinga-perfdata.cpp remote-url.cpp
)
if(ICINGA2_UNITY_BUILD)
base_array/foreach
base_array/clone
base_array/json
+ base_base64/base64
base_convert/tolong
base_convert/todouble
base_convert/tostring
icinga_perfdata/ignore_invalid_warn_crit_min_max
icinga_perfdata/invalid
icinga_perfdata/multi
- remote_base64/base64
remote_url/id_and_path
remote_url/parameters
remote_url/get_and_set
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
******************************************************************************/
-#include "remote/base64.hpp"
+#include "base/base64.hpp"
#include <BoostTestTargetConfig.h>
using namespace icinga;
-BOOST_AUTO_TEST_SUITE(remote_base64)
+BOOST_AUTO_TEST_SUITE(base_base64)
BOOST_AUTO_TEST_CASE(base64)
{