http_extra.c File Reference


Detailed Description

Extra HTTP headers.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Tue Jun 13 02:57:51 2000 ppessi

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

Include dependency graph for http_extra.c:


Functions

int http_cookie_d (su_home_t *home, msg_header_t *h, char *s, int slen)
 Decode (parse) a Cookie header.
int http_cookie_e (char b[], int bsiz, msg_header_t const *h, int flags)
 Encode (print) a Cookie header.
int http_cookie_dup_xtra (msg_header_t const *h, int offset)
 Calculate extra storage used by Cookie header field.
char * http_cookie_dup_one (msg_header_t *dst, msg_header_t const *src, char *b, int xtra)
 Duplicate a Cookie header field.
int http_set_cookie_d (su_home_t *home, msg_header_t *h, char *s, int slen)
 Decode (parse) Set-Cookie header.
int http_set_cookie_e (char b[], int bsiz, msg_header_t const *h, int flags)
 Encode (print) Set-Cookie header.
int http_set_cookie_dup_xtra (msg_header_t const *h, int offset)
 Calculate extra storage used by Set-Cookie header field.
char * http_set_cookie_dup_one (msg_header_t *dst, msg_header_t const *src, char *b, int xtra)
 Duplicate a Set-Cookie header field.

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