Sat Apr 26 20:55:09 2008

Asterisk developer's documentation


term.h File Reference

Handy terminal functions for vt* terms. More...

Go to the source code of this file.

Defines

#define ATTR_BLINK   5
#define ATTR_BRIGHT   1
#define ATTR_DIM   2
#define ATTR_HIDDEN   8
#define ATTR_RESET   0
#define ATTR_REVER   7
#define ATTR_UNDER   4
#define COLOR_BLACK   30
#define COLOR_BLUE   34
#define COLOR_BRBLUE   34 | 128
#define COLOR_BRCYAN   36 | 128
#define COLOR_BRGREEN   32 | 128
#define COLOR_BRMAGENTA   35 | 128
#define COLOR_BROWN   33
#define COLOR_BRRED   31 | 128
#define COLOR_BRWHITE   37 | 128
#define COLOR_CYAN   36
#define COLOR_GRAY   30 | 128
#define COLOR_GREEN   32
#define COLOR_MAGENTA   35
#define COLOR_RED   31
#define COLOR_WHITE   37
#define COLOR_YELLOW   33 | 128
#define ESC   0x1b

Functions

char * term_color (char *outbuf, const char *inbuf, int fgcolor, int bgcolor, int maxout)
char * term_color_code (char *outbuf, int fgcolor, int bgcolor, int maxout)
char * term_end (void)
char * term_prep (void)
char * term_prompt (char *outbuf, const char *inbuf, int maxout)
char * term_quit (void)
char * term_strip (char *outbuf, char *inbuf, int maxout)


Detailed Description

Handy terminal functions for vt* terms.

Definition in file term.h.


Generated on Sat Apr 26 20:55:09 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.1