1 /*	$NetBSD: tcap.h,v 1.1.1.1 2015/07/08 15:37:48 christos Exp $	*/
2 
3 /*****************************************************************
4 **
5 **	tcap.h	-- termcap color capabilities
6 **
7 **	(c) Mar 2010 by hoz
8 **
9 *****************************************************************/
10 
11 #ifndef TCAP_H
12 # define TCAP_H
13 
14 typedef	enum	{
15 	TC_BLACK = 0,
16 	TC_RED,
17 	TC_GREEN,
18 	TC_YELLOW,
19 	TC_BLUE,
20 	TC_MAGENTA,
21 	TC_CYAN,
22 	TC_WHITE,
23 
24 	TC_BOLD = 0x100,
25 	TC_ITALIC = 0x200
26 } tc_att_t;
27 
28 extern	int	tc_init (FILE *fp, const char *term);
29 extern	int	tc_end (FILE *fp, const char *term);
30 extern	int	tc_attr (FILE *fp, tc_att_t attr, int on);
31 #endif
32