Signed-off-by: Simon Rozman <simon@rozman.si>
Ported from Amebis AOsn library to standard C++ Signed-off-by: Simon Rozman <simon@rozman.si>