sip_refer.c File Reference


Detailed Description

SIP REFER-related headers.

The file sip_refer.c contains implementation of header classes for REFER-related SIP headers Refer-To and Referred-By.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Wed Jan 23 13:23:45 EET 2002 ppessi

#include "config.h"
#include "sofia-sip/sip_parser.h"
#include "sofia-sip/sip_extra.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <assert.h>

Include dependency graph for sip_refer.c:

Functions

char * sip_refer_to_dup_one (sip_header_t *dst, sip_header_t const *src, char *b, isize_t xtra)
 Duplicate one sip_refer_to_t object.
issize_t sip_replaces_d (su_home_t *home, sip_header_t *h, char *s, isize_t slen)
 Decode (parse) Replaces header.
issize_t sip_replaces_e (char b[], isize_t bsiz, sip_header_t const *h, int flags)
 Encode (print) Replaces header.
isize_t sip_replaces_dup_xtra (sip_header_t const *h, isize_t offset)
 Calculate extra storage used by Replaces header field.
char * sip_replaces_dup_one (sip_header_t *dst, sip_header_t const *src, char *b, isize_t xtra)
 Duplicate a Replaces header field.
issize_t sip_refer_sub_d (su_home_t *home, sip_header_t *h, char *s, isize_t slen)
 Decode (parse) Refer-Sub header.
issize_t sip_refer_sub_e (char b[], isize_t bsiz, sip_header_t const *h, int flags)
 Encode (print) Refer-Sub header.
isize_t sip_refer_sub_dup_xtra (sip_header_t const *h, isize_t offset)
 Calculate extra storage used by Refer-Sub header field.
char * sip_refer_sub_dup_one (sip_header_t *dst, sip_header_t const *src, char *b, isize_t xtra)
 Duplicate a Refer-Sub header field.

Variables

msg_hclass_t sip_refer_to_class []
 Header class for Refer-To header.
msg_hclass_t sip_referred_by_class []
 Header class for Referred-By header.
msg_hclass_t sip_replaces_class []
 Header class for Replaces header.
msg_hclass_t sip_refer_sub_class []
 Header class for Refer-Sub header.


Sofia-SIP 1.12.6work - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.