Common interfaces and clases for plugins.
More...
#include <modules.h>
|
static void | cdrlog (FILE *file, cdr *call) |
| Post cdr record to a file. More...
|
|
static void | errlog (shell::loglevel_t level, const char *text) |
| Module access to error logging system. More...
|
|
Common interfaces and clases for plugins.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 55 of file modules.h.
Enumerator |
---|
REG_FAILED |
|
REG_SUCCESS |
|
Definition at line 58 of file modules.h.
void sipwitch::modules::cdrlog |
( |
FILE * |
file, |
|
|
cdr * |
call |
|
) |
| |
|
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: