libosip 3.6.0
Defines | Typedefs

oSIP mime-version header definition.

oSIP headers definitions

Defines

#define osip_mime_version_init(header)   osip_content_length_init(header)
#define osip_mime_version_parse(header, hvalue)   osip_content_length_parse(header, hvalue)
#define osip_mime_version_to_str(header, dest)   osip_content_length_to_str(header, dest)
#define osip_mime_version_free(header)   osip_content_length_free(header)
#define osip_mime_version_clone(header, dest)   osip_content_length_clone(header, dest)

Typedefs

typedef osip_content_length_t osip_mime_version_t

Define Documentation

#define osip_mime_version_clone (   header,
  dest 
)    osip_content_length_clone(header, dest)

Clone a Mime-Version element.

Parameters:
headerThe element to work on.
destA pointer on the copy of the element.

Referenced by osip_message_clone().

#define osip_mime_version_free (   header)    osip_content_length_free(header)

Free a Mime-Version element.

Parameters:
headerThe element to work on.

Referenced by osip_message_free(), and osip_message_set_mime_version().

#define osip_mime_version_init (   header)    osip_content_length_init(header)

Allocate a Mime-Version element.

Parameters:
headerThe element to work on.

Referenced by osip_message_set_mime_version().

#define osip_mime_version_parse (   header,
  hvalue 
)    osip_content_length_parse(header, hvalue)

Parse a Mime-Version element.

Parameters:
headerThe element to work on.
hvalueThe string to parse.

Referenced by osip_message_set_mime_version().

#define osip_mime_version_to_str (   header,
  dest 
)    osip_content_length_to_str(header, dest)

Get a string representation of a Mime-Version element.

Parameters:
headerThe element to work on.
destA pointer on the new allocated string.

Typedef Documentation

Structure for Mime-Version headers.