#include "config.h"
#include <sofia-sip/su_alloc.h>
#include "sofia-sip/sip_parser.h"
#include <sofia-sip/sip_status.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <limits.h>
#include <stdarg.h>
#include <assert.h>
Include dependency graph for sip_header.c:
Functions | |
sip_header_t * | sip_header_copy (su_home_t *home, sip_header_t const *h) |
Copy a SIP header or whole list. | |
sip_header_t * | sip_header_dup (su_home_t *home, sip_header_t const *h) |
Duplicate (deep copy) a SIP header or whole list. | |
sip_header_t * | sip_header_d (su_home_t *home, msg_t const *msg, char const *b) |
Decode a SIP header string (name: contents CRLF?). | |
int | sip_header_e (char b[], int bsiz, sip_header_t const *h, int flags) |
Encode a SIP header field (name: contents CRLF). | |
sip_header_t * | sip_header_format (su_home_t *home, msg_hclass_t *hc, char const *fmt,...) |
Make a SIP header with formatting provided. | |
int | sip_add_dup (msg_t *msg, sip_t *sip, sip_header_t const *o) |
Add a duplicate of header object to a SIP message. | |
int | sip_add_dup_as (msg_t *msg, sip_t *sip, msg_hclass_t *hc, sip_header_t const *o) |
Add a duplicate of header object to the SIP message. | |
int | sip_add_make (msg_t *msg, sip_t *sip, msg_hclass_t *hc, char const *s) |
Add a header to the SIP message. |
sip_header_t* sip_header_copy | ( | su_home_t * | home, | |
sip_header_t const * | h | |||
) |
sip_header_t* sip_header_dup | ( | su_home_t * | home, | |
sip_header_t const * | h | |||
) |
int sip_header_e | ( | char | b[], | |
int | bsiz, | |||
sip_header_t const * | h, | |||
int | flags | |||
) |