libosip
5.3.0
include
osipparser2
headers
osip_content_disposition.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_CONTENT_DISPOSITION_H_
21
#define _OSIP_CONTENT_DISPOSITION_H_
22
23
#include <
osipparser2/headers/osip_call_info.h
>
24
40
typedef
osip_call_info_t
osip_content_disposition_t
;
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
50
#define osip_content_disposition_init(header) osip_call_info_init(header)
55
#define osip_content_disposition_free(header) osip_call_info_free(header)
61
int
osip_content_disposition_parse
(
osip_content_disposition_t
*header,
const
char
*hvalue);
67
#define osip_content_disposition_to_str(header, dest) osip_call_info_to_str(header, dest)
73
#define osip_content_disposition_clone osip_call_info_clone
74
75
/* type is of: "render" | "session" | "icon" | "alert" */
81
#define osip_content_disposition_set_type(header, value) osip_call_info_set_uri(header, value)
86
#define osip_content_disposition_get_type(header) osip_call_info_get_uri(header)
87
88
#ifdef __cplusplus
89
}
90
#endif
91
94
#endif
osip_content_disposition_t
osip_call_info_t osip_content_disposition_t
Definition:
osip_content_disposition.h:40
osip_content_disposition_parse
int osip_content_disposition_parse(osip_content_disposition_t *header, const char *hvalue)
Definition:
osip_content_disposition.c:27
osip_call_info.h
oSIP osip_call_info header definition.
osip_call_info
Definition:
osip_call_info.h:46
Generated on Sun Feb 27 2022 11:19:30 for libosip by
1.9.1