Module: kamailio
Branch: master
Commit: f5c98a49c98aedcf6e1afec3c42dd862d0eeb9a3
URL:
https://github.com/kamailio/kamailio/commit/f5c98a49c98aedcf6e1afec3c42dd86…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-02T13:15:35+02:00
core: support to specify options for load module
- prototypes:
loadmodule("path", "options")
loadmodulex("path", "options")
- options is a string with characters:
- 'g' or 'G' - open the module shared object file with RTLD_GLOBAL set,
wich can be used for modules related to external scripting languages
to avoid reloading
- example: loadmodule("app_lua", "g")
---
Modified: src/core/cfg.y
Modified: src/core/sr_module.c
Modified: src/core/sr_module.h
Modified: src/main.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f5c98a49c98aedcf6e1afec3c42dd86…
Patch:
https://github.com/kamailio/kamailio/commit/f5c98a49c98aedcf6e1afec3c42dd86…