[OpenSER-Devel] pvap fixup to mod_fix.c?
Henning Westerholt
henning.westerholt at 1und1.de
Mon Dec 17 16:31:38 UTC 2007
On Monday 17 December 2007, Juha Heinanen wrote:
> Bogdan-Andrei Iancu writes:
> > But I see the following solution:
> >
> > - let's say we have all the generic fixup function made for param 1 (or
> > no index). So, we have :
> > fixup_regexp(void**param);
> > fixup_int(void**param)
> > fixup_str(void**param)
> > fixup_pv(void**param)
> >
> > - and the function fixup will be something like:
> > my_fixup(int index, void**param) {
> > switch (index) {
> > case 1:
> > fixup_regexp(param);
> > break;
> > case 2:
> > fixup_pv(param)
> > break;
> > }
> > }
> >
> > What do you think about this?
>
> bogdan,
>
> your suggestion is ok to me.
For me too.
Cheers,
Henning
More information about the Devel
mailing list