]> git.ipfire.org Git - thirdparty/cups.git/blame - cups/debug.h
Y2k copyright changes.
[thirdparty/cups.git] / cups / debug.h
CommitLineData
f6f95bd5 1/*
71fe22b7 2 * "$Id: debug.h,v 1.3 2000/01/04 13:45:34 mike Exp $"
f6f95bd5 3 *
4 * Debugging macros for the Common UNIX Printing System (CUPS).
5 *
71fe22b7 6 * Copyright 1997-2000 by Easy Software Products.
f6f95bd5 7 *
8 * These coded instructions, statements, and computer programs are the
9 * property of Easy Software Products and are protected by Federal
10 * copyright law. Distribution and use rights are outlined in the file
11 * "LICENSE.txt" which should have been included with this file. If this
12 * file is missing or damaged please contact Easy Software Products
13 * at:
14 *
15 * Attn: CUPS Licensing Information
16 * Easy Software Products
8784b6a6 17 * 44141 Airport View Drive, Suite 204
f6f95bd5 18 * Hollywood, Maryland 20636-3111 USA
19 *
20 * Voice: (301) 373-9603
21 * EMail: cups-info@cups.org
22 * WWW: http://www.cups.org
23 */
24
25#ifndef _CUPS_DEBUG_H_
26# define _CUPS_DEBUG_H_
27
28/*
29 * Include necessary headers...
30 */
31
32# include <stdio.h>
33
34/*
35 * The debug macros are used if you compile with DEBUG defined.
36 *
37 * Usage:
38 *
39 * DEBUG_puts("string")
40 * DEBUG_printf(("format string", arg, arg, ...));
41 *
42 * Note the extra parenthesis around the DEBUG_printf macro...
43 */
44
45# ifdef DEBUG
46# define DEBUG_puts(x) puts(x)
47# define DEBUG_printf(x) printf x
48# else
49# define DEBUG_puts(x)
50# define DEBUG_printf(x)
51# endif /* DEBUG */
52
53#endif /* !_CUPS_DEBUG_H_ */
54
55/*
71fe22b7 56 * End of "$Id: debug.h,v 1.3 2000/01/04 13:45:34 mike Exp $".
f6f95bd5 57 */