This series of 4 patches implements simple utility functions to help parse command line options. It also replaces boost program options with custom alternative in kernel loader, cpiod and httpserver.
Waldemar Kozaczuk (4): options: implement light and simple alternative to boost program options loader: replace boost program_options with light options utility functions cpiod: reduce cpiod size by replacing boost program options with the custom light alternative httpserver: replace boost program_options with light options utility functions Makefile | 1 + core/options.cc | 171 ++++++++++++++ include/osv/options.hh | 56 +++++ loader.cc | 178 +++++++------- modules/httpserver-api/global_server.cc | 30 ++- modules/httpserver-api/global_server.hh | 9 +- modules/httpserver-api/main.cc | 52 +++-- modules/httpserver-api/request_handler.cc | 7 +- modules/httpserver-api/request_handler.hh | 5 +- modules/httpserver-api/routes.hh | 1 - modules/httpserver-api/server.cc | 34 ++- modules/httpserver-api/server.hh | 3 +- modules/tests/Makefile | 2 +- tests/tst-options.cc | 269 ++++++++++++++++++++++ tools/cpiod/cpiod.cc | 69 ++++-- 15 files changed, 722 insertions(+), 165 deletions(-) create mode 100644 core/options.cc create mode 100644 include/osv/options.hh create mode 100644 tests/tst-options.cc -- 2.20.1 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/20191003042437.27978-1-jwkozaczuk%40gmail.com.