logfile.h File Reference

Switch Operation Management Interface: Accessing Log files. More...

#include "session.h"

Go to the source code of this file.

Macros

#define SOM_FACILITY_LOGFILE   1
 

Typedefs

typedef void SOMLogfileCallback(struct SOMSession *session, void *ophandle, void *clientdata, int status, const char *opdata, size_t opdatalen)
 Prototype for callback for logfile operation completion. More...
 

Functions

int SOMLogfileSetCallback (struct SOMSession *session, SOMLogfileCallback *callback, SOMLogfileCallback **oldvalue)
 Set the logfile callback function for this session. More...
 
int SOMLogfileMonitor (struct SOMSession *session, const char *filepattern, const char *searchpattern, int interval, void *ophandle, int async)
 Set Logfile monitoring. More...
 
int SOMLogfileView (struct SOMSession *session, const char *filepattern, const char *searchpattern, const char *startdatetime, const char *enddatetime, int numlines, void *ophandle, int async)
 View lines from log files. More...
 
int SOMLogfileList (struct SOMSession *session, const char *filepattern, void *ophandle, int async)
 List log files. More...
 

Detailed Description

Switch Operation Management Interface: Accessing Log files.

Definition in file logfile.h.

All rights reserved © 2002 - 2024 Isode Ltd.