[sr-dev] RFC: renaming the modules with - (dash) in name

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 19 09:18:03 CET 2016


Hello,

to conclude the thread on mailing lists - the modules were updated few
days ago, the new names:

cplc
janssonrpcc
jsonrpcc
jsonrpcs


Cheers,
Daniel

On 08/12/2016 10:46, Daniel-Constantin Mierla wrote:
> Hello,
>
> given the work for 5.0 which will bring major changes on source tree
> structure, I am considering to remove the - (dash) from the modules that
> have it in the name. There are 4 of them now:
>
> cpl-c
> janssonrpc-c
> jsonrpc-c
> jsonrpc-s
>
> One of the reasons is that this kind of name doesn't work for the
> feature of defining MOD_modname for each loaded module, because - is a
> separator for ids in config language grammar, so for example,
> MOD_jsonrpc-c cannot be used in an #!ifdef.
>
> More over, for embedded interpreters, most of exported functions there
> use kamailio module name as package name, and again this will break. Of
> course, a different package name can be defined, but won't be coherent
> anymore.
>
> Anyone against this renaming?
>
> Cheers,
> Daniel
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com




More information about the sr-dev mailing list