Files
sics/servlog.h
Douglas Clowes 2d58f48a88 Added SICSLogWriteTime to allow timestamp to be supplied for deferred logging
r2366 | dcl | 2008-02-21 15:02:15 +1100 (Thu, 21 Feb 2008) | 2 lines
2012-11-15 13:33:31 +11:00

25 lines
787 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 );
int KillCapture(SConnection *pCon);
int LogCapture(SConnection *pCon, SicsInterp *pInter, void *pData,
int argc, char *argv[]);
#endif