/*! * \brief Unreference a new dialog, helper function for dlg_onreq * \see dlg_onreq * \param dialog unreferenced dialog */ static void unref_new_dialog(void *dialog) { struct tmcb_params p; memset(&p, 0, sizeof (struct tmcb_params)); p.param = (void*) &dialog; dlg_onreply(0, TMCB_DESTROY, &p); }
static void unreference_dialog_create(void *dialog) { struct tmcb_params params; memset(¶ms, 0, sizeof(struct tmcb_params)); params.param = (void*)&dialog; /* just a wapper */ dlg_onreply( 0, TMCB_TRANS_DELETED, ¶ms); }