Skip to content
Snippets Groups Projects
Commit 04cde57a authored by Mark Spencer's avatar Mark Spencer
Browse files

Version 0.1.12 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 218fdfa3
No related branches found
No related tags found
No related merge requests found
......@@ -40,4 +40,6 @@ extern int init_logger(void);
extern int init_framer(void);
/* Provided by logger.c */
extern int reload_logger(void);
/* Provided by term.c */
extern int term_init(void);
#endif
......@@ -24,6 +24,7 @@ extern int option_nofork;
extern int option_quiet;
extern int option_console;
extern int option_initcrypto;
extern int option_nocolor;
extern int fully_booted;
extern char defaultlanguage[];
......
/*
* Asterisk -- A telephony toolkit for Linux.
*
* Handy terminal functions for vt* terms
*
* Copyright (C) 1999, Mark Spencer
*
* Mark Spencer <markster@linux-support.net>
*
* This program is free software, distributed under the terms of
* the GNU General Public License
*/
#ifndef _ASTERISK_TERM_H
#define _ASTERISK_TERM_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#define ESC 0x1b
#define ATTR_RESET 0
#define ATTR_BRIGHT 1
#define ATTR_DIM 2
#define ATTR_UNDER 4
#define ATTR_BLINK 5
#define ATTR_REVER 7
#define ATTR_HIDDEN 8
#define COLOR_BLACK 30
#define COLOR_GRAY 30 | 128
#define COLOR_RED 31
#define COLOR_BRRED 31 | 128
#define COLOR_GREEN 32
#define COLOR_BRGREEN 32 | 128
#define COLOR_BROWN 33
#define COLOR_YELLOW 33 | 128
#define COLOR_BLUE 34
#define COLOR_BRBLUE 34 | 128
#define COLOR_MAGENTA 35
#define COLOR_BRMAGENTA 35 | 128
#define COLOR_CYAN 36
#define COLOR_BRCYAN 36 | 128
#define COLOR_WHITE 37
#define COLOR_BRWHITE 37 | 128
extern char *term_color(char *outbuf, char *inbuf, int fgcolor, int bgcolor, int maxout);
extern char *term_prompt(char *outbuf, char *inbuf, int maxout);
extern char *term_prep(void);
extern char *term_end(void);
extern char *term_quit(void);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment