libosip  5.3.0
osip_call_info.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_CALL_INFO_H_
21 #define _OSIP_CALL_INFO_H_
22 
23 #include <osipparser2/osip_list.h>
24 
40 typedef struct osip_call_info osip_call_info_t;
41 
47  char *element;
49 };
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
70 int osip_call_info_parse(osip_call_info_t *header, const char *hvalue);
76 int osip_call_info_to_str(const osip_call_info_t *header, char **dest);
82 int osip_call_info_clone(const osip_call_info_t *header, osip_call_info_t **dest);
93 void osip_call_info_set_uri(osip_call_info_t *header, char *uri);
94 
95 #ifdef __cplusplus
96 }
97 #endif
98 
101 #endif
int osip_call_info_to_str(const osip_call_info_t *header, char **dest)
Definition: osip_call_info.c:118
void osip_call_info_free(osip_call_info_t *header)
Definition: osip_call_info.c:170
char * osip_call_info_get_uri(osip_call_info_t *header)
Definition: osip_call_info.c:218
void osip_call_info_set_uri(osip_call_info_t *header, char *uri)
Definition: osip_call_info.c:222
int osip_call_info_clone(const osip_call_info_t *header, osip_call_info_t **dest)
Definition: osip_call_info.c:183
int osip_call_info_init(osip_call_info_t **header)
Definition: osip_call_info.c:64
int osip_call_info_parse(osip_call_info_t *header, const char *hvalue)
Definition: osip_call_info.c:77
oSIP list Routines
Definition: osip_call_info.h:46
char * element
Definition: osip_call_info.h:47
osip_list_t gen_params
Definition: osip_call_info.h:48
Definition: osip_list.h:87