Annotation of embedaddon/trafshow/colormask.h, revision 1.1.1.1
1.1 misho 1: /*
2: * Copyright (c) 2004 Rinet Corp., Novosibirsk, Russia
3: *
4: * Redistribution and use in source forms, with and without modification,
5: * are permitted provided that this entire comment appears intact.
6: *
7: * THIS SOURCE CODE IS PROVIDED ``AS IS'' WITHOUT ANY WARRANTIES OF ANY KIND.
8: */
9:
10: #ifndef _COLORMASK_H_
11: #define _COLORMASK_H_
12:
13: /* SLcurses can't handle attributes as well; so hack it */
14: #ifdef HAVE_SLCURSES
15: #ifdef SLTT_BOLD_MASK
16: #undef A_BOLD
17: #define A_BOLD SLTT_BOLD_MASK
18: #endif
19: #ifdef SLTT_BLINK_MASK
20: #undef A_BLINK
21: #define A_BLINK SLTT_BLINK_MASK
22: #endif
23: #endif
24:
25: struct netstat_header;
26: int init_colormask(void);
27: int colormask(const struct netstat_header *nh);
28:
29: #endif /* !_COLORMASK_H_ */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>