This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
devel:kamailio-5.0-design [2016/03/01 09:16] miconda [Exporting Functions To Embedded Interpreters] |
devel:kamailio-5.0-design [2016/03/01 09:21] miconda [Exporting Functions To Embedded Interpreters] |
||
---|---|---|---|
Line 31: | Line 31: | ||
* define and implement an export interface from modules to embedded interpreters to automatically add new functions to embedded interpreters | * define and implement an export interface from modules to embedded interpreters to automatically add new functions to embedded interpreters | ||
* it should be in a similar fashion as for adding functions to configuration file, but without fixup mechanism, so bare string/ | * it should be in a similar fashion as for adding functions to configuration file, but without fixup mechanism, so bare string/ | ||
+ | |||
+ | Interface fields: | ||
+ | |||
+ | * submodule name in embedded interpreter | ||
+ | * function name in embedded interpreter | ||
+ | * parameter types | ||
+ | * pointer to c function | ||