Files
sics/servlog.h
Ferdi Franceschini 0adecdcec9 PSI UPDATE
r2720 | ffr | 2008-10-13 15:40:07 +1100 (Mon, 13 Oct 2008) | 2 lines
2012-11-15 16:53:52 +11:00

26 lines
825 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 SICSLogWriteTime(char *ptext, OutCode eOut, struct timeval *tp );
void SICSLogEnable(int flag);
int KillCapture(SConnection *pCon);
int LogCapture(SConnection *pCon, SicsInterp *pInter, void *pData,
int argc, char *argv[]);
#endif