aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/term.h
diff options
context:
space:
mode:
authoreliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-10 13:53:23 +0000
committereliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-10 13:53:23 +0000
commitd3011dda43482eec830e590d8bbee51f5f9470c7 (patch)
treefecca24f0474fbec482f8759862bb4d28d625d2c /include/asterisk/term.h
parentb8cd660cdd685d8bc152e89cc36560f3875e45a4 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@155711 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/term.h')
-rw-r--r--include/asterisk/term.h4
1 files changed, 4 insertions, 0 deletions
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);
/*!