SIP Witch 1.9.15
Main Page
Modules
Namespaces
Data Structures
Files
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
usr
local
include
osipparser2
headers
osip_accept.h
Go to the documentation of this file.
1
/*
2
The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-)
3
Copyright (C) 2001-2015 Aymeric MOIZARD amoizard@antisip.com
4
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation; either
8
version 2.1 of the License, or (at your option) any later version.
9
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public
16
License along with this library; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
21
#ifndef _OSIP_ACCEPT_H_
22
#define _OSIP_ACCEPT_H_
23
24
#include <
osipparser2/headers/osip_content_type.h
>
25
41
typedef
osip_content_type_t
osip_accept_t
;
42
43
#ifdef __cplusplus
44
extern
"C"
45
{
46
#endif
47
48
53
#define accept_init(header) osip_content_type_init(header)
54
58
#define osip_accept_free osip_content_type_free
59
64
#define osip_accept_parse(header, hvalue) osip_content_type_parse(header, hvalue)
65
70
int
osip_accept_to_str
(
const
osip_accept_t
* header,
char
**dest);
76
#define osip_accept_clone osip_content_type_clone
77
83
#define osip_accept_param_add(header,name,value) osip_generic_param_add((&(header)->gen_params),name,value)
84
90
#define osip_accept_param_get_byname(header,name,dest) osip_generic_param_get_byname((&(header)->gen_params),name,dest)
91
92
93
#ifdef __cplusplus
94
}
95
#endif
96
99
#endif
osip_content_type
Definition of the Content-Type header.
Definition:
osip_content_type.h:47
osip_accept_to_str
int osip_accept_to_str(const osip_accept_t *header, char **dest)
Get a string representation of an Accept element.
osip_accept_t
osip_content_type_t osip_accept_t
Structure for accept headers.
Definition:
osip_accept.h:41
osip_content_type.h
oSIP osip_content_type header definition.
Generated on Dec 21, 2017 for sipwitch-1.9.15 (*.h and *.cpp), libosip2-5.0.0 (*.h) and libeXosip2-4.0.0 (*.h), by
1.8.6