libosip  4.1.0
osip_proxy_authenticate.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_PROXY_AUHTHENTICATE_H_
22 #define _OSIP_PROXY_AUHTHENTICATE_H_
23 
25 
42 
43 #ifdef __cplusplus
44 extern "C"
45 {
46 #endif
47 
52 #define osip_proxy_authenticate_init(header) osip_www_authenticate_init(header)
53 
58 #define osip_proxy_authenticate_parse(header, hvalue) osip_www_authenticate_parse(header, hvalue)
59 
64 #define osip_proxy_authenticate_to_str(header, dest) osip_www_authenticate_to_str(header, dest)
65 
69 #define osip_proxy_authenticate_free osip_www_authenticate_free
70 
75 #define osip_proxy_authenticate_clone osip_www_authenticate_clone
76 
81 #define osip_proxy_authenticate_get_auth_type(header) osip_www_authenticate_get_auth_type(header)
82 
87 #define osip_proxy_authenticate_set_auth_type(header,value) osip_www_authenticate_set_auth_type(header, value)
88 
92 #define osip_proxy_authenticate_get_realm(header) osip_www_authenticate_get_realm(header)
93 
98 #define osip_proxy_authenticate_set_realm(header, value) osip_www_authenticate_set_realm(header, value)
99 
103 #define osip_proxy_authenticate_get_domain(header) osip_www_authenticate_get_domain(header)
104 
109 #define osip_proxy_authenticate_set_domain(header, value) osip_www_authenticate_set_domain(header, value)
110 
114 #define osip_proxy_authenticate_get_nonce(header) osip_www_authenticate_get_nonce(header)
115 
120 #define osip_proxy_authenticate_set_nonce(header, value) osip_www_authenticate_set_nonce(header, value)
121 
125 #define osip_proxy_authenticate_get_opaque(header) osip_www_authenticate_get_opaque(header)
126 
131 #define osip_proxy_authenticate_set_opaque(header, value) osip_www_authenticate_set_opaque(header, value)
132 
136 #define osip_proxy_authenticate_get_stale(header) osip_www_authenticate_get_stale(header)
137 
142 #define osip_proxy_authenticate_set_stale(header, value) osip_www_authenticate_set_stale(header, value)
143 
147 #define osip_proxy_authenticate_set_stale_true(header) osip_www_authenticate_set_stale(header,osip_strdup("true"))
148 
152 #define osip_proxy_authenticate_set_stale_false(header) osip_www_authenticate_set_stale(header,osip_strdup("false"))
153 
157 #define osip_proxy_authenticate_get_algorithm(header) osip_www_authenticate_get_algorithm(header)
158 
163 #define osip_proxy_authenticate_set_algorithm(header, value) osip_www_authenticate_set_algorithm(header, value)
164 
168 #define osip_proxy_authenticate_set_algorithm_MD5(header) osip_www_authenticate_set_algorithm(header,osip_strdup("MD5"))
169 
173 #define osip_proxy_authenticate_get_qop_options(header) osip_www_authenticate_get_qop_options(header)
174 
179 #define osip_proxy_authenticate_set_qop_options(header,value) osip_www_authenticate_set_qop_options(header,value)
180 
181 
182 #ifdef __cplusplus
183 }
184 #endif
185 
188 #endif