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

refine the config, support directly parse file.

This commit is contained in:
winlin 2015-03-07 22:25:43 +08:00
parent b8e70f8538
commit fbbe46d272
6 changed files with 66 additions and 48 deletions

View file

@ -351,11 +351,11 @@ private:
* print help and exit.
*/
virtual void print_help(char** argv);
public:
/**
* parse the config file, which is specified by cli.
*/
virtual int parse_file(const char* filename);
public:
/**
* check the parsed config.
*/