Skip to content

Commit

Permalink
Introduce Internal.serialize()
Browse files Browse the repository at this point in the history
refs #8717
  • Loading branch information
Al2Klimov committed Aug 11, 2021
1 parent 89f782f commit a94efb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ set(base_SOURCES
scriptframe.cpp scriptframe.hpp
scriptglobal.cpp scriptglobal.hpp
scriptutils.cpp scriptutils.hpp
serializer.cpp serializer.hpp
serializer.cpp serializer.hpp serializer-script.cpp
shared.hpp
shared-object.hpp
singleton.hpp
Expand Down
8 changes: 8 additions & 0 deletions lib/base/serializer-script.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */

#include "base/function.hpp"
#include "base/serializer.hpp"

using namespace icinga;

REGISTER_FUNCTION(Internal, serialize, &Serialize, "value:attribute_types");

0 comments on commit a94efb5

Please sign in to comment.