Loading...
Searching...
No Matches
http_protos.h
Go to the documentation of this file.
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2005 Nokia Corporation.
*
* Contact: Pekka Pessi <pekka.pessi@nokia-email.address.hidden>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA
*
*/
#ifndef HTTP_PROTOS_H
#define HTTP_PROTOS_H
#include <sofia-sip/su_config.h>
#ifndef HTTP_HEADER_H
#include <sofia-sip/http_header.h>
#endif
#ifndef HTTP_HCLASSES_H
#include <sofia-sip/http_hclasses.h>
#endif
#define http_header_make(h, c, s) \
((http_header_t *)msg_header_make((h), (c), (s)))
#define http_header_vformat(h, c, f, a) \
((http_header_t *)msg_header_vformat((h), (c), (f), (a)))
SOFIA_BEGIN_DECLS
/* Declare internal prototypes for request line */
enum {
http_request_hash = -1
};
SOFIAPUBVAR msg_hclass_t http_request_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_request_d;
SOFIAPUBFUN msg_print_f http_request_e;
#define HTTP_REQUEST_INIT() HTTP_HDR_INIT(request)
#if SU_HAVE_INLINE
su_inline http_request_t *http_request_init(http_request_t x[1])
{
return HTTP_HEADER_INIT(x, http_request_class, sizeof(http_request_t));
}
#else
#define http_request_init(x) \
HTTP_HEADER_INIT(x, http_request_class, sizeof(http_request_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_request(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_request_hash;
}
#else
#define http_is_request(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_request_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_request_t *http_request_dup(su_home_t *home,
http_request_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_request_t *http_request_copy(su_home_t *home,
http_request_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_request_t *http_request_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_request_t *http_request_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_request_t *http_request_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_request_class, fmt, ap);
va_end(ap);
return (http_request_t *)h;
}
su_inline
http_request_t *http_request_dup(su_home_t *home, http_request_t const *o)
{
return (http_request_t *)
msg_header_dup_as(home, http_request_class, (msg_header_t const *)o);
}
su_inline
http_request_t *http_request_copy(su_home_t *home, http_request_t const *o)
{
return (http_request_t *)
msg_header_copy_as(home, http_request_class, (msg_header_t const *)o);
}
su_inline
http_request_t *http_request_make(su_home_t *home, char const *s)
{
return (http_request_t *)http_header_make(home, http_request_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for status line */
enum {
http_status_hash = -2
};
SOFIAPUBVAR msg_hclass_t http_status_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_status_d;
SOFIAPUBFUN msg_print_f http_status_e;
#define HTTP_STATUS_INIT() HTTP_HDR_INIT(status)
#if SU_HAVE_INLINE
su_inline http_status_t *http_status_init(http_status_t x[1])
{
return HTTP_HEADER_INIT(x, http_status_class, sizeof(http_status_t));
}
#else
#define http_status_init(x) \
HTTP_HEADER_INIT(x, http_status_class, sizeof(http_status_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_status(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_status_hash;
}
#else
#define http_is_status(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_status_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_status_t *http_status_dup(su_home_t *home,
http_status_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_status_t *http_status_copy(su_home_t *home,
http_status_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_status_t *http_status_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_status_t *http_status_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_status_t *http_status_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_status_class, fmt, ap);
va_end(ap);
return (http_status_t *)h;
}
su_inline
http_status_t *http_status_dup(su_home_t *home, http_status_t const *o)
{
return (http_status_t *)
msg_header_dup_as(home, http_status_class, (msg_header_t const *)o);
}
su_inline
http_status_t *http_status_copy(su_home_t *home, http_status_t const *o)
{
return (http_status_t *)
msg_header_copy_as(home, http_status_class, (msg_header_t const *)o);
}
su_inline
http_status_t *http_status_make(su_home_t *home, char const *s)
{
return (http_status_t *)http_header_make(home, http_status_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Accept header */
enum {
http_accept_hash = 29344
};
SOFIAPUBVAR msg_hclass_t http_accept_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_accept_d;
SOFIAPUBFUN msg_print_f http_accept_e;
#define HTTP_ACCEPT_INIT() HTTP_HDR_INIT(accept)
#if SU_HAVE_INLINE
su_inline http_accept_t *http_accept_init(http_accept_t x[1])
{
return HTTP_HEADER_INIT(x, http_accept_class, sizeof(http_accept_t));
}
#else
#define http_accept_init(x) \
HTTP_HEADER_INIT(x, http_accept_class, sizeof(http_accept_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_accept(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_accept_hash;
}
#else
#define http_is_accept(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_t *http_accept_dup(su_home_t *home,
http_accept_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_t *http_accept_copy(su_home_t *home,
http_accept_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_t *http_accept_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_t *http_accept_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_accept_t *http_accept_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_accept_class, fmt, ap);
va_end(ap);
return (http_accept_t *)h;
}
su_inline
http_accept_t *http_accept_dup(su_home_t *home, http_accept_t const *o)
{
return (http_accept_t *)
msg_header_dup_as(home, http_accept_class, (msg_header_t const *)o);
}
su_inline
http_accept_t *http_accept_copy(su_home_t *home, http_accept_t const *o)
{
return (http_accept_t *)
msg_header_copy_as(home, http_accept_class, (msg_header_t const *)o);
}
su_inline
http_accept_t *http_accept_make(su_home_t *home, char const *s)
{
return (http_accept_t *)http_header_make(home, http_accept_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Accept-Charset header */
enum {
http_accept_charset_hash = 41803
};
SOFIAPUBVAR msg_hclass_t http_accept_charset_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_accept_charset_d;
SOFIAPUBFUN msg_print_f http_accept_charset_e;
#define HTTP_ACCEPT_CHARSET_INIT() HTTP_HDR_INIT(accept_charset)
#if SU_HAVE_INLINE
su_inline http_accept_charset_t *http_accept_charset_init(http_accept_charset_t x[1])
{
return HTTP_HEADER_INIT(x, http_accept_charset_class, sizeof(http_accept_charset_t));
}
#else
#define http_accept_charset_init(x) \
HTTP_HEADER_INIT(x, http_accept_charset_class, sizeof(http_accept_charset_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_accept_charset(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_accept_charset_hash;
}
#else
#define http_is_accept_charset(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_charset_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_charset_t *http_accept_charset_dup(su_home_t *home,
http_accept_charset_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_charset_t *http_accept_charset_copy(su_home_t *home,
http_accept_charset_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_charset_t *http_accept_charset_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_charset_t *http_accept_charset_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_accept_charset_t *http_accept_charset_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_accept_charset_class, fmt, ap);
va_end(ap);
return (http_accept_charset_t *)h;
}
su_inline
http_accept_charset_t *http_accept_charset_dup(su_home_t *home, http_accept_charset_t const *o)
{
return (http_accept_charset_t *)
msg_header_dup_as(home, http_accept_charset_class, (msg_header_t const *)o);
}
su_inline
http_accept_charset_t *http_accept_charset_copy(su_home_t *home, http_accept_charset_t const *o)
{
return (http_accept_charset_t *)
msg_header_copy_as(home, http_accept_charset_class, (msg_header_t const *)o);
}
su_inline
http_accept_charset_t *http_accept_charset_make(su_home_t *home, char const *s)
{
return (http_accept_charset_t *)http_header_make(home, http_accept_charset_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Accept-Encoding header */
enum {
http_accept_encoding_hash = 35932
};
SOFIAPUBVAR msg_hclass_t http_accept_encoding_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_accept_encoding_d;
SOFIAPUBFUN msg_print_f http_accept_encoding_e;
#define HTTP_ACCEPT_ENCODING_INIT() HTTP_HDR_INIT(accept_encoding)
#if SU_HAVE_INLINE
su_inline http_accept_encoding_t *http_accept_encoding_init(http_accept_encoding_t x[1])
{
return HTTP_HEADER_INIT(x, http_accept_encoding_class, sizeof(http_accept_encoding_t));
}
#else
#define http_accept_encoding_init(x) \
HTTP_HEADER_INIT(x, http_accept_encoding_class, sizeof(http_accept_encoding_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_accept_encoding(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_accept_encoding_hash;
}
#else
#define http_is_accept_encoding(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_encoding_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_encoding_t *http_accept_encoding_dup(su_home_t *home,
http_accept_encoding_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_encoding_t *http_accept_encoding_copy(su_home_t *home,
http_accept_encoding_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_encoding_t *http_accept_encoding_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_encoding_t *http_accept_encoding_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_accept_encoding_t *http_accept_encoding_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_accept_encoding_class, fmt, ap);
va_end(ap);
return (http_accept_encoding_t *)h;
}
su_inline
http_accept_encoding_t *http_accept_encoding_dup(su_home_t *home, http_accept_encoding_t const *o)
{
return (http_accept_encoding_t *)
msg_header_dup_as(home, http_accept_encoding_class, (msg_header_t const *)o);
}
su_inline
http_accept_encoding_t *http_accept_encoding_copy(su_home_t *home, http_accept_encoding_t const *o)
{
return (http_accept_encoding_t *)
msg_header_copy_as(home, http_accept_encoding_class, (msg_header_t const *)o);
}
su_inline
http_accept_encoding_t *http_accept_encoding_make(su_home_t *home, char const *s)
{
return (http_accept_encoding_t *)http_header_make(home, http_accept_encoding_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Accept-Language header */
enum {
http_accept_language_hash = 23797
};
SOFIAPUBVAR msg_hclass_t http_accept_language_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_accept_language_d;
SOFIAPUBFUN msg_print_f http_accept_language_e;
#define HTTP_ACCEPT_LANGUAGE_INIT() HTTP_HDR_INIT(accept_language)
#if SU_HAVE_INLINE
su_inline http_accept_language_t *http_accept_language_init(http_accept_language_t x[1])
{
return HTTP_HEADER_INIT(x, http_accept_language_class, sizeof(http_accept_language_t));
}
#else
#define http_accept_language_init(x) \
HTTP_HEADER_INIT(x, http_accept_language_class, sizeof(http_accept_language_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_accept_language(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_accept_language_hash;
}
#else
#define http_is_accept_language(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_language_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_language_t *http_accept_language_dup(su_home_t *home,
http_accept_language_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_language_t *http_accept_language_copy(su_home_t *home,
http_accept_language_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_language_t *http_accept_language_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_language_t *http_accept_language_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_accept_language_t *http_accept_language_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_accept_language_class, fmt, ap);
va_end(ap);
return (http_accept_language_t *)h;
}
su_inline
http_accept_language_t *http_accept_language_dup(su_home_t *home, http_accept_language_t const *o)
{
return (http_accept_language_t *)
msg_header_dup_as(home, http_accept_language_class, (msg_header_t const *)o);
}
su_inline
http_accept_language_t *http_accept_language_copy(su_home_t *home, http_accept_language_t const *o)
{
return (http_accept_language_t *)
msg_header_copy_as(home, http_accept_language_class, (msg_header_t const *)o);
}
su_inline
http_accept_language_t *http_accept_language_make(su_home_t *home, char const *s)
{
return (http_accept_language_t *)http_header_make(home, http_accept_language_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Accept-Ranges header */
enum {
http_accept_ranges_hash = 59733
};
SOFIAPUBVAR msg_hclass_t http_accept_ranges_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_accept_ranges_d;
SOFIAPUBFUN msg_print_f http_accept_ranges_e;
#define HTTP_ACCEPT_RANGES_INIT() HTTP_HDR_INIT(accept_ranges)
#if SU_HAVE_INLINE
su_inline http_accept_ranges_t *http_accept_ranges_init(http_accept_ranges_t x[1])
{
return HTTP_HEADER_INIT(x, http_accept_ranges_class, sizeof(http_accept_ranges_t));
}
#else
#define http_accept_ranges_init(x) \
HTTP_HEADER_INIT(x, http_accept_ranges_class, sizeof(http_accept_ranges_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_accept_ranges(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_accept_ranges_hash;
}
#else
#define http_is_accept_ranges(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_accept_ranges_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_ranges_t *http_accept_ranges_dup(su_home_t *home,
http_accept_ranges_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_ranges_t *http_accept_ranges_copy(su_home_t *home,
http_accept_ranges_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_ranges_t *http_accept_ranges_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_accept_ranges_t *http_accept_ranges_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_accept_ranges_t *http_accept_ranges_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_accept_ranges_class, fmt, ap);
va_end(ap);
return (http_accept_ranges_t *)h;
}
su_inline
http_accept_ranges_t *http_accept_ranges_dup(su_home_t *home, http_accept_ranges_t const *o)
{
return (http_accept_ranges_t *)
msg_header_dup_as(home, http_accept_ranges_class, (msg_header_t const *)o);
}
su_inline
http_accept_ranges_t *http_accept_ranges_copy(su_home_t *home, http_accept_ranges_t const *o)
{
return (http_accept_ranges_t *)
msg_header_copy_as(home, http_accept_ranges_class, (msg_header_t const *)o);
}
su_inline
http_accept_ranges_t *http_accept_ranges_make(su_home_t *home, char const *s)
{
return (http_accept_ranges_t *)http_header_make(home, http_accept_ranges_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Allow header */
enum {
http_allow_hash = 44519
};
SOFIAPUBVAR msg_hclass_t http_allow_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_allow_d;
SOFIAPUBFUN msg_print_f http_allow_e;
#define HTTP_ALLOW_INIT() HTTP_HDR_INIT(allow)
#if SU_HAVE_INLINE
su_inline http_allow_t *http_allow_init(http_allow_t x[1])
{
return HTTP_HEADER_INIT(x, http_allow_class, sizeof(http_allow_t));
}
#else
#define http_allow_init(x) \
HTTP_HEADER_INIT(x, http_allow_class, sizeof(http_allow_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_allow(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_allow_hash;
}
#else
#define http_is_allow(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_allow_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_allow_t *http_allow_dup(su_home_t *home,
http_allow_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_allow_t *http_allow_copy(su_home_t *home,
http_allow_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_allow_t *http_allow_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_allow_t *http_allow_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_allow_t *http_allow_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_allow_class, fmt, ap);
va_end(ap);
return (http_allow_t *)h;
}
su_inline
http_allow_t *http_allow_dup(su_home_t *home, http_allow_t const *o)
{
return (http_allow_t *)
msg_header_dup_as(home, http_allow_class, (msg_header_t const *)o);
}
su_inline
http_allow_t *http_allow_copy(su_home_t *home, http_allow_t const *o)
{
return (http_allow_t *)
msg_header_copy_as(home, http_allow_class, (msg_header_t const *)o);
}
su_inline
http_allow_t *http_allow_make(su_home_t *home, char const *s)
{
return (http_allow_t *)http_header_make(home, http_allow_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Authentication-Info header */
enum {
http_authentication_info_hash = 20849
};
SOFIAPUBVAR msg_hclass_t http_authentication_info_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_authentication_info_d;
SOFIAPUBFUN msg_print_f http_authentication_info_e;
#define HTTP_AUTHENTICATION_INFO_INIT() HTTP_HDR_INIT(authentication_info)
#if SU_HAVE_INLINE
su_inline http_authentication_info_t *http_authentication_info_init(http_authentication_info_t x[1])
{
return HTTP_HEADER_INIT(x, http_authentication_info_class, sizeof(http_authentication_info_t));
}
#else
#define http_authentication_info_init(x) \
HTTP_HEADER_INIT(x, http_authentication_info_class, sizeof(http_authentication_info_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_authentication_info(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_authentication_info_hash;
}
#else
#define http_is_authentication_info(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_authentication_info_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_authentication_info_t *http_authentication_info_dup(su_home_t *home,
http_authentication_info_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_authentication_info_t *http_authentication_info_copy(su_home_t *home,
http_authentication_info_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_authentication_info_t *http_authentication_info_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_authentication_info_t *http_authentication_info_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_authentication_info_t *http_authentication_info_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_authentication_info_class, fmt, ap);
va_end(ap);
return (http_authentication_info_t *)h;
}
su_inline
http_authentication_info_t *http_authentication_info_dup(su_home_t *home, http_authentication_info_t const *o)
{
return (http_authentication_info_t *)
msg_header_dup_as(home, http_authentication_info_class, (msg_header_t const *)o);
}
su_inline
http_authentication_info_t *http_authentication_info_copy(su_home_t *home, http_authentication_info_t const *o)
{
return (http_authentication_info_t *)
msg_header_copy_as(home, http_authentication_info_class, (msg_header_t const *)o);
}
su_inline
http_authentication_info_t *http_authentication_info_make(su_home_t *home, char const *s)
{
return (http_authentication_info_t *)http_header_make(home, http_authentication_info_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Authorization header */
enum {
http_authorization_hash = 36397
};
SOFIAPUBVAR msg_hclass_t http_authorization_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_authorization_d;
SOFIAPUBFUN msg_print_f http_authorization_e;
#define HTTP_AUTHORIZATION_INIT() HTTP_HDR_INIT(authorization)
#if SU_HAVE_INLINE
su_inline http_authorization_t *http_authorization_init(http_authorization_t x[1])
{
return HTTP_HEADER_INIT(x, http_authorization_class, sizeof(http_authorization_t));
}
#else
#define http_authorization_init(x) \
HTTP_HEADER_INIT(x, http_authorization_class, sizeof(http_authorization_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_authorization(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_authorization_hash;
}
#else
#define http_is_authorization(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_authorization_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_authorization_t *http_authorization_dup(su_home_t *home,
http_authorization_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_authorization_t *http_authorization_copy(su_home_t *home,
http_authorization_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_authorization_t *http_authorization_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_authorization_t *http_authorization_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_authorization_t *http_authorization_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_authorization_class, fmt, ap);
va_end(ap);
return (http_authorization_t *)h;
}
su_inline
http_authorization_t *http_authorization_dup(su_home_t *home, http_authorization_t const *o)
{
return (http_authorization_t *)
msg_header_dup_as(home, http_authorization_class, (msg_header_t const *)o);
}
su_inline
http_authorization_t *http_authorization_copy(su_home_t *home, http_authorization_t const *o)
{
return (http_authorization_t *)
msg_header_copy_as(home, http_authorization_class, (msg_header_t const *)o);
}
su_inline
http_authorization_t *http_authorization_make(su_home_t *home, char const *s)
{
return (http_authorization_t *)http_header_make(home, http_authorization_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Age header */
enum {
http_age_hash = 34725
};
SOFIAPUBVAR msg_hclass_t http_age_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_age_d;
SOFIAPUBFUN msg_print_f http_age_e;
#define HTTP_AGE_INIT() HTTP_HDR_INIT(age)
#if SU_HAVE_INLINE
su_inline http_age_t *http_age_init(http_age_t x[1])
{
return HTTP_HEADER_INIT(x, http_age_class, sizeof(http_age_t));
}
#else
#define http_age_init(x) \
HTTP_HEADER_INIT(x, http_age_class, sizeof(http_age_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_age(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_age_hash;
}
#else
#define http_is_age(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_age_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_age_t *http_age_dup(su_home_t *home,
http_age_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_age_t *http_age_copy(su_home_t *home,
http_age_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_age_t *http_age_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_age_t *http_age_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_age_t *http_age_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_age_class, fmt, ap);
va_end(ap);
return (http_age_t *)h;
}
su_inline
http_age_t *http_age_dup(su_home_t *home, http_age_t const *o)
{
return (http_age_t *)
msg_header_dup_as(home, http_age_class, (msg_header_t const *)o);
}
su_inline
http_age_t *http_age_copy(su_home_t *home, http_age_t const *o)
{
return (http_age_t *)
msg_header_copy_as(home, http_age_class, (msg_header_t const *)o);
}
su_inline
http_age_t *http_age_make(su_home_t *home, char const *s)
{
return (http_age_t *)http_header_make(home, http_age_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Cache-Control header */
enum {
http_cache_control_hash = 48250
};
SOFIAPUBVAR msg_hclass_t http_cache_control_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_cache_control_d;
SOFIAPUBFUN msg_print_f http_cache_control_e;
#define HTTP_CACHE_CONTROL_INIT() HTTP_HDR_INIT(cache_control)
#if SU_HAVE_INLINE
su_inline http_cache_control_t *http_cache_control_init(http_cache_control_t x[1])
{
return HTTP_HEADER_INIT(x, http_cache_control_class, sizeof(http_cache_control_t));
}
#else
#define http_cache_control_init(x) \
HTTP_HEADER_INIT(x, http_cache_control_class, sizeof(http_cache_control_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_cache_control(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_cache_control_hash;
}
#else
#define http_is_cache_control(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_cache_control_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_cache_control_t *http_cache_control_dup(su_home_t *home,
http_cache_control_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_cache_control_t *http_cache_control_copy(su_home_t *home,
http_cache_control_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_cache_control_t *http_cache_control_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_cache_control_t *http_cache_control_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_cache_control_t *http_cache_control_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_cache_control_class, fmt, ap);
va_end(ap);
return (http_cache_control_t *)h;
}
su_inline
http_cache_control_t *http_cache_control_dup(su_home_t *home, http_cache_control_t const *o)
{
return (http_cache_control_t *)
msg_header_dup_as(home, http_cache_control_class, (msg_header_t const *)o);
}
su_inline
http_cache_control_t *http_cache_control_copy(su_home_t *home, http_cache_control_t const *o)
{
return (http_cache_control_t *)
msg_header_copy_as(home, http_cache_control_class, (msg_header_t const *)o);
}
su_inline
http_cache_control_t *http_cache_control_make(su_home_t *home, char const *s)
{
return (http_cache_control_t *)http_header_make(home, http_cache_control_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Connection header */
enum {
http_connection_hash = 32700
};
SOFIAPUBVAR msg_hclass_t http_connection_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_connection_d;
SOFIAPUBFUN msg_print_f http_connection_e;
#define HTTP_CONNECTION_INIT() HTTP_HDR_INIT(connection)
#if SU_HAVE_INLINE
su_inline http_connection_t *http_connection_init(http_connection_t x[1])
{
return HTTP_HEADER_INIT(x, http_connection_class, sizeof(http_connection_t));
}
#else
#define http_connection_init(x) \
HTTP_HEADER_INIT(x, http_connection_class, sizeof(http_connection_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_connection(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_connection_hash;
}
#else
#define http_is_connection(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_connection_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_connection_t *http_connection_dup(su_home_t *home,
http_connection_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_connection_t *http_connection_copy(su_home_t *home,
http_connection_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_connection_t *http_connection_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_connection_t *http_connection_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_connection_t *http_connection_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_connection_class, fmt, ap);
va_end(ap);
return (http_connection_t *)h;
}
su_inline
http_connection_t *http_connection_dup(su_home_t *home, http_connection_t const *o)
{
return (http_connection_t *)
msg_header_dup_as(home, http_connection_class, (msg_header_t const *)o);
}
su_inline
http_connection_t *http_connection_copy(su_home_t *home, http_connection_t const *o)
{
return (http_connection_t *)
msg_header_copy_as(home, http_connection_class, (msg_header_t const *)o);
}
su_inline
http_connection_t *http_connection_make(su_home_t *home, char const *s)
{
return (http_connection_t *)http_header_make(home, http_connection_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Date header */
enum {
http_date_hash = 43982
};
SOFIAPUBVAR msg_hclass_t http_date_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_date_d;
SOFIAPUBFUN msg_print_f http_date_e;
#define HTTP_DATE_INIT() HTTP_HDR_INIT(date)
#if SU_HAVE_INLINE
su_inline http_date_t *http_date_init(http_date_t x[1])
{
return HTTP_HEADER_INIT(x, http_date_class, sizeof(http_date_t));
}
#else
#define http_date_init(x) \
HTTP_HEADER_INIT(x, http_date_class, sizeof(http_date_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_date(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_date_hash;
}
#else
#define http_is_date(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_date_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_date_t *http_date_dup(su_home_t *home,
http_date_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_date_t *http_date_copy(su_home_t *home,
http_date_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_date_t *http_date_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_date_t *http_date_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_date_t *http_date_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_date_class, fmt, ap);
va_end(ap);
return (http_date_t *)h;
}
su_inline
http_date_t *http_date_dup(su_home_t *home, http_date_t const *o)
{
return (http_date_t *)
msg_header_dup_as(home, http_date_class, (msg_header_t const *)o);
}
su_inline
http_date_t *http_date_copy(su_home_t *home, http_date_t const *o)
{
return (http_date_t *)
msg_header_copy_as(home, http_date_class, (msg_header_t const *)o);
}
su_inline
http_date_t *http_date_make(su_home_t *home, char const *s)
{
return (http_date_t *)http_header_make(home, http_date_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for ETag header */
enum {
http_etag_hash = 1813
};
SOFIAPUBVAR msg_hclass_t http_etag_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_etag_d;
SOFIAPUBFUN msg_print_f http_etag_e;
#define HTTP_ETAG_INIT() HTTP_HDR_INIT(etag)
#if SU_HAVE_INLINE
su_inline http_etag_t *http_etag_init(http_etag_t x[1])
{
return HTTP_HEADER_INIT(x, http_etag_class, sizeof(http_etag_t));
}
#else
#define http_etag_init(x) \
HTTP_HEADER_INIT(x, http_etag_class, sizeof(http_etag_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_etag(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_etag_hash;
}
#else
#define http_is_etag(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_etag_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_etag_t *http_etag_dup(su_home_t *home,
http_etag_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_etag_t *http_etag_copy(su_home_t *home,
http_etag_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_etag_t *http_etag_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_etag_t *http_etag_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_etag_t *http_etag_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_etag_class, fmt, ap);
va_end(ap);
return (http_etag_t *)h;
}
su_inline
http_etag_t *http_etag_dup(su_home_t *home, http_etag_t const *o)
{
return (http_etag_t *)
msg_header_dup_as(home, http_etag_class, (msg_header_t const *)o);
}
su_inline
http_etag_t *http_etag_copy(su_home_t *home, http_etag_t const *o)
{
return (http_etag_t *)
msg_header_copy_as(home, http_etag_class, (msg_header_t const *)o);
}
su_inline
http_etag_t *http_etag_make(su_home_t *home, char const *s)
{
return (http_etag_t *)http_header_make(home, http_etag_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Expect header */
enum {
http_expect_hash = 30389
};
SOFIAPUBVAR msg_hclass_t http_expect_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_expect_d;
SOFIAPUBFUN msg_print_f http_expect_e;
#define HTTP_EXPECT_INIT() HTTP_HDR_INIT(expect)
#if SU_HAVE_INLINE
su_inline http_expect_t *http_expect_init(http_expect_t x[1])
{
return HTTP_HEADER_INIT(x, http_expect_class, sizeof(http_expect_t));
}
#else
#define http_expect_init(x) \
HTTP_HEADER_INIT(x, http_expect_class, sizeof(http_expect_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_expect(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_expect_hash;
}
#else
#define http_is_expect(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_expect_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_expect_t *http_expect_dup(su_home_t *home,
http_expect_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_expect_t *http_expect_copy(su_home_t *home,
http_expect_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_expect_t *http_expect_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_expect_t *http_expect_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_expect_t *http_expect_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_expect_class, fmt, ap);
va_end(ap);
return (http_expect_t *)h;
}
su_inline
http_expect_t *http_expect_dup(su_home_t *home, http_expect_t const *o)
{
return (http_expect_t *)
msg_header_dup_as(home, http_expect_class, (msg_header_t const *)o);
}
su_inline
http_expect_t *http_expect_copy(su_home_t *home, http_expect_t const *o)
{
return (http_expect_t *)
msg_header_copy_as(home, http_expect_class, (msg_header_t const *)o);
}
su_inline
http_expect_t *http_expect_make(su_home_t *home, char const *s)
{
return (http_expect_t *)http_header_make(home, http_expect_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Expires header */
enum {
http_expires_hash = 28680
};
SOFIAPUBVAR msg_hclass_t http_expires_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_expires_d;
SOFIAPUBFUN msg_print_f http_expires_e;
#define HTTP_EXPIRES_INIT() HTTP_HDR_INIT(expires)
#if SU_HAVE_INLINE
su_inline http_expires_t *http_expires_init(http_expires_t x[1])
{
return HTTP_HEADER_INIT(x, http_expires_class, sizeof(http_expires_t));
}
#else
#define http_expires_init(x) \
HTTP_HEADER_INIT(x, http_expires_class, sizeof(http_expires_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_expires(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_expires_hash;
}
#else
#define http_is_expires(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_expires_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_expires_t *http_expires_dup(su_home_t *home,
http_expires_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_expires_t *http_expires_copy(su_home_t *home,
http_expires_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_expires_t *http_expires_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_expires_t *http_expires_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_expires_t *http_expires_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_expires_class, fmt, ap);
va_end(ap);
return (http_expires_t *)h;
}
su_inline
http_expires_t *http_expires_dup(su_home_t *home, http_expires_t const *o)
{
return (http_expires_t *)
msg_header_dup_as(home, http_expires_class, (msg_header_t const *)o);
}
su_inline
http_expires_t *http_expires_copy(su_home_t *home, http_expires_t const *o)
{
return (http_expires_t *)
msg_header_copy_as(home, http_expires_class, (msg_header_t const *)o);
}
su_inline
http_expires_t *http_expires_make(su_home_t *home, char const *s)
{
return (http_expires_t *)http_header_make(home, http_expires_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for From header */
enum {
http_from_hash = 15368
};
SOFIAPUBVAR msg_hclass_t http_from_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_from_d;
SOFIAPUBFUN msg_print_f http_from_e;
#define HTTP_FROM_INIT() HTTP_HDR_INIT(from)
#if SU_HAVE_INLINE
su_inline http_from_t *http_from_init(http_from_t x[1])
{
return HTTP_HEADER_INIT(x, http_from_class, sizeof(http_from_t));
}
#else
#define http_from_init(x) \
HTTP_HEADER_INIT(x, http_from_class, sizeof(http_from_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_from(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_from_hash;
}
#else
#define http_is_from(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_from_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_from_t *http_from_dup(su_home_t *home,
http_from_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_from_t *http_from_copy(su_home_t *home,
http_from_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_from_t *http_from_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_from_t *http_from_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_from_t *http_from_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_from_class, fmt, ap);
va_end(ap);
return (http_from_t *)h;
}
su_inline
http_from_t *http_from_dup(su_home_t *home, http_from_t const *o)
{
return (http_from_t *)
msg_header_dup_as(home, http_from_class, (msg_header_t const *)o);
}
su_inline
http_from_t *http_from_copy(su_home_t *home, http_from_t const *o)
{
return (http_from_t *)
msg_header_copy_as(home, http_from_class, (msg_header_t const *)o);
}
su_inline
http_from_t *http_from_make(su_home_t *home, char const *s)
{
return (http_from_t *)http_header_make(home, http_from_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Host header */
enum {
http_host_hash = 33850
};
SOFIAPUBVAR msg_hclass_t http_host_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_host_d;
SOFIAPUBFUN msg_print_f http_host_e;
#define HTTP_HOST_INIT() HTTP_HDR_INIT(host)
#if SU_HAVE_INLINE
su_inline http_host_t *http_host_init(http_host_t x[1])
{
return HTTP_HEADER_INIT(x, http_host_class, sizeof(http_host_t));
}
#else
#define http_host_init(x) \
HTTP_HEADER_INIT(x, http_host_class, sizeof(http_host_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_host(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_host_hash;
}
#else
#define http_is_host(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_host_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_host_t *http_host_dup(su_home_t *home,
http_host_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_host_t *http_host_copy(su_home_t *home,
http_host_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_host_t *http_host_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_host_t *http_host_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_host_t *http_host_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_host_class, fmt, ap);
va_end(ap);
return (http_host_t *)h;
}
su_inline
http_host_t *http_host_dup(su_home_t *home, http_host_t const *o)
{
return (http_host_t *)
msg_header_dup_as(home, http_host_class, (msg_header_t const *)o);
}
su_inline
http_host_t *http_host_copy(su_home_t *home, http_host_t const *o)
{
return (http_host_t *)
msg_header_copy_as(home, http_host_class, (msg_header_t const *)o);
}
su_inline
http_host_t *http_host_make(su_home_t *home, char const *s)
{
return (http_host_t *)http_header_make(home, http_host_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for If-Match header */
enum {
http_if_match_hash = 805
};
SOFIAPUBVAR msg_hclass_t http_if_match_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_if_match_d;
SOFIAPUBFUN msg_print_f http_if_match_e;
#define HTTP_IF_MATCH_INIT() HTTP_HDR_INIT(if_match)
#if SU_HAVE_INLINE
su_inline http_if_match_t *http_if_match_init(http_if_match_t x[1])
{
return HTTP_HEADER_INIT(x, http_if_match_class, sizeof(http_if_match_t));
}
#else
#define http_if_match_init(x) \
HTTP_HEADER_INIT(x, http_if_match_class, sizeof(http_if_match_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_if_match(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_if_match_hash;
}
#else
#define http_is_if_match(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_match_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_if_match_t *http_if_match_dup(su_home_t *home,
http_if_match_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_match_t *http_if_match_copy(su_home_t *home,
http_if_match_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_match_t *http_if_match_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_match_t *http_if_match_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_if_match_t *http_if_match_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_if_match_class, fmt, ap);
va_end(ap);
return (http_if_match_t *)h;
}
su_inline
http_if_match_t *http_if_match_dup(su_home_t *home, http_if_match_t const *o)
{
return (http_if_match_t *)
msg_header_dup_as(home, http_if_match_class, (msg_header_t const *)o);
}
su_inline
http_if_match_t *http_if_match_copy(su_home_t *home, http_if_match_t const *o)
{
return (http_if_match_t *)
msg_header_copy_as(home, http_if_match_class, (msg_header_t const *)o);
}
su_inline
http_if_match_t *http_if_match_make(su_home_t *home, char const *s)
{
return (http_if_match_t *)http_header_make(home, http_if_match_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for If-Modified-Since header */
enum {
http_if_modified_since_hash = 4424
};
SOFIAPUBVAR msg_hclass_t http_if_modified_since_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_if_modified_since_d;
SOFIAPUBFUN msg_print_f http_if_modified_since_e;
#define HTTP_IF_MODIFIED_SINCE_INIT() HTTP_HDR_INIT(if_modified_since)
#if SU_HAVE_INLINE
su_inline http_if_modified_since_t *http_if_modified_since_init(http_if_modified_since_t x[1])
{
return HTTP_HEADER_INIT(x, http_if_modified_since_class, sizeof(http_if_modified_since_t));
}
#else
#define http_if_modified_since_init(x) \
HTTP_HEADER_INIT(x, http_if_modified_since_class, sizeof(http_if_modified_since_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_if_modified_since(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_if_modified_since_hash;
}
#else
#define http_is_if_modified_since(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_modified_since_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_if_modified_since_t *http_if_modified_since_dup(su_home_t *home,
http_if_modified_since_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_modified_since_t *http_if_modified_since_copy(su_home_t *home,
http_if_modified_since_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_modified_since_t *http_if_modified_since_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_modified_since_t *http_if_modified_since_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_if_modified_since_t *http_if_modified_since_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_if_modified_since_class, fmt, ap);
va_end(ap);
return (http_if_modified_since_t *)h;
}
su_inline
http_if_modified_since_t *http_if_modified_since_dup(su_home_t *home, http_if_modified_since_t const *o)
{
return (http_if_modified_since_t *)
msg_header_dup_as(home, http_if_modified_since_class, (msg_header_t const *)o);
}
su_inline
http_if_modified_since_t *http_if_modified_since_copy(su_home_t *home, http_if_modified_since_t const *o)
{
return (http_if_modified_since_t *)
msg_header_copy_as(home, http_if_modified_since_class, (msg_header_t const *)o);
}
su_inline
http_if_modified_since_t *http_if_modified_since_make(su_home_t *home, char const *s)
{
return (http_if_modified_since_t *)http_header_make(home, http_if_modified_since_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for If-None-Match header */
enum {
http_if_none_match_hash = 64610
};
SOFIAPUBVAR msg_hclass_t http_if_none_match_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_if_none_match_d;
SOFIAPUBFUN msg_print_f http_if_none_match_e;
#define HTTP_IF_NONE_MATCH_INIT() HTTP_HDR_INIT(if_none_match)
#if SU_HAVE_INLINE
su_inline http_if_none_match_t *http_if_none_match_init(http_if_none_match_t x[1])
{
return HTTP_HEADER_INIT(x, http_if_none_match_class, sizeof(http_if_none_match_t));
}
#else
#define http_if_none_match_init(x) \
HTTP_HEADER_INIT(x, http_if_none_match_class, sizeof(http_if_none_match_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_if_none_match(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_if_none_match_hash;
}
#else
#define http_is_if_none_match(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_none_match_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_if_none_match_t *http_if_none_match_dup(su_home_t *home,
http_if_none_match_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_none_match_t *http_if_none_match_copy(su_home_t *home,
http_if_none_match_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_none_match_t *http_if_none_match_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_none_match_t *http_if_none_match_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_if_none_match_t *http_if_none_match_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_if_none_match_class, fmt, ap);
va_end(ap);
return (http_if_none_match_t *)h;
}
su_inline
http_if_none_match_t *http_if_none_match_dup(su_home_t *home, http_if_none_match_t const *o)
{
return (http_if_none_match_t *)
msg_header_dup_as(home, http_if_none_match_class, (msg_header_t const *)o);
}
su_inline
http_if_none_match_t *http_if_none_match_copy(su_home_t *home, http_if_none_match_t const *o)
{
return (http_if_none_match_t *)
msg_header_copy_as(home, http_if_none_match_class, (msg_header_t const *)o);
}
su_inline
http_if_none_match_t *http_if_none_match_make(su_home_t *home, char const *s)
{
return (http_if_none_match_t *)http_header_make(home, http_if_none_match_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for If-Range header */
enum {
http_if_range_hash = 40469
};
SOFIAPUBVAR msg_hclass_t http_if_range_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_if_range_d;
SOFIAPUBFUN msg_print_f http_if_range_e;
#define HTTP_IF_RANGE_INIT() HTTP_HDR_INIT(if_range)
#if SU_HAVE_INLINE
su_inline http_if_range_t *http_if_range_init(http_if_range_t x[1])
{
return HTTP_HEADER_INIT(x, http_if_range_class, sizeof(http_if_range_t));
}
#else
#define http_if_range_init(x) \
HTTP_HEADER_INIT(x, http_if_range_class, sizeof(http_if_range_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_if_range(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_if_range_hash;
}
#else
#define http_is_if_range(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_range_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_if_range_t *http_if_range_dup(su_home_t *home,
http_if_range_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_range_t *http_if_range_copy(su_home_t *home,
http_if_range_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_range_t *http_if_range_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_range_t *http_if_range_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_if_range_t *http_if_range_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_if_range_class, fmt, ap);
va_end(ap);
return (http_if_range_t *)h;
}
su_inline
http_if_range_t *http_if_range_dup(su_home_t *home, http_if_range_t const *o)
{
return (http_if_range_t *)
msg_header_dup_as(home, http_if_range_class, (msg_header_t const *)o);
}
su_inline
http_if_range_t *http_if_range_copy(su_home_t *home, http_if_range_t const *o)
{
return (http_if_range_t *)
msg_header_copy_as(home, http_if_range_class, (msg_header_t const *)o);
}
su_inline
http_if_range_t *http_if_range_make(su_home_t *home, char const *s)
{
return (http_if_range_t *)http_header_make(home, http_if_range_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for If-Unmodified-Since header */
enum {
http_if_unmodified_since_hash = 2675
};
SOFIAPUBVAR msg_hclass_t http_if_unmodified_since_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_if_unmodified_since_d;
SOFIAPUBFUN msg_print_f http_if_unmodified_since_e;
#define HTTP_IF_UNMODIFIED_SINCE_INIT() HTTP_HDR_INIT(if_unmodified_since)
#if SU_HAVE_INLINE
su_inline http_if_unmodified_since_t *http_if_unmodified_since_init(http_if_unmodified_since_t x[1])
{
return HTTP_HEADER_INIT(x, http_if_unmodified_since_class, sizeof(http_if_unmodified_since_t));
}
#else
#define http_if_unmodified_since_init(x) \
HTTP_HEADER_INIT(x, http_if_unmodified_since_class, sizeof(http_if_unmodified_since_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_if_unmodified_since(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_if_unmodified_since_hash;
}
#else
#define http_is_if_unmodified_since(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_if_unmodified_since_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_if_unmodified_since_t *http_if_unmodified_since_dup(su_home_t *home,
http_if_unmodified_since_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_unmodified_since_t *http_if_unmodified_since_copy(su_home_t *home,
http_if_unmodified_since_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_unmodified_since_t *http_if_unmodified_since_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_if_unmodified_since_t *http_if_unmodified_since_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_if_unmodified_since_t *http_if_unmodified_since_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_if_unmodified_since_class, fmt, ap);
va_end(ap);
return (http_if_unmodified_since_t *)h;
}
su_inline
http_if_unmodified_since_t *http_if_unmodified_since_dup(su_home_t *home, http_if_unmodified_since_t const *o)
{
return (http_if_unmodified_since_t *)
msg_header_dup_as(home, http_if_unmodified_since_class, (msg_header_t const *)o);
}
su_inline
http_if_unmodified_since_t *http_if_unmodified_since_copy(su_home_t *home, http_if_unmodified_since_t const *o)
{
return (http_if_unmodified_since_t *)
msg_header_copy_as(home, http_if_unmodified_since_class, (msg_header_t const *)o);
}
su_inline
http_if_unmodified_since_t *http_if_unmodified_since_make(su_home_t *home, char const *s)
{
return (http_if_unmodified_since_t *)http_header_make(home, http_if_unmodified_since_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Last-Modified header */
enum {
http_last_modified_hash = 19958
};
SOFIAPUBVAR msg_hclass_t http_last_modified_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_last_modified_d;
SOFIAPUBFUN msg_print_f http_last_modified_e;
#define HTTP_LAST_MODIFIED_INIT() HTTP_HDR_INIT(last_modified)
#if SU_HAVE_INLINE
su_inline http_last_modified_t *http_last_modified_init(http_last_modified_t x[1])
{
return HTTP_HEADER_INIT(x, http_last_modified_class, sizeof(http_last_modified_t));
}
#else
#define http_last_modified_init(x) \
HTTP_HEADER_INIT(x, http_last_modified_class, sizeof(http_last_modified_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_last_modified(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_last_modified_hash;
}
#else
#define http_is_last_modified(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_last_modified_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_last_modified_t *http_last_modified_dup(su_home_t *home,
http_last_modified_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_last_modified_t *http_last_modified_copy(su_home_t *home,
http_last_modified_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_last_modified_t *http_last_modified_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_last_modified_t *http_last_modified_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_last_modified_t *http_last_modified_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_last_modified_class, fmt, ap);
va_end(ap);
return (http_last_modified_t *)h;
}
su_inline
http_last_modified_t *http_last_modified_dup(su_home_t *home, http_last_modified_t const *o)
{
return (http_last_modified_t *)
msg_header_dup_as(home, http_last_modified_class, (msg_header_t const *)o);
}
su_inline
http_last_modified_t *http_last_modified_copy(su_home_t *home, http_last_modified_t const *o)
{
return (http_last_modified_t *)
msg_header_copy_as(home, http_last_modified_class, (msg_header_t const *)o);
}
su_inline
http_last_modified_t *http_last_modified_make(su_home_t *home, char const *s)
{
return (http_last_modified_t *)http_header_make(home, http_last_modified_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Location header */
enum {
http_location_hash = 60949
};
SOFIAPUBVAR msg_hclass_t http_location_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_location_d;
SOFIAPUBFUN msg_print_f http_location_e;
#define HTTP_LOCATION_INIT() HTTP_HDR_INIT(location)
#if SU_HAVE_INLINE
su_inline http_location_t *http_location_init(http_location_t x[1])
{
return HTTP_HEADER_INIT(x, http_location_class, sizeof(http_location_t));
}
#else
#define http_location_init(x) \
HTTP_HEADER_INIT(x, http_location_class, sizeof(http_location_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_location(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_location_hash;
}
#else
#define http_is_location(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_location_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_location_t *http_location_dup(su_home_t *home,
http_location_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_location_t *http_location_copy(su_home_t *home,
http_location_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_location_t *http_location_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_location_t *http_location_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_location_t *http_location_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_location_class, fmt, ap);
va_end(ap);
return (http_location_t *)h;
}
su_inline
http_location_t *http_location_dup(su_home_t *home, http_location_t const *o)
{
return (http_location_t *)
msg_header_dup_as(home, http_location_class, (msg_header_t const *)o);
}
su_inline
http_location_t *http_location_copy(su_home_t *home, http_location_t const *o)
{
return (http_location_t *)
msg_header_copy_as(home, http_location_class, (msg_header_t const *)o);
}
su_inline
http_location_t *http_location_make(su_home_t *home, char const *s)
{
return (http_location_t *)http_header_make(home, http_location_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Max-Forwards header */
enum {
http_max_forwards_hash = 27231
};
SOFIAPUBVAR msg_hclass_t http_max_forwards_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_max_forwards_d;
SOFIAPUBFUN msg_print_f http_max_forwards_e;
#define HTTP_MAX_FORWARDS_INIT() HTTP_HDR_INIT(max_forwards)
#if SU_HAVE_INLINE
su_inline http_max_forwards_t *http_max_forwards_init(http_max_forwards_t x[1])
{
return HTTP_HEADER_INIT(x, http_max_forwards_class, sizeof(http_max_forwards_t));
}
#else
#define http_max_forwards_init(x) \
HTTP_HEADER_INIT(x, http_max_forwards_class, sizeof(http_max_forwards_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_max_forwards(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_max_forwards_hash;
}
#else
#define http_is_max_forwards(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_max_forwards_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_max_forwards_t *http_max_forwards_dup(su_home_t *home,
http_max_forwards_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_max_forwards_t *http_max_forwards_copy(su_home_t *home,
http_max_forwards_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_max_forwards_t *http_max_forwards_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_max_forwards_t *http_max_forwards_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_max_forwards_t *http_max_forwards_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_max_forwards_class, fmt, ap);
va_end(ap);
return (http_max_forwards_t *)h;
}
su_inline
http_max_forwards_t *http_max_forwards_dup(su_home_t *home, http_max_forwards_t const *o)
{
return (http_max_forwards_t *)
msg_header_dup_as(home, http_max_forwards_class, (msg_header_t const *)o);
}
su_inline
http_max_forwards_t *http_max_forwards_copy(su_home_t *home, http_max_forwards_t const *o)
{
return (http_max_forwards_t *)
msg_header_copy_as(home, http_max_forwards_class, (msg_header_t const *)o);
}
su_inline
http_max_forwards_t *http_max_forwards_make(su_home_t *home, char const *s)
{
return (http_max_forwards_t *)http_header_make(home, http_max_forwards_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Pragma header */
enum {
http_pragma_hash = 49776
};
SOFIAPUBVAR msg_hclass_t http_pragma_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_pragma_d;
SOFIAPUBFUN msg_print_f http_pragma_e;
#define HTTP_PRAGMA_INIT() HTTP_HDR_INIT(pragma)
#if SU_HAVE_INLINE
su_inline http_pragma_t *http_pragma_init(http_pragma_t x[1])
{
return HTTP_HEADER_INIT(x, http_pragma_class, sizeof(http_pragma_t));
}
#else
#define http_pragma_init(x) \
HTTP_HEADER_INIT(x, http_pragma_class, sizeof(http_pragma_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_pragma(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_pragma_hash;
}
#else
#define http_is_pragma(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_pragma_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_pragma_t *http_pragma_dup(su_home_t *home,
http_pragma_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_pragma_t *http_pragma_copy(su_home_t *home,
http_pragma_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_pragma_t *http_pragma_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_pragma_t *http_pragma_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_pragma_t *http_pragma_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_pragma_class, fmt, ap);
va_end(ap);
return (http_pragma_t *)h;
}
su_inline
http_pragma_t *http_pragma_dup(su_home_t *home, http_pragma_t const *o)
{
return (http_pragma_t *)
msg_header_dup_as(home, http_pragma_class, (msg_header_t const *)o);
}
su_inline
http_pragma_t *http_pragma_copy(su_home_t *home, http_pragma_t const *o)
{
return (http_pragma_t *)
msg_header_copy_as(home, http_pragma_class, (msg_header_t const *)o);
}
su_inline
http_pragma_t *http_pragma_make(su_home_t *home, char const *s)
{
return (http_pragma_t *)http_header_make(home, http_pragma_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Proxy-Authenticate header */
enum {
http_proxy_authenticate_hash = 57658
};
SOFIAPUBVAR msg_hclass_t http_proxy_authenticate_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_proxy_authenticate_d;
SOFIAPUBFUN msg_print_f http_proxy_authenticate_e;
#define HTTP_PROXY_AUTHENTICATE_INIT() HTTP_HDR_INIT(proxy_authenticate)
#if SU_HAVE_INLINE
su_inline http_proxy_authenticate_t *http_proxy_authenticate_init(http_proxy_authenticate_t x[1])
{
return HTTP_HEADER_INIT(x, http_proxy_authenticate_class, sizeof(http_proxy_authenticate_t));
}
#else
#define http_proxy_authenticate_init(x) \
HTTP_HEADER_INIT(x, http_proxy_authenticate_class, sizeof(http_proxy_authenticate_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_proxy_authenticate(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_proxy_authenticate_hash;
}
#else
#define http_is_proxy_authenticate(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_proxy_authenticate_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authenticate_t *http_proxy_authenticate_dup(su_home_t *home,
http_proxy_authenticate_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authenticate_t *http_proxy_authenticate_copy(su_home_t *home,
http_proxy_authenticate_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authenticate_t *http_proxy_authenticate_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authenticate_t *http_proxy_authenticate_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_proxy_authenticate_t *http_proxy_authenticate_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_proxy_authenticate_class, fmt, ap);
va_end(ap);
return (http_proxy_authenticate_t *)h;
}
su_inline
http_proxy_authenticate_t *http_proxy_authenticate_dup(su_home_t *home, http_proxy_authenticate_t const *o)
{
return (http_proxy_authenticate_t *)
msg_header_dup_as(home, http_proxy_authenticate_class, (msg_header_t const *)o);
}
su_inline
http_proxy_authenticate_t *http_proxy_authenticate_copy(su_home_t *home, http_proxy_authenticate_t const *o)
{
return (http_proxy_authenticate_t *)
msg_header_copy_as(home, http_proxy_authenticate_class, (msg_header_t const *)o);
}
su_inline
http_proxy_authenticate_t *http_proxy_authenticate_make(su_home_t *home, char const *s)
{
return (http_proxy_authenticate_t *)http_header_make(home, http_proxy_authenticate_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Proxy-Authorization header */
enum {
http_proxy_authorization_hash = 21244
};
SOFIAPUBVAR msg_hclass_t http_proxy_authorization_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_proxy_authorization_d;
SOFIAPUBFUN msg_print_f http_proxy_authorization_e;
#define HTTP_PROXY_AUTHORIZATION_INIT() HTTP_HDR_INIT(proxy_authorization)
#if SU_HAVE_INLINE
su_inline http_proxy_authorization_t *http_proxy_authorization_init(http_proxy_authorization_t x[1])
{
return HTTP_HEADER_INIT(x, http_proxy_authorization_class, sizeof(http_proxy_authorization_t));
}
#else
#define http_proxy_authorization_init(x) \
HTTP_HEADER_INIT(x, http_proxy_authorization_class, sizeof(http_proxy_authorization_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_proxy_authorization(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_proxy_authorization_hash;
}
#else
#define http_is_proxy_authorization(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_proxy_authorization_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authorization_t *http_proxy_authorization_dup(su_home_t *home,
http_proxy_authorization_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authorization_t *http_proxy_authorization_copy(su_home_t *home,
http_proxy_authorization_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authorization_t *http_proxy_authorization_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_authorization_t *http_proxy_authorization_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_proxy_authorization_t *http_proxy_authorization_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_proxy_authorization_class, fmt, ap);
va_end(ap);
return (http_proxy_authorization_t *)h;
}
su_inline
http_proxy_authorization_t *http_proxy_authorization_dup(su_home_t *home, http_proxy_authorization_t const *o)
{
return (http_proxy_authorization_t *)
msg_header_dup_as(home, http_proxy_authorization_class, (msg_header_t const *)o);
}
su_inline
http_proxy_authorization_t *http_proxy_authorization_copy(su_home_t *home, http_proxy_authorization_t const *o)
{
return (http_proxy_authorization_t *)
msg_header_copy_as(home, http_proxy_authorization_class, (msg_header_t const *)o);
}
su_inline
http_proxy_authorization_t *http_proxy_authorization_make(su_home_t *home, char const *s)
{
return (http_proxy_authorization_t *)http_header_make(home, http_proxy_authorization_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Range header */
enum {
http_range_hash = 20297
};
SOFIAPUBVAR msg_hclass_t http_range_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_range_d;
SOFIAPUBFUN msg_print_f http_range_e;
#define HTTP_RANGE_INIT() HTTP_HDR_INIT(range)
#if SU_HAVE_INLINE
su_inline http_range_t *http_range_init(http_range_t x[1])
{
return HTTP_HEADER_INIT(x, http_range_class, sizeof(http_range_t));
}
#else
#define http_range_init(x) \
HTTP_HEADER_INIT(x, http_range_class, sizeof(http_range_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_range(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_range_hash;
}
#else
#define http_is_range(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_range_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_range_t *http_range_dup(su_home_t *home,
http_range_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_range_t *http_range_copy(su_home_t *home,
http_range_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_range_t *http_range_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_range_t *http_range_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_range_t *http_range_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_range_class, fmt, ap);
va_end(ap);
return (http_range_t *)h;
}
su_inline
http_range_t *http_range_dup(su_home_t *home, http_range_t const *o)
{
return (http_range_t *)
msg_header_dup_as(home, http_range_class, (msg_header_t const *)o);
}
su_inline
http_range_t *http_range_copy(su_home_t *home, http_range_t const *o)
{
return (http_range_t *)
msg_header_copy_as(home, http_range_class, (msg_header_t const *)o);
}
su_inline
http_range_t *http_range_make(su_home_t *home, char const *s)
{
return (http_range_t *)http_header_make(home, http_range_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Referer header */
enum {
http_referer_hash = 64523
};
SOFIAPUBVAR msg_hclass_t http_referer_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_referer_d;
SOFIAPUBFUN msg_print_f http_referer_e;
#define HTTP_REFERER_INIT() HTTP_HDR_INIT(referer)
#if SU_HAVE_INLINE
su_inline http_referer_t *http_referer_init(http_referer_t x[1])
{
return HTTP_HEADER_INIT(x, http_referer_class, sizeof(http_referer_t));
}
#else
#define http_referer_init(x) \
HTTP_HEADER_INIT(x, http_referer_class, sizeof(http_referer_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_referer(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_referer_hash;
}
#else
#define http_is_referer(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_referer_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_referer_t *http_referer_dup(su_home_t *home,
http_referer_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_referer_t *http_referer_copy(su_home_t *home,
http_referer_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_referer_t *http_referer_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_referer_t *http_referer_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_referer_t *http_referer_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_referer_class, fmt, ap);
va_end(ap);
return (http_referer_t *)h;
}
su_inline
http_referer_t *http_referer_dup(su_home_t *home, http_referer_t const *o)
{
return (http_referer_t *)
msg_header_dup_as(home, http_referer_class, (msg_header_t const *)o);
}
su_inline
http_referer_t *http_referer_copy(su_home_t *home, http_referer_t const *o)
{
return (http_referer_t *)
msg_header_copy_as(home, http_referer_class, (msg_header_t const *)o);
}
su_inline
http_referer_t *http_referer_make(su_home_t *home, char const *s)
{
return (http_referer_t *)http_header_make(home, http_referer_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Retry-After header */
enum {
http_retry_after_hash = 30349
};
SOFIAPUBVAR msg_hclass_t http_retry_after_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_retry_after_d;
SOFIAPUBFUN msg_print_f http_retry_after_e;
#define HTTP_RETRY_AFTER_INIT() HTTP_HDR_INIT(retry_after)
#if SU_HAVE_INLINE
su_inline http_retry_after_t *http_retry_after_init(http_retry_after_t x[1])
{
return HTTP_HEADER_INIT(x, http_retry_after_class, sizeof(http_retry_after_t));
}
#else
#define http_retry_after_init(x) \
HTTP_HEADER_INIT(x, http_retry_after_class, sizeof(http_retry_after_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_retry_after(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_retry_after_hash;
}
#else
#define http_is_retry_after(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_retry_after_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_retry_after_t *http_retry_after_dup(su_home_t *home,
http_retry_after_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_retry_after_t *http_retry_after_copy(su_home_t *home,
http_retry_after_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_retry_after_t *http_retry_after_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_retry_after_t *http_retry_after_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_retry_after_t *http_retry_after_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_retry_after_class, fmt, ap);
va_end(ap);
return (http_retry_after_t *)h;
}
su_inline
http_retry_after_t *http_retry_after_dup(su_home_t *home, http_retry_after_t const *o)
{
return (http_retry_after_t *)
msg_header_dup_as(home, http_retry_after_class, (msg_header_t const *)o);
}
su_inline
http_retry_after_t *http_retry_after_copy(su_home_t *home, http_retry_after_t const *o)
{
return (http_retry_after_t *)
msg_header_copy_as(home, http_retry_after_class, (msg_header_t const *)o);
}
su_inline
http_retry_after_t *http_retry_after_make(su_home_t *home, char const *s)
{
return (http_retry_after_t *)http_header_make(home, http_retry_after_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Server header */
enum {
http_server_hash = 31323
};
SOFIAPUBVAR msg_hclass_t http_server_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_server_d;
SOFIAPUBFUN msg_print_f http_server_e;
#define HTTP_SERVER_INIT() HTTP_HDR_INIT(server)
#if SU_HAVE_INLINE
su_inline http_server_t *http_server_init(http_server_t x[1])
{
return HTTP_HEADER_INIT(x, http_server_class, sizeof(http_server_t));
}
#else
#define http_server_init(x) \
HTTP_HEADER_INIT(x, http_server_class, sizeof(http_server_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_server(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_server_hash;
}
#else
#define http_is_server(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_server_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_server_t *http_server_dup(su_home_t *home,
http_server_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_server_t *http_server_copy(su_home_t *home,
http_server_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_server_t *http_server_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_server_t *http_server_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_server_t *http_server_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_server_class, fmt, ap);
va_end(ap);
return (http_server_t *)h;
}
su_inline
http_server_t *http_server_dup(su_home_t *home, http_server_t const *o)
{
return (http_server_t *)
msg_header_dup_as(home, http_server_class, (msg_header_t const *)o);
}
su_inline
http_server_t *http_server_copy(su_home_t *home, http_server_t const *o)
{
return (http_server_t *)
msg_header_copy_as(home, http_server_class, (msg_header_t const *)o);
}
su_inline
http_server_t *http_server_make(su_home_t *home, char const *s)
{
return (http_server_t *)http_header_make(home, http_server_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for TE header */
enum {
http_te_hash = 5165
};
SOFIAPUBVAR msg_hclass_t http_te_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_te_d;
SOFIAPUBFUN msg_print_f http_te_e;
#define HTTP_TE_INIT() HTTP_HDR_INIT(te)
#if SU_HAVE_INLINE
su_inline http_te_t *http_te_init(http_te_t x[1])
{
return HTTP_HEADER_INIT(x, http_te_class, sizeof(http_te_t));
}
#else
#define http_te_init(x) \
HTTP_HEADER_INIT(x, http_te_class, sizeof(http_te_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_te(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_te_hash;
}
#else
#define http_is_te(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_te_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_te_t *http_te_dup(su_home_t *home,
http_te_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_te_t *http_te_copy(su_home_t *home,
http_te_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_te_t *http_te_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_te_t *http_te_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_te_t *http_te_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_te_class, fmt, ap);
va_end(ap);
return (http_te_t *)h;
}
su_inline
http_te_t *http_te_dup(su_home_t *home, http_te_t const *o)
{
return (http_te_t *)
msg_header_dup_as(home, http_te_class, (msg_header_t const *)o);
}
su_inline
http_te_t *http_te_copy(su_home_t *home, http_te_t const *o)
{
return (http_te_t *)
msg_header_copy_as(home, http_te_class, (msg_header_t const *)o);
}
su_inline
http_te_t *http_te_make(su_home_t *home, char const *s)
{
return (http_te_t *)http_header_make(home, http_te_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Trailer header */
enum {
http_trailer_hash = 11015
};
SOFIAPUBVAR msg_hclass_t http_trailer_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_trailer_d;
SOFIAPUBFUN msg_print_f http_trailer_e;
#define HTTP_TRAILER_INIT() HTTP_HDR_INIT(trailer)
#if SU_HAVE_INLINE
su_inline http_trailer_t *http_trailer_init(http_trailer_t x[1])
{
return HTTP_HEADER_INIT(x, http_trailer_class, sizeof(http_trailer_t));
}
#else
#define http_trailer_init(x) \
HTTP_HEADER_INIT(x, http_trailer_class, sizeof(http_trailer_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_trailer(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_trailer_hash;
}
#else
#define http_is_trailer(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_trailer_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_trailer_t *http_trailer_dup(su_home_t *home,
http_trailer_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_trailer_t *http_trailer_copy(su_home_t *home,
http_trailer_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_trailer_t *http_trailer_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_trailer_t *http_trailer_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_trailer_t *http_trailer_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_trailer_class, fmt, ap);
va_end(ap);
return (http_trailer_t *)h;
}
su_inline
http_trailer_t *http_trailer_dup(su_home_t *home, http_trailer_t const *o)
{
return (http_trailer_t *)
msg_header_dup_as(home, http_trailer_class, (msg_header_t const *)o);
}
su_inline
http_trailer_t *http_trailer_copy(su_home_t *home, http_trailer_t const *o)
{
return (http_trailer_t *)
msg_header_copy_as(home, http_trailer_class, (msg_header_t const *)o);
}
su_inline
http_trailer_t *http_trailer_make(su_home_t *home, char const *s)
{
return (http_trailer_t *)http_header_make(home, http_trailer_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Transfer-Encoding header */
enum {
http_transfer_encoding_hash = 25509
};
SOFIAPUBVAR msg_hclass_t http_transfer_encoding_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_transfer_encoding_d;
SOFIAPUBFUN msg_print_f http_transfer_encoding_e;
#define HTTP_TRANSFER_ENCODING_INIT() HTTP_HDR_INIT(transfer_encoding)
#if SU_HAVE_INLINE
su_inline http_transfer_encoding_t *http_transfer_encoding_init(http_transfer_encoding_t x[1])
{
return HTTP_HEADER_INIT(x, http_transfer_encoding_class, sizeof(http_transfer_encoding_t));
}
#else
#define http_transfer_encoding_init(x) \
HTTP_HEADER_INIT(x, http_transfer_encoding_class, sizeof(http_transfer_encoding_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_transfer_encoding(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_transfer_encoding_hash;
}
#else
#define http_is_transfer_encoding(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_transfer_encoding_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_transfer_encoding_t *http_transfer_encoding_dup(su_home_t *home,
http_transfer_encoding_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_transfer_encoding_t *http_transfer_encoding_copy(su_home_t *home,
http_transfer_encoding_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_transfer_encoding_t *http_transfer_encoding_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_transfer_encoding_t *http_transfer_encoding_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_transfer_encoding_t *http_transfer_encoding_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_transfer_encoding_class, fmt, ap);
va_end(ap);
return (http_transfer_encoding_t *)h;
}
su_inline
http_transfer_encoding_t *http_transfer_encoding_dup(su_home_t *home, http_transfer_encoding_t const *o)
{
return (http_transfer_encoding_t *)
msg_header_dup_as(home, http_transfer_encoding_class, (msg_header_t const *)o);
}
su_inline
http_transfer_encoding_t *http_transfer_encoding_copy(su_home_t *home, http_transfer_encoding_t const *o)
{
return (http_transfer_encoding_t *)
msg_header_copy_as(home, http_transfer_encoding_class, (msg_header_t const *)o);
}
su_inline
http_transfer_encoding_t *http_transfer_encoding_make(su_home_t *home, char const *s)
{
return (http_transfer_encoding_t *)http_header_make(home, http_transfer_encoding_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Upgrade header */
enum {
http_upgrade_hash = 16256
};
SOFIAPUBVAR msg_hclass_t http_upgrade_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_upgrade_d;
SOFIAPUBFUN msg_print_f http_upgrade_e;
#define HTTP_UPGRADE_INIT() HTTP_HDR_INIT(upgrade)
#if SU_HAVE_INLINE
su_inline http_upgrade_t *http_upgrade_init(http_upgrade_t x[1])
{
return HTTP_HEADER_INIT(x, http_upgrade_class, sizeof(http_upgrade_t));
}
#else
#define http_upgrade_init(x) \
HTTP_HEADER_INIT(x, http_upgrade_class, sizeof(http_upgrade_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_upgrade(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_upgrade_hash;
}
#else
#define http_is_upgrade(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_upgrade_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_upgrade_t *http_upgrade_dup(su_home_t *home,
http_upgrade_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_upgrade_t *http_upgrade_copy(su_home_t *home,
http_upgrade_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_upgrade_t *http_upgrade_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_upgrade_t *http_upgrade_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_upgrade_t *http_upgrade_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_upgrade_class, fmt, ap);
va_end(ap);
return (http_upgrade_t *)h;
}
su_inline
http_upgrade_t *http_upgrade_dup(su_home_t *home, http_upgrade_t const *o)
{
return (http_upgrade_t *)
msg_header_dup_as(home, http_upgrade_class, (msg_header_t const *)o);
}
su_inline
http_upgrade_t *http_upgrade_copy(su_home_t *home, http_upgrade_t const *o)
{
return (http_upgrade_t *)
msg_header_copy_as(home, http_upgrade_class, (msg_header_t const *)o);
}
su_inline
http_upgrade_t *http_upgrade_make(su_home_t *home, char const *s)
{
return (http_upgrade_t *)http_header_make(home, http_upgrade_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for User-Agent header */
enum {
http_user_agent_hash = 40911
};
SOFIAPUBVAR msg_hclass_t http_user_agent_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_user_agent_d;
SOFIAPUBFUN msg_print_f http_user_agent_e;
#define HTTP_USER_AGENT_INIT() HTTP_HDR_INIT(user_agent)
#if SU_HAVE_INLINE
su_inline http_user_agent_t *http_user_agent_init(http_user_agent_t x[1])
{
return HTTP_HEADER_INIT(x, http_user_agent_class, sizeof(http_user_agent_t));
}
#else
#define http_user_agent_init(x) \
HTTP_HEADER_INIT(x, http_user_agent_class, sizeof(http_user_agent_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_user_agent(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_user_agent_hash;
}
#else
#define http_is_user_agent(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_user_agent_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_user_agent_t *http_user_agent_dup(su_home_t *home,
http_user_agent_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_user_agent_t *http_user_agent_copy(su_home_t *home,
http_user_agent_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_user_agent_t *http_user_agent_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_user_agent_t *http_user_agent_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_user_agent_t *http_user_agent_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_user_agent_class, fmt, ap);
va_end(ap);
return (http_user_agent_t *)h;
}
su_inline
http_user_agent_t *http_user_agent_dup(su_home_t *home, http_user_agent_t const *o)
{
return (http_user_agent_t *)
msg_header_dup_as(home, http_user_agent_class, (msg_header_t const *)o);
}
su_inline
http_user_agent_t *http_user_agent_copy(su_home_t *home, http_user_agent_t const *o)
{
return (http_user_agent_t *)
msg_header_copy_as(home, http_user_agent_class, (msg_header_t const *)o);
}
su_inline
http_user_agent_t *http_user_agent_make(su_home_t *home, char const *s)
{
return (http_user_agent_t *)http_header_make(home, http_user_agent_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Vary header */
enum {
http_vary_hash = 57074
};
SOFIAPUBVAR msg_hclass_t http_vary_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_vary_d;
SOFIAPUBFUN msg_print_f http_vary_e;
#define HTTP_VARY_INIT() HTTP_HDR_INIT(vary)
#if SU_HAVE_INLINE
su_inline http_vary_t *http_vary_init(http_vary_t x[1])
{
return HTTP_HEADER_INIT(x, http_vary_class, sizeof(http_vary_t));
}
#else
#define http_vary_init(x) \
HTTP_HEADER_INIT(x, http_vary_class, sizeof(http_vary_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_vary(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_vary_hash;
}
#else
#define http_is_vary(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_vary_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_vary_t *http_vary_dup(su_home_t *home,
http_vary_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_vary_t *http_vary_copy(su_home_t *home,
http_vary_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_vary_t *http_vary_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_vary_t *http_vary_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_vary_t *http_vary_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_vary_class, fmt, ap);
va_end(ap);
return (http_vary_t *)h;
}
su_inline
http_vary_t *http_vary_dup(su_home_t *home, http_vary_t const *o)
{
return (http_vary_t *)
msg_header_dup_as(home, http_vary_class, (msg_header_t const *)o);
}
su_inline
http_vary_t *http_vary_copy(su_home_t *home, http_vary_t const *o)
{
return (http_vary_t *)
msg_header_copy_as(home, http_vary_class, (msg_header_t const *)o);
}
su_inline
http_vary_t *http_vary_make(su_home_t *home, char const *s)
{
return (http_vary_t *)http_header_make(home, http_vary_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Via header */
enum {
http_via_hash = 46244
};
SOFIAPUBVAR msg_hclass_t http_via_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_via_d;
SOFIAPUBFUN msg_print_f http_via_e;
#define HTTP_VIA_INIT() HTTP_HDR_INIT(via)
#if SU_HAVE_INLINE
su_inline http_via_t *http_via_init(http_via_t x[1])
{
return HTTP_HEADER_INIT(x, http_via_class, sizeof(http_via_t));
}
#else
#define http_via_init(x) \
HTTP_HEADER_INIT(x, http_via_class, sizeof(http_via_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_via(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_via_hash;
}
#else
#define http_is_via(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_via_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_via_t *http_via_dup(su_home_t *home,
http_via_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_via_t *http_via_copy(su_home_t *home,
http_via_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_via_t *http_via_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_via_t *http_via_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_via_t *http_via_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_via_class, fmt, ap);
va_end(ap);
return (http_via_t *)h;
}
su_inline
http_via_t *http_via_dup(su_home_t *home, http_via_t const *o)
{
return (http_via_t *)
msg_header_dup_as(home, http_via_class, (msg_header_t const *)o);
}
su_inline
http_via_t *http_via_copy(su_home_t *home, http_via_t const *o)
{
return (http_via_t *)
msg_header_copy_as(home, http_via_class, (msg_header_t const *)o);
}
su_inline
http_via_t *http_via_make(su_home_t *home, char const *s)
{
return (http_via_t *)http_header_make(home, http_via_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Warning header */
enum {
http_warning_hash = 4130
};
SOFIAPUBVAR msg_hclass_t http_warning_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_warning_d;
SOFIAPUBFUN msg_print_f http_warning_e;
#define HTTP_WARNING_INIT() HTTP_HDR_INIT(warning)
#if SU_HAVE_INLINE
su_inline http_warning_t *http_warning_init(http_warning_t x[1])
{
return HTTP_HEADER_INIT(x, http_warning_class, sizeof(http_warning_t));
}
#else
#define http_warning_init(x) \
HTTP_HEADER_INIT(x, http_warning_class, sizeof(http_warning_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_warning(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_warning_hash;
}
#else
#define http_is_warning(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_warning_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_warning_t *http_warning_dup(su_home_t *home,
http_warning_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_warning_t *http_warning_copy(su_home_t *home,
http_warning_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_warning_t *http_warning_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_warning_t *http_warning_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_warning_t *http_warning_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_warning_class, fmt, ap);
va_end(ap);
return (http_warning_t *)h;
}
su_inline
http_warning_t *http_warning_dup(su_home_t *home, http_warning_t const *o)
{
return (http_warning_t *)
msg_header_dup_as(home, http_warning_class, (msg_header_t const *)o);
}
su_inline
http_warning_t *http_warning_copy(su_home_t *home, http_warning_t const *o)
{
return (http_warning_t *)
msg_header_copy_as(home, http_warning_class, (msg_header_t const *)o);
}
su_inline
http_warning_t *http_warning_make(su_home_t *home, char const *s)
{
return (http_warning_t *)http_header_make(home, http_warning_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for WWW-Authenticate header */
enum {
http_www_authenticate_hash = 16217
};
SOFIAPUBVAR msg_hclass_t http_www_authenticate_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_www_authenticate_d;
SOFIAPUBFUN msg_print_f http_www_authenticate_e;
#define HTTP_WWW_AUTHENTICATE_INIT() HTTP_HDR_INIT(www_authenticate)
#if SU_HAVE_INLINE
su_inline http_www_authenticate_t *http_www_authenticate_init(http_www_authenticate_t x[1])
{
return HTTP_HEADER_INIT(x, http_www_authenticate_class, sizeof(http_www_authenticate_t));
}
#else
#define http_www_authenticate_init(x) \
HTTP_HEADER_INIT(x, http_www_authenticate_class, sizeof(http_www_authenticate_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_www_authenticate(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_www_authenticate_hash;
}
#else
#define http_is_www_authenticate(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_www_authenticate_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_www_authenticate_t *http_www_authenticate_dup(su_home_t *home,
http_www_authenticate_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_www_authenticate_t *http_www_authenticate_copy(su_home_t *home,
http_www_authenticate_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_www_authenticate_t *http_www_authenticate_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_www_authenticate_t *http_www_authenticate_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_www_authenticate_t *http_www_authenticate_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_www_authenticate_class, fmt, ap);
va_end(ap);
return (http_www_authenticate_t *)h;
}
su_inline
http_www_authenticate_t *http_www_authenticate_dup(su_home_t *home, http_www_authenticate_t const *o)
{
return (http_www_authenticate_t *)
msg_header_dup_as(home, http_www_authenticate_class, (msg_header_t const *)o);
}
su_inline
http_www_authenticate_t *http_www_authenticate_copy(su_home_t *home, http_www_authenticate_t const *o)
{
return (http_www_authenticate_t *)
msg_header_copy_as(home, http_www_authenticate_class, (msg_header_t const *)o);
}
su_inline
http_www_authenticate_t *http_www_authenticate_make(su_home_t *home, char const *s)
{
return (http_www_authenticate_t *)http_header_make(home, http_www_authenticate_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Proxy-Connection header */
enum {
http_proxy_connection_hash = 60183
};
SOFIAPUBVAR msg_hclass_t http_proxy_connection_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_proxy_connection_d;
SOFIAPUBFUN msg_print_f http_proxy_connection_e;
#define HTTP_PROXY_CONNECTION_INIT() HTTP_HDR_INIT(proxy_connection)
#if SU_HAVE_INLINE
su_inline http_proxy_connection_t *http_proxy_connection_init(http_proxy_connection_t x[1])
{
return HTTP_HEADER_INIT(x, http_proxy_connection_class, sizeof(http_proxy_connection_t));
}
#else
#define http_proxy_connection_init(x) \
HTTP_HEADER_INIT(x, http_proxy_connection_class, sizeof(http_proxy_connection_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_proxy_connection(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_proxy_connection_hash;
}
#else
#define http_is_proxy_connection(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_proxy_connection_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_connection_t *http_proxy_connection_dup(su_home_t *home,
http_proxy_connection_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_connection_t *http_proxy_connection_copy(su_home_t *home,
http_proxy_connection_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_connection_t *http_proxy_connection_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_proxy_connection_t *http_proxy_connection_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_proxy_connection_t *http_proxy_connection_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_proxy_connection_class, fmt, ap);
va_end(ap);
return (http_proxy_connection_t *)h;
}
su_inline
http_proxy_connection_t *http_proxy_connection_dup(su_home_t *home, http_proxy_connection_t const *o)
{
return (http_proxy_connection_t *)
msg_header_dup_as(home, http_proxy_connection_class, (msg_header_t const *)o);
}
su_inline
http_proxy_connection_t *http_proxy_connection_copy(su_home_t *home, http_proxy_connection_t const *o)
{
return (http_proxy_connection_t *)
msg_header_copy_as(home, http_proxy_connection_class, (msg_header_t const *)o);
}
su_inline
http_proxy_connection_t *http_proxy_connection_make(su_home_t *home, char const *s)
{
return (http_proxy_connection_t *)http_header_make(home, http_proxy_connection_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Set-Cookie header */
enum {
http_set_cookie_hash = 57887
};
SOFIAPUBVAR msg_hclass_t http_set_cookie_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_set_cookie_d;
SOFIAPUBFUN msg_print_f http_set_cookie_e;
#define HTTP_SET_COOKIE_INIT() HTTP_HDR_INIT(set_cookie)
#if SU_HAVE_INLINE
su_inline http_set_cookie_t *http_set_cookie_init(http_set_cookie_t x[1])
{
return HTTP_HEADER_INIT(x, http_set_cookie_class, sizeof(http_set_cookie_t));
}
#else
#define http_set_cookie_init(x) \
HTTP_HEADER_INIT(x, http_set_cookie_class, sizeof(http_set_cookie_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_set_cookie(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_set_cookie_hash;
}
#else
#define http_is_set_cookie(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_set_cookie_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_set_cookie_t *http_set_cookie_dup(su_home_t *home,
http_set_cookie_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_set_cookie_t *http_set_cookie_copy(su_home_t *home,
http_set_cookie_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_set_cookie_t *http_set_cookie_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_set_cookie_t *http_set_cookie_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_set_cookie_t *http_set_cookie_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_set_cookie_class, fmt, ap);
va_end(ap);
return (http_set_cookie_t *)h;
}
su_inline
http_set_cookie_t *http_set_cookie_dup(su_home_t *home, http_set_cookie_t const *o)
{
return (http_set_cookie_t *)
msg_header_dup_as(home, http_set_cookie_class, (msg_header_t const *)o);
}
su_inline
http_set_cookie_t *http_set_cookie_copy(su_home_t *home, http_set_cookie_t const *o)
{
return (http_set_cookie_t *)
msg_header_copy_as(home, http_set_cookie_class, (msg_header_t const *)o);
}
su_inline
http_set_cookie_t *http_set_cookie_make(su_home_t *home, char const *s)
{
return (http_set_cookie_t *)http_header_make(home, http_set_cookie_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Cookie header */
enum {
http_cookie_hash = 78
};
SOFIAPUBVAR msg_hclass_t http_cookie_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_cookie_d;
SOFIAPUBFUN msg_print_f http_cookie_e;
#define HTTP_COOKIE_INIT() HTTP_HDR_INIT(cookie)
#if SU_HAVE_INLINE
su_inline http_cookie_t *http_cookie_init(http_cookie_t x[1])
{
return HTTP_HEADER_INIT(x, http_cookie_class, sizeof(http_cookie_t));
}
#else
#define http_cookie_init(x) \
HTTP_HEADER_INIT(x, http_cookie_class, sizeof(http_cookie_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_cookie(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_cookie_hash;
}
#else
#define http_is_cookie(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_cookie_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_cookie_t *http_cookie_dup(su_home_t *home,
http_cookie_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_cookie_t *http_cookie_copy(su_home_t *home,
http_cookie_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_cookie_t *http_cookie_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_cookie_t *http_cookie_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_cookie_t *http_cookie_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_cookie_class, fmt, ap);
va_end(ap);
return (http_cookie_t *)h;
}
su_inline
http_cookie_t *http_cookie_dup(su_home_t *home, http_cookie_t const *o)
{
return (http_cookie_t *)
msg_header_dup_as(home, http_cookie_class, (msg_header_t const *)o);
}
su_inline
http_cookie_t *http_cookie_copy(su_home_t *home, http_cookie_t const *o)
{
return (http_cookie_t *)
msg_header_copy_as(home, http_cookie_class, (msg_header_t const *)o);
}
su_inline
http_cookie_t *http_cookie_make(su_home_t *home, char const *s)
{
return (http_cookie_t *)http_header_make(home, http_cookie_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for MIME-Version header */
enum {
http_mime_version_hash = 49047
};
SOFIAPUBVAR msg_hclass_t http_mime_version_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_mime_version_d;
SOFIAPUBFUN msg_print_f http_mime_version_e;
#define HTTP_MIME_VERSION_INIT() HTTP_HDR_INIT(mime_version)
#if SU_HAVE_INLINE
su_inline http_mime_version_t *http_mime_version_init(http_mime_version_t x[1])
{
return HTTP_HEADER_INIT(x, http_mime_version_class, sizeof(http_mime_version_t));
}
#else
#define http_mime_version_init(x) \
HTTP_HEADER_INIT(x, http_mime_version_class, sizeof(http_mime_version_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_mime_version(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_mime_version_hash;
}
#else
#define http_is_mime_version(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_mime_version_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_mime_version_t *http_mime_version_dup(su_home_t *home,
http_mime_version_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_mime_version_t *http_mime_version_copy(su_home_t *home,
http_mime_version_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_mime_version_t *http_mime_version_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_mime_version_t *http_mime_version_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_mime_version_t *http_mime_version_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_mime_version_class, fmt, ap);
va_end(ap);
return (http_mime_version_t *)h;
}
su_inline
http_mime_version_t *http_mime_version_dup(su_home_t *home, http_mime_version_t const *o)
{
return (http_mime_version_t *)
msg_header_dup_as(home, http_mime_version_class, (msg_header_t const *)o);
}
su_inline
http_mime_version_t *http_mime_version_copy(su_home_t *home, http_mime_version_t const *o)
{
return (http_mime_version_t *)
msg_header_copy_as(home, http_mime_version_class, (msg_header_t const *)o);
}
su_inline
http_mime_version_t *http_mime_version_make(su_home_t *home, char const *s)
{
return (http_mime_version_t *)http_header_make(home, http_mime_version_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Content-Encoding header */
enum {
http_content_encoding_hash = 8707
};
SOFIAPUBVAR msg_hclass_t http_content_encoding_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_content_encoding_d;
SOFIAPUBFUN msg_print_f http_content_encoding_e;
#define HTTP_CONTENT_ENCODING_INIT() HTTP_HDR_INIT(content_encoding)
#if SU_HAVE_INLINE
su_inline http_content_encoding_t *http_content_encoding_init(http_content_encoding_t x[1])
{
return HTTP_HEADER_INIT(x, http_content_encoding_class, sizeof(http_content_encoding_t));
}
#else
#define http_content_encoding_init(x) \
HTTP_HEADER_INIT(x, http_content_encoding_class, sizeof(http_content_encoding_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_content_encoding(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_content_encoding_hash;
}
#else
#define http_is_content_encoding(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_encoding_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_content_encoding_t *http_content_encoding_dup(su_home_t *home,
http_content_encoding_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_encoding_t *http_content_encoding_copy(su_home_t *home,
http_content_encoding_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_encoding_t *http_content_encoding_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_encoding_t *http_content_encoding_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_content_encoding_t *http_content_encoding_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_content_encoding_class, fmt, ap);
va_end(ap);
return (http_content_encoding_t *)h;
}
su_inline
http_content_encoding_t *http_content_encoding_dup(su_home_t *home, http_content_encoding_t const *o)
{
return (http_content_encoding_t *)
msg_header_dup_as(home, http_content_encoding_class, (msg_header_t const *)o);
}
su_inline
http_content_encoding_t *http_content_encoding_copy(su_home_t *home, http_content_encoding_t const *o)
{
return (http_content_encoding_t *)
msg_header_copy_as(home, http_content_encoding_class, (msg_header_t const *)o);
}
su_inline
http_content_encoding_t *http_content_encoding_make(su_home_t *home, char const *s)
{
return (http_content_encoding_t *)http_header_make(home, http_content_encoding_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Content-Language header */
enum {
http_content_language_hash = 62108
};
SOFIAPUBVAR msg_hclass_t http_content_language_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_content_language_d;
SOFIAPUBFUN msg_print_f http_content_language_e;
#define HTTP_CONTENT_LANGUAGE_INIT() HTTP_HDR_INIT(content_language)
#if SU_HAVE_INLINE
su_inline http_content_language_t *http_content_language_init(http_content_language_t x[1])
{
return HTTP_HEADER_INIT(x, http_content_language_class, sizeof(http_content_language_t));
}
#else
#define http_content_language_init(x) \
HTTP_HEADER_INIT(x, http_content_language_class, sizeof(http_content_language_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_content_language(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_content_language_hash;
}
#else
#define http_is_content_language(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_language_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_content_language_t *http_content_language_dup(su_home_t *home,
http_content_language_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_language_t *http_content_language_copy(su_home_t *home,
http_content_language_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_language_t *http_content_language_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_language_t *http_content_language_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_content_language_t *http_content_language_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_content_language_class, fmt, ap);
va_end(ap);
return (http_content_language_t *)h;
}
su_inline
http_content_language_t *http_content_language_dup(su_home_t *home, http_content_language_t const *o)
{
return (http_content_language_t *)
msg_header_dup_as(home, http_content_language_class, (msg_header_t const *)o);
}
su_inline
http_content_language_t *http_content_language_copy(su_home_t *home, http_content_language_t const *o)
{
return (http_content_language_t *)
msg_header_copy_as(home, http_content_language_class, (msg_header_t const *)o);
}
su_inline
http_content_language_t *http_content_language_make(su_home_t *home, char const *s)
{
return (http_content_language_t *)http_header_make(home, http_content_language_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Content-Length header */
enum {
http_content_length_hash = 8402
};
SOFIAPUBVAR msg_hclass_t http_content_length_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_content_length_d;
SOFIAPUBFUN msg_print_f http_content_length_e;
#define HTTP_CONTENT_LENGTH_INIT() HTTP_HDR_INIT(content_length)
#if SU_HAVE_INLINE
su_inline http_content_length_t *http_content_length_init(http_content_length_t x[1])
{
return HTTP_HEADER_INIT(x, http_content_length_class, sizeof(http_content_length_t));
}
#else
#define http_content_length_init(x) \
HTTP_HEADER_INIT(x, http_content_length_class, sizeof(http_content_length_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_content_length(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_content_length_hash;
}
#else
#define http_is_content_length(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_length_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_content_length_t *http_content_length_dup(su_home_t *home,
http_content_length_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_length_t *http_content_length_copy(su_home_t *home,
http_content_length_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_length_t *http_content_length_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_length_t *http_content_length_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_content_length_t *http_content_length_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_content_length_class, fmt, ap);
va_end(ap);
return (http_content_length_t *)h;
}
su_inline
http_content_length_t *http_content_length_dup(su_home_t *home, http_content_length_t const *o)
{
return (http_content_length_t *)
msg_header_dup_as(home, http_content_length_class, (msg_header_t const *)o);
}
su_inline
http_content_length_t *http_content_length_copy(su_home_t *home, http_content_length_t const *o)
{
return (http_content_length_t *)
msg_header_copy_as(home, http_content_length_class, (msg_header_t const *)o);
}
su_inline
http_content_length_t *http_content_length_make(su_home_t *home, char const *s)
{
return (http_content_length_t *)http_header_make(home, http_content_length_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Content-Location header */
enum {
http_content_location_hash = 3453
};
SOFIAPUBVAR msg_hclass_t http_content_location_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_content_location_d;
SOFIAPUBFUN msg_print_f http_content_location_e;
#define HTTP_CONTENT_LOCATION_INIT() HTTP_HDR_INIT(content_location)
#if SU_HAVE_INLINE
su_inline http_content_location_t *http_content_location_init(http_content_location_t x[1])
{
return HTTP_HEADER_INIT(x, http_content_location_class, sizeof(http_content_location_t));
}
#else
#define http_content_location_init(x) \
HTTP_HEADER_INIT(x, http_content_location_class, sizeof(http_content_location_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_content_location(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_content_location_hash;
}
#else
#define http_is_content_location(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_location_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_content_location_t *http_content_location_dup(su_home_t *home,
http_content_location_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_location_t *http_content_location_copy(su_home_t *home,
http_content_location_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_location_t *http_content_location_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_location_t *http_content_location_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_content_location_t *http_content_location_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_content_location_class, fmt, ap);
va_end(ap);
return (http_content_location_t *)h;
}
su_inline
http_content_location_t *http_content_location_dup(su_home_t *home, http_content_location_t const *o)
{
return (http_content_location_t *)
msg_header_dup_as(home, http_content_location_class, (msg_header_t const *)o);
}
su_inline
http_content_location_t *http_content_location_copy(su_home_t *home, http_content_location_t const *o)
{
return (http_content_location_t *)
msg_header_copy_as(home, http_content_location_class, (msg_header_t const *)o);
}
su_inline
http_content_location_t *http_content_location_make(su_home_t *home, char const *s)
{
return (http_content_location_t *)http_header_make(home, http_content_location_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Content-MD5 header */
enum {
http_content_md5_hash = 60494
};
SOFIAPUBVAR msg_hclass_t http_content_md5_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_content_md5_d;
SOFIAPUBFUN msg_print_f http_content_md5_e;
#define HTTP_CONTENT_MD5_INIT() HTTP_HDR_INIT(content_md5)
#if SU_HAVE_INLINE
su_inline http_content_md5_t *http_content_md5_init(http_content_md5_t x[1])
{
return HTTP_HEADER_INIT(x, http_content_md5_class, sizeof(http_content_md5_t));
}
#else
#define http_content_md5_init(x) \
HTTP_HEADER_INIT(x, http_content_md5_class, sizeof(http_content_md5_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_content_md5(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_content_md5_hash;
}
#else
#define http_is_content_md5(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_md5_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_content_md5_t *http_content_md5_dup(su_home_t *home,
http_content_md5_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_md5_t *http_content_md5_copy(su_home_t *home,
http_content_md5_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_md5_t *http_content_md5_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_md5_t *http_content_md5_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_content_md5_t *http_content_md5_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_content_md5_class, fmt, ap);
va_end(ap);
return (http_content_md5_t *)h;
}
su_inline
http_content_md5_t *http_content_md5_dup(su_home_t *home, http_content_md5_t const *o)
{
return (http_content_md5_t *)
msg_header_dup_as(home, http_content_md5_class, (msg_header_t const *)o);
}
su_inline
http_content_md5_t *http_content_md5_copy(su_home_t *home, http_content_md5_t const *o)
{
return (http_content_md5_t *)
msg_header_copy_as(home, http_content_md5_class, (msg_header_t const *)o);
}
su_inline
http_content_md5_t *http_content_md5_make(su_home_t *home, char const *s)
{
return (http_content_md5_t *)http_header_make(home, http_content_md5_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Content-Range header */
enum {
http_content_range_hash = 64465
};
SOFIAPUBVAR msg_hclass_t http_content_range_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_content_range_d;
SOFIAPUBFUN msg_print_f http_content_range_e;
#define HTTP_CONTENT_RANGE_INIT() HTTP_HDR_INIT(content_range)
#if SU_HAVE_INLINE
su_inline http_content_range_t *http_content_range_init(http_content_range_t x[1])
{
return HTTP_HEADER_INIT(x, http_content_range_class, sizeof(http_content_range_t));
}
#else
#define http_content_range_init(x) \
HTTP_HEADER_INIT(x, http_content_range_class, sizeof(http_content_range_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_content_range(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_content_range_hash;
}
#else
#define http_is_content_range(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_range_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_content_range_t *http_content_range_dup(su_home_t *home,
http_content_range_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_range_t *http_content_range_copy(su_home_t *home,
http_content_range_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_range_t *http_content_range_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_range_t *http_content_range_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_content_range_t *http_content_range_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_content_range_class, fmt, ap);
va_end(ap);
return (http_content_range_t *)h;
}
su_inline
http_content_range_t *http_content_range_dup(su_home_t *home, http_content_range_t const *o)
{
return (http_content_range_t *)
msg_header_dup_as(home, http_content_range_class, (msg_header_t const *)o);
}
su_inline
http_content_range_t *http_content_range_copy(su_home_t *home, http_content_range_t const *o)
{
return (http_content_range_t *)
msg_header_copy_as(home, http_content_range_class, (msg_header_t const *)o);
}
su_inline
http_content_range_t *http_content_range_make(su_home_t *home, char const *s)
{
return (http_content_range_t *)http_header_make(home, http_content_range_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for Content-Type header */
enum {
http_content_type_hash = 51226
};
SOFIAPUBVAR msg_hclass_t http_content_type_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_content_type_d;
SOFIAPUBFUN msg_print_f http_content_type_e;
#define HTTP_CONTENT_TYPE_INIT() HTTP_HDR_INIT(content_type)
#if SU_HAVE_INLINE
su_inline http_content_type_t *http_content_type_init(http_content_type_t x[1])
{
return HTTP_HEADER_INIT(x, http_content_type_class, sizeof(http_content_type_t));
}
#else
#define http_content_type_init(x) \
HTTP_HEADER_INIT(x, http_content_type_class, sizeof(http_content_type_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_content_type(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_content_type_hash;
}
#else
#define http_is_content_type(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_content_type_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_content_type_t *http_content_type_dup(su_home_t *home,
http_content_type_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_type_t *http_content_type_copy(su_home_t *home,
http_content_type_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_type_t *http_content_type_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_content_type_t *http_content_type_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_content_type_t *http_content_type_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_content_type_class, fmt, ap);
va_end(ap);
return (http_content_type_t *)h;
}
su_inline
http_content_type_t *http_content_type_dup(su_home_t *home, http_content_type_t const *o)
{
return (http_content_type_t *)
msg_header_dup_as(home, http_content_type_class, (msg_header_t const *)o);
}
su_inline
http_content_type_t *http_content_type_copy(su_home_t *home, http_content_type_t const *o)
{
return (http_content_type_t *)
msg_header_copy_as(home, http_content_type_class, (msg_header_t const *)o);
}
su_inline
http_content_type_t *http_content_type_make(su_home_t *home, char const *s)
{
return (http_content_type_t *)http_header_make(home, http_content_type_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for unknown headers */
enum {
http_unknown_hash = -3
};
SOFIAPUBVAR msg_hclass_t http_unknown_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_unknown_d;
SOFIAPUBFUN msg_print_f http_unknown_e;
#define HTTP_UNKNOWN_INIT() HTTP_HDR_INIT(unknown)
#if SU_HAVE_INLINE
su_inline http_unknown_t *http_unknown_init(http_unknown_t x[1])
{
return HTTP_HEADER_INIT(x, http_unknown_class, sizeof(http_unknown_t));
}
#else
#define http_unknown_init(x) \
HTTP_HEADER_INIT(x, http_unknown_class, sizeof(http_unknown_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_unknown(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_unknown_hash;
}
#else
#define http_is_unknown(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_unknown_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_unknown_t *http_unknown_dup(su_home_t *home,
http_unknown_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_unknown_t *http_unknown_copy(su_home_t *home,
http_unknown_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_unknown_t *http_unknown_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_unknown_t *http_unknown_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_unknown_t *http_unknown_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_unknown_class, fmt, ap);
va_end(ap);
return (http_unknown_t *)h;
}
su_inline
http_unknown_t *http_unknown_dup(su_home_t *home, http_unknown_t const *o)
{
return (http_unknown_t *)
msg_header_dup_as(home, http_unknown_class, (msg_header_t const *)o);
}
su_inline
http_unknown_t *http_unknown_copy(su_home_t *home, http_unknown_t const *o)
{
return (http_unknown_t *)
msg_header_copy_as(home, http_unknown_class, (msg_header_t const *)o);
}
su_inline
http_unknown_t *http_unknown_make(su_home_t *home, char const *s)
{
return (http_unknown_t *)http_header_make(home, http_unknown_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for erroneous headers */
enum {
http_error_hash = -4
};
SOFIAPUBVAR msg_hclass_t http_error_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_error_d;
SOFIAPUBFUN msg_print_f http_error_e;
#define HTTP_ERROR_INIT() HTTP_HDR_INIT(error)
#if SU_HAVE_INLINE
su_inline http_error_t *http_error_init(http_error_t x[1])
{
return HTTP_HEADER_INIT(x, http_error_class, sizeof(http_error_t));
}
#else
#define http_error_init(x) \
HTTP_HEADER_INIT(x, http_error_class, sizeof(http_error_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_error(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_error_hash;
}
#else
#define http_is_error(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_error_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_error_t *http_error_dup(su_home_t *home,
http_error_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_error_t *http_error_copy(su_home_t *home,
http_error_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_error_t *http_error_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_error_t *http_error_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_error_t *http_error_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_error_class, fmt, ap);
va_end(ap);
return (http_error_t *)h;
}
su_inline
http_error_t *http_error_dup(su_home_t *home, http_error_t const *o)
{
return (http_error_t *)
msg_header_dup_as(home, http_error_class, (msg_header_t const *)o);
}
su_inline
http_error_t *http_error_copy(su_home_t *home, http_error_t const *o)
{
return (http_error_t *)
msg_header_copy_as(home, http_error_class, (msg_header_t const *)o);
}
su_inline
http_error_t *http_error_make(su_home_t *home, char const *s)
{
return (http_error_t *)http_header_make(home, http_error_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for separator line between headers and body */
enum {
http_separator_hash = -5
};
SOFIAPUBVAR msg_hclass_t http_separator_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_separator_d;
SOFIAPUBFUN msg_print_f http_separator_e;
#define HTTP_SEPARATOR_INIT() HTTP_HDR_INIT(separator)
#if SU_HAVE_INLINE
su_inline http_separator_t *http_separator_init(http_separator_t x[1])
{
return HTTP_HEADER_INIT(x, http_separator_class, sizeof(http_separator_t));
}
#else
#define http_separator_init(x) \
HTTP_HEADER_INIT(x, http_separator_class, sizeof(http_separator_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_separator(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_separator_hash;
}
#else
#define http_is_separator(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_separator_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_separator_t *http_separator_dup(su_home_t *home,
http_separator_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_separator_t *http_separator_copy(su_home_t *home,
http_separator_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_separator_t *http_separator_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_separator_t *http_separator_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_separator_t *http_separator_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_separator_class, fmt, ap);
va_end(ap);
return (http_separator_t *)h;
}
su_inline
http_separator_t *http_separator_dup(su_home_t *home, http_separator_t const *o)
{
return (http_separator_t *)
msg_header_dup_as(home, http_separator_class, (msg_header_t const *)o);
}
su_inline
http_separator_t *http_separator_copy(su_home_t *home, http_separator_t const *o)
{
return (http_separator_t *)
msg_header_copy_as(home, http_separator_class, (msg_header_t const *)o);
}
su_inline
http_separator_t *http_separator_make(su_home_t *home, char const *s)
{
return (http_separator_t *)http_header_make(home, http_separator_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
/* Declare internal prototypes for message payload */
enum {
http_payload_hash = -6
};
SOFIAPUBVAR msg_hclass_t http_payload_class[];
#ifndef HTTP_HCLASSES_ONLY
SOFIAPUBFUN msg_parse_f http_payload_d;
SOFIAPUBFUN msg_print_f http_payload_e;
#define HTTP_PAYLOAD_INIT() HTTP_HDR_INIT(payload)
#if SU_HAVE_INLINE
su_inline http_payload_t *http_payload_init(http_payload_t x[1])
{
return HTTP_HEADER_INIT(x, http_payload_class, sizeof(http_payload_t));
}
#else
#define http_payload_init(x) \
HTTP_HEADER_INIT(x, http_payload_class, sizeof(http_payload_t))
#endif
#if SU_HAVE_INLINE
su_inline
int http_is_payload(http_header_t const *header)
{
return header && header->sh_class->hc_hash == http_payload_hash;
}
#else
#define http_is_payload(h) \
((h) && ((msg_common_t *)(h))->h_class->hc_hash == http_payload_hash)
#endif
#if SU_HAVE_INLINE
su_inline
#endif
http_payload_t *http_payload_dup(su_home_t *home,
http_payload_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_payload_t *http_payload_copy(su_home_t *home,
http_payload_t const *hdr)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_payload_t *http_payload_make(su_home_t *home, char const *s)
__attribute__((__malloc__));
#if SU_HAVE_INLINE
su_inline
#endif
http_payload_t *http_payload_format(su_home_t *home, char const *fmt, ...)
__attribute__((__malloc__, __format__ (printf, 2, 3)));
/* Inlined functions */
#if SU_HAVE_INLINE
su_inline
http_payload_t *http_payload_format(su_home_t *home, char const *fmt, ...)
{
http_header_t *h;
va_list ap;
va_start(ap, fmt);
h = http_header_vformat(home, http_payload_class, fmt, ap);
va_end(ap);
return (http_payload_t *)h;
}
su_inline
http_payload_t *http_payload_dup(su_home_t *home, http_payload_t const *o)
{
return (http_payload_t *)
msg_header_dup_as(home, http_payload_class, (msg_header_t const *)o);
}
su_inline
http_payload_t *http_payload_copy(su_home_t *home, http_payload_t const *o)
{
return (http_payload_t *)
msg_header_copy_as(home, http_payload_class, (msg_header_t const *)o);
}
su_inline
http_payload_t *http_payload_make(su_home_t *home, char const *s)
{
return (http_payload_t *)http_header_make(home, http_payload_class, s);
}
#endif
#endif /* !define HTTP_HCLASSES_ONLY */
SOFIA_END_DECLS
#endif /* !defined(HTTP_PROTOS_H) */
http_accept_charset_init
http_accept_charset_t * http_accept_charset_init(http_accept_charset_t x[1])
Initialize a structure http_accept_charset_t.
Definition http_protos.h:858
http_accept_charset_dup
http_accept_charset_t * http_accept_charset_dup(su_home_t *home, http_accept_charset_t const *hdr))
Duplicate (deep copy) http_accept_charset_t.
Definition http_protos.h:1029
http_accept_charset_copy
http_accept_charset_t * http_accept_charset_copy(su_home_t *home, http_accept_charset_t const *hdr))
Copy a http_accept_charset_t header structure.
Definition http_protos.h:1036
http_accept_charset_d
msg_parse_f http_accept_charset_d
Decode (parse) a Accept-Charset header.
Definition http_protos.h:826
http_is_accept_charset
int http_is_accept_charset(http_header_t const *header)
Test if header object is instance of http_accept_charset_t.
Definition http_protos.h:882
http_accept_charset_make
http_accept_charset_t * http_accept_charset_make(su_home_t *home, char const *s))
Make a header structure http_accept_charset_t.
Definition http_protos.h:1043
http_accept_charset_e
msg_print_f http_accept_charset_e
Encode (print) a Accept-Charset header.
Definition http_protos.h:829
http_accept_charset_format
http_accept_charset_t * http_accept_charset_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Charset header from formatting result.
Definition http_protos.h:1016
http_accept_charset_hash
@ http_accept_charset_hash
Hash of Accept-Charset header.
Definition http_protos.h:810
http_is_accept_encoding
int http_is_accept_encoding(http_header_t const *header)
Test if header object is instance of http_accept_encoding_t.
Definition http_protos.h:1132
http_accept_encoding_e
msg_print_f http_accept_encoding_e
Encode (print) a Accept-Encoding header.
Definition http_protos.h:1079
http_accept_encoding_format
http_accept_encoding_t * http_accept_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Encoding header from formatting result.
Definition http_protos.h:1266
http_accept_encoding_make
http_accept_encoding_t * http_accept_encoding_make(su_home_t *home, char const *s))
Make a header structure http_accept_encoding_t.
Definition http_protos.h:1293
http_accept_encoding_copy
http_accept_encoding_t * http_accept_encoding_copy(su_home_t *home, http_accept_encoding_t const *hdr))
Copy a http_accept_encoding_t header structure.
Definition http_protos.h:1286
http_accept_encoding_d
msg_parse_f http_accept_encoding_d
Decode (parse) a Accept-Encoding header.
Definition http_protos.h:1076
http_accept_encoding_dup
http_accept_encoding_t * http_accept_encoding_dup(su_home_t *home, http_accept_encoding_t const *hdr))
Duplicate (deep copy) http_accept_encoding_t.
Definition http_protos.h:1279
http_accept_encoding_init
http_accept_encoding_t * http_accept_encoding_init(http_accept_encoding_t x[1])
Initialize a structure http_accept_encoding_t.
Definition http_protos.h:1108
http_accept_encoding_hash
@ http_accept_encoding_hash
Hash of Accept-Encoding header.
Definition http_protos.h:1060
http_accept_language_e
msg_print_f http_accept_language_e
Encode (print) a Accept-Language header.
Definition http_protos.h:1329
http_accept_language_dup
http_accept_language_t * http_accept_language_dup(su_home_t *home, http_accept_language_t const *hdr))
Duplicate (deep copy) http_accept_language_t.
Definition http_protos.h:1529
http_accept_language_make
http_accept_language_t * http_accept_language_make(su_home_t *home, char const *s))
Make a header structure http_accept_language_t.
Definition http_protos.h:1543
http_accept_language_format
http_accept_language_t * http_accept_language_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Language header from formatting result.
Definition http_protos.h:1516
http_is_accept_language
int http_is_accept_language(http_header_t const *header)
Test if header object is instance of http_accept_language_t.
Definition http_protos.h:1382
http_accept_language_init
http_accept_language_t * http_accept_language_init(http_accept_language_t x[1])
Initialize a structure http_accept_language_t.
Definition http_protos.h:1358
http_accept_language_copy
http_accept_language_t * http_accept_language_copy(su_home_t *home, http_accept_language_t const *hdr))
Copy a http_accept_language_t header structure.
Definition http_protos.h:1536
http_accept_language_d
msg_parse_f http_accept_language_d
Decode (parse) a Accept-Language header.
Definition http_protos.h:1326
http_accept_language_hash
@ http_accept_language_hash
Hash of Accept-Language header.
Definition http_protos.h:1310
http_accept_ranges_init
http_accept_ranges_t * http_accept_ranges_init(http_accept_ranges_t x[1])
Initialize a structure http_accept_ranges_t.
Definition http_protos.h:1608
http_accept_ranges_copy
http_accept_ranges_t * http_accept_ranges_copy(su_home_t *home, http_accept_ranges_t const *hdr))
Copy a http_accept_ranges_t header structure.
Definition http_protos.h:1786
http_accept_ranges_make
http_accept_ranges_t * http_accept_ranges_make(su_home_t *home, char const *s))
Make a header structure http_accept_ranges_t.
Definition http_protos.h:1793
http_accept_ranges_dup
http_accept_ranges_t * http_accept_ranges_dup(su_home_t *home, http_accept_ranges_t const *hdr))
Duplicate (deep copy) http_accept_ranges_t.
Definition http_protos.h:1779
http_is_accept_ranges
int http_is_accept_ranges(http_header_t const *header)
Test if header object is instance of http_accept_ranges_t.
Definition http_protos.h:1632
http_accept_ranges_format
http_accept_ranges_t * http_accept_ranges_format(su_home_t *home, char const *fmt,...)))
Make a Accept-Ranges header from formatting result.
Definition http_protos.h:1766
http_accept_ranges_class
msg_hclass_t http_accept_ranges_class[]
Header class for HTTP Accept-Ranges header.
Definition http_basic.c:314
http_accept_ranges_hash
@ http_accept_ranges_hash
Hash of Accept-Ranges header.
Definition http_protos.h:1560
http_accept_e
msg_print_f http_accept_e
Encode (print) a Accept header.
Definition http_protos.h:579
http_accept_init
http_accept_t * http_accept_init(http_accept_t x[1])
Initialize a structure http_accept_t.
Definition http_protos.h:608
http_accept_make
http_accept_t * http_accept_make(su_home_t *home, char const *s))
Make a header structure http_accept_t.
Definition http_protos.h:793
http_accept_d
msg_parse_f http_accept_d
Decode (parse) a Accept header.
Definition http_protos.h:576
http_is_accept
int http_is_accept(http_header_t const *header)
Test if header object is instance of http_accept_t.
Definition http_protos.h:632
http_accept_dup
http_accept_t * http_accept_dup(su_home_t *home, http_accept_t const *hdr))
Duplicate (deep copy) http_accept_t.
Definition http_protos.h:779
http_accept_copy
http_accept_t * http_accept_copy(su_home_t *home, http_accept_t const *hdr))
Copy a http_accept_t header structure.
Definition http_protos.h:786
http_accept_format
http_accept_t * http_accept_format(su_home_t *home, char const *fmt,...)))
Make a Accept header from formatting result.
Definition http_protos.h:766
http_accept_hash
@ http_accept_hash
Hash of Accept header.
Definition http_protos.h:560
http_age_init
http_age_t * http_age_init(http_age_t x[1])
Initialize a structure http_age_t.
Definition http_protos.h:2608
http_age_make
http_age_t * http_age_make(su_home_t *home, char const *s))
Make a header structure http_age_t.
Definition http_protos.h:2793
http_age_dup
http_age_t * http_age_dup(su_home_t *home, http_age_t const *hdr))
Duplicate (deep copy) http_age_t.
Definition http_protos.h:2779
http_age_class
msg_hclass_t http_age_class[]
Header class for HTTP Age header.
Definition http_basic.c:324
http_is_age
int http_is_age(http_header_t const *header)
Test if header object is instance of http_age_t.
Definition http_protos.h:2632
http_age_copy
http_age_t * http_age_copy(su_home_t *home, http_age_t const *hdr))
Copy a http_age_t header structure.
Definition http_protos.h:2786
http_age_format
http_age_t * http_age_format(su_home_t *home, char const *fmt,...)))
Make a Age header from formatting result.
Definition http_protos.h:2766
http_age_hash
@ http_age_hash
Hash of Age header.
Definition http_protos.h:2560
http_allow_make
http_allow_t * http_allow_make(su_home_t *home, char const *s))
Make a header structure http_allow_t.
Definition http_protos.h:2043
http_is_allow
int http_is_allow(http_header_t const *header)
Test if header object is instance of http_allow_t.
Definition http_protos.h:1882
http_allow_format
http_allow_t * http_allow_format(su_home_t *home, char const *fmt,...)))
Make a Allow header from formatting result.
Definition http_protos.h:2016
http_allow_copy
http_allow_t * http_allow_copy(su_home_t *home, http_allow_t const *hdr))
Copy a http_allow_t header structure.
Definition http_protos.h:2036
http_allow_dup
http_allow_t * http_allow_dup(su_home_t *home, http_allow_t const *hdr))
Duplicate (deep copy) http_allow_t.
Definition http_protos.h:2029
http_allow_init
http_allow_t * http_allow_init(http_allow_t x[1])
Initialize a structure http_allow_t.
Definition http_protos.h:1858
http_allow_class
msg_hclass_t http_allow_class[]
Header class for HTTP Allow header.
Definition http_basic.c:332
http_allow_hash
@ http_allow_hash
Hash of Allow header.
Definition http_protos.h:1810
http_authentication_info_dup
http_authentication_info_t * http_authentication_info_dup(su_home_t *home, http_authentication_info_t const *hdr))
Duplicate (deep copy) http_authentication_info_t.
Definition http_protos.h:2279
http_authentication_info_make
http_authentication_info_t * http_authentication_info_make(su_home_t *home, char const *s))
Make a header structure http_authentication_info_t.
Definition http_protos.h:2293
http_authentication_info_format
http_authentication_info_t * http_authentication_info_format(su_home_t *home, char const *fmt,...)))
Make a Authentication-Info header from formatting result.
Definition http_protos.h:2266
http_is_authentication_info
int http_is_authentication_info(http_header_t const *header)
Test if header object is instance of http_authentication_info_t.
Definition http_protos.h:2132
http_authentication_info_class
msg_hclass_t http_authentication_info_class[]
Header class for HTTP Authentication-Info header.
Definition http_basic.c:345
http_authentication_info_init
http_authentication_info_t * http_authentication_info_init(http_authentication_info_t x[1])
Initialize a structure http_authentication_info_t.
Definition http_protos.h:2108
http_authentication_info_copy
http_authentication_info_t * http_authentication_info_copy(su_home_t *home, http_authentication_info_t const *hdr))
Copy a http_authentication_info_t header structure.
Definition http_protos.h:2286
http_authentication_info_hash
@ http_authentication_info_hash
Hash of Authentication-Info header.
Definition http_protos.h:2060
http_authorization_init
http_authorization_t * http_authorization_init(http_authorization_t x[1])
Initialize a structure http_authorization_t.
Definition http_protos.h:2358
http_authorization_make
http_authorization_t * http_authorization_make(su_home_t *home, char const *s))
Make a header structure http_authorization_t.
Definition http_protos.h:2543
http_authorization_format
http_authorization_t * http_authorization_format(su_home_t *home, char const *fmt,...)))
Make a Authorization header from formatting result.
Definition http_protos.h:2516
http_authorization_class
msg_hclass_t http_authorization_class[]
Header class for HTTP Authorization header.
Definition http_basic.c:358
http_is_authorization
int http_is_authorization(http_header_t const *header)
Test if header object is instance of http_authorization_t.
Definition http_protos.h:2382
http_authorization_copy
http_authorization_t * http_authorization_copy(su_home_t *home, http_authorization_t const *hdr))
Copy a http_authorization_t header structure.
Definition http_protos.h:2536
http_authorization_dup
http_authorization_t * http_authorization_dup(su_home_t *home, http_authorization_t const *hdr))
Duplicate (deep copy) http_authorization_t.
Definition http_protos.h:2529
http_authorization_hash
@ http_authorization_hash
Hash of Authorization header.
Definition http_protos.h:2310
http_cache_control_init
http_cache_control_t * http_cache_control_init(http_cache_control_t x[1])
Initialize a structure http_cache_control_t.
Definition http_protos.h:2858
http_cache_control_dup
http_cache_control_t * http_cache_control_dup(su_home_t *home, http_cache_control_t const *hdr))
Duplicate (deep copy) http_cache_control_t.
Definition http_protos.h:3029
http_is_cache_control
int http_is_cache_control(http_header_t const *header)
Test if header object is instance of http_cache_control_t.
Definition http_protos.h:2882
http_cache_control_copy
http_cache_control_t * http_cache_control_copy(su_home_t *home, http_cache_control_t const *hdr))
Copy a http_cache_control_t header structure.
Definition http_protos.h:3036
http_cache_control_format
http_cache_control_t * http_cache_control_format(su_home_t *home, char const *fmt,...)))
Make a Cache-Control header from formatting result.
Definition http_protos.h:3016
http_cache_control_make
http_cache_control_t * http_cache_control_make(su_home_t *home, char const *s))
Make a header structure http_cache_control_t.
Definition http_protos.h:3043
http_cache_control_class
msg_hclass_t http_cache_control_class[]
Header class for HTTP Cache-Control header.
Definition http_basic.c:367
http_cache_control_hash
@ http_cache_control_hash
Hash of Cache-Control header.
Definition http_protos.h:2810
http_connection_init
http_connection_t * http_connection_init(http_connection_t x[1])
Initialize a structure http_connection_t.
Definition http_protos.h:3108
http_connection_dup
http_connection_t * http_connection_dup(su_home_t *home, http_connection_t const *hdr))
Duplicate (deep copy) http_connection_t.
Definition http_protos.h:3279
http_connection_make
http_connection_t * http_connection_make(su_home_t *home, char const *s))
Make a header structure http_connection_t.
Definition http_protos.h:3293
http_connection_class
msg_hclass_t http_connection_class[]
Header class for HTTP Connection header.
Definition http_basic.c:375
http_connection_copy
http_connection_t * http_connection_copy(su_home_t *home, http_connection_t const *hdr))
Copy a http_connection_t header structure.
Definition http_protos.h:3286
http_connection_format
http_connection_t * http_connection_format(su_home_t *home, char const *fmt,...)))
Make a Connection header from formatting result.
Definition http_protos.h:3266
http_is_connection
int http_is_connection(http_header_t const *header)
Test if header object is instance of http_connection_t.
Definition http_protos.h:3132
http_connection_hash
@ http_connection_hash
Hash of Connection header.
Definition http_protos.h:3060
http_content_encoding_copy
http_content_encoding_t * http_content_encoding_copy(su_home_t *home, http_content_encoding_t const *hdr))
Copy a http_content_encoding_t header structure.
Definition http_protos.h:12036
http_content_encoding_init
http_content_encoding_t * http_content_encoding_init(http_content_encoding_t x[1])
Initialize a structure http_content_encoding_t.
Definition http_protos.h:11858
http_content_encoding_make
http_content_encoding_t * http_content_encoding_make(su_home_t *home, char const *s))
Make a header structure http_content_encoding_t.
Definition http_protos.h:12043
http_content_encoding_dup
http_content_encoding_t * http_content_encoding_dup(su_home_t *home, http_content_encoding_t const *hdr))
Duplicate (deep copy) http_content_encoding_t.
Definition http_protos.h:12029
http_is_content_encoding
int http_is_content_encoding(http_header_t const *header)
Test if header object is instance of http_content_encoding_t.
Definition http_protos.h:11882
http_content_encoding_e
msg_print_f http_content_encoding_e
Encode (print) a Content-Encoding header.
Definition http_protos.h:11829
http_content_encoding_format
http_content_encoding_t * http_content_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Content-Encoding header from formatting result.
Definition http_protos.h:12016
http_content_encoding_d
msg_parse_f http_content_encoding_d
Decode (parse) a Content-Encoding header.
Definition http_protos.h:11826
http_content_encoding_hash
@ http_content_encoding_hash
Hash of Content-Encoding header.
Definition http_protos.h:11810
http_is_content_language
int http_is_content_language(http_header_t const *header)
Test if header object is instance of http_content_language_t.
Definition http_protos.h:12132
http_content_language_make
http_content_language_t * http_content_language_make(su_home_t *home, char const *s))
Make a header structure http_content_language_t.
Definition http_protos.h:12293
http_content_language_dup
http_content_language_t * http_content_language_dup(su_home_t *home, http_content_language_t const *hdr))
Duplicate (deep copy) http_content_language_t.
Definition http_protos.h:12279
http_content_language_e
msg_print_f http_content_language_e
Encode (print) a Content-Language header.
Definition http_protos.h:12079
http_content_language_d
msg_parse_f http_content_language_d
Decode (parse) a Content-Language header.
Definition http_protos.h:12076
http_content_language_copy
http_content_language_t * http_content_language_copy(su_home_t *home, http_content_language_t const *hdr))
Copy a http_content_language_t header structure.
Definition http_protos.h:12286
http_content_language_format
http_content_language_t * http_content_language_format(su_home_t *home, char const *fmt,...)))
Make a Content-Language header from formatting result.
Definition http_protos.h:12266
http_content_language_init
http_content_language_t * http_content_language_init(http_content_language_t x[1])
Initialize a structure http_content_language_t.
Definition http_protos.h:12108
http_content_language_hash
@ http_content_language_hash
Hash of Content-Language header.
Definition http_protos.h:12060
http_content_length_d
msg_parse_f http_content_length_d
Decode (parse) a Content-Length header.
Definition http_protos.h:12326
http_content_length_make
http_content_length_t * http_content_length_make(su_home_t *home, char const *s))
Make a header structure http_content_length_t.
Definition http_protos.h:12543
http_content_length_init
http_content_length_t * http_content_length_init(http_content_length_t x[1])
Initialize a structure http_content_length_t.
Definition http_protos.h:12358
http_content_length_format
http_content_length_t * http_content_length_format(su_home_t *home, char const *fmt,...)))
Make a Content-Length header from formatting result.
Definition http_protos.h:12516
http_content_length_e
msg_print_f http_content_length_e
Encode (print) a Content-Length header.
Definition http_protos.h:12329
http_content_length_dup
http_content_length_t * http_content_length_dup(su_home_t *home, http_content_length_t const *hdr))
Duplicate (deep copy) http_content_length_t.
Definition http_protos.h:12529
http_content_length_copy
http_content_length_t * http_content_length_copy(su_home_t *home, http_content_length_t const *hdr))
Copy a http_content_length_t header structure.
Definition http_protos.h:12536
http_is_content_length
int http_is_content_length(http_header_t const *header)
Test if header object is instance of http_content_length_t.
Definition http_protos.h:12382
http_content_length_hash
@ http_content_length_hash
Hash of Content-Length header.
Definition http_protos.h:12310
http_content_location_copy
http_content_location_t * http_content_location_copy(su_home_t *home, http_content_location_t const *hdr))
Copy a http_content_location_t header structure.
Definition http_protos.h:12786
http_content_location_format
http_content_location_t * http_content_location_format(su_home_t *home, char const *fmt,...)))
Make a Content-Location header from formatting result.
Definition http_protos.h:12766
http_is_content_location
int http_is_content_location(http_header_t const *header)
Test if header object is instance of http_content_location_t.
Definition http_protos.h:12632
http_content_location_init
http_content_location_t * http_content_location_init(http_content_location_t x[1])
Initialize a structure http_content_location_t.
Definition http_protos.h:12608
http_content_location_make
http_content_location_t * http_content_location_make(su_home_t *home, char const *s))
Make a header structure http_content_location_t.
Definition http_protos.h:12793
http_content_location_e
msg_print_f http_content_location_e
Encode (print) a Content-Location header.
Definition http_protos.h:12579
http_content_location_dup
http_content_location_t * http_content_location_dup(su_home_t *home, http_content_location_t const *hdr))
Duplicate (deep copy) http_content_location_t.
Definition http_protos.h:12779
http_content_location_d
msg_parse_f http_content_location_d
Decode (parse) a Content-Location header.
Definition http_protos.h:12576
http_content_location_hash
@ http_content_location_hash
Hash of Content-Location header.
Definition http_protos.h:12560
http_content_md5_e
msg_print_f http_content_md5_e
Encode (print) a Content-MD5 header.
Definition http_protos.h:12829
http_content_md5_make
http_content_md5_t * http_content_md5_make(su_home_t *home, char const *s))
Make a header structure http_content_md5_t.
Definition http_protos.h:13043
http_content_md5_copy
http_content_md5_t * http_content_md5_copy(su_home_t *home, http_content_md5_t const *hdr))
Copy a http_content_md5_t header structure.
Definition http_protos.h:13036
http_is_content_md5
int http_is_content_md5(http_header_t const *header)
Test if header object is instance of http_content_md5_t.
Definition http_protos.h:12882
http_content_md5_d
msg_parse_f http_content_md5_d
Decode (parse) a Content-MD5 header.
Definition http_protos.h:12826
http_content_md5_init
http_content_md5_t * http_content_md5_init(http_content_md5_t x[1])
Initialize a structure http_content_md5_t.
Definition http_protos.h:12858
http_content_md5_format
http_content_md5_t * http_content_md5_format(su_home_t *home, char const *fmt,...)))
Make a Content-MD5 header from formatting result.
Definition http_protos.h:13016
http_content_md5_dup
http_content_md5_t * http_content_md5_dup(su_home_t *home, http_content_md5_t const *hdr))
Duplicate (deep copy) http_content_md5_t.
Definition http_protos.h:13029
http_content_md5_hash
@ http_content_md5_hash
Hash of Content-MD5 header.
Definition http_protos.h:12810
http_content_range_dup
http_content_range_t * http_content_range_dup(su_home_t *home, http_content_range_t const *hdr))
Duplicate (deep copy) http_content_range_t.
Definition http_protos.h:13279
http_content_range_copy
http_content_range_t * http_content_range_copy(su_home_t *home, http_content_range_t const *hdr))
Copy a http_content_range_t header structure.
Definition http_protos.h:13286
http_is_content_range
int http_is_content_range(http_header_t const *header)
Test if header object is instance of http_content_range_t.
Definition http_protos.h:13132
http_content_range_class
msg_hclass_t http_content_range_class[]
Header class for HTTP Content-Range header.
Definition http_basic.c:501
http_content_range_d
msg_parse_f http_content_range_d
Decode (parse) a Content-Range header.
Definition http_protos.h:13076
http_content_range_t
struct http_content_range_s http_content_range_t
@HTTP_HEADER http_content_encoding Content-Encoding header.
Definition http.h:121
http_content_range_format
http_content_range_t * http_content_range_format(su_home_t *home, char const *fmt,...)))
Make a Content-Range header from formatting result.
Definition http_protos.h:13266
http_content_range_e
msg_print_f http_content_range_e
Encode (print) a Content-Range header.
Definition http_protos.h:13079
http_content_range_init
http_content_range_t * http_content_range_init(http_content_range_t x[1])
Initialize a structure http_content_range_t.
Definition http_protos.h:13108
http_content_range_make
http_content_range_t * http_content_range_make(su_home_t *home, char const *s))
Make a header structure http_content_range_t.
Definition http_protos.h:13293
http_content_range_hash
@ http_content_range_hash
Hash of Content-Range header.
Definition http_protos.h:13060
http_content_type_e
msg_print_f http_content_type_e
Encode (print) a Content-Type header.
Definition http_protos.h:13329
http_content_type_d
msg_parse_f http_content_type_d
Decode (parse) a Content-Type header.
Definition http_protos.h:13326
http_content_type_copy
http_content_type_t * http_content_type_copy(su_home_t *home, http_content_type_t const *hdr))
Copy a http_content_type_t header structure.
Definition http_protos.h:13536
http_is_content_type
int http_is_content_type(http_header_t const *header)
Test if header object is instance of http_content_type_t.
Definition http_protos.h:13382
http_content_type_dup
http_content_type_t * http_content_type_dup(su_home_t *home, http_content_type_t const *hdr))
Duplicate (deep copy) http_content_type_t.
Definition http_protos.h:13529
http_content_type_init
http_content_type_t * http_content_type_init(http_content_type_t x[1])
Initialize a structure http_content_type_t.
Definition http_protos.h:13358
http_content_type_make
http_content_type_t * http_content_type_make(su_home_t *home, char const *s))
Make a header structure http_content_type_t.
Definition http_protos.h:13543
http_content_type_format
http_content_type_t * http_content_type_format(su_home_t *home, char const *fmt,...)))
Make a Content-Type header from formatting result.
Definition http_protos.h:13516
http_content_type_hash
@ http_content_type_hash
Hash of Content-Type header.
Definition http_protos.h:13310
http_cookie_class
msg_hclass_t http_cookie_class[]
Header class for HTTP Cookie header.
Definition http_extra.c:254
http_cookie_make
http_cookie_t * http_cookie_make(su_home_t *home, char const *s))
Make a header structure http_cookie_t.
Definition http_protos.h:11543
http_cookie_copy
http_cookie_t * http_cookie_copy(su_home_t *home, http_cookie_t const *hdr))
Copy a http_cookie_t header structure.
Definition http_protos.h:11536
http_cookie_d
msg_parse_f http_cookie_d
Decode (parse) a Cookie header.
Definition http_protos.h:11326
http_cookie_t
struct http_cookie_s http_cookie_t
@HTTP_HEADER http_cookie Cookie extension header.
Definition http.h:158
http_cookie_format
http_cookie_t * http_cookie_format(su_home_t *home, char const *fmt,...)))
Make a Cookie header from formatting result.
Definition http_protos.h:11516
http_cookie_dup
http_cookie_t * http_cookie_dup(su_home_t *home, http_cookie_t const *hdr))
Duplicate (deep copy) http_cookie_t.
Definition http_protos.h:11529
http_is_cookie
int http_is_cookie(http_header_t const *header)
Test if header object is instance of http_cookie_t.
Definition http_protos.h:11382
http_cookie_init
http_cookie_t * http_cookie_init(http_cookie_t x[1])
Initialize a structure http_cookie_t.
Definition http_protos.h:11358
http_cookie_e
msg_print_f http_cookie_e
Encode (print) a Cookie header.
Definition http_protos.h:11329
http_cookie_hash
@ http_cookie_hash
Hash of Cookie header.
Definition http_protos.h:11310
http_date_format
http_date_t * http_date_format(su_home_t *home, char const *fmt,...)))
Make a Date header from formatting result.
Definition http_protos.h:3516
http_date_e
msg_print_f http_date_e
Encode (print) a Date header.
Definition http_protos.h:3329
http_date_d
msg_parse_f http_date_d
Decode (parse) a Date header.
Definition http_protos.h:3326
http_date_copy
http_date_t * http_date_copy(su_home_t *home, http_date_t const *hdr))
Copy a http_date_t header structure.
Definition http_protos.h:3536
http_date_class
msg_hclass_t http_date_class[]
Header class for HTTP Date header.
Definition http_basic.c:598
http_date_init
http_date_t * http_date_init(http_date_t x[1])
Initialize a structure http_date_t.
Definition http_protos.h:3358
http_date_dup
http_date_t * http_date_dup(su_home_t *home, http_date_t const *hdr))
Duplicate (deep copy) http_date_t.
Definition http_protos.h:3529
http_date_t
struct http_date_s http_date_t
@HTTP_HEADER http_content_type Content-Type header.
Definition http.h:123
http_is_date
int http_is_date(http_header_t const *header)
Test if header object is instance of http_date_t.
Definition http_protos.h:3382
http_date_make
http_date_t * http_date_make(su_home_t *home, char const *s))
Make a header structure http_date_t.
Definition http_protos.h:3543
http_date_hash
@ http_date_hash
Hash of Date header.
Definition http_protos.h:3310
http_error_format
http_error_t * http_error_format(su_home_t *home, char const *fmt,...)))
Make a erroneous headers from formatting result.
Definition http_protos.h:14016
http_error_make
http_error_t * http_error_make(su_home_t *home, char const *s))
Make a header structure http_error_t.
Definition http_protos.h:14043
http_error_d
msg_parse_f http_error_d
Decode (parse) a erroneous headers.
Definition http_protos.h:13826
http_is_error
int http_is_error(http_header_t const *header)
Test if header object is instance of http_error_t.
Definition http_protos.h:13882
http_error_dup
http_error_t * http_error_dup(su_home_t *home, http_error_t const *hdr))
Duplicate (deep copy) http_error_t.
Definition http_protos.h:14029
http_error_e
msg_print_f http_error_e
Encode (print) a erroneous headers.
Definition http_protos.h:13829
http_error_copy
http_error_t * http_error_copy(su_home_t *home, http_error_t const *hdr))
Copy a http_error_t header structure.
Definition http_protos.h:14036
http_error_init
http_error_t * http_error_init(http_error_t x[1])
Initialize a structure http_error_t.
Definition http_protos.h:13858
http_error_hash
@ http_error_hash
Hash of erroneous headers.
Definition http_protos.h:13810
http_etag_make
http_etag_t * http_etag_make(su_home_t *home, char const *s))
Make a header structure http_etag_t.
Definition http_protos.h:3793
http_etag_format
http_etag_t * http_etag_format(su_home_t *home, char const *fmt,...)))
Make a ETag header from formatting result.
Definition http_protos.h:3766
http_etag_dup
http_etag_t * http_etag_dup(su_home_t *home, http_etag_t const *hdr))
Duplicate (deep copy) http_etag_t.
Definition http_protos.h:3779
http_etag_copy
http_etag_t * http_etag_copy(su_home_t *home, http_etag_t const *hdr))
Copy a http_etag_t header structure.
Definition http_protos.h:3786
http_etag_init
http_etag_t * http_etag_init(http_etag_t x[1])
Initialize a structure http_etag_t.
Definition http_protos.h:3608
http_etag_class
msg_hclass_t http_etag_class[]
Header class for HTTP ETag header.
Definition http_basic.c:608
http_is_etag
int http_is_etag(http_header_t const *header)
Test if header object is instance of http_etag_t.
Definition http_protos.h:3632
http_etag_hash
@ http_etag_hash
Hash of ETag header.
Definition http_protos.h:3560
http_expect_class
msg_hclass_t http_expect_class[]
Header class for HTTP Expect header.
Definition http_basic.c:617
http_is_expect
int http_is_expect(http_header_t const *header)
Test if header object is instance of http_expect_t.
Definition http_protos.h:3882
http_expect_copy
http_expect_t * http_expect_copy(su_home_t *home, http_expect_t const *hdr))
Copy a http_expect_t header structure.
Definition http_protos.h:4036
http_expect_format
http_expect_t * http_expect_format(su_home_t *home, char const *fmt,...)))
Make a Expect header from formatting result.
Definition http_protos.h:4016
http_expect_make
http_expect_t * http_expect_make(su_home_t *home, char const *s))
Make a header structure http_expect_t.
Definition http_protos.h:4043
http_expect_dup
http_expect_t * http_expect_dup(su_home_t *home, http_expect_t const *hdr))
Duplicate (deep copy) http_expect_t.
Definition http_protos.h:4029
http_expect_init
http_expect_t * http_expect_init(http_expect_t x[1])
Initialize a structure http_expect_t.
Definition http_protos.h:3858
http_expect_hash
@ http_expect_hash
Hash of Expect header.
Definition http_protos.h:3810
http_expires_copy
http_expires_t * http_expires_copy(su_home_t *home, http_expires_t const *hdr))
Copy a http_expires_t header structure.
Definition http_protos.h:4286
http_expires_class
msg_hclass_t http_expires_class[]
Header class for HTTP Expires header.
Definition http_basic.c:653
http_expires_make
http_expires_t * http_expires_make(su_home_t *home, char const *s))
Make a header structure http_expires_t.
Definition http_protos.h:4293
http_expires_format
http_expires_t * http_expires_format(su_home_t *home, char const *fmt,...)))
Make a Expires header from formatting result.
Definition http_protos.h:4266
http_expires_dup
http_expires_t * http_expires_dup(su_home_t *home, http_expires_t const *hdr))
Duplicate (deep copy) http_expires_t.
Definition http_protos.h:4279
http_is_expires
int http_is_expires(http_header_t const *header)
Test if header object is instance of http_expires_t.
Definition http_protos.h:4132
http_expires_t
http_date_t http_expires_t
@HTTP_HEADER http_expires Expires header.
Definition http.h:126
http_expires_init
http_expires_t * http_expires_init(http_expires_t x[1])
Initialize a structure http_expires_t.
Definition http_protos.h:4108
http_expires_hash
@ http_expires_hash
Hash of Expires header.
Definition http_protos.h:4060
http_is_from
int http_is_from(http_header_t const *header)
Test if header object is instance of http_from_t.
Definition http_protos.h:4382
http_from_init
http_from_t * http_from_init(http_from_t x[1])
Initialize a structure http_from_t.
Definition http_protos.h:4358
http_from_dup
http_from_t * http_from_dup(su_home_t *home, http_from_t const *hdr))
Duplicate (deep copy) http_from_t.
Definition http_protos.h:4529
http_from_format
http_from_t * http_from_format(su_home_t *home, char const *fmt,...)))
Make a From header from formatting result.
Definition http_protos.h:4516
http_from_class
msg_hclass_t http_from_class[]
Header class for HTTP From header.
Definition http_basic.c:667
http_from_copy
http_from_t * http_from_copy(su_home_t *home, http_from_t const *hdr))
Copy a http_from_t header structure.
Definition http_protos.h:4536
http_from_make
http_from_t * http_from_make(su_home_t *home, char const *s))
Make a header structure http_from_t.
Definition http_protos.h:4543
http_from_hash
@ http_from_hash
Hash of From header.
Definition http_protos.h:4310
http_host_dup
http_host_t * http_host_dup(su_home_t *home, http_host_t const *hdr))
Duplicate (deep copy) http_host_t.
Definition http_protos.h:4779
http_host_d
msg_parse_f http_host_d
Decode (parse) a Host header.
Definition http_protos.h:4576
http_is_host
int http_is_host(http_header_t const *header)
Test if header object is instance of http_host_t.
Definition http_protos.h:4632
http_host_e
msg_print_f http_host_e
Encode (print) a Host header.
Definition http_protos.h:4579
http_host_make
http_host_t * http_host_make(su_home_t *home, char const *s))
Make a header structure http_host_t.
Definition http_protos.h:4793
http_host_copy
http_host_t * http_host_copy(su_home_t *home, http_host_t const *hdr))
Copy a http_host_t header structure.
Definition http_protos.h:4786
http_host_format
http_host_t * http_host_format(su_home_t *home, char const *fmt,...)))
Make a Host header from formatting result.
Definition http_protos.h:4766
http_host_class
msg_hclass_t http_host_class[]
Header class for HTTP Host header.
Definition http_basic.c:750
http_host_init
http_host_t * http_host_init(http_host_t x[1])
Initialize a structure http_host_t.
Definition http_protos.h:4608
http_host_hash
@ http_host_hash
Hash of Host header.
Definition http_protos.h:4560
http_if_match_copy
http_if_match_t * http_if_match_copy(su_home_t *home, http_if_match_t const *hdr))
Copy a http_if_match_t header structure.
Definition http_protos.h:5036
http_if_match_make
http_if_match_t * http_if_match_make(su_home_t *home, char const *s))
Make a header structure http_if_match_t.
Definition http_protos.h:5043
http_if_match_format
http_if_match_t * http_if_match_format(su_home_t *home, char const *fmt,...)))
Make a If-Match header from formatting result.
Definition http_protos.h:5016
http_if_match_class
msg_hclass_t http_if_match_class[]
Header class for HTTP If-Match header.
Definition http_basic.c:758
http_if_match_dup
http_if_match_t * http_if_match_dup(su_home_t *home, http_if_match_t const *hdr))
Duplicate (deep copy) http_if_match_t.
Definition http_protos.h:5029
http_if_match_init
http_if_match_t * http_if_match_init(http_if_match_t x[1])
Initialize a structure http_if_match_t.
Definition http_protos.h:4858
http_is_if_match
int http_is_if_match(http_header_t const *header)
Test if header object is instance of http_if_match_t.
Definition http_protos.h:4882
http_if_match_hash
@ http_if_match_hash
Hash of If-Match header.
Definition http_protos.h:4810
http_if_modified_since_make
http_if_modified_since_t * http_if_modified_since_make(su_home_t *home, char const *s))
Make a header structure http_if_modified_since_t.
Definition http_protos.h:5293
http_if_modified_since_copy
http_if_modified_since_t * http_if_modified_since_copy(su_home_t *home, http_if_modified_since_t const *hdr))
Copy a http_if_modified_since_t header structure.
Definition http_protos.h:5286
http_if_modified_since_format
http_if_modified_since_t * http_if_modified_since_format(su_home_t *home, char const *fmt,...)))
Make a If-Modified-Since header from formatting result.
Definition http_protos.h:5266
http_if_modified_since_class
msg_hclass_t http_if_modified_since_class[]
Header class for HTTP If-Modified-Since header.
Definition http_basic.c:796
http_if_modified_since_t
http_date_t http_if_modified_since_t
@HTTP_HEADER http_if_modified_since If-Modified-Since header.
Definition http.h:130
http_if_modified_since_init
http_if_modified_since_t * http_if_modified_since_init(http_if_modified_since_t x[1])
Initialize a structure http_if_modified_since_t.
Definition http_protos.h:5108
http_is_if_modified_since
int http_is_if_modified_since(http_header_t const *header)
Test if header object is instance of http_if_modified_since_t.
Definition http_protos.h:5132
http_if_modified_since_dup
http_if_modified_since_t * http_if_modified_since_dup(su_home_t *home, http_if_modified_since_t const *hdr))
Duplicate (deep copy) http_if_modified_since_t.
Definition http_protos.h:5279
http_if_modified_since_hash
@ http_if_modified_since_hash
Hash of If-Modified-Since header.
Definition http_protos.h:5060
http_if_none_match_make
http_if_none_match_t * http_if_none_match_make(su_home_t *home, char const *s))
Make a header structure http_if_none_match_t.
Definition http_protos.h:5543
http_if_none_match_copy
http_if_none_match_t * http_if_none_match_copy(su_home_t *home, http_if_none_match_t const *hdr))
Copy a http_if_none_match_t header structure.
Definition http_protos.h:5536
http_if_none_match_format
http_if_none_match_t * http_if_none_match_format(su_home_t *home, char const *fmt,...)))
Make a If-None-Match header from formatting result.
Definition http_protos.h:5516
http_if_none_match_init
http_if_none_match_t * http_if_none_match_init(http_if_none_match_t x[1])
Initialize a structure http_if_none_match_t.
Definition http_protos.h:5358
http_if_none_match_class
msg_hclass_t http_if_none_match_class[]
Header class for HTTP If-None-Match header.
Definition http_basic.c:805
http_is_if_none_match
int http_is_if_none_match(http_header_t const *header)
Test if header object is instance of http_if_none_match_t.
Definition http_protos.h:5382
http_if_none_match_dup
http_if_none_match_t * http_if_none_match_dup(su_home_t *home, http_if_none_match_t const *hdr))
Duplicate (deep copy) http_if_none_match_t.
Definition http_protos.h:5529
http_if_none_match_hash
@ http_if_none_match_hash
Hash of If-None-Match header.
Definition http_protos.h:5310
http_if_range_d
msg_parse_f http_if_range_d
Decode (parse) a If-Range header.
Definition http_protos.h:5576
http_if_range_make
http_if_range_t * http_if_range_make(su_home_t *home, char const *s))
Make a header structure http_if_range_t.
Definition http_protos.h:5793
http_if_range_copy
http_if_range_t * http_if_range_copy(su_home_t *home, http_if_range_t const *hdr))
Copy a http_if_range_t header structure.
Definition http_protos.h:5786
http_if_range_format
http_if_range_t * http_if_range_format(su_home_t *home, char const *fmt,...)))
Make a If-Range header from formatting result.
Definition http_protos.h:5766
http_if_range_class
msg_hclass_t http_if_range_class[]
Header class for HTTP If-Range header.
Definition http_basic.c:876
http_if_range_e
msg_print_f http_if_range_e
Encode (print) a If-Range header.
Definition http_protos.h:5579
http_if_range_init
http_if_range_t * http_if_range_init(http_if_range_t x[1])
Initialize a structure http_if_range_t.
Definition http_protos.h:5608
http_if_range_dup
http_if_range_t * http_if_range_dup(su_home_t *home, http_if_range_t const *hdr))
Duplicate (deep copy) http_if_range_t.
Definition http_protos.h:5779
http_is_if_range
int http_is_if_range(http_header_t const *header)
Test if header object is instance of http_if_range_t.
Definition http_protos.h:5632
http_if_range_hash
@ http_if_range_hash
Hash of If-Range header.
Definition http_protos.h:5560
http_if_unmodified_since_t
http_date_t http_if_unmodified_since_t
@HTTP_HEADER http_if_unmodified_since If-Unmodified-Since header.
Definition http.h:133
http_if_unmodified_since_init
http_if_unmodified_since_t * http_if_unmodified_since_init(http_if_unmodified_since_t x[1])
Initialize a structure http_if_unmodified_since_t.
Definition http_protos.h:5858
http_if_unmodified_since_class
msg_hclass_t http_if_unmodified_since_class[]
Header class for HTTP If-Unmodified-Since header.
Definition http_basic.c:915
http_if_unmodified_since_dup
http_if_unmodified_since_t * http_if_unmodified_since_dup(su_home_t *home, http_if_unmodified_since_t const *hdr))
Duplicate (deep copy) http_if_unmodified_since_t.
Definition http_protos.h:6029
http_if_unmodified_since_copy
http_if_unmodified_since_t * http_if_unmodified_since_copy(su_home_t *home, http_if_unmodified_since_t const *hdr))
Copy a http_if_unmodified_since_t header structure.
Definition http_protos.h:6036
http_is_if_unmodified_since
int http_is_if_unmodified_since(http_header_t const *header)
Test if header object is instance of http_if_unmodified_since_t.
Definition http_protos.h:5882
http_if_unmodified_since_format
http_if_unmodified_since_t * http_if_unmodified_since_format(su_home_t *home, char const *fmt,...)))
Make a If-Unmodified-Since header from formatting result.
Definition http_protos.h:6016
http_if_unmodified_since_make
http_if_unmodified_since_t * http_if_unmodified_since_make(su_home_t *home, char const *s))
Make a header structure http_if_unmodified_since_t.
Definition http_protos.h:6043
http_if_unmodified_since_hash
@ http_if_unmodified_since_hash
Hash of If-Unmodified-Since header.
Definition http_protos.h:5810
http_last_modified_init
http_last_modified_t * http_last_modified_init(http_last_modified_t x[1])
Initialize a structure http_last_modified_t.
Definition http_protos.h:6108
http_last_modified_copy
http_last_modified_t * http_last_modified_copy(su_home_t *home, http_last_modified_t const *hdr))
Copy a http_last_modified_t header structure.
Definition http_protos.h:6286
http_last_modified_class
msg_hclass_t http_last_modified_class[]
Header class for HTTP Last-Modified header.
Definition http_basic.c:951
http_is_last_modified
int http_is_last_modified(http_header_t const *header)
Test if header object is instance of http_last_modified_t.
Definition http_protos.h:6132
http_last_modified_t
http_date_t http_last_modified_t
@HTTP_HEADER http_last_modified Last-Modified header.
Definition http.h:134
http_last_modified_format
http_last_modified_t * http_last_modified_format(su_home_t *home, char const *fmt,...)))
Make a Last-Modified header from formatting result.
Definition http_protos.h:6266
http_last_modified_make
http_last_modified_t * http_last_modified_make(su_home_t *home, char const *s))
Make a header structure http_last_modified_t.
Definition http_protos.h:6293
http_last_modified_dup
http_last_modified_t * http_last_modified_dup(su_home_t *home, http_last_modified_t const *hdr))
Duplicate (deep copy) http_last_modified_t.
Definition http_protos.h:6279
http_last_modified_hash
@ http_last_modified_hash
Hash of Last-Modified header.
Definition http_protos.h:6060
http_location_copy
http_location_t * http_location_copy(su_home_t *home, http_location_t const *hdr))
Copy a http_location_t header structure.
Definition http_protos.h:6536
http_location_d
msg_parse_f http_location_d
Decode (parse) a Location header.
Definition http_protos.h:6326
http_location_class
msg_hclass_t http_location_class[]
Header class for HTTP Location header.
Definition http_basic.c:1026
http_location_e
msg_print_f http_location_e
Encode (print) a Location header.
Definition http_protos.h:6329
http_location_make
http_location_t * http_location_make(su_home_t *home, char const *s))
Make a header structure http_location_t.
Definition http_protos.h:6543
http_location_dup
http_location_t * http_location_dup(su_home_t *home, http_location_t const *hdr))
Duplicate (deep copy) http_location_t.
Definition http_protos.h:6529
http_location_init
http_location_t * http_location_init(http_location_t x[1])
Initialize a structure http_location_t.
Definition http_protos.h:6358
http_location_t
struct http_location_s http_location_t
@HTTP_HEADER http_location Location Header
Definition http.h:135
http_location_format
http_location_t * http_location_format(su_home_t *home, char const *fmt,...)))
Make a Location header from formatting result.
Definition http_protos.h:6516
http_is_location
int http_is_location(http_header_t const *header)
Test if header object is instance of http_location_t.
Definition http_protos.h:6382
http_location_hash
@ http_location_hash
Hash of Location header.
Definition http_protos.h:6310
http_is_max_forwards
int http_is_max_forwards(http_header_t const *header)
Test if header object is instance of http_max_forwards_t.
Definition http_protos.h:6632
http_max_forwards_class
msg_hclass_t http_max_forwards_class[]
Header class for HTTP Max-Forwards header.
Definition http_basic.c:1034
http_max_forwards_make
http_max_forwards_t * http_max_forwards_make(su_home_t *home, char const *s))
Make a header structure http_max_forwards_t.
Definition http_protos.h:6793
http_max_forwards_format
http_max_forwards_t * http_max_forwards_format(su_home_t *home, char const *fmt,...)))
Make a Max-Forwards header from formatting result.
Definition http_protos.h:6766
http_max_forwards_dup
http_max_forwards_t * http_max_forwards_dup(su_home_t *home, http_max_forwards_t const *hdr))
Duplicate (deep copy) http_max_forwards_t.
Definition http_protos.h:6779
http_max_forwards_init
http_max_forwards_t * http_max_forwards_init(http_max_forwards_t x[1])
Initialize a structure http_max_forwards_t.
Definition http_protos.h:6608
http_max_forwards_copy
http_max_forwards_t * http_max_forwards_copy(su_home_t *home, http_max_forwards_t const *hdr))
Copy a http_max_forwards_t header structure.
Definition http_protos.h:6786
http_max_forwards_hash
@ http_max_forwards_hash
Hash of Max-Forwards header.
Definition http_protos.h:6560
http_mime_version_e
msg_print_f http_mime_version_e
Encode (print) a MIME-Version header.
Definition http_protos.h:11579
http_mime_version_dup
http_mime_version_t * http_mime_version_dup(su_home_t *home, http_mime_version_t const *hdr))
Duplicate (deep copy) http_mime_version_t.
Definition http_protos.h:11779
http_mime_version_format
http_mime_version_t * http_mime_version_format(su_home_t *home, char const *fmt,...)))
Make a MIME-Version header from formatting result.
Definition http_protos.h:11766
http_mime_version_init
http_mime_version_t * http_mime_version_init(http_mime_version_t x[1])
Initialize a structure http_mime_version_t.
Definition http_protos.h:11608
http_is_mime_version
int http_is_mime_version(http_header_t const *header)
Test if header object is instance of http_mime_version_t.
Definition http_protos.h:11632
http_mime_version_copy
http_mime_version_t * http_mime_version_copy(su_home_t *home, http_mime_version_t const *hdr))
Copy a http_mime_version_t header structure.
Definition http_protos.h:11786
http_mime_version_d
msg_parse_f http_mime_version_d
Decode (parse) a MIME-Version header.
Definition http_protos.h:11576
http_mime_version_make
http_mime_version_t * http_mime_version_make(su_home_t *home, char const *s))
Make a header structure http_mime_version_t.
Definition http_protos.h:11793
http_mime_version_hash
@ http_mime_version_hash
Hash of MIME-Version header.
Definition http_protos.h:11560
http_payload_dup
http_payload_t * http_payload_dup(su_home_t *home, http_payload_t const *hdr))
Duplicate (deep copy) http_payload_t.
Definition http_protos.h:14529
http_payload_make
http_payload_t * http_payload_make(su_home_t *home, char const *s))
Make a header structure http_payload_t.
Definition http_protos.h:14543
http_payload_copy
http_payload_t * http_payload_copy(su_home_t *home, http_payload_t const *hdr))
Copy a http_payload_t header structure.
Definition http_protos.h:14536
http_payload_e
msg_print_f http_payload_e
Encode (print) a message payload.
Definition http_protos.h:14329
http_payload_init
http_payload_t * http_payload_init(http_payload_t x[1])
Initialize a structure http_payload_t.
Definition http_protos.h:14358
http_payload_format
http_payload_t * http_payload_format(su_home_t *home, char const *fmt,...)))
Make a message payload from formatting result.
Definition http_protos.h:14516
http_is_payload
int http_is_payload(http_header_t const *header)
Test if header object is instance of http_payload_t.
Definition http_protos.h:14382
http_payload_d
msg_parse_f http_payload_d
Decode (parse) a message payload.
Definition http_protos.h:14326
http_payload_hash
@ http_payload_hash
Hash of message payload.
Definition http_protos.h:14310
http_pragma_make
http_pragma_t * http_pragma_make(su_home_t *home, char const *s))
Make a header structure http_pragma_t.
Definition http_protos.h:7043
http_is_pragma
int http_is_pragma(http_header_t const *header)
Test if header object is instance of http_pragma_t.
Definition http_protos.h:6882
http_pragma_copy
http_pragma_t * http_pragma_copy(su_home_t *home, http_pragma_t const *hdr))
Copy a http_pragma_t header structure.
Definition http_protos.h:7036
http_pragma_init
http_pragma_t * http_pragma_init(http_pragma_t x[1])
Initialize a structure http_pragma_t.
Definition http_protos.h:6858
http_pragma_format
http_pragma_t * http_pragma_format(su_home_t *home, char const *fmt,...)))
Make a Pragma header from formatting result.
Definition http_protos.h:7016
http_pragma_dup
http_pragma_t * http_pragma_dup(su_home_t *home, http_pragma_t const *hdr))
Duplicate (deep copy) http_pragma_t.
Definition http_protos.h:7029
http_pragma_class
msg_hclass_t http_pragma_class[]
Header class for HTTP Pragma header.
Definition http_basic.c:1042
http_pragma_hash
@ http_pragma_hash
Hash of Pragma header.
Definition http_protos.h:6810
http_proxy_authenticate_copy
http_proxy_authenticate_t * http_proxy_authenticate_copy(su_home_t *home, http_proxy_authenticate_t const *hdr))
Copy a http_proxy_authenticate_t header structure.
Definition http_protos.h:7286
http_proxy_authenticate_format
http_proxy_authenticate_t * http_proxy_authenticate_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Authenticate header from formatting result.
Definition http_protos.h:7266
http_proxy_authenticate_dup
http_proxy_authenticate_t * http_proxy_authenticate_dup(su_home_t *home, http_proxy_authenticate_t const *hdr))
Duplicate (deep copy) http_proxy_authenticate_t.
Definition http_protos.h:7279
http_proxy_authenticate_make
http_proxy_authenticate_t * http_proxy_authenticate_make(su_home_t *home, char const *s))
Make a header structure http_proxy_authenticate_t.
Definition http_protos.h:7293
http_proxy_authenticate_class
msg_hclass_t http_proxy_authenticate_class[]
Header class for HTTP Proxy-Authenticate header.
Definition http_basic.c:1051
http_proxy_authenticate_init
http_proxy_authenticate_t * http_proxy_authenticate_init(http_proxy_authenticate_t x[1])
Initialize a structure http_proxy_authenticate_t.
Definition http_protos.h:7108
http_is_proxy_authenticate
int http_is_proxy_authenticate(http_header_t const *header)
Test if header object is instance of http_proxy_authenticate_t.
Definition http_protos.h:7132
http_proxy_authenticate_hash
@ http_proxy_authenticate_hash
Hash of Proxy-Authenticate header.
Definition http_protos.h:7060
http_proxy_authorization_format
http_proxy_authorization_t * http_proxy_authorization_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Authorization header from formatting result.
Definition http_protos.h:7516
http_proxy_authorization_copy
http_proxy_authorization_t * http_proxy_authorization_copy(su_home_t *home, http_proxy_authorization_t const *hdr))
Copy a http_proxy_authorization_t header structure.
Definition http_protos.h:7536
http_proxy_authorization_dup
http_proxy_authorization_t * http_proxy_authorization_dup(su_home_t *home, http_proxy_authorization_t const *hdr))
Duplicate (deep copy) http_proxy_authorization_t.
Definition http_protos.h:7529
http_is_proxy_authorization
int http_is_proxy_authorization(http_header_t const *header)
Test if header object is instance of http_proxy_authorization_t.
Definition http_protos.h:7382
http_proxy_authorization_make
http_proxy_authorization_t * http_proxy_authorization_make(su_home_t *home, char const *s))
Make a header structure http_proxy_authorization_t.
Definition http_protos.h:7543
http_proxy_authorization_init
http_proxy_authorization_t * http_proxy_authorization_init(http_proxy_authorization_t x[1])
Initialize a structure http_proxy_authorization_t.
Definition http_protos.h:7358
http_proxy_authorization_class
msg_hclass_t http_proxy_authorization_class[]
Header class for HTTP Proxy-Authorization header.
Definition http_basic.c:1060
http_proxy_authorization_hash
@ http_proxy_authorization_hash
Hash of Proxy-Authorization header.
Definition http_protos.h:7310
http_is_proxy_connection
int http_is_proxy_connection(http_header_t const *header)
Test if header object is instance of http_proxy_connection_t.
Definition http_protos.h:10882
http_proxy_connection_dup
http_proxy_connection_t * http_proxy_connection_dup(su_home_t *home, http_proxy_connection_t const *hdr))
Duplicate (deep copy) http_proxy_connection_t.
Definition http_protos.h:11029
http_proxy_connection_init
http_proxy_connection_t * http_proxy_connection_init(http_proxy_connection_t x[1])
Initialize a structure http_proxy_connection_t.
Definition http_protos.h:10858
http_proxy_connection_make
http_proxy_connection_t * http_proxy_connection_make(su_home_t *home, char const *s))
Make a header structure http_proxy_connection_t.
Definition http_protos.h:11043
http_proxy_connection_format
http_proxy_connection_t * http_proxy_connection_format(su_home_t *home, char const *fmt,...)))
Make a Proxy-Connection header from formatting result.
Definition http_protos.h:11016
http_proxy_connection_copy
http_proxy_connection_t * http_proxy_connection_copy(su_home_t *home, http_proxy_connection_t const *hdr))
Copy a http_proxy_connection_t header structure.
Definition http_protos.h:11036
http_proxy_connection_class
msg_hclass_t http_proxy_connection_class[]
Header class for HTTP Proxy-Connection header.
Definition http_extra.c:56
http_proxy_connection_hash
@ http_proxy_connection_hash
Hash of Proxy-Connection header.
Definition http_protos.h:10810
http_range_dup
http_range_t * http_range_dup(su_home_t *home, http_range_t const *hdr))
Duplicate (deep copy) http_range_t.
Definition http_protos.h:7779
http_range_init
http_range_t * http_range_init(http_range_t x[1])
Initialize a structure http_range_t.
Definition http_protos.h:7608
http_range_t
struct http_range_s http_range_t
@HTTP_HEADER http_range Range header.
Definition http.h:141
http_range_format
http_range_t * http_range_format(su_home_t *home, char const *fmt,...)))
Make a Range header from formatting result.
Definition http_protos.h:7766
http_range_copy
http_range_t * http_range_copy(su_home_t *home, http_range_t const *hdr))
Copy a http_range_t header structure.
Definition http_protos.h:7786
http_range_e
msg_print_f http_range_e
Encode (print) a Range header.
Definition http_protos.h:7579
http_range_make
http_range_t * http_range_make(su_home_t *home, char const *s))
Make a header structure http_range_t.
Definition http_protos.h:7793
http_range_d
msg_parse_f http_range_d
Decode (parse) a Range header.
Definition http_protos.h:7576
http_is_range
int http_is_range(http_header_t const *header)
Test if header object is instance of http_range_t.
Definition http_protos.h:7632
http_range_class
msg_hclass_t http_range_class[]
Header class for HTTP Range header.
Definition http_basic.c:1213
http_range_hash
@ http_range_hash
Hash of Range header.
Definition http_protos.h:7560
http_referer_format
http_referer_t * http_referer_format(su_home_t *home, char const *fmt,...)))
Make a Referer header from formatting result.
Definition http_protos.h:8016
http_referer_copy
http_referer_t * http_referer_copy(su_home_t *home, http_referer_t const *hdr))
Copy a http_referer_t header structure.
Definition http_protos.h:8036
http_referer_class
msg_hclass_t http_referer_class[]
Header class for HTTP Referer header.
Definition http_basic.c:1251
http_referer_make
http_referer_t * http_referer_make(su_home_t *home, char const *s))
Make a header structure http_referer_t.
Definition http_protos.h:8043
http_referer_dup
http_referer_t * http_referer_dup(su_home_t *home, http_referer_t const *hdr))
Duplicate (deep copy) http_referer_t.
Definition http_protos.h:8029
http_referer_init
http_referer_t * http_referer_init(http_referer_t x[1])
Initialize a structure http_referer_t.
Definition http_protos.h:7858
http_is_referer
int http_is_referer(http_header_t const *header)
Test if header object is instance of http_referer_t.
Definition http_protos.h:7882
http_referer_t
struct http_location_s http_referer_t
@HTTP_HEADER http_referer Referer header.
Definition http.h:142
http_referer_hash
@ http_referer_hash
Hash of Referer header.
Definition http_protos.h:7810
http_request_init
http_request_t * http_request_init(http_request_t x[1])
Initialize a structure http_request_t.
Definition http_protos.h:108
http_request_d
msg_parse_f http_request_d
Decode (parse) a request line.
Definition http_protos.h:76
http_request_make
http_request_t * http_request_make(su_home_t *home, char const *s))
Make a header structure http_request_t.
Definition http_protos.h:293
http_request_e
msg_print_f http_request_e
Encode (print) a request line.
Definition http_protos.h:79
http_request_dup
http_request_t * http_request_dup(su_home_t *home, http_request_t const *hdr))
Duplicate (deep copy) http_request_t.
Definition http_protos.h:279
http_request_class
msg_hclass_t http_request_class[]
Header class for HTTP request line.
Definition http_basic.c:180
http_request_copy
http_request_t * http_request_copy(su_home_t *home, http_request_t const *hdr))
Copy a http_request_t header structure.
Definition http_protos.h:286
http_request_format
http_request_t * http_request_format(su_home_t *home, char const *fmt,...)))
Make a request line from formatting result.
Definition http_protos.h:266
http_is_request
int http_is_request(http_header_t const *header)
Test if header object is instance of http_request_t.
Definition http_protos.h:132
http_request_hash
@ http_request_hash
Hash of request line.
Definition http_protos.h:60
http_retry_after_class
msg_hclass_t http_retry_after_class[]
Header class for HTTP Retry-After header.
Definition http_basic.c:1317
http_retry_after_format
http_retry_after_t * http_retry_after_format(su_home_t *home, char const *fmt,...)))
Make a Retry-After header from formatting result.
Definition http_protos.h:8266
http_is_retry_after
int http_is_retry_after(http_header_t const *header)
Test if header object is instance of http_retry_after_t.
Definition http_protos.h:8132
http_retry_after_copy
http_retry_after_t * http_retry_after_copy(su_home_t *home, http_retry_after_t const *hdr))
Copy a http_retry_after_t header structure.
Definition http_protos.h:8286
http_retry_after_init
http_retry_after_t * http_retry_after_init(http_retry_after_t x[1])
Initialize a structure http_retry_after_t.
Definition http_protos.h:8108
http_retry_after_make
http_retry_after_t * http_retry_after_make(su_home_t *home, char const *s))
Make a header structure http_retry_after_t.
Definition http_protos.h:8293
http_retry_after_d
msg_parse_f http_retry_after_d
Decode (parse) a Retry-After header.
Definition http_protos.h:8076
http_retry_after_dup
http_retry_after_t * http_retry_after_dup(su_home_t *home, http_retry_after_t const *hdr))
Duplicate (deep copy) http_retry_after_t.
Definition http_protos.h:8279
http_retry_after_e
msg_print_f http_retry_after_e
Encode (print) a Retry-After header.
Definition http_protos.h:8079
http_retry_after_t
struct http_retry_after_s http_retry_after_t
@HTTP_HEADER http_mime_version MIME-Version header.
Definition http.h:143
http_retry_after_hash
@ http_retry_after_hash
Hash of Retry-After header.
Definition http_protos.h:8060
http_separator_make
http_separator_t * http_separator_make(su_home_t *home, char const *s))
Make a header structure http_separator_t.
Definition http_protos.h:14293
http_separator_d
msg_parse_f http_separator_d
Decode (parse) a separator line between headers and body.
Definition http_protos.h:14076
http_separator_init
http_separator_t * http_separator_init(http_separator_t x[1])
Initialize a structure http_separator_t.
Definition http_protos.h:14108
http_separator_copy
http_separator_t * http_separator_copy(su_home_t *home, http_separator_t const *hdr))
Copy a http_separator_t header structure.
Definition http_protos.h:14286
http_is_separator
int http_is_separator(http_header_t const *header)
Test if header object is instance of http_separator_t.
Definition http_protos.h:14132
http_separator_e
msg_print_f http_separator_e
Encode (print) a separator line between headers and body.
Definition http_protos.h:14079
http_separator_dup
http_separator_t * http_separator_dup(su_home_t *home, http_separator_t const *hdr))
Duplicate (deep copy) http_separator_t.
Definition http_protos.h:14279
http_separator_format
http_separator_t * http_separator_format(su_home_t *home, char const *fmt,...)))
Make a separator line between headers and body from formatting result.
Definition http_protos.h:14266
http_separator_hash
@ http_separator_hash
Hash of separator line between headers and body.
Definition http_protos.h:14060
http_server_format
http_server_t * http_server_format(su_home_t *home, char const *fmt,...)))
Make a Server header from formatting result.
Definition http_protos.h:8516
http_server_dup
http_server_t * http_server_dup(su_home_t *home, http_server_t const *hdr))
Duplicate (deep copy) http_server_t.
Definition http_protos.h:8529
http_server_copy
http_server_t * http_server_copy(su_home_t *home, http_server_t const *hdr))
Copy a http_server_t header structure.
Definition http_protos.h:8536
http_server_class
msg_hclass_t http_server_class[]
Header class for HTTP Server header.
Definition http_basic.c:1325
http_is_server
int http_is_server(http_header_t const *header)
Test if header object is instance of http_server_t.
Definition http_protos.h:8382
http_server_make
http_server_t * http_server_make(su_home_t *home, char const *s))
Make a header structure http_server_t.
Definition http_protos.h:8543
http_server_init
http_server_t * http_server_init(http_server_t x[1])
Initialize a structure http_server_t.
Definition http_protos.h:8358
http_server_hash
@ http_server_hash
Hash of Server header.
Definition http_protos.h:8310
http_set_cookie_make
http_set_cookie_t * http_set_cookie_make(su_home_t *home, char const *s))
Make a header structure http_set_cookie_t.
Definition http_protos.h:11293
http_set_cookie_d
msg_parse_f http_set_cookie_d
Decode (parse) a Set-Cookie header.
Definition http_protos.h:11076
http_set_cookie_init
http_set_cookie_t * http_set_cookie_init(http_set_cookie_t x[1])
Initialize a structure http_set_cookie_t.
Definition http_protos.h:11108
http_set_cookie_copy
http_set_cookie_t * http_set_cookie_copy(su_home_t *home, http_set_cookie_t const *hdr))
Copy a http_set_cookie_t header structure.
Definition http_protos.h:11286
http_set_cookie_dup
http_set_cookie_t * http_set_cookie_dup(su_home_t *home, http_set_cookie_t const *hdr))
Duplicate (deep copy) http_set_cookie_t.
Definition http_protos.h:11279
http_is_set_cookie
int http_is_set_cookie(http_header_t const *header)
Test if header object is instance of http_set_cookie_t.
Definition http_protos.h:11132
http_set_cookie_t
struct http_set_cookie_s http_set_cookie_t
@HTTP_HEADER http_set_cookie Set-Cookie extension header.
Definition http.h:157
http_set_cookie_e
msg_print_f http_set_cookie_e
Encode (print) a Set-Cookie header.
Definition http_protos.h:11079
http_set_cookie_class
msg_hclass_t http_set_cookie_class[]
Header class for HTTP Set-Cookie header.
Definition http_extra.c:470
http_set_cookie_format
http_set_cookie_t * http_set_cookie_format(su_home_t *home, char const *fmt,...)))
Make a Set-Cookie header from formatting result.
Definition http_protos.h:11266
http_set_cookie_hash
@ http_set_cookie_hash
Hash of Set-Cookie header.
Definition http_protos.h:11060
http_status_dup
http_status_t * http_status_dup(su_home_t *home, http_status_t const *hdr))
Duplicate (deep copy) http_status_t.
Definition http_protos.h:529
http_status_format
http_status_t * http_status_format(su_home_t *home, char const *fmt,...)))
Make a status line from formatting result.
Definition http_protos.h:516
http_status_class
msg_hclass_t http_status_class[]
Header class for HTTP status line.
Definition http_basic.c:282
http_status_init
http_status_t * http_status_init(http_status_t x[1])
Initialize a structure http_status_t.
Definition http_protos.h:358
http_status_e
msg_print_f http_status_e
Encode (print) a status line.
Definition http_protos.h:329
http_status_make
http_status_t * http_status_make(su_home_t *home, char const *s))
Make a header structure http_status_t.
Definition http_protos.h:543
http_status_copy
http_status_t * http_status_copy(su_home_t *home, http_status_t const *hdr))
Copy a http_status_t header structure.
Definition http_protos.h:536
http_status_d
msg_parse_f http_status_d
Decode (parse) a status line.
Definition http_protos.h:326
http_is_status
int http_is_status(http_header_t const *header)
Test if header object is instance of http_status_t.
Definition http_protos.h:382
http_status_hash
@ http_status_hash
Hash of status line.
Definition http_protos.h:310
http_te_format
http_te_t * http_te_format(su_home_t *home, char const *fmt,...)))
Make a TE header from formatting result.
Definition http_protos.h:8766
http_te_t
struct http_te_s http_te_t
@HTTP_HEADER http_te TE header.
Definition http.h:145
http_te_make
http_te_t * http_te_make(su_home_t *home, char const *s))
Make a header structure http_te_t.
Definition http_protos.h:8793
http_te_init
http_te_t * http_te_init(http_te_t x[1])
Initialize a structure http_te_t.
Definition http_protos.h:8608
http_is_te
int http_is_te(http_header_t const *header)
Test if header object is instance of http_te_t.
Definition http_protos.h:8632
http_te_dup
http_te_t * http_te_dup(su_home_t *home, http_te_t const *hdr))
Duplicate (deep copy) http_te_t.
Definition http_protos.h:8779
http_te_e
msg_print_f http_te_e
Encode (print) a TE header.
Definition http_protos.h:8579
http_te_d
msg_parse_f http_te_d
Decode (parse) a TE header.
Definition http_protos.h:8576
http_te_copy
http_te_t * http_te_copy(su_home_t *home, http_te_t const *hdr))
Copy a http_te_t header structure.
Definition http_protos.h:8786
http_te_class
msg_hclass_t http_te_class[]
Header class for HTTP TE header.
Definition http_basic.c:1443
http_te_hash
@ http_te_hash
Hash of TE header.
Definition http_protos.h:8560
http_trailer_dup
http_trailer_t * http_trailer_dup(su_home_t *home, http_trailer_t const *hdr))
Duplicate (deep copy) http_trailer_t.
Definition http_protos.h:9029
http_trailer_format
http_trailer_t * http_trailer_format(su_home_t *home, char const *fmt,...)))
Make a Trailer header from formatting result.
Definition http_protos.h:9016
http_is_trailer
int http_is_trailer(http_header_t const *header)
Test if header object is instance of http_trailer_t.
Definition http_protos.h:8882
http_trailer_init
http_trailer_t * http_trailer_init(http_trailer_t x[1])
Initialize a structure http_trailer_t.
Definition http_protos.h:8858
http_trailer_copy
http_trailer_t * http_trailer_copy(su_home_t *home, http_trailer_t const *hdr))
Copy a http_trailer_t header structure.
Definition http_protos.h:9036
http_trailer_make
http_trailer_t * http_trailer_make(su_home_t *home, char const *s))
Make a header structure http_trailer_t.
Definition http_protos.h:9043
http_trailer_class
msg_hclass_t http_trailer_class[]
Header class for HTTP Trailer header.
Definition http_basic.c:1451
http_trailer_hash
@ http_trailer_hash
Hash of Trailer header.
Definition http_protos.h:8810
http_transfer_encoding_class
msg_hclass_t http_transfer_encoding_class[]
Header class for HTTP Transfer-Encoding header.
Definition http_basic.c:1460
http_transfer_encoding_format
http_transfer_encoding_t * http_transfer_encoding_format(su_home_t *home, char const *fmt,...)))
Make a Transfer-Encoding header from formatting result.
Definition http_protos.h:9266
http_transfer_encoding_make
http_transfer_encoding_t * http_transfer_encoding_make(su_home_t *home, char const *s))
Make a header structure http_transfer_encoding_t.
Definition http_protos.h:9293
http_transfer_encoding_dup
http_transfer_encoding_t * http_transfer_encoding_dup(su_home_t *home, http_transfer_encoding_t const *hdr))
Duplicate (deep copy) http_transfer_encoding_t.
Definition http_protos.h:9279
http_is_transfer_encoding
int http_is_transfer_encoding(http_header_t const *header)
Test if header object is instance of http_transfer_encoding_t.
Definition http_protos.h:9132
http_transfer_encoding_copy
http_transfer_encoding_t * http_transfer_encoding_copy(su_home_t *home, http_transfer_encoding_t const *hdr))
Copy a http_transfer_encoding_t header structure.
Definition http_protos.h:9286
http_transfer_encoding_init
http_transfer_encoding_t * http_transfer_encoding_init(http_transfer_encoding_t x[1])
Initialize a structure http_transfer_encoding_t.
Definition http_protos.h:9108
http_transfer_encoding_hash
@ http_transfer_encoding_hash
Hash of Transfer-Encoding header.
Definition http_protos.h:9060
http_unknown_init
http_unknown_t * http_unknown_init(http_unknown_t x[1])
Initialize a structure http_unknown_t.
Definition http_protos.h:13608
http_unknown_copy
http_unknown_t * http_unknown_copy(su_home_t *home, http_unknown_t const *hdr))
Copy a http_unknown_t header structure.
Definition http_protos.h:13786
http_unknown_format
http_unknown_t * http_unknown_format(su_home_t *home, char const *fmt,...)))
Make a unknown headers from formatting result.
Definition http_protos.h:13766
http_is_unknown
int http_is_unknown(http_header_t const *header)
Test if header object is instance of http_unknown_t.
Definition http_protos.h:13632
http_unknown_e
msg_print_f http_unknown_e
Encode (print) a unknown headers.
Definition http_protos.h:13579
http_unknown_d
msg_parse_f http_unknown_d
Decode (parse) a unknown headers.
Definition http_protos.h:13576
http_unknown_make
http_unknown_t * http_unknown_make(su_home_t *home, char const *s))
Make a header structure http_unknown_t.
Definition http_protos.h:13793
http_unknown_dup
http_unknown_t * http_unknown_dup(su_home_t *home, http_unknown_t const *hdr))
Duplicate (deep copy) http_unknown_t.
Definition http_protos.h:13779
http_unknown_hash
@ http_unknown_hash
Hash of unknown headers.
Definition http_protos.h:13560
http_upgrade_dup
http_upgrade_t * http_upgrade_dup(su_home_t *home, http_upgrade_t const *hdr))
Duplicate (deep copy) http_upgrade_t.
Definition http_protos.h:9529
http_is_upgrade
int http_is_upgrade(http_header_t const *header)
Test if header object is instance of http_upgrade_t.
Definition http_protos.h:9382
http_upgrade_init
http_upgrade_t * http_upgrade_init(http_upgrade_t x[1])
Initialize a structure http_upgrade_t.
Definition http_protos.h:9358
http_upgrade_copy
http_upgrade_t * http_upgrade_copy(su_home_t *home, http_upgrade_t const *hdr))
Copy a http_upgrade_t header structure.
Definition http_protos.h:9536
http_upgrade_make
http_upgrade_t * http_upgrade_make(su_home_t *home, char const *s))
Make a header structure http_upgrade_t.
Definition http_protos.h:9543
http_upgrade_format
http_upgrade_t * http_upgrade_format(su_home_t *home, char const *fmt,...)))
Make a Upgrade header from formatting result.
Definition http_protos.h:9516
http_upgrade_class
msg_hclass_t http_upgrade_class[]
Header class for HTTP Upgrade header.
Definition http_basic.c:1468
http_upgrade_hash
@ http_upgrade_hash
Hash of Upgrade header.
Definition http_protos.h:9310
http_user_agent_format
http_user_agent_t * http_user_agent_format(su_home_t *home, char const *fmt,...)))
Make a User-Agent header from formatting result.
Definition http_protos.h:9766
http_user_agent_make
http_user_agent_t * http_user_agent_make(su_home_t *home, char const *s))
Make a header structure http_user_agent_t.
Definition http_protos.h:9793
http_is_user_agent
int http_is_user_agent(http_header_t const *header)
Test if header object is instance of http_user_agent_t.
Definition http_protos.h:9632
http_user_agent_copy
http_user_agent_t * http_user_agent_copy(su_home_t *home, http_user_agent_t const *hdr))
Copy a http_user_agent_t header structure.
Definition http_protos.h:9786
http_user_agent_init
http_user_agent_t * http_user_agent_init(http_user_agent_t x[1])
Initialize a structure http_user_agent_t.
Definition http_protos.h:9608
http_user_agent_dup
http_user_agent_t * http_user_agent_dup(su_home_t *home, http_user_agent_t const *hdr))
Duplicate (deep copy) http_user_agent_t.
Definition http_protos.h:9779
http_user_agent_class
msg_hclass_t http_user_agent_class[]
Header class for HTTP User-Agent header.
Definition http_basic.c:1476
http_user_agent_hash
@ http_user_agent_hash
Hash of User-Agent header.
Definition http_protos.h:9560
http_vary_dup
http_vary_t * http_vary_dup(su_home_t *home, http_vary_t const *hdr))
Duplicate (deep copy) http_vary_t.
Definition http_protos.h:10029
http_vary_class
msg_hclass_t http_vary_class[]
Header class for HTTP Vary header.
Definition http_basic.c:1484
http_is_vary
int http_is_vary(http_header_t const *header)
Test if header object is instance of http_vary_t.
Definition http_protos.h:9882
http_vary_format
http_vary_t * http_vary_format(su_home_t *home, char const *fmt,...)))
Make a Vary header from formatting result.
Definition http_protos.h:10016
http_vary_init
http_vary_t * http_vary_init(http_vary_t x[1])
Initialize a structure http_vary_t.
Definition http_protos.h:9858
http_vary_make
http_vary_t * http_vary_make(su_home_t *home, char const *s))
Make a header structure http_vary_t.
Definition http_protos.h:10043
http_vary_copy
http_vary_t * http_vary_copy(su_home_t *home, http_vary_t const *hdr))
Copy a http_vary_t header structure.
Definition http_protos.h:10036
http_vary_hash
@ http_vary_hash
Hash of Vary header.
Definition http_protos.h:9810
http_via_e
msg_print_f http_via_e
Encode (print) a Via header.
Definition http_protos.h:10079
http_via_dup
http_via_t * http_via_dup(su_home_t *home, http_via_t const *hdr))
Duplicate (deep copy) http_via_t.
Definition http_protos.h:10279
http_via_class
msg_hclass_t http_via_class[]
Header class for HTTP Via header.
Definition http_basic.c:1591
http_via_d
msg_parse_f http_via_d
Decode (parse) a Via header.
Definition http_protos.h:10076
http_via_copy
http_via_t * http_via_copy(su_home_t *home, http_via_t const *hdr))
Copy a http_via_t header structure.
Definition http_protos.h:10286
http_via_make
http_via_t * http_via_make(su_home_t *home, char const *s))
Make a header structure http_via_t.
Definition http_protos.h:10293
http_via_init
http_via_t * http_via_init(http_via_t x[1])
Initialize a structure http_via_t.
Definition http_protos.h:10108
http_via_format
http_via_t * http_via_format(su_home_t *home, char const *fmt,...)))
Make a Via header from formatting result.
Definition http_protos.h:10266
http_is_via
int http_is_via(http_header_t const *header)
Test if header object is instance of http_via_t.
Definition http_protos.h:10132
http_via_hash
@ http_via_hash
Hash of Via header.
Definition http_protos.h:10060
http_warning_class
msg_hclass_t http_warning_class[]
Header class for HTTP Warning header.
Definition http_basic.c:1602
http_warning_dup
http_warning_t * http_warning_dup(su_home_t *home, http_warning_t const *hdr))
Duplicate (deep copy) http_warning_t.
Definition http_protos.h:10529
http_warning_copy
http_warning_t * http_warning_copy(su_home_t *home, http_warning_t const *hdr))
Copy a http_warning_t header structure.
Definition http_protos.h:10536
http_is_warning
int http_is_warning(http_header_t const *header)
Test if header object is instance of http_warning_t.
Definition http_protos.h:10382
http_warning_make
http_warning_t * http_warning_make(su_home_t *home, char const *s))
Make a header structure http_warning_t.
Definition http_protos.h:10543
http_warning_format
http_warning_t * http_warning_format(su_home_t *home, char const *fmt,...)))
Make a Warning header from formatting result.
Definition http_protos.h:10516
http_warning_init
http_warning_t * http_warning_init(http_warning_t x[1])
Initialize a structure http_warning_t.
Definition http_protos.h:10358
http_warning_hash
@ http_warning_hash
Hash of Warning header.
Definition http_protos.h:10310
http_www_authenticate_copy
http_www_authenticate_t * http_www_authenticate_copy(su_home_t *home, http_www_authenticate_t const *hdr))
Copy a http_www_authenticate_t header structure.
Definition http_protos.h:10786
http_www_authenticate_make
http_www_authenticate_t * http_www_authenticate_make(su_home_t *home, char const *s))
Make a header structure http_www_authenticate_t.
Definition http_protos.h:10793
http_www_authenticate_class
msg_hclass_t http_www_authenticate_class[]
Header class for HTTP WWW-Authenticate header.
Definition http_basic.c:1611
http_is_www_authenticate
int http_is_www_authenticate(http_header_t const *header)
Test if header object is instance of http_www_authenticate_t.
Definition http_protos.h:10632
http_www_authenticate_dup
http_www_authenticate_t * http_www_authenticate_dup(su_home_t *home, http_www_authenticate_t const *hdr))
Duplicate (deep copy) http_www_authenticate_t.
Definition http_protos.h:10779
http_www_authenticate_format
http_www_authenticate_t * http_www_authenticate_format(su_home_t *home, char const *fmt,...)))
Make a WWW-Authenticate header from formatting result.
Definition http_protos.h:10766
http_www_authenticate_init
http_www_authenticate_t * http_www_authenticate_init(http_www_authenticate_t x[1])
Initialize a structure http_www_authenticate_t.
Definition http_protos.h:10608
http_www_authenticate_hash
@ http_www_authenticate_hash
Hash of WWW-Authenticate header.
Definition http_protos.h:10560
http_error_t
msg_error_t http_error_t
Erroneous header.
Definition http.h:161
http_unknown_t
msg_generic_t http_unknown_t
Unknown header.
Definition http.h:163
http_payload_t
msg_payload_t http_payload_t
Entity-body.
Definition http.h:167
http_separator_t
msg_separator_t http_separator_t
Separator line between headers and message contents.
Definition http.h:165
http_header_t
union http_header_u http_header_t
Any HTTP header - union of all possible HTTP headers.
Definition http.h:101
http_hclasses.h
HTTP header classes.
http_header.h
HTTP library prototypes.
HTTP_HEADER_INIT
#define HTTP_HEADER_INIT(h, http_class, size)
Initialize a HTTP header structure.
Definition http_header.h:61
msg_header_copy_as
msg_header_t * msg_header_copy_as(su_home_t *home, msg_hclass_t *hc, msg_header_t const *o))
msg_header_dup_as
msg_header_t * msg_header_dup_as(su_home_t *home, msg_hclass_t *hc, msg_header_t const *o))
msg_hclass_t
struct msg_hclass_s const msg_hclass_t
msg_header_t
MSG_HDR_T msg_header_t
su_home_t
SU_HOME_T su_home_t
su_config.h
SOFIAPUBFUN
#define SOFIAPUBFUN
SOFIAPUBVAR
#define SOFIAPUBVAR
su_inline
#define su_inline

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