changed del_line_in_str to etract_line

This commit is contained in:
hugogogo
2022-08-10 17:12:28 +02:00
parent 17230ccc42
commit c7905ebd19
3 changed files with 21 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ std::string http_methods_to_str(unsigned int methods);
int path_is_valid(std::string path);
void replace_all_substr(std::string &str, const std::string &ori_substr, const std::string &new_substr);
std::string str_tolower(std::string str);
void del_line_in_str(std::string * str, size_t pos, std::string delim);
std::string extract_line(std::string * str, size_t pos, std::string delim);
void throw_test();
#endif