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

for #319, add signal to write config to file.

This commit is contained in:
winlin 2015-08-26 21:11:28 +08:00
parent cdde293785
commit 980e3921e4
4 changed files with 50 additions and 9 deletions

View file

@ -284,12 +284,16 @@ private:
// parse options and file
public:
/**
* parse the cli, the main(argc,argv) function.
*/
* parse the cli, the main(argc,argv) function.
*/
virtual int parse_options(int argc, char** argv);
/**
* get the config file path.
*/
* persistence current config to file.
*/
virtual int persistence();
/**
* get the config file path.
*/
virtual std::string config();
private:
/**