[sr-dev] question about module function arguments

Juha Heinanen jh at tutpro.com
Wed Oct 13 16:47:46 CEST 2010


Andrei Pelinescu-Onciul writes:

> You should add it to the Makefile, e.g.:
> include ../../Makefile.defs
> 
> auto_gen=
> NAME=foo.so
> LIBS=
> DEFS+= -DSER_MOD_INTERFACE
> 
> include ../../Makefile.modules

how does the above work, it KAMAILIO_MOD_INTERFACE is defined by
default?  should it be first somehow undefined, because it is tested
first in sr_module.h?

-- juha



More information about the sr-dev mailing list