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

add args3

This commit is contained in:
winlin 2015-09-17 14:03:25 +08:00
parent 1fd83d9314
commit 225e742657
2 changed files with 20 additions and 10 deletions

View file

@ -155,20 +155,20 @@ class SrsConfDirective
{
public:
/**
* the line of config file in which the directive from
*/
* the line of config file in which the directive from
*/
int conf_line;
/**
* the name of directive, for example, the following config text:
* enabled on;
* will be parsed to a directive, its name is "enalbed"
*/
* the name of directive, for example, the following config text:
* enabled on;
* will be parsed to a directive, its name is "enalbed"
*/
std::string name;
/**
* the args of directive, for example, the following config text:
* listen 1935 1936;
* will be parsed to a directive, its args is ["1935", "1936"].
*/
* the args of directive, for example, the following config text:
* listen 1935 1936;
* will be parsed to a directive, its args is ["1935", "1936"].
*/
std::vector<std::string> args;
/**
* the child directives, for example, the following config text:
@ -201,6 +201,7 @@ public:
virtual std::string arg0();
virtual std::string arg1();
virtual std::string arg2();
virtual std::string arg3();
// directives
public:
/**