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:
parent
cdde293785
commit
980e3921e4
4 changed files with 50 additions and 9 deletions
|
@ -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:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue