25 lines
753 B
C
25 lines
753 B
C
/*--------------------------------------------------------------------------
|
|
|
|
The server LOG. Logs all connection requests, internal server
|
|
errors, SW-errors, HW-problems, commands etc.
|
|
|
|
Additionally implements a capture command which allows to get
|
|
log output for a client.
|
|
|
|
Mark Koennecke, October 1996, November 1996
|
|
|
|
|
|
copyright: see implementation file
|
|
--------------------------------------------------------------------------*/
|
|
|
|
#ifndef SICSLOG
|
|
#define SICSLOG
|
|
#include "Scommon.h"
|
|
void SICSLogWrite(char *ptext, OutCode eOut );
|
|
void SICSLogEnable(int flag);
|
|
int KillCapture(SConnection *pCon);
|
|
|
|
int LogCapture(SConnection *pCon, SicsInterp *pInter, void *pData,
|
|
int argc, char *argv[]);
|
|
#endif
|