SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
osip_content_type.h File Reference

oSIP osip_content_type header definition. More...

#include <osipparser2/osip_list.h>
Include dependency graph for osip_content_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  osip_content_type
 Definition of the Content-Type header. More...
 

Macros

#define osip_content_type_param_add(header, name, value)   osip_generic_param_add((&(header)->gen_params),name,value)
 Allocate and add a generic parameter element in a list. More...
 
#define osip_content_type_param_get_byname(header, name, dest)   osip_generic_param_get_byname((&(header)->gen_params),name,dest)
 Find a header parameter in a Content-Type element. More...
 

Typedefs

typedef struct osip_content_type osip_content_type_t
 Structure for Content-Type headers. More...
 

Functions

int osip_content_type_init (osip_content_type_t **header)
 Allocate a Content-Type element. More...
 
void osip_content_type_free (osip_content_type_t *header)
 Free a Content-Type element. More...
 
int osip_content_type_parse (osip_content_type_t *header, const char *hvalue)
 Parse a Content-Type element. More...
 
int osip_content_type_to_str (const osip_content_type_t *header, char **dest)
 Get a string representation of a Content-Type element. More...
 
int osip_content_type_clone (const osip_content_type_t *header, osip_content_type_t **dest)
 Clone a Content-Type element. More...
 

Detailed Description

oSIP osip_content_type header definition.

Definition in file osip_content_type.h.