Common interfaces and clases for plugins.
More...
#include <modules.h>
Data Structures
A more generic service class for use by plugins.
More...
Common base class for sipwitch plugin services.
More...
Public Types
Static Public Member Functions
static void
errlog (shell::loglevel_t level, const char *text)
Module access to error logging system.
More...
Detailed Description
Member Enumeration Documentation
Enumerator |
---|
REG_FAILED |
REG_SUCCESS |
Definition at line 58 of file modules.h.
Member Function Documentation
void sipwitch::modules::cdrlog
(
FILE *
file,
)
static |
Post cdr record to a file.
This provides a generic way to output cdr info, such as to a fifo for a database logger.
- Parameters
-
file to write to.
call record to publish.
Definition at line 91 of file modules.cpp.
void sipwitch::modules::errlog
(
shell::loglevel_t
level,
const char *
text
)
static |
Module access to error logging system.
This also posts to the events subsystem.
- Parameters
-
level of logging event.
text of logging event.
Definition at line 81 of file modules.cpp.
The documentation for this class was generated from the following files:
Generated on Dec 21, 2017 for
sipwitch-1.9.15 (*.h and *.cpp),
libosip2-5.0.0 (*.h) and
libeXosip2-4.0.0 (*.h),
by
doxygen 1.8.6