Updated debug output.
[AROS.git] / workbench / fs / pipe / pipedebug.h
blob77b75cfb89e78703a3613d4d614bf511df24c525
1 /****************************************************************************
2 ** File: pipedebug.h
3 ** Program: pipe-handler - an AmigaDOS handler for named pipes
4 ** Version: 1.1
5 ** Author: Ed Puckett qix@mit-oz
6 **
7 ** Copyright 1987 by EpAc Software. All Rights Reserved.
8 **
9 ** History: 05-Jan-87 Original Version (1.0)
12 #define DEBUGOPEN_MAXNAMELEN 108
14 #define DEBUG_CON_NAME "CON:10/30/300/100/pipe-handler DEBUG"
18 #define OS(s) OutStr ((s), DebugFH)
19 #define NL OutStr ("\n", DebugFH)
20 #define OL(n) OutLONG ((n), DebugFH)
24 extern BPTR DebugFH;
28 extern int InitDebugIO ( /* NodePri */ );
29 extern void CleanupDebugIO ( );
30 extern BPTR DebugOpen ( /* name, mode */ );
31 extern void DebugClose ( /* fh */ );
32 extern int DebugWrite ( /* fh, buf, len */ );
33 extern void OutStr ( /* str, fh */ );
34 extern void OutLONG ( /* n, fh */ );