1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine codes.

This commit is contained in:
winlin 2015-12-07 18:22:55 +08:00
parent b2ae1acaa4
commit fabcc91a0e
5 changed files with 71 additions and 1 deletions

View file

@ -90,6 +90,7 @@ extern bool srs_string_starts_with(std::string str, std::string flag0, std::stri
extern bool srs_string_contains(std::string str, std::string flag);
// split the string by flag to array.
extern std::vector<std::string> srs_string_split(std::string str, std::string flag);
extern std::vector<std::string> srs_string_split(std::string str, std::vector<std::string> flags);
// create dir recursively
extern int srs_create_dir_recursively(std::string dir);