SIP Witch 1.9.15
Data Structures | Public Types | Static Public Member Functions
sipwitch::modules Class Reference

Common interfaces and clases for plugins. More...

#include <modules.h>

Data Structures

class   generic
  A more generic service class for use by plugins. More...
 
class   sipwitch
  Common base class for sipwitch plugin services. More...
 

Public Types

 

Static Public Member Functions

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...
 

Detailed Description

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.

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,
cdrcall 
)
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

AltStyle によって変換されたページ (->オリジナル) /