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

SOFIAPUBFUN isize_t sip_header_size ( sip_header_t const *  h  ) 

Calculate the size of a SIP header and associated memory areas.

Calculate size of a SIP header.

Definition at line 427 of file sip_util.c.

References SIP_NONE.

  assert(h == NULL || h == SIP_NONE || h->sh_class);
  if (h == NULL || h == SIP_NONE)
    return 0;
    return h->sh_class->hc_dxtra(h, h->sh_class->hc_size);

Generated by  Doxygen 1.6.0   Back to index