Subversion Repositories Vertical

Rev

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

  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.  
  43.  
  44. #if ! defined _CMDPARSE
  45. #error "Need CmdParse defined first"
  46. #endif
  47.  
  48.  
  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) ;
  54.  
  55.  
  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.  
  65. /* string constant used around the place */
  66.  
  67. #include "version.h"
  68.  
  69.  
  70.  
  71.