From 0c726be147dcc1c665ce5d1f3832cd4a8150237f Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Wed, 21 Feb 2024 22:28:09 -0500 Subject: [PATCH] Updated header file to reflect recent change in implementation file --- includes/connect_code.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/connect_code.hpp b/includes/connect_code.hpp index 6968ede..f47674b 100644 --- a/includes/connect_code.hpp +++ b/includes/connect_code.hpp @@ -10,5 +10,11 @@ namespace connect_code { /* Given a code, decode it and return a vector with the address and port */ std::vector decode(std::string connect_code); + /* Tokenizes a string, based on the given delimiter */ + std::vector tokenize_str(std::string str, std::string delim); + + /* Convert an IPv4 address from decimal to dotted decimal notation */ + std::string dec_to_dotted_dec(std::string addr); + } #endif