@ -629,7 +629,7 @@ static int xmldoc_has_specialtags(struct ast_xml_node *fixnode)
* \ param rootname Name of the application , function , option , etc . to build the syntax .
* \ param rootname Name of the application , function , option , etc . to build the syntax .
* \ param childname The name of each parameter node .
* \ param childname The name of each parameter node .
* \ param printparenthesis Boolean if we must print parenthesis if not parameters are found in the rootnode .
* \ param printparenthesis Boolean if we must print parenthesis if not parameters are found in the rootnode .
* \ param printrootname Boolean if we must print the rootname before the syntax and parenthesis at the begin ing/ end .
* \ param printrootname Boolean if we must print the rootname before the syntax and parenthesis at the begin n ing/ end .
*
*
* \ retval NULL on error .
* \ retval NULL on error .
* \ retval An ast_malloc ' ed string with the syntax generated .
* \ retval An ast_malloc ' ed string with the syntax generated .
@ -757,7 +757,7 @@ static char *xmldoc_get_syntax_fun(struct ast_xml_node *rootnode, const char *ro
paramname = xmldoc_get_syntax_fun ( node , argname , " argument " , prnparenthesis , prnparenthesis ) ;
paramname = xmldoc_get_syntax_fun ( node , argname , " argument " , prnparenthesis , prnparenthesis ) ;
ast_xml_free_attr ( argname ) ;
ast_xml_free_attr ( argname ) ;
} else {
} else {
/* Malformed XML, print **UNK OWN** */
/* Malformed XML, print **UNK N OWN** */
paramname = ast_strdup ( " **unknown** " ) ;
paramname = ast_strdup ( " **unknown** " ) ;
}
}
} else {
} else {
@ -923,7 +923,7 @@ static char *xmldoc_parse_cmd_enumlist(struct ast_xml_node *fixnode)
*
*
* \ param fixnode The \ < syntax \ > node pointer .
* \ param fixnode The \ < syntax \ > node pointer .
* \ param name The name of the ' command ' .
* \ param name The name of the ' command ' .
* \ param printname Print the name of the command before the param ters?
* \ param printname Print the name of the command before the param e ters?
*
*
* \ return On error , return just ' name ' .
* \ return On error , return just ' name ' .
* \ return On success return the generated syntax .
* \ return On success return the generated syntax .
@ -1441,7 +1441,7 @@ static int xmldoc_parse_specialtags(struct ast_xml_node *fixnode, const char *ta
/* parse <para> elements inside special tags. */
/* parse <para> elements inside special tags. */
for ( node = ast_xml_node_get_children ( node ) ; node ; node = ast_xml_node_get_next ( node ) ) {
for ( node = ast_xml_node_get_children ( node ) ; node ; node = ast_xml_node_get_next ( node ) ) {
/* first <para> just print it without tabs at the begin ing. */
/* first <para> just print it without tabs at the begin n ing. */
if ( ( xmldoc_parse_para ( node , " " , posttabs , buffer ) = = 2 )
if ( ( xmldoc_parse_para ( node , " " , posttabs , buffer ) = = 2 )
| | ( xmldoc_parse_info ( node , " " , posttabs , buffer ) = = 2 ) ) {
| | ( xmldoc_parse_info ( node , " " , posttabs , buffer ) = = 2 ) ) {
ret = 2 ;
ret = 2 ;
@ -1509,7 +1509,7 @@ static int xmldoc_parse_argument(struct ast_xml_node *fixnode, int insideparamet
* \ brief Parse a \ < variable \ > node inside a \ < variablelist \ > node .
* \ brief Parse a \ < variable \ > node inside a \ < variablelist \ > node .
*
*
* \ param node The variable node to parse .
* \ param node The variable node to parse .
* \ param tabs A string to be appended at the begin ing of the output that will be stored
* \ param tabs A string to be appended at the begin n ing of the output that will be stored
* in buffer .
* in buffer .
* \ param buffer This must be an already created ast_str . It will be used
* \ param buffer This must be an already created ast_str . It will be used
* to store the result ( if already has something it will be appended to the current
* to store the result ( if already has something it will be appended to the current
@ -1541,7 +1541,7 @@ static int xmldoc_parse_variable(struct ast_xml_node *node, const char *tabs, st
ast_str_append ( buffer , 0 , " \n " ) ;
ast_str_append ( buffer , 0 , " \n " ) ;
printedpara = 1 ;
printedpara = 1 ;
}
}
/* Parse each <value name='valuename'>desc iption</value> */
/* Parse each <value name='valuename'>desc r iption</value> */
valname = ast_xml_get_attribute ( tmp , " name " ) ;
valname = ast_xml_get_attribute ( tmp , " name " ) ;
if ( valname ) {
if ( valname ) {
ret = 1 ;
ret = 1 ;
@ -1570,7 +1570,7 @@ static int xmldoc_parse_variable(struct ast_xml_node *node, const char *tabs, st
* \ brief Parse a \ < variablelist \ > node and put all the output inside ' buffer ' .
* \ brief Parse a \ < variablelist \ > node and put all the output inside ' buffer ' .
*
*
* \ param node The variablelist node pointer .
* \ param node The variablelist node pointer .
* \ param tabs A string to be appended at the begin ing of the output that will be stored
* \ param tabs A string to be appended at the begin n ing of the output that will be stored
* in buffer .
* in buffer .
* \ param buffer This must be an already created ast_str . It will be used
* \ param buffer This must be an already created ast_str . It will be used
* to store the result ( if already has something it will be appended to the current
* to store the result ( if already has something it will be appended to the current
@ -1653,7 +1653,7 @@ static char *_ast_xmldoc_build_seealso(struct ast_xml_node *node)
}
}
if ( ! node | | ! ast_xml_node_get_children ( node ) ) {
if ( ! node | | ! ast_xml_node_get_children ( node ) ) {
/* we couldn t find a <see-also> node. */
/* we couldn ' t find a <see-also> node. */
return NULL ;
return NULL ;
}
}
@ -1751,7 +1751,7 @@ static char *_ast_xmldoc_build_since(struct ast_xml_node *node)
}
}
if ( ! node | | ! ast_xml_node_get_children ( node ) ) {
if ( ! node | | ! ast_xml_node_get_children ( node ) ) {
/* we couldn t find a <since> node. */
/* we couldn ' t find a <since> node. */
return NULL ;
return NULL ;
}
}
@ -1885,7 +1885,7 @@ static int xmldoc_parse_enumlist(struct ast_xml_node *fixnode, const char *tabs,
* \ brief Parse an \ < option \ > node .
* \ brief Parse an \ < option \ > node .
*
*
* \ param fixnode An ast_xml pointer to the \ < option \ > node .
* \ param fixnode An ast_xml pointer to the \ < option \ > node .
* \ param tabs A string to be appended at the begin ing of each line being added to the
* \ param tabs A string to be appended at the begin n ing of each line being added to the
* buffer string .
* buffer string .
* \ param buffer The output buffer .
* \ param buffer The output buffer .
*
*
@ -1932,7 +1932,7 @@ static int xmldoc_parse_option(struct ast_xml_node *fixnode, const char *tabs, s
* \ brief Parse an \ < optionlist \ > element from the xml documentation .
* \ brief Parse an \ < optionlist \ > element from the xml documentation .
*
*
* \ param fixnode Pointer to the optionlist xml node .
* \ param fixnode Pointer to the optionlist xml node .
* \ param tabs A string to be appended at the begin ing of each line being added to the
* \ param tabs A string to be appended at the begin n ing of each line being added to the
* buffer string .
* buffer string .
* \ param buffer Output buffer to put what is inside the optionlist tag .
* \ param buffer Output buffer to put what is inside the optionlist tag .
*/
*/
@ -2337,7 +2337,7 @@ char *ast_xmldoc_build_synopsis(const char *type, const char *name, const char *
/*!
/*!
* \ internal
* \ internal
* \ brief Build the descript on for an item
* \ brief Build the descript i on for an item
*
*
* \ param node The description node to parse
* \ param node The description node to parse
*
*