[patch] Remove headers by name

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

 



Bump :-)

On Feb 23, 2011, at 2:14 PM, Sa?l Ibarra Corretg? wrote:

> Hi,
> 
> Today I found myself in the need for removing from a SIP request and I found that the only function to do this is pjsip_msg_find_remove_hdr, which receives a pjsip_hdr_e header identifier.
> 
> I didn't find how to remove a header if its not defined by PJSIP, so I created pjsip_msg_find_remove_hdr_by_name function, analogous to pjsip_msg_find_hdr_by_name, which takes a pj_str_t pointer with the header name instead of a pjsip_hdr_e.
> 
> Patch is attached, hope is useful.
> 
> 
> Kind regards,
> 
> -- 
> Sa?l Ibarra Corretg?
> AG Projects
> <pjsip-3368-remove_hdr_by_name.patch>_______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--
Sa?l Ibarra Corretg?
AG Projects






[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