On Thu, Apr 29, 2010 at 5:21 PM, Anca Vamanu a...@opensips.org wrote:
Olivier Détour wrote:
Hi,
I would like to understand why param when I want to create a new UAS
in my B2B_module has to be str*.
Why don't you use a simple void* in struct b2b_dlg to give context to
callbacks ??
There is something I don't understand with this features ?? (If yes,
you have to check if param == NULL in b2b_new_dlg before
to copy it line 795: dlg.param = *param;)
Regards,
Hi Olivier ,
Initial the param was void*, then it became str* when I wanted to do db
storage also ( it is still not completed, but will be soon).
I do the change that you suggested - indeed it was not safe.
Regards,
Thanks you,
Regards,
--
Olivier Détour
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel