libosip
5.3.0
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-2020 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
#ifndef _OSIP_ACCEPT_H_
21
#define _OSIP_ACCEPT_H_
22
23
#include <
osipparser2/headers/osip_content_type.h
>
24
40
typedef
osip_content_type_t
osip_accept_t
;
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
50
#define accept_init(header) osip_content_type_init(header)
55
#define osip_accept_free osip_content_type_free
61
#define osip_accept_parse(header, hvalue) osip_content_type_parse(header, hvalue)
67
int
osip_accept_to_str
(
const
osip_accept_t
*header,
char
**dest);
73
#define osip_accept_clone osip_content_type_clone
80
#define osip_accept_param_add(header, name, value) osip_generic_param_add((&(header)->gen_params), name, value)
87
#define osip_accept_param_get_byname(header, name, dest) osip_generic_param_get_byname((&(header)->gen_params), name, dest)
88
89
#ifdef __cplusplus
90
}
91
#endif
92
95
#endif
osip_accept_to_str
int osip_accept_to_str(const osip_accept_t *header, char **dest)
Definition:
osip_accept.c:70
osip_accept_t
osip_content_type_t osip_accept_t
Definition:
osip_accept.h:40
osip_content_type.h
oSIP osip_content_type header definition.
osip_content_type
Definition:
osip_content_type.h:46
Generated on Sun Feb 27 2022 11:19:30 for libosip by
1.9.1