From 23adb8e5096fbeea54805da2b4d0e09070af8375 Mon Sep 17 00:00:00 2001 From: "Eliel C. Sardanons" Date: Mon, 10 Nov 2008 13:53:23 +0000 Subject: 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 --- include/asterisk/term.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/asterisk/term.h') diff --git a/include/asterisk/term.h b/include/asterisk/term.h index 8c6cab43e..d75cf99d0 100644 --- a/include/asterisk/term.h +++ b/include/asterisk/term.h @@ -62,6 +62,10 @@ extern "C" { #define COLOR_BRWHITE (37 | 128) /*@} */ +/*! \brief Maximum number of characters needed for a color escape sequence, + * plus a null char */ +#define AST_TERM_MAX_ESCAPE_CHARS 23 + char *term_color(char *outbuf, const char *inbuf, int fgcolor, int bgcolor, int maxout); /*! -- cgit v1.2.3