Move all the XML documentation API from pbx.c to xmldoc.c.

Export the XML documentation API:
   ast_xmldoc_build_synopsis()
   ast_xmldoc_build_syntax()
   ast_xmldoc_build_description()
   ast_xmldoc_build_seealso()
   ast_xmldoc_build_arguments()
   ast_xmldoc_printable()
   ast_xmldoc_load_documentation()



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Eliel C. Sardanons
2008-11-10 13:53:23 +00:00
parent 09d2814059
commit 23adb8e509
7 changed files with 1747 additions and 1640 deletions

View File

@@ -117,8 +117,8 @@ int daemon(int, int); /* defined in libresolv of all places */
#include "asterisk/devicestate.h"
#include "asterisk/module.h"
#include "asterisk/dsp.h"
#include "asterisk/xml.h"
#include "asterisk/buildinfo.h"
#include "asterisk/xmldoc.h"
#include "asterisk/doxyref.h" /* Doxygen documentation */
@@ -3346,7 +3346,7 @@ int main(int argc, char *argv[])
#ifdef AST_XML_DOCS
/* Load XML documentation. */
ast_load_documentation();
ast_xmldoc_load_documentation();
#endif
if (load_modules(1)) { /* Load modules, pre-load only */