summaryrefslogtreecommitdiff
path: root/include/asterisk/term.h
diff options
context:
space:
mode:
authorEliel C. Sardanons <eliels@gmail.com>2008-11-10 13:53:23 +0000
committerEliel C. Sardanons <eliels@gmail.com>2008-11-10 13:53:23 +0000
commit23adb8e5096fbeea54805da2b4d0e09070af8375 (patch)
treefecca24f0474fbec482f8759862bb4d28d625d2c /include/asterisk/term.h
parent09d28140599031e67d8c563c92cfb5df93d0a60d (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: https://origsvn.digium.com/svn/asterisk/trunk@155711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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);
/*!