23 lines
812 B
C
23 lines
812 B
C
/*--------------------------------------------------------------------------
|
|
C O M M A N D L O G
|
|
|
|
A much requested facility for writing only user an manager level commands
|
|
in a transcript file. This is it.
|
|
|
|
Mark Koennecke, June 1998
|
|
|
|
--------------------------------------------------------------------------*/
|
|
#ifndef COMMANDLOG
|
|
#define COMMANDLOG
|
|
void WriteToCommandLog(char *prompt, char *pText);
|
|
void WriteToCommandLogId(char *prompt, int id, char *text);
|
|
void WriteToCommandLogCmd(int id, char *text);
|
|
int CompactCommandLog(void);
|
|
int CommandLog(SConnection * pCon, SicsInterp * pSics, void *pData,
|
|
int argc, char *argv[]);
|
|
|
|
void CommandLogClose(void *pData);
|
|
void WriteCommandHistory(char *txt);
|
|
void SetWriteHistory(int i);
|
|
#endif
|