libosip  4.1.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-2012 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_CALL_INFO_H_
22 #define _OSIP_CALL_INFO_H_
23 
24 #include <osipparser2/osip_list.h>
25 
42 
48  {
49  char *element;
51  };
52 
53 #ifdef __cplusplus
54 extern "C"
55 {
56 #endif
57 
62  int osip_call_info_init (osip_call_info_t ** header);
67  void osip_call_info_free (osip_call_info_t * header);
73  int osip_call_info_parse (osip_call_info_t * header, const char *hvalue);
79  int osip_call_info_to_str (const osip_call_info_t * header, char **dest);
85  int osip_call_info_clone (const osip_call_info_t * header, osip_call_info_t ** dest);
96  void osip_call_info_set_uri (osip_call_info_t * header, char *uri);
97 
98 
99 #ifdef __cplusplus
100 }
101 #endif
102 
105 #endif