Replace {Log,Kill}Capture with a more generic hook.
This commit is contained in:
@@ -31,8 +31,7 @@ void SICSLogTimePrintf(OutCode eOut, struct timeval *tp, const char *fmt,
|
||||
...) G_GNUC_PRINTF (3, 4);
|
||||
#undef G_GNUC_PRINTF
|
||||
void SICSLogEnable(int flag);
|
||||
int KillCapture(SConnection * pCon);
|
||||
|
||||
int LogCapture(SConnection * pCon, SicsInterp * pInter, void *pData,
|
||||
int argc, char *argv[]);
|
||||
typedef void (*pSICSLogHook)(const char *pText, OutCode eOut, void *pData);
|
||||
char *AddSICSLogHook(pSICSLogHook func, const char *pCodes, void *pData);
|
||||
char *RemSICSLogHook(void *pData);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user