Module: sip-router Branch: master Commit: 230919ad2e414f0c070a710cb85b3b2b3dfea741 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=230919ad...
Author: Konstantin Mosesov ez@voipgroup.org.ua Committer: Konstantin Mosesov ez@voipgroup.org.ua Date: Tue Dec 11 14:24:08 2012 +0200
app_python: Moved all python scripts to 'python_examples' folder. app_python: Applied a few recent patches for better stack trace. app_python: Fixed a possible segfault on double free. app_python: Added python abstraction layers Router.Core, Router.Ranks, Router.Logger. app_python: Moved all logging stuff to layer Router.Logger, e.g., Router.Logger.LM_ERR(...). app_python: Added 'ranks' constants and moved to Router.Ranks, e.g., Router.Ranks.PROC_MAIN.
---
modules/app_python/mod_Core.c | 70 ++++++ modules/app_python/mod_Core.h | 38 +++ modules/app_python/mod_Logger.c | 249 ++++++++++++++++++++ modules/app_python/mod_Logger.h | 39 +++ modules/app_python/mod_Ranks.c | 85 +++++++ modules/app_python/mod_Ranks.h | 38 +++ modules/app_python/mod_Router.c | 72 ++++++ modules/app_python/mod_Router.h | 39 +++ .../app_python/{ => python_examples}/Loggers.py | 0 .../{ => python_examples}/TestCase_Traceback.py | 0 .../app_python/{ => python_examples}/handler.py | 0 modules/app_python/python_iface.c | 205 ++--------------- modules/app_python/python_iface.h | 2 +- modules/app_python/python_mod.c | 212 ++++++++++++----- modules/app_python/python_msgobj.c | 124 ++++------- modules/app_python/python_support.c | 182 +++++++++++++-- modules/app_python/python_support.h | 12 +- 17 files changed, 1028 insertions(+), 339 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=2309...