Skip to content

Commit b75e0f4

Browse files
committed
[#3209] Initial commit
Rewrote encoding/decoding. src/lib/util/Makefile.am Removed old files, added encode.cc, encode.h src/lib/util/encode/encode.* New implemenentation encoding and decoding not based on boost.
1 parent 02e7cb2 commit b75e0f4

File tree

86 files changed

+450
-1229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+450
-1229
lines changed

src/bin/d2/tests/d2_cfg_mgr_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <dhcpsrv/testutils/config_result_check.h>
1616
#include <process/testutils/d_test_stubs.h>
1717
#include <test_data_files_config.h>
18-
#include <util/encode/base64.h>
18+
#include <util/encode/encode.h>
1919

2020
#include <boost/scoped_ptr.hpp>
2121
#include <gtest/gtest.h>

src/bin/dhcp4/ctrl_dhcp4_srv.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <hooks/hooks_manager.h>
2727
#include <process/cfgrpt/config_report.h>
2828
#include <stats/stats_mgr.h>
29-
#include <util/encode/hex.h>
29+
#include <util/encode/encode.h>
3030
#include <util/multi_threading_mgr.h>
3131

3232
#include <signal.h>

src/bin/dhcp4/json_config_parser.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include <hooks/hooks_manager.h>
4141
#include <hooks/hooks_parser.h>
4242
#include <process/config_ctl_parser.h>
43-
#include <util/encode/hex.h>
43+
#include <util/encode/encode.h>
4444
#include <util/multi_threading_mgr.h>
4545
#include <util/strutil.h>
4646

src/bin/dhcp4/tests/dhcp4_srv_unittest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include <dhcpsrv/host_mgr.h>
3535
#include <stats/stats_mgr.h>
3636
#include <testutils/gtest_utils.h>
37-
#include <util/encode/hex.h>
37+
#include <util/encode/encode.h>
3838

3939
#ifdef HAVE_MYSQL
4040
#include <mysql/testutils/mysql_schema.h>

src/bin/dhcp6/ctrl_dhcp6_srv.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <hooks/hooks_manager.h>
2727
#include <process/cfgrpt/config_report.h>
2828
#include <stats/stats_mgr.h>
29-
#include <util/encode/hex.h>
29+
#include <util/encode/encode.h>
3030
#include <util/multi_threading_mgr.h>
3131

3232
#include <signal.h>

src/bin/dhcp6/dhcp6_srv.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#include <hooks/hooks_log.h>
4848
#include <hooks/hooks_manager.h>
4949
#include <stats/stats_mgr.h>
50-
#include <util/encode/hex.h>
50+
#include <util/encode/encode.h>
5151
#include <util/io_utilities.h>
5252
#include <util/pointer_util.h>
5353
#include <util/range_utilities.h>

src/bin/dhcp6/json_config_parser.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#include <hooks/hooks_parser.h>
4444
#include <log/logger_support.h>
4545
#include <process/config_ctl_parser.h>
46-
#include <util/encode/hex.h>
46+
#include <util/encode/encode.h>
4747
#include <util/multi_threading_mgr.h>
4848
#include <util/strutil.h>
4949
#include <util/triplet.h>

src/bin/dhcp6/tests/dhcp6_srv_unittest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#include <testutils/gtest_utils.h>
3636
#include <util/buffer.h>
3737
#include <util/range_utilities.h>
38-
#include <util/encode/hex.h>
38+
#include <util/encode/encode.h>
3939

4040
#ifdef HAVE_MYSQL
4141
#include <mysql/testutils/mysql_schema.h>

src/bin/perfdhcp/command_options.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <dhcp/duid.h>
1515
#include <dhcp/option.h>
1616
#include <process/cfgrpt/config_report.h>
17-
#include <util/encode/hex.h>
17+
#include <util/encode/encode.h>
1818

1919
#include <boost/lexical_cast.hpp>
2020
#include <boost/date_time/posix_time/posix_time.hpp>

src/hooks/dhcp/lease_cmds/lease_cmds.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <lease_parser.h>
2828
#include <lease_cmds_log.h>
2929
#include <stats/stats_mgr.h>
30-
#include <util/encode/hex.h>
30+
#include <util/encode/encode.h>
3131
#include <util/multi_threading_mgr.h>
3232
#include <util/strutil.h>
3333

0 commit comments

Comments
 (0)