Loading...
Searching...
No Matches
http_tag.h File Reference

Tag class for HTTP headers. More...

`#include <sofia-sip/su_tag.h>`
`#include <sofia-sip/su_tag_class.h>`
`#include <sofia-sip/http.h>`
Include dependency graph for http_tag.h:

Go to the source code of this file.

## Macros

#define | HTTP_TAG_H
| Defined when <sofia-sip/http_tag.h> has been included.
#define | HTTPTAG_P(tt)
| Test if tag type marks a http_t structure.
#define | HTTPTAG_STR_P(tt)
| Test if tag type marks a HTTP header string.
#define | HTTPTAG_HTTP_P(tt)
| Test if tag type marks a HTTP header structure.
#define | HTTPTAGI_P(t)
| Test if tag item contains http_t structure.
#define | HTTPTAGI_STR_P(t)
| Test if tag item contains a HTTP header string.
#define | HTTPTAGI_HTTP_P(t)
| Test if tag item contains a HTTP header structure.
#define | HTTPTAG_ANY()
| Filter tag matching any http tag.
#define | HTTPTAG_HTTP(x)
| Tag list item for `http_t` object.
#define | HTTPTAG_VERSION(x)
| Tag list item for http protocol version.
#define | HTTPTAG_VERSION_REF(x)
| Reference to HTTPTAG_VERSION.
#define | HTTPTAG_HEADER(x)
| Tag list item for header string.
#define | HTTPTAG_HEADER_STR(x)
| Tag list item for header string.
#define | HTTPTAG_REQUEST(x)
| Tag list item for pointer to a request line object.
#define | HTTPTAG_REQUEST_STR(s)
| Tag list item for string with request line value.
#define | HTTPTAG_STATUS(x)
| Tag list item for pointer to a status line object.
#define | HTTPTAG_STATUS_STR(s)
| Tag list item for string with status line value.
#define | HTTPTAG_ACCEPT(x)
| Tag list item for pointer to a Accept header object.
#define | HTTPTAG_ACCEPT_STR(s)
| Tag list item for string with Accept header value.
#define | HTTPTAG_ACCEPT_CHARSET(x)
| Tag list item for pointer to a Accept-Charset header object.
#define | HTTPTAG_ACCEPT_CHARSET_STR(s)
| Tag list item for string with Accept-Charset header value.
#define | HTTPTAG_ACCEPT_ENCODING(x)
| Tag list item for pointer to a Accept-Encoding header object.
#define | HTTPTAG_ACCEPT_ENCODING_STR(s)
| Tag list item for string with Accept-Encoding header value.
#define | HTTPTAG_ACCEPT_LANGUAGE(x)
| Tag list item for pointer to a Accept-Language header object.
#define | HTTPTAG_ACCEPT_LANGUAGE_STR(s)
| Tag list item for string with Accept-Language header value.
#define | HTTPTAG_ACCEPT_RANGES(x)
| Tag list item for pointer to a Accept-Ranges header object.
#define | HTTPTAG_ACCEPT_RANGES_STR(s)
| Tag list item for string with Accept-Ranges header value.
#define | HTTPTAG_ALLOW(x)
| Tag list item for pointer to a Allow header object.
#define | HTTPTAG_ALLOW_STR(s)
| Tag list item for string with Allow header value.
#define | HTTPTAG_AUTHENTICATION_INFO(x)
| Tag list item for pointer to a Authentication-Info header object.
#define | HTTPTAG_AUTHENTICATION_INFO_STR(s)
| Tag list item for string with Authentication-Info header value.
#define | HTTPTAG_AUTHORIZATION(x)
| Tag list item for pointer to a Authorization header object.
#define | HTTPTAG_AUTHORIZATION_STR(s)
| Tag list item for string with Authorization header value.
#define | HTTPTAG_AGE(x)
| Tag list item for pointer to a Age header object.
#define | HTTPTAG_AGE_STR(s)
| Tag list item for string with Age header value.
#define | HTTPTAG_CACHE_CONTROL(x)
| Tag list item for pointer to a Cache-Control header object.
#define | HTTPTAG_CACHE_CONTROL_STR(s)
| Tag list item for string with Cache-Control header value.
#define | HTTPTAG_CONNECTION(x)
| Tag list item for pointer to a Connection header object.
#define | HTTPTAG_CONNECTION_STR(s)
| Tag list item for string with Connection header value.
#define | HTTPTAG_DATE(x)
| Tag list item for pointer to a Date header object.
#define | HTTPTAG_DATE_STR(s)
| Tag list item for string with Date header value.
#define | HTTPTAG_ETAG(x)
| Tag list item for pointer to a ETag header object.
#define | HTTPTAG_ETAG_STR(s)
| Tag list item for string with ETag header value.
#define | HTTPTAG_EXPECT(x)
| Tag list item for pointer to a Expect header object.
#define | HTTPTAG_EXPECT_STR(s)
| Tag list item for string with Expect header value.
#define | HTTPTAG_EXPIRES(x)
| Tag list item for pointer to a Expires header object.
#define | HTTPTAG_EXPIRES_STR(s)
| Tag list item for string with Expires header value.
#define | HTTPTAG_FROM(x)
| Tag list item for pointer to a From header object.
#define | HTTPTAG_FROM_STR(s)
| Tag list item for string with From header value.
#define | HTTPTAG_HOST(x)
| Tag list item for pointer to a Host header object.
#define | HTTPTAG_HOST_STR(s)
| Tag list item for string with Host header value.
#define | HTTPTAG_IF_MATCH(x)
| Tag list item for pointer to a If-Match header object.
#define | HTTPTAG_IF_MATCH_STR(s)
| Tag list item for string with If-Match header value.
#define | HTTPTAG_IF_MODIFIED_SINCE(x)
| Tag list item for pointer to a If-Modified-Since header object.
#define | HTTPTAG_IF_MODIFIED_SINCE_STR(s)
| Tag list item for string with If-Modified-Since header value.
#define | HTTPTAG_IF_NONE_MATCH(x)
| Tag list item for pointer to a If-None-Match header object.
#define | HTTPTAG_IF_NONE_MATCH_STR(s)
| Tag list item for string with If-None-Match header value.
#define | HTTPTAG_IF_RANGE(x)
| Tag list item for pointer to a If-Range header object.
#define | HTTPTAG_IF_RANGE_STR(s)
| Tag list item for string with If-Range header value.
#define | HTTPTAG_IF_UNMODIFIED_SINCE(x)
| Tag list item for pointer to a If-Unmodified-Since header object.
#define | HTTPTAG_IF_UNMODIFIED_SINCE_STR(s)
| Tag list item for string with If-Unmodified-Since header value.
#define | HTTPTAG_LAST_MODIFIED(x)
| Tag list item for pointer to a Last-Modified header object.
#define | HTTPTAG_LAST_MODIFIED_STR(s)
| Tag list item for string with Last-Modified header value.
#define | HTTPTAG_LOCATION(x)
| Tag list item for pointer to a Location header object.
#define | HTTPTAG_LOCATION_STR(s)
| Tag list item for string with Location header value.
#define | HTTPTAG_MAX_FORWARDS(x)
| Tag list item for pointer to a Max-Forwards header object.
#define | HTTPTAG_MAX_FORWARDS_STR(s)
| Tag list item for string with Max-Forwards header value.
#define | HTTPTAG_PRAGMA(x)
| Tag list item for pointer to a Pragma header object.
#define | HTTPTAG_PRAGMA_STR(s)
| Tag list item for string with Pragma header value.
#define | HTTPTAG_PROXY_AUTHENTICATE(x)
| Tag list item for pointer to a Proxy-Authenticate header object.
#define | HTTPTAG_PROXY_AUTHENTICATE_STR(s)
| Tag list item for string with Proxy-Authenticate header value.
#define | HTTPTAG_PROXY_AUTHORIZATION(x)
| Tag list item for pointer to a Proxy-Authorization header object.
#define | HTTPTAG_PROXY_AUTHORIZATION_STR(s)
| Tag list item for string with Proxy-Authorization header value.
#define | HTTPTAG_RANGE(x)
| Tag list item for pointer to a Range header object.
#define | HTTPTAG_RANGE_STR(s)
| Tag list item for string with Range header value.
#define | HTTPTAG_REFERER(x)
| Tag list item for pointer to a Referer header object.
#define | HTTPTAG_REFERER_STR(s)
| Tag list item for string with Referer header value.
#define | HTTPTAG_RETRY_AFTER(x)
| Tag list item for pointer to a Retry-After header object.
#define | HTTPTAG_RETRY_AFTER_STR(s)
| Tag list item for string with Retry-After header value.
#define | HTTPTAG_SERVER(x)
| Tag list item for pointer to a Server header object.
#define | HTTPTAG_SERVER_STR(s)
| Tag list item for string with Server header value.
#define | HTTPTAG_TE(x)
| Tag list item for pointer to a TE header object.
#define | HTTPTAG_TE_STR(s)
| Tag list item for string with TE header value.
#define | HTTPTAG_TRAILER(x)
| Tag list item for pointer to a Trailer header object.
#define | HTTPTAG_TRAILER_STR(s)
| Tag list item for string with Trailer header value.
#define | HTTPTAG_TRANSFER_ENCODING(x)
| Tag list item for pointer to a Transfer-Encoding header object.
#define | HTTPTAG_TRANSFER_ENCODING_STR(s)
| Tag list item for string with Transfer-Encoding header value.
#define | HTTPTAG_UPGRADE(x)
| Tag list item for pointer to a Upgrade header object.
#define | HTTPTAG_UPGRADE_STR(s)
| Tag list item for string with Upgrade header value.
#define | HTTPTAG_USER_AGENT(x)
| Tag list item for pointer to a User-Agent header object.
#define | HTTPTAG_USER_AGENT_STR(s)
| Tag list item for string with User-Agent header value.
#define | HTTPTAG_VARY(x)
| Tag list item for pointer to a Vary header object.
#define | HTTPTAG_VARY_STR(s)
| Tag list item for string with Vary header value.
#define | HTTPTAG_VIA(x)
| Tag list item for pointer to a Via header object.
#define | HTTPTAG_VIA_STR(s)
| Tag list item for string with Via header value.
#define | HTTPTAG_WARNING(x)
| Tag list item for pointer to a Warning header object.
#define | HTTPTAG_WARNING_STR(s)
| Tag list item for string with Warning header value.
#define | HTTPTAG_WWW_AUTHENTICATE(x)
| Tag list item for pointer to a WWW-Authenticate header object.
#define | HTTPTAG_WWW_AUTHENTICATE_STR(s)
| Tag list item for string with WWW-Authenticate header value.
#define | HTTPTAG_PROXY_CONNECTION(x)
| Tag list item for pointer to a Proxy-Connection header object.
#define | HTTPTAG_PROXY_CONNECTION_STR(s)
| Tag list item for string with Proxy-Connection header value.
#define | HTTPTAG_SET_COOKIE(x)
| Tag list item for pointer to a Set-Cookie header object.
#define | HTTPTAG_SET_COOKIE_STR(s)
| Tag list item for string with Set-Cookie header value.
#define | HTTPTAG_COOKIE(x)
| Tag list item for pointer to a Cookie header object.
#define | HTTPTAG_COOKIE_STR(s)
| Tag list item for string with Cookie header value.
#define | HTTPTAG_MIME_VERSION(x)
| Tag list item for pointer to a MIME-Version header object.
#define | HTTPTAG_MIME_VERSION_STR(s)
| Tag list item for string with MIME-Version header value.
#define | HTTPTAG_CONTENT_ENCODING(x)
| Tag list item for pointer to a Content-Encoding header object.
#define | HTTPTAG_CONTENT_ENCODING_STR(s)
| Tag list item for string with Content-Encoding header value.
#define | HTTPTAG_CONTENT_LANGUAGE(x)
| Tag list item for pointer to a Content-Language header object.
#define | HTTPTAG_CONTENT_LANGUAGE_STR(s)
| Tag list item for string with Content-Language header value.
#define | HTTPTAG_CONTENT_LENGTH(x)
| Tag list item for pointer to a Content-Length header object.
#define | HTTPTAG_CONTENT_LENGTH_STR(s)
| Tag list item for string with Content-Length header value.
#define | HTTPTAG_CONTENT_LOCATION(x)
| Tag list item for pointer to a Content-Location header object.
#define | HTTPTAG_CONTENT_LOCATION_STR(s)
| Tag list item for string with Content-Location header value.
#define | HTTPTAG_CONTENT_MD5(x)
| Tag list item for pointer to a Content-MD5 header object.
#define | HTTPTAG_CONTENT_MD5_STR(s)
| Tag list item for string with Content-MD5 header value.
#define | HTTPTAG_CONTENT_RANGE(x)
| Tag list item for pointer to a Content-Range header object.
#define | HTTPTAG_CONTENT_RANGE_STR(s)
| Tag list item for string with Content-Range header value.
#define | HTTPTAG_CONTENT_TYPE(x)
| Tag list item for pointer to a Content-Type header object.
#define | HTTPTAG_CONTENT_TYPE_STR(s)
| Tag list item for string with Content-Type header value.
#define | HTTPTAG_UNKNOWN(x)
| Tag list item for pointer to a unknown headers object.
#define | HTTPTAG_UNKNOWN_STR(s)
| Tag list item for string with unknown headers value.
#define | HTTPTAG_ERROR(x)
| Tag list item for pointer to a erroneous headers object.
#define | HTTPTAG_ERROR_STR(s)
| Tag list item for string with erroneous headers value.
#define | HTTPTAG_SEPARATOR(x)
| Tag list item for pointer to a separator line between headers and body object.
#define | HTTPTAG_SEPARATOR_STR(s)
| Tag list item for string with separator line between headers and body value.
#define | HTTPTAG_PAYLOAD(x)
| Tag list item for pointer to a message payload object.
#define | HTTPTAG_PAYLOAD_STR(s)
| Tag list item for string with message payload value.

## Variables

tag_typedef_t | httptag_http
| Tag for `http_t`.
tag_typedef_t | httptag_header
| Tag for header string.
tag_typedef_t | httptag_header_str
| Tag for header string.

## Detailed Description

Tag class for HTTP headers.

This file is automatically generated from <http.h> by msg_parser.awk.

Author
  Pekka Pessi Pekka.nosp@m..Pes.nosp@m.si@no.nosp@m.kia..nosp@m.com

## Macro Definition Documentation

## HTTPTAG_HEADER

#define HTTPTAG_HEADER | ( |  | x | ) |

Tag list item for header string.

The HTTPTAG_HEADER() macro is used to include a tag item containing an unknown HTTP header in the tag list, e.g.,

http_header_t *hdr;
HTTPTAG_HEADER(hdr).
http_header_t
union http_header_u http_header_t
Any HTTP header - union of all possible HTTP headers.
Definition http.h:101
HTTPTAG_HEADER
#define HTTPTAG_HEADER(x)
Tag list item for header string.
Definition http_tag.h:138

Parameters

  x | pointer to a header structure, or NULL.

## HTTPTAG_HEADER_STR

#define HTTPTAG_HEADER_STR | ( |  | x | ) |

Tag list item for header string.

The HTTPTAG_HEADER_STR() macro is used to include a tag item containing a header string in the tag list.

Parameters

  x | pointer to a string, or NULL.

## HTTPTAG_HTTP

#define HTTPTAG_HTTP | ( |  | x | ) |

Tag list item for `http_t` object.

The HTTPTAG_HTTP() macro is used to include a tag item for a http_t object in the tag list.

Parameters

  x | pointer to a http_t message object, or NULL.

## HTTPTAG_VERSION

#define HTTPTAG_VERSION | ( |  | x | ) |

Tag list item for http protocol version.

The HTTPTAG_VERSION() macro is used to include a tag item for a HTTP protocol version in the tag list.

Parameters

  x | pointer to a http_t message object, or NULL.

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