File: trace.h

package info (click to toggle)
tin 980226-3
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,972 kB
  • ctags: 4,932
  • sloc: ansic: 45,907; sh: 1,577; makefile: 1,130; yacc: 698; perl: 103
file content (41 lines) | stat: -rw-r--r-- 971 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 *  Project   : tin - a Usenet reader
 *  Module    : trace.h
 *  Author    : Thomas Dickey <dickey@clark.net>
 *  Created   : 22.03.1997
 *  Updated   : 22.03.1997
 *  Notes     : Interface of trace.c
 *  Copyright : (c) Copyright 1997-98 by Thomas Dickey
 *	             You may  freely  copy or  redistribute  this software,
 *	             so  long as there is no profit made from its use, sale
 *	             trade or  reproduction.  You may not change this copy-
 *	             right notice, and it must be included in any copy made
 */

#ifndef	included_trace_h
#define	included_trace_h

#ifdef NCURSES_VERSION

extern char * _nc_visbuf(const char *s);

#else

#define _nc_visbuf(s) s

extern	char *_tracechar(int c);

extern	void	_tracef ( const char *, ... )
#if defined(__GNUC__)
	__attribute__ ((format(printf,1,2)))
#endif
	;
#endif

#ifdef USE_TRACE
#define TRACE(p) _tracef p;
#else
#define TRACE(p) /* nothing */
#endif

#endif	/* included_trace_h */