home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / h / svcdebug < prev    next >
Encoding:
Text File  |  1995-01-11  |  638 b   |  34 lines

  1. /* -*-C-*-
  2.  *
  3.  * $Header: /ax/networking:include/svcdebug.h:networking  1.1  $
  4.  * $Source: /ax/networking:include/svcdebug.h: $
  5.  *
  6.  * svcdebug.h - minimal debug support using SVC printf routines
  7.  *
  8.  * Copyright (c) 1995 Acorn Computers Ltd., Cambridge, England
  9.  *
  10.  * $Log:    svcdebug.h,v $
  11.  * Revision 1.1  95/01/11  10:21:40  kwelton
  12.  * Initial revision
  13.  * 
  14.  */
  15.  
  16. #ifdef DEBUG
  17. extern int debug;
  18. #else
  19. # define debug 0
  20. #endif
  21.  
  22. extern void Printf(char *format, ...);
  23.  
  24. #define PRINTF    if (debug) Printf
  25. #define N(x)    (x ? x : "NULL")
  26.  
  27. /*
  28.  * trigger level for "super debugs"
  29.  */
  30. extern int superdebug;
  31. #define SDBTRIGGER 16
  32.  
  33. /* EOF svcdebug.h */
  34.