Subversion Repositories Vertical

Rev

Rev 9 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11 mjames 1
/* $Id: cmdlog.h,v 1.1.1.1 2003/11/04 23:34:56 mjames Exp $
2 mjames 2
 
3
   $Log: cmdlog.h,v $
4
   Revision 1.1.1.1  2003/11/04 23:34:56  mjames
5
   Imported into local repositrory
6
 
7
   Revision 1.8  2002/01/15 12:32:11  mjames
8
   DLL declarations put in
9
 
10
   Revision 1.7  2001/11/19 10:41:52  mjames
11
   Merged back DTC release
12
 
13
   Revision 1.6.2.1  2001/11/16 15:08:54  mjames
14
   Added a declaration of two exported functions, removed spaces
15
 
16
   Revision 1.6  2001/10/31 22:20:00  mjames
17
   Tidying up problematical comments caused by CVS
18
   'intelligent' comment guessing
19
 
20
   Revision 1.5  2001/07/09 09:41:21  mjames
21
   Tidied up
22
 
23
   Revision 1.4  2001/06/06 12:10:25  mjames
24
   Move from HPUX
25
 
26
   Revision 1.3  2001/01/04 21:26:54  mjames
27
   Modifications to add in the TCL style
28
   argument list to all of the functions
29
   .
30
 
31
   Revision 1.2  2001/01/02 07:53:52  mjames
32
   Made changes to allow for interface with TCL/Tk
33
 
34
   Revision 1.1.1.1  2000/10/19 21:58:35  mjames
35
   Mike put it here
36
 
37
 
11 mjames 38
Removed RCS log messages
2 mjames 39
 
40
 *  */
41
 
11 mjames 42
 
43
 
44
#if ! defined _CMDPARSE
2 mjames 45
#error "Need CmdParse defined first"
46
#endif
47
 
48
 
11 mjames 49
typedef enum {LOG_GENERAL, LOG_SUMMARY, LOG_ERROR} EnumLogLevel;
50
typedef enum {TRANSOFF, TRANSON, TRANSREAD}        EnumTrans ;
51
typedef enum {SETLOG, LOGNAMEREAD}                 EnumLogFile  ;
52
extern void InitErrorLog(void) ;
53
extern void EndErrorLog(void) ;
2 mjames 54
 
55
 
11 mjames 56
__declspec (dllexport) extern void Log         (EnumLogLevel LoggingLevel, char * Format, ...);
57
extern CommandMenu  LoggingMenu;
58
extern int  SetTrans    (int x);
59
extern int  CloseLog    (void);
60
 
61
 
62
extern void LogSilent(void);
63
extern void LogVerbose(void);
64
 
2 mjames 65
/* string constant used around the place */
66
 
67
#include "version.h"
11 mjames 68
 
69
 
70