|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T d
Length: 1155 (0x483)
Types: TextFile
Names: »debug.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦697af93db⟧ »EurOpenD3/network/snmp/mit-snmp.tar.Z«
└─⟦57bbcbe75⟧
└─⟦this⟧ »./snmp/debug.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦925ee6880⟧ »EurOpenD3/network/snmp/mit-snmp.900225.tar.Z«
└─⟦a4bfa469c⟧
└─⟦this⟧ »./snmp/debug.h«
#ifndef _DEBUG_H_
#define _DEBUG_H_
/*
* $Header: debug.h,v 1.1 89/01/11 22:09:34 jrd Exp $
* Author: J. Davin
* Copyright 1988, 1989, Massachusetts Institute of Technology
* See permission and disclaimer notice in file "notice.h"
*/
#include <notice.h>
#ifdef DEBUG
#include <stdio.h>
#include <asx.h>
#define DEBUG0(a) \
(void) printf ((a)); \
(void) fflush (stdout)
#define DEBUG1(a, b) \
(void) printf ((a), (b)); \
(void) fflush (stdout)
#define DEBUG2(a, b, c) \
(void) printf ((a), (b), (c)); \
(void) fflush (stdout)
#define DEBUG3(a, b, c, d) \
(void) printf ((a), (b), (c), (d)); \
(void) fflush (stdout)
#define DEBUGBYTES(b, n) \
{ \
CIntfType i; \
CBytePtrType cp; \
cp = (CBytePtrType) (b); \
for (i = (CIntfType) (n); i > 0; i--) { \
printf ("%02.02X ", *cp++); \
}}
#define DEBUGASN(a) \
(void) asxPrint ((a), (CUnsfType) 0); \
(void) fflush (stdout)
#else /* DEBUG */
#define DEBUG0(a)
#define DEBUG1(a, b)
#define DEBUG2(a, b, c)
#define DEBUG3(a, b, c, d)
#define DEBUGBYTES(b, n)
#define DEBUGASN(a)
#endif /* DEBUG */
#endif /* _DEBUG_H_ */