etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / contrib / zkt-1.1.3 / tcap.h
blob5ad6641a87214a2a07a21069385bc3d2805315df
1 /* $NetBSD: tcap.h,v 1.1.1.1 2015/07/08 15:37:48 christos Exp $ */
3 /*****************************************************************
4 **
5 ** tcap.h -- termcap color capabilities
6 **
7 ** (c) Mar 2010 by hoz
8 **
9 *****************************************************************/
11 #ifndef TCAP_H
12 # define TCAP_H
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,
24 TC_BOLD = 0x100,
25 TC_ITALIC = 0x200
26 } tc_att_t;
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