Loading...
Searching...
No Matches
msg_mime_protos.h File Reference
MIME Headers

Prototypes for MIME headers (RFC 2045). More...

`#include <sofia-sip/msg_parser.h>`
`#include <sofia-sip/msg_mime.h>`
`#include <sofia-sip/msg_mclass.h>`
Include dependency graph for msg_mime_protos.h:

Go to the source code of this file.

## Macros

#define | MSG_MIME_PROTOS_H
| Defined when <sofia-sip/msg_mime_protos.h> has been included.
#define | MSG_CONTENT_TYPE_INIT()
| Initializer for an msg_content_type_t structure.
#define | MSG_CONTENT_DISPOSITION_INIT()
| Initializer for an msg_content_disposition_t structure.
#define | MSG_CONTENT_LOCATION_INIT()
| Initializer for an msg_content_location_t structure.
#define | MSG_CONTENT_ID_INIT()
| Initializer for an msg_content_id_t structure.
#define | MSG_CONTENT_LANGUAGE_INIT()
| Initializer for an msg_content_language_t structure.
#define | MSG_CONTENT_ENCODING_INIT()
| Initializer for an msg_content_encoding_t structure.
#define | MSG_CONTENT_TRANSFER_ENCODING_INIT()
| Initializer for an msg_content_transfer_encoding_t structure.
#define | MSG_ACCEPT_INIT()
| Initializer for an msg_accept_t structure.
#define | MSG_ACCEPT_CHARSET_INIT()
| Initializer for an msg_accept_charset_t structure.
#define | MSG_ACCEPT_ENCODING_INIT()
| Initializer for an msg_accept_encoding_t structure.
#define | MSG_ACCEPT_LANGUAGE_INIT()
| Initializer for an msg_accept_language_t structure.
#define | MSG_MIME_VERSION_INIT()
| Initializer for an msg_mime_version_t structure.
#define | MSG_CONTENT_MD5_INIT()
| Initializer for an msg_content_md5_t structure.
#define | MSG_CONTENT_LENGTH_INIT()
| Initializer for an msg_content_length_t structure.
#define | MSG_MULTIPART_INIT()
| Header class for Recursive multipart header.
#define | MSG_WARNING_INIT()
| Initializer for an msg_warning_t structure.

## Enumerations

enum | { msg_content_type_hash }
enum | { msg_content_disposition_hash }
enum | { msg_content_location_hash }
enum | { msg_content_id_hash }
enum | { msg_content_language_hash }
enum | { msg_content_encoding_hash }
enum | { msg_content_transfer_encoding_hash }
enum | { msg_accept_hash }
enum | { msg_accept_charset_hash }
enum | { msg_accept_encoding_hash }
enum | { msg_accept_language_hash }
enum | { msg_mime_version_hash }
enum | { msg_content_md5_hash }
enum | { msg_content_length_hash }
enum | { msg_multipart_hash }
enum | { msg_warning_hash }

## Functions

msg_content_type_t * | msg_content_type_init (msg_content_type_t x[1])
| Initialize an msg_content_type_t structure.
int | msg_is_content_type (msg_header_t const *header)
| Test if header object is an instance of msg_content_type_t.
msg_content_type_t * | msg_content_type_dup (su_home_t *home, msg_content_type_t const *header)
| Duplicate (deep copy) msg_content_type_t.
msg_content_type_t * | msg_content_type_copy (su_home_t *home, msg_content_type_t const *header)
| Copy an msg_content_type_t header structure.
msg_content_type_t * | msg_content_type_make (su_home_t *home, char const *s)
| Make a header structure msg_content_type_t.
msg_content_type_t * | msg_content_type_format (su_home_t *home, char const *fmt,...)))
| Make a Content-Type header from formatting result.
msg_content_disposition_t * | msg_content_disposition_init (msg_content_disposition_t x[1])
| Initialize an msg_content_disposition_t structure.
int | msg_is_content_disposition (msg_header_t const *header)
| Test if header object is an instance of msg_content_disposition_t.
msg_content_disposition_t * | msg_content_disposition_dup (su_home_t *home, msg_content_disposition_t const *header)
| Duplicate (deep copy) msg_content_disposition_t.
msg_content_disposition_t * | msg_content_disposition_copy (su_home_t *home, msg_content_disposition_t const *header)
| Copy an msg_content_disposition_t header structure.
msg_content_disposition_t * | msg_content_disposition_make (su_home_t *home, char const *s)
| Make a header structure msg_content_disposition_t.
msg_content_disposition_t * | msg_content_disposition_format (su_home_t *home, char const *fmt,...)))
| Make a Content-Disposition header from formatting result.
msg_content_location_t * | msg_content_location_init (msg_content_location_t x[1])
| Initialize an msg_content_location_t structure.
int | msg_is_content_location (msg_header_t const *header)
| Test if header object is an instance of msg_content_location_t.
msg_content_location_t * | msg_content_location_dup (su_home_t *home, msg_content_location_t const *header)
| Duplicate (deep copy) msg_content_location_t.
msg_content_location_t * | msg_content_location_copy (su_home_t *home, msg_content_location_t const *header)
| Copy an msg_content_location_t header structure.
msg_content_location_t * | msg_content_location_make (su_home_t *home, char const *s)
| Make a header structure msg_content_location_t.
msg_content_location_t * | msg_content_location_format (su_home_t *home, char const *fmt,...)))
| Make a Content-Location header from formatting result.
msg_content_id_t * | msg_content_id_init (msg_content_id_t x[1])
| Initialize an msg_content_id_t structure.
int | msg_is_content_id (msg_header_t const *header)
| Test if header object is an instance of msg_content_id_t.
msg_content_id_t * | msg_content_id_dup (su_home_t *home, msg_content_id_t const *header)
| Duplicate (deep copy) msg_content_id_t.
msg_content_id_t * | msg_content_id_copy (su_home_t *home, msg_content_id_t const *header)
| Copy an msg_content_id_t header structure.
msg_content_id_t * | msg_content_id_make (su_home_t *home, char const *s)
| Make a header structure msg_content_id_t.
msg_content_id_t * | msg_content_id_format (su_home_t *home, char const *fmt,...)))
| Make a Content-ID header from formatting result.
msg_content_language_t * | msg_content_language_init (msg_content_language_t x[1])
| Initialize an msg_content_language_t structure.
int | msg_is_content_language (msg_header_t const *header)
| Test if header object is an instance of msg_content_language_t.
msg_content_language_t * | msg_content_language_dup (su_home_t *home, msg_content_language_t const *header)
| Duplicate (deep copy) msg_content_language_t.
msg_content_language_t * | msg_content_language_copy (su_home_t *home, msg_content_language_t const *header)
| Copy an msg_content_language_t header structure.
msg_content_language_t * | msg_content_language_make (su_home_t *home, char const *s)
| Make a header structure msg_content_language_t.
msg_content_language_t * | msg_content_language_format (su_home_t *home, char const *fmt,...)))
| Make a Content-Language header from formatting result.
msg_content_encoding_t * | msg_content_encoding_init (msg_content_encoding_t x[1])
| Initialize an msg_content_encoding_t structure.
int | msg_is_content_encoding (msg_header_t const *header)
| Test if header object is an instance of msg_content_encoding_t.
msg_content_encoding_t * | msg_content_encoding_dup (su_home_t *home, msg_content_encoding_t const *header)
| Duplicate (deep copy) msg_content_encoding_t.
msg_content_encoding_t * | msg_content_encoding_copy (su_home_t *home, msg_content_encoding_t const *header)
| Copy an msg_content_encoding_t header structure.
msg_content_encoding_t * | msg_content_encoding_make (su_home_t *home, char const *s)
| Make a header structure msg_content_encoding_t.
msg_content_encoding_t * | msg_content_encoding_format (su_home_t *home, char const *fmt,...)))
| Make a Content-Encoding header from formatting result.
msg_content_transfer_encoding_t * | msg_content_transfer_encoding_init (msg_content_transfer_encoding_t x[1])
| Initialize an msg_content_transfer_encoding_t structure.
int | msg_is_content_transfer_encoding (msg_header_t const *header)
| Test if header object is an instance of msg_content_transfer_encoding_t.
msg_content_transfer_encoding_t * | msg_content_transfer_encoding_dup (su_home_t *home, msg_content_transfer_encoding_t const *header)
| Duplicate (deep copy) msg_content_transfer_encoding_t.
msg_content_transfer_encoding_t * | msg_content_transfer_encoding_copy (su_home_t *home, msg_content_transfer_encoding_t const *header)
| Copy an msg_content_transfer_encoding_t header structure.
msg_content_transfer_encoding_t * | msg_content_transfer_encoding_make (su_home_t *home, char const *s)
| Make a header structure msg_content_transfer_encoding_t.
msg_content_transfer_encoding_t * | msg_content_transfer_encoding_format (su_home_t *home, char const *fmt,...)))
| Make a Content-Transfer-Encoding header from formatting result.
msg_accept_t * | msg_accept_init (msg_accept_t x[1])
| Initialize an msg_accept_t structure.
int | msg_is_accept (msg_header_t const *header)
| Test if header object is an instance of msg_accept_t.
msg_accept_t * | msg_accept_dup (su_home_t *home, msg_accept_t const *header)
| Duplicate (deep copy) msg_accept_t.
msg_accept_t * | msg_accept_copy (su_home_t *home, msg_accept_t const *header)
| Copy an msg_accept_t header structure.
msg_accept_t * | msg_accept_make (su_home_t *home, char const *s)
| Make a header structure msg_accept_t.
msg_accept_t * | msg_accept_format (su_home_t *home, char const *fmt,...)))
| Make a Accept header from formatting result.
msg_accept_charset_t * | msg_accept_charset_init (msg_accept_charset_t x[1])
| Initialize an msg_accept_charset_t structure.
int | msg_is_accept_charset (msg_header_t const *header)
| Test if header object is an instance of msg_accept_charset_t.
msg_accept_charset_t * | msg_accept_charset_dup (su_home_t *home, msg_accept_charset_t const *header)
| Duplicate (deep copy) msg_accept_charset_t.
msg_accept_charset_t * | msg_accept_charset_copy (su_home_t *home, msg_accept_charset_t const *header)
| Copy an msg_accept_charset_t header structure.
msg_accept_charset_t * | msg_accept_charset_make (su_home_t *home, char const *s)
| Make a header structure msg_accept_charset_t.
msg_accept_charset_t * | msg_accept_charset_format (su_home_t *home, char const *fmt,...)))
| Make a Accept-Charset header from formatting result.
msg_accept_encoding_t * | msg_accept_encoding_init (msg_accept_encoding_t x[1])
| Initialize an msg_accept_encoding_t structure.
int | msg_is_accept_encoding (msg_header_t const *header)
| Test if header object is an instance of msg_accept_encoding_t.
msg_accept_encoding_t * | msg_accept_encoding_dup (su_home_t *home, msg_accept_encoding_t const *header)
| Duplicate (deep copy) msg_accept_encoding_t.
msg_accept_encoding_t * | msg_accept_encoding_copy (su_home_t *home, msg_accept_encoding_t const *header)
| Copy an msg_accept_encoding_t header structure.
msg_accept_encoding_t * | msg_accept_encoding_make (su_home_t *home, char const *s)
| Make a header structure msg_accept_encoding_t.
msg_accept_encoding_t * | msg_accept_encoding_format (su_home_t *home, char const *fmt,...)))
| Make a Accept-Encoding header from formatting result.
msg_accept_language_t * | msg_accept_language_init (msg_accept_language_t x[1])
| Initialize an msg_accept_language_t structure.
int | msg_is_accept_language (msg_header_t const *header)
| Test if header object is an instance of msg_accept_language_t.
msg_accept_language_t * | msg_accept_language_dup (su_home_t *home, msg_accept_language_t const *header)
| Duplicate (deep copy) msg_accept_language_t.
msg_accept_language_t * | msg_accept_language_copy (su_home_t *home, msg_accept_language_t const *header)
| Copy an msg_accept_language_t header structure.
msg_accept_language_t * | msg_accept_language_make (su_home_t *home, char const *s)
| Make a header structure msg_accept_language_t.
msg_accept_language_t * | msg_accept_language_format (su_home_t *home, char const *fmt,...)))
| Make a Accept-Language header from formatting result.
msg_mime_version_t * | msg_mime_version_init (msg_mime_version_t x[1])
| Initialize an msg_mime_version_t structure.
int | msg_is_mime_version (msg_header_t const *header)
| Test if header object is an instance of msg_mime_version_t.
msg_mime_version_t * | msg_mime_version_dup (su_home_t *home, msg_mime_version_t const *header)
| Duplicate (deep copy) msg_mime_version_t.
msg_mime_version_t * | msg_mime_version_copy (su_home_t *home, msg_mime_version_t const *header)
| Copy an msg_mime_version_t header structure.
msg_mime_version_t * | msg_mime_version_make (su_home_t *home, char const *s)
| Make a header structure msg_mime_version_t.
msg_mime_version_t * | msg_mime_version_format (su_home_t *home, char const *fmt,...)))
| Make a MIME-Version header from formatting result.
msg_content_md5_t * | msg_content_md5_init (msg_content_md5_t x[1])
| Initialize an msg_content_md5_t structure.
int | msg_is_content_md5 (msg_header_t const *header)
| Test if header object is an instance of msg_content_md5_t.
msg_content_md5_t * | msg_content_md5_dup (su_home_t *home, msg_content_md5_t const *header)
| Duplicate (deep copy) msg_content_md5_t.
msg_content_md5_t * | msg_content_md5_copy (su_home_t *home, msg_content_md5_t const *header)
| Copy an msg_content_md5_t header structure.
msg_content_md5_t * | msg_content_md5_make (su_home_t *home, char const *s)
| Make a header structure msg_content_md5_t.
msg_content_md5_t * | msg_content_md5_format (su_home_t *home, char const *fmt,...)))
| Make a Content-MD5 header from formatting result.
msg_content_length_t * | msg_content_length_init (msg_content_length_t x[1])
| Initialize an msg_content_length_t structure.
int | msg_is_content_length (msg_header_t const *header)
| Test if header object is an instance of msg_content_length_t.
msg_content_length_t * | msg_content_length_dup (su_home_t *home, msg_content_length_t const *header)
| Duplicate (deep copy) msg_content_length_t.
msg_content_length_t * | msg_content_length_copy (su_home_t *home, msg_content_length_t const *header)
| Copy an msg_content_length_t header structure.
msg_content_length_t * | msg_content_length_make (su_home_t *home, char const *s)
| Make a header structure msg_content_length_t.
msg_content_length_t * | msg_content_length_format (su_home_t *home, char const *fmt,...)))
| Make a Content-Length header from formatting result.
msg_multipart_t * | msg_multipart_init (msg_multipart_t x[1])
| Initialize an msg_multipart_t structure.
int | msg_is_multipart (msg_header_t const *header)
| Test if header object is an instance of msg_multipart_t.
msg_multipart_t * | msg_multipart_dup (su_home_t *home, msg_multipart_t const *header)
| Duplicate (deep copy) msg_multipart_t.
msg_multipart_t * | msg_multipart_copy (su_home_t *home, msg_multipart_t const *header)
| Copy an msg_multipart_t header structure.
msg_multipart_t * | msg_multipart_make (su_home_t *home, char const *s)
| Make a header structure msg_multipart_t.
msg_multipart_t * | msg_multipart_format (su_home_t *home, char const *fmt,...)))
| Make a Recursive multipart header from formatting result.
msg_warning_t * | msg_warning_init (msg_warning_t x[1])
| Initialize an msg_warning_t structure.
int | msg_is_warning (msg_header_t const *header)
| Test if header object is an instance of msg_warning_t.
msg_warning_t * | msg_warning_dup (su_home_t *home, msg_warning_t const *header)
| Duplicate (deep copy) msg_warning_t.
msg_warning_t * | msg_warning_copy (su_home_t *home, msg_warning_t const *header)
| Copy an msg_warning_t header structure.
msg_warning_t * | msg_warning_make (su_home_t *home, char const *s)
| Make a header structure msg_warning_t.
msg_warning_t * | msg_warning_format (su_home_t *home, char const *fmt,...)))
| Make a Warning header from formatting result.

## Variables

msg_parse_f | msg_content_type_d
| Parse a Content-Type header.
msg_print_f | msg_content_type_e
| Print a Content-Type header.
msg_hclass_t | msg_content_type_class []
| Header class for Content-Type header.
msg_parse_f | msg_content_disposition_d
| Parse a Content-Disposition header.
msg_print_f | msg_content_disposition_e
| Print a Content-Disposition header.
msg_hclass_t | msg_content_disposition_class []
| Header class for Content-Disposition header.
msg_parse_f | msg_content_location_d
| Parse a Content-Location header.
msg_print_f | msg_content_location_e
| Print a Content-Location header.
msg_hclass_t | msg_content_location_class []
| Header class for Content-Location header.
msg_parse_f | msg_content_id_d
| Parse a Content-ID header.
msg_print_f | msg_content_id_e
| Print a Content-ID header.
msg_hclass_t | msg_content_id_class []
| Header class for Content-ID header.
msg_parse_f | msg_content_language_d
| Parse a Content-Language header.
msg_print_f | msg_content_language_e
| Print a Content-Language header.
msg_hclass_t | msg_content_language_class []
| Header class for Content-Language header.
msg_parse_f | msg_content_encoding_d
| Parse a Content-Encoding header.
msg_print_f | msg_content_encoding_e
| Print a Content-Encoding header.
msg_hclass_t | msg_content_encoding_class []
| Header class for Content-Encoding header.
msg_parse_f | msg_content_transfer_encoding_d
| Parse a Content-Transfer-Encoding header.
msg_print_f | msg_content_transfer_encoding_e
| Print a Content-Transfer-Encoding header.
msg_hclass_t | msg_content_transfer_encoding_class []
| Header class for Content-Transfer-Encoding header.
msg_parse_f | msg_accept_d
| Parse a Accept header.
msg_print_f | msg_accept_e
| Print a Accept header.
msg_hclass_t | msg_accept_class []
| Header class for Accept header.
msg_parse_f | msg_accept_charset_d
| Parse a Accept-Charset header.
msg_print_f | msg_accept_charset_e
| Print a Accept-Charset header.
msg_hclass_t | msg_accept_charset_class []
| Header class for Accept-Charset header.
msg_parse_f | msg_accept_encoding_d
| Parse a Accept-Encoding header.
msg_print_f | msg_accept_encoding_e
| Print a Accept-Encoding header.
msg_hclass_t | msg_accept_encoding_class []
| Header class for Accept-Encoding header.
msg_parse_f | msg_accept_language_d
| Parse a Accept-Language header.
msg_print_f | msg_accept_language_e
| Print a Accept-Language header.
msg_hclass_t | msg_accept_language_class []
| Header class for Accept-Language header.
msg_parse_f | msg_mime_version_d
| Parse a MIME-Version header.
msg_print_f | msg_mime_version_e
| Print a MIME-Version header.
msg_hclass_t | msg_mime_version_class []
| Header class for MIME-Version header.
msg_parse_f | msg_content_md5_d
| Parse a Content-MD5 header.
msg_print_f | msg_content_md5_e
| Print a Content-MD5 header.
msg_hclass_t | msg_content_md5_class []
| Header class for Content-MD5 header.
msg_parse_f | msg_content_length_d
| Parse a Content-Length header.
msg_print_f | msg_content_length_e
| Print a Content-Length header.
msg_hclass_t | msg_content_length_class []
| Header class for Content-Length header.
msg_parse_f | msg_multipart_d
| Parse a Recursive multipart header.
msg_print_f | msg_multipart_e
| Print a Recursive multipart header.
msg_parse_f | msg_warning_d
| Parse a Warning header.
msg_print_f | msg_warning_e
| Print a Warning header.
msg_hclass_t | msg_warning_class []
| Header class for Warning header.

## Detailed Description

Prototypes for MIME headers (RFC 2045).

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

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

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