Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

int sip_contact_add_param ( su_home_t home,
sip_contact_t m,
char const *  param 

Add a parameter to a header object

Add a parameter to a object. It does not copy the contents of the string param.

This function does not duplicate param.
home memory home
m sip_contact_t object
param parameter string
0 when successful, and -1 upon an error.
Use msg_header_replace_param() directly.

Definition at line 1436 of file sip_basic.c.

References sip_contact_s::m_common.

  return msg_header_replace_param(home, m->m_common, param);

Generated by  Doxygen 1.6.0   Back to index