|
Packit |
d36e9b |
/*
|
|
Packit |
d36e9b |
* libieee1284 - IEEE 1284 library
|
|
Packit |
d36e9b |
* Copyright (C) 2001 Tim Waugh <twaugh@redhat.com>
|
|
Packit |
d36e9b |
*
|
|
Packit |
d36e9b |
* This program is free software; you can redistribute it and/or modify
|
|
Packit |
d36e9b |
* it under the terms of the GNU General Public License as published by
|
|
Packit |
d36e9b |
* the Free Software Foundation; either version 2 of the License, or
|
|
Packit |
d36e9b |
* (at your option) any later version.
|
|
Packit |
d36e9b |
*
|
|
Packit |
d36e9b |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
d36e9b |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
d36e9b |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
d36e9b |
* GNU General Public License for more details.
|
|
Packit |
d36e9b |
*
|
|
Packit |
d36e9b |
* You should have received a copy of the GNU General Public License
|
|
Packit |
d36e9b |
* along with this program; if not, write to the Free Software
|
|
Packit |
d36e9b |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
Packit |
d36e9b |
*/
|
|
Packit |
d36e9b |
|
|
Packit |
d36e9b |
#ifndef _DEBUG_H_
|
|
Packit |
d36e9b |
#define _DEBUG_H_
|
|
Packit |
d36e9b |
|
|
Packit |
d36e9b |
/* GCC attributes */
|
|
Packit |
d36e9b |
#if !defined(__GNUC__) || __GNUC__ < 2 || \
|
|
Packit |
d36e9b |
(__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
|
|
Packit |
d36e9b |
# define FORMAT(x)
|
|
Packit |
d36e9b |
#else /* GNU C: */
|
|
Packit |
d36e9b |
# define FORMAT(x) __attribute__ ((__format__ x))
|
|
Packit |
d36e9b |
#endif
|
|
Packit |
d36e9b |
|
|
Packit |
d36e9b |
struct parport_internal;
|
|
Packit |
d36e9b |
extern void debugprintf (const char *fmt, ...) FORMAT ((__printf__, 1, 2));
|
|
Packit |
d36e9b |
extern unsigned char debug_display_status (unsigned char st);
|
|
Packit |
d36e9b |
extern unsigned char debug_display_control (unsigned char ct);
|
|
Packit |
d36e9b |
extern void debug_frob_control (unsigned char mask, unsigned char val);
|
|
Packit |
d36e9b |
|
|
Packit |
d36e9b |
#endif /* _DEBUG_H_ */
|
|
Packit |
d36e9b |
|
|
Packit |
d36e9b |
/*
|
|
Packit |
d36e9b |
* Local Variables:
|
|
Packit |
d36e9b |
* eval: (c-set-style "gnu")
|
|
Packit |
d36e9b |
* End:
|
|
Packit |
d36e9b |
*/
|