1 /***********************************************************************/
2 /* Open Visualization Data Explorer                                    */
3 /* (C) Copyright IBM Corp. 1989,1999                                   */
4 /* ALL RIGHTS RESERVED                                                 */
5 /* This code licensed under the                                        */
6 /*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
7 /***********************************************************************/
8 /*
9  * $Header: /src/master/dx/src/exec/dpexec/log.h,v 1.7 2004/06/09 16:14:28 davidt Exp $
10  */
11 
12 #include <dxconfig.h>
13 
14 #ifndef _LOG_H
15 #define _LOG_H
16 
17 #if defined(__cplusplus) || defined(c_plusplus)
18 extern "C" {
19 #endif
20 
21 #define LOG_FATAL	0
22 #define LOG_ERROR	1
23 #define LOG_WARNING	2
24 #define LOG_STATUS	3
25 #define LOG_INFO	4
26 #define LOG_VERBOSE	5
27 
28 #define LOG_APPEND	0x8000
29 #define LOG_MASK	0x7fff
30 
31 int _dxf_ExLogOpen();
32 void _dxf_ExLogClose();
33 int lprintf(int type, char *format, ...);
34 void _dxf_ExQMessage(int type, int graphId, int len, char *buf);
35 void _dxf_ExLogError (int errnum);
36 
37 #if defined(__cplusplus) || defined(c_plusplus)
38 }
39 #endif
40 
41 #endif /* _LOG_H */
42