Revision: 3958 http://openser.svn.sourceforge.net/openser/?rev=3958&view=rev Author: osas Date: 2008-03-28 07:41:34 -0700 (Fri, 28 Mar 2008)
Log Message: ----------- New dialog callback API: - the 'msg' and 'param'pointers are now passed back via a structure: dlg_cb_params - each callback registration ca register a method for freeing up the 'param': param_free_cb = old API = typedef void (dialog_cb) (struct dlg_cell* dlg, int type, struct sip_msg* msg, void** param); typedef int (*register_dlgcb_f)(struct dlg_cell* dlg, int cb_types, dialog_cb f, void *param); = new API = typedef void (dialog_cb) (struct dlg_cell* dlg, int type, struct dlg_cb_params * params); typedef void (param_free_cb) (void *param); typedef int (*register_dlgcb_f)(struct dlg_cell* dlg, int cb_types, dialog_cb f, void *param, param_free_cb ff); Modified Paths: -------------- trunk/modules/dialog/README trunk/modules/dialog/dlg_cb.c trunk/modules/dialog/dlg_cb.h trunk/modules/dialog/doc/dialog_devel.xml trunk/modules/sst/sst.c trunk/modules/sst/sst_handlers.c trunk/modules/sst/sst_handlers.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel