Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | /* $Id: cmdlog.h,v 1.1.1.1 2003/11/04 23:34:56 mjames Exp $ |
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 | |||
38 | Removed RCS log messages |
||
39 | |||
40 | * */ |
||
41 | |||
42 | #pragma once |
||
43 | #include "cmdparse.h" |
||
9 | mjames | 44 | |
45 | #include "database.h" |
||
2 | mjames | 46 | #if !defined _CMDPARSE |
47 | #error "Need CmdParse defined first" |
||
48 | #endif |
||
49 | |||
50 | typedef enum |
||
51 | { |
||
52 | LOG_GENERAL, |
||
53 | LOG_SUMMARY, |
||
54 | LOG_ERROR |
||
55 | } EnumLogLevel; |
||
56 | typedef enum |
||
57 | { |
||
58 | TRANSOFF, |
||
59 | TRANSON, |
||
60 | TRANSREAD |
||
61 | } EnumTrans; |
||
62 | typedef enum |
||
63 | { |
||
64 | SETLOG, |
||
65 | LOGNAMEREAD |
||
66 | } EnumLogFile; |
||
67 | extern void InitErrorLog (void); |
||
68 | extern void EndErrorLog (void); |
||
69 | |||
9 | mjames | 70 | DLLEXPORT extern void Log (EnumLogLevel LoggingLevel, char *Format, ...); |
2 | mjames | 71 | extern CommandMenu const LoggingMenu; |
72 | extern int SetTrans (int x); |
||
73 | extern int CloseLog (void); |
||
74 | |||
75 | extern void LogSilent (void); |
||
76 | extern void LogVerbose (void); |
||
77 | |||
78 | /* string constant used around the place */ |
||
79 | |||
80 | #include "version.h" |