libosip 3.6.0

osip_proxy_authorization.h

Go to the documentation of this file.
00001 /*
00002   The oSIP library implements the Session Initiation Protocol (SIP -rfc3261-)
00003   Copyright (C) 2001,2002,2003,2004,2005,2006,2007 Aymeric MOIZARD jack@atosc.org
00004   
00005   This library is free software; you can redistribute it and/or
00006   modify it under the terms of the GNU Lesser General Public
00007   License as published by the Free Software Foundation; either
00008   version 2.1 of the License, or (at your option) any later version.
00009   
00010   This library is distributed in the hope that it will be useful,
00011   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013   Lesser General Public License for more details.
00014   
00015   You should have received a copy of the GNU Lesser General Public
00016   License along with this library; if not, write to the Free Software
00017   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 */
00019 
00020 
00021 #ifndef _OSIP_PROXY_AUHTHORIZATION_H_
00022 #define _OSIP_PROXY_AUHTHORIZATION_H_
00023 
00024 #include <osipparser2/headers/osip_authorization.h>
00025 
00041   typedef osip_authorization_t osip_proxy_authorization_t;
00042 
00043 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00053 #define osip_proxy_authorization_init(header)     osip_authorization_init(header)
00054 
00059 #define osip_proxy_authorization_parse(header, hvalue) osip_authorization_parse(header, hvalue)
00060 
00065 #define osip_proxy_authorization_to_str(header, dest) osip_authorization_to_str(header, dest)
00066 
00070 #define osip_proxy_authorization_free     osip_authorization_free
00071 
00076 #define osip_proxy_authorization_clone  osip_authorization_clone
00077 
00082 #define osip_proxy_authorization_get_auth_type(header)    osip_authorization_get_auth_type(header)
00083 
00088 #define osip_proxy_authorization_set_auth_type(header, value) osip_authorization_set_auth_type(header, value)
00089 
00093 #define osip_proxy_authorization_get_username(header)    osip_authorization_get_username(header)
00094 
00099 #define osip_proxy_authorization_set_username(header, value) osip_authorization_set_username(header, value)
00100 
00104 #define osip_proxy_authorization_get_realm(header)       osip_authorization_get_realm(header)
00105 
00110 #define osip_proxy_authorization_set_realm(header, value)    osip_authorization_set_realm(header, value)
00111 
00115 #define osip_proxy_authorization_get_nonce(header)       osip_authorization_get_nonce(header)
00116 
00121 #define osip_proxy_authorization_set_nonce(header, value)    osip_authorization_set_nonce(header, value)
00122 
00126 #define osip_proxy_authorization_get_uri(header)         osip_authorization_get_uri(header)
00127 
00132 #define osip_proxy_authorization_set_uri(header, value)      osip_authorization_set_uri(header, value)
00133 
00137 #define osip_proxy_authorization_get_response(header)    osip_authorization_get_response(header)
00138 
00143 #define osip_proxy_authorization_set_response(header, value) osip_authorization_set_response(header, value)
00144 
00148 #define osip_proxy_authorization_get_digest(header)      osip_authorization_get_digest(header)
00149 
00154 #define osip_proxy_authorization_set_digest(header, value)   osip_authorization_set_digest(header, value)
00155 
00159 #define osip_proxy_authorization_get_algorithm(header)   osip_authorization_get_algorithm(header)
00160 
00165 #define osip_proxy_authorization_set_algorithm(header,value) osip_authorization_set_algorithm(header,value)
00166 
00170 #define osip_proxy_authorization_get_cnonce(header)      osip_authorization_get_cnonce(header)
00171 
00176 #define osip_proxy_authorization_set_cnonce(header, value)   osip_authorization_set_cnonce(header, value)
00177 
00181 #define osip_proxy_authorization_get_opaque(header)      osip_authorization_get_opaque(header)
00182 
00187 #define osip_proxy_authorization_set_opaque(header, value)   osip_authorization_set_opaque(header, value)
00188 
00192 #define osip_proxy_authorization_get_message_qop(header) osip_authorization_get_message_qop(header)
00193 
00198 #define osip_proxy_authorization_set_message_qop(header, value) osip_authorization_set_message_qop(header, value)
00199 
00203 #define osip_proxy_authorization_get_nonce_count(header) osip_authorization_get_nonce_count(header)
00204 
00209 #define osip_proxy_authorization_set_nonce_count(header, value) osip_authorization_set_nonce_count(header, value)
00210 
00211 #ifdef __cplusplus
00212 }
00213 #endif
00214 
00217 #endif
00218