This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c Conflicts: .gitignore SICSmain.c asynnet.c confvirtualmot.c counter.c devexec.c drive.c event.h exebuf.c exeman.c histmem.c interface.h motor.c motorlist.c motorsec.c multicounter.c napi.c napi.h napi4.c network.c nwatch.c nxscript.c nxxml.c nxxml.h ofac.c reflist.c scan.c sicshipadaba.c sicsobj.c site_ansto/docs/Copyright.txt site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl statusfile.c tasdrive.c tasub.c tasub.h tasublib.c tasublib.h
23 lines
824 B
C
23 lines
824 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(const char *prompt, const 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
|