pjsip missing function pjsip_tsx_get_inv_session(pjsip_transaction *tsx);

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey there,

I found that the function pjsip_tsx_get_inv_session(pjsip_transaction *tsx); defined in sip_inv.h is defined nowhere.
Looks like somebody forgot it and nobody else ever needed it...
Anyways, here's what's missing from sip_inv.c:

PJ_DEF(pjsip_inv_session*) pjsip_tsx_get_inv_session(pjsip_transaction *tsx)
{
    struct tsx_inv_data *inv_data = (struct tsx_inv_data *)tsx->mod_data[mod_inv.mod.id];
    return inv_data ? inv_data->inv : NULL;
}

Best Regards,
Andreas


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux