diff options
author | Matthew Nicholson <mnicholson@digium.com> | 2011-10-10 14:16:27 +0000 |
---|---|---|
committer | Matthew Nicholson <mnicholson@digium.com> | 2011-10-10 14:16:27 +0000 |
commit | bb07ca66a174bdf92bbdfcc4f58c9065c90b3af3 (patch) | |
tree | 51dd35a6ca2c2285c9414e4bcec538b835fc0ddc /main/manager.c | |
parent | 7cb2ac866495b44b5525fc34650478114f40182e (diff) |
Merged revisions 340109 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10
................
r340109 | mnicholson | 2011-10-10 09:15:41 -0500 (Mon, 10 Oct 2011) | 18 lines
Merged revisions 340108 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r340108 | mnicholson | 2011-10-10 09:14:48 -0500 (Mon, 10 Oct 2011) | 11 lines
Load the proper XML documentation when multiple modules document the same application.
This patch adds an optional "module" attribute to the XML documentation spec
that allows the documentation processor to match apps with identical names from
different modules to their documentation. This patch also fixes a number of
bugs with the documentation processor and should make it a little more
efficient. Support for multiple languages has also been properly implemented.
ASTERISK-18130
Review: https://reviewboard.asterisk.org/r/1485/
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@340110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/manager.c')
-rw-r--r-- | main/manager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/manager.c b/main/manager.c index d4b1b9577..3beb815ac 100644 --- a/main/manager.c +++ b/main/manager.c @@ -5225,23 +5225,23 @@ int ast_manager_register2(const char *action, int auth, int (*func)(struct manse cur->func = func; #ifdef AST_XML_DOCS if (ast_strlen_zero(synopsis) && ast_strlen_zero(description)) { - tmpxml = ast_xmldoc_build_synopsis("manager", action); + tmpxml = ast_xmldoc_build_synopsis("manager", action, NULL); ast_string_field_set(cur, synopsis, tmpxml); ast_free(tmpxml); - tmpxml = ast_xmldoc_build_syntax("manager", action); + tmpxml = ast_xmldoc_build_syntax("manager", action, NULL); ast_string_field_set(cur, syntax, tmpxml); ast_free(tmpxml); - tmpxml = ast_xmldoc_build_description("manager", action); + tmpxml = ast_xmldoc_build_description("manager", action, NULL); ast_string_field_set(cur, description, tmpxml); ast_free(tmpxml); - tmpxml = ast_xmldoc_build_seealso("manager", action); + tmpxml = ast_xmldoc_build_seealso("manager", action, NULL); ast_string_field_set(cur, seealso, tmpxml); ast_free(tmpxml); - tmpxml = ast_xmldoc_build_arguments("manager", action); + tmpxml = ast_xmldoc_build_arguments("manager", action, NULL); ast_string_field_set(cur, arguments, tmpxml); ast_free(tmpxml); |