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

refine code.

This commit is contained in:
winlin 2015-12-31 15:57:16 +08:00
parent eca46c03d2
commit 26211abf2e
7 changed files with 35 additions and 12 deletions

View file

@ -70,6 +70,8 @@ extern bool srs_string_starts_with(std::string str, std::string flag);
extern bool srs_string_starts_with(std::string str, std::string flag0, std::string flag1);
// whether string contains with
extern bool srs_string_contains(std::string str, std::string flag);
extern bool srs_string_contains(std::string str, std::string flag0, std::string flag1);
extern bool srs_string_contains(std::string str, std::string flag0, std::string flag1, std::string flag2);
// create dir recursively
extern int srs_create_dir_recursively(std::string dir);