David van Moolenbroek 00b67f09dd Import NetBSD named(8)
Also known as ISC bind.  This import adds utilities such as host(1),
dig(1), and nslookup(1), as well as many other tools and libraries.

Change-Id: I035ca46e64f1965d57019e773f4ff0ef035e4aa3
2017-03-21 22:00:06 +00:00

32 lines
622 B
C

/* $NetBSD: tcap.h,v 1.1.1.1 2015/07/08 15:37:48 christos Exp $ */
/*****************************************************************
**
** tcap.h -- termcap color capabilities
**
** (c) Mar 2010 by hoz
**
*****************************************************************/
#ifndef TCAP_H
# define TCAP_H
typedef enum {
TC_BLACK = 0,
TC_RED,
TC_GREEN,
TC_YELLOW,
TC_BLUE,
TC_MAGENTA,
TC_CYAN,
TC_WHITE,
TC_BOLD = 0x100,
TC_ITALIC = 0x200
} tc_att_t;
extern int tc_init (FILE *fp, const char *term);
extern int tc_end (FILE *fp, const char *term);
extern int tc_attr (FILE *fp, tc_att_t attr, int on);
#endif