mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code.
This commit is contained in:
parent
eca46c03d2
commit
26211abf2e
7 changed files with 35 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue