HOPS
HOPS class reference
isoclog.h
Go to the documentation of this file.
1 /*
2  * Ops include file
3  *
4  * $Id: isoclog.h 842 2007-12-10 16:37:49Z gbc $
5  */
6 
7 /* just disable the whole thing */
8 
9 #ifndef ISOCOPS_H
10 #define ISOCOPS_H
11 
12 /* provoke a segfault if used */
13 #define errlog_enabled *((int*)0)
14 #define comlog_enabled *((int*)0)
15 
16 /* stub out the library calls */
17 #define isoclog(X) (void)0;
18 #define errlog(X) (void)0;
19 #define comlog(X) (void)0;
20 
21 #endif /* ISOCOPS_H */
22 
23 /* original include is below */
24 
25 #ifndef ISOCOPS_H
26 #define ISOCOPS_H
27 /*
28  * Ops error logging routines
29  */
30 extern int errlog_enabled; /* allows logging control */
31 extern int comlog_enabled; /* allows logging control */
32 
33 void isoclog(char *process); /* open log for process */
34 void errlog(char *message); /* forserious conditions */
35 void comlog(char *message); /* for useful commentary */
36 
37 /*
38  * Legal values for the IBEX_LOG environment variable
39  */
40 #define IBEX_LOG_TRUE "true"
41 #define IBEX_LOG_FALSE "false"
42 
43 #endif /* ISOCOPS_H */
44 
45 /*
46  * eof
47  */
#define comlog_enabled
Definition: isoclog.h:14
#define errlog(X)
Definition: isoclog.h:18
#define comlog(X)
Definition: isoclog.h:19
#define isoclog(X)
Definition: isoclog.h:17
#define errlog_enabled
Definition: isoclog.h:13