[OpenSER-Devel] SF.net SVN: openser: [3429] trunk

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Dec 19 13:11:34 UTC 2007


Hi Henning,

wouldn't be better to have the prototype exactly with the 6 parameters 
(instead of "int (*cmd_function)(struct sip_msg*, ...);" ? Just to be 
sincronized with the way the functions are called from the action.c 
(with 6 params). Otherwise I do not see any difference.

Just an idea :)

Regards,
Bogdan

Henning Westerholt wrote:
> Revision: 3429
>           http://openser.svn.sourceforge.net/openser/?rev=3429&view=rev
> Author:   henningw
> Date:     2007-12-18 09:35:40 -0800 (Tue, 18 Dec 2007)
>
> Log Message:
> -----------
> - More flexible module function interface
> - Its now possible to use up to 6 parameter in the config script for module functions
> - This is configurable with a #define
> - Every module function exports that lacks a cast to (cmd_function) produces a warning
>   now, this needs to be fixed
> - Credits for implementation and tests goes to Hardy Kahl, hardy dot kahl at 1und1 dot de
>
> Modified Paths:
> --------------
>     trunk/action.c
>     trunk/cfg.y
>     trunk/route.c
>     trunk/route_struct.h
>     trunk/sr_module.h
>
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list