libosip  4.0.0
osip_error_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_ERROR_INFO_H_
22 #define _OSIP_ERROR_INFO_H_
23 
25 
42 
43 #ifdef __cplusplus
44 extern "C"
45 {
46 #endif
47 
52 #define osip_error_info_init(header) osip_call_info_init(header)
53 
57 #define osip_error_info_free osip_call_info_free
58 
63 #define osip_error_info_parse(header, hvalue) osip_call_info_parse(header, hvalue)
64 
69 #define osip_error_info_to_str(header,dest) osip_call_info_to_str(header,dest)
70 
75 #define osip_error_info_clone(header, dest) osip_call_info_clone(header, dest)
76 
82 #define osip_error_info_set_uri(header, uri) osip_call_info_set_uri(header, uri)
83 
87 #define osip_error_info_get_uri(header) osip_call_info_get_uri(header)
88 
89 
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 
97 #endif