[sr-dev] git:master: app_lua: function params can be dynamic strings

Daniel-Constantin Mierla miconda at gmail.com
Fri Jan 29 22:55:10 CET 2010


Module: sip-router
Branch: master
Commit: 71e12561770882911b240fc05f39a2175d2bdfc3
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=71e12561770882911b240fc05f39a2175d2bdfc3

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Jan 29 22:52:45 2010 +0100

app_lua: function params can be dynamic strings

- all functions accept parameters with PVs that are evaluated at runtime
- new function lua_runstring() to run lua script in the context of
  loaded lua files at startup
- helper functions to return boolean to lua and print lua stack in c
  side

---

 modules/app_lua/README                |   40 ++++++--
 modules/app_lua/app_lua_api.c         |   57 ++++++++++
 modules/app_lua/app_lua_api.h         |    3 +
 modules/app_lua/app_lua_mod.c         |  181 +++++++++++++++++++++++++++++++--
 modules/app_lua/doc/app_lua_admin.xml |   44 ++++++--
 5 files changed, 296 insertions(+), 29 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=71e12561770882911b240fc05f39a2175d2bdfc3



More information about the sr-dev mailing list