Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

osip_accept_language.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  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_ACCEPT_LANGUAGE_H_
00022 #define _OSIP_ACCEPT_LANGUAGE_H_
00023 
00024 #include <osipparser2/headers/osip_accept_encoding.h>
00025 
00041   typedef osip_accept_encoding_t osip_accept_language_t;
00042 
00043 #ifdef __cplusplus
00044 extern "C"
00045 {
00046 #endif
00047 
00052 #define osip_accept_language_init(header)      osip_accept_encoding_init(header)
00053 
00058 #define osip_accept_language_parse(header, hvalue)  osip_accept_encoding_parse(header, hvalue)
00059 
00064 #define osip_accept_language_to_str(header, dest)  osip_accept_encoding_to_str(header, dest)
00065 
00069 #define osip_accept_language_free(header)      osip_accept_encoding_free(header)
00070 
00075 #define osip_accept_language_clone(header, dest) osip_accept_encoding_clone(header, dest)
00076 
00081 #define osip_accept_language_get_element(header)     osip_accept_encoding_get_element(header)
00082 
00087 #define osip_accept_language_set_element(header, value)  osip_accept_encoding_set_element(header, value)
00088 
00094 #define osip_accept_language_param_add(header,name,value)  osip_generic_param_add((header)->gen_params,name,value)
00095 
00101 #define osip_accept_language_param_get_byname(header,name,dest) osip_generic_param_get_byname((header)->gen_params,name,dest)
00102 
00103 
00104 #ifdef __cplusplus
00105 }
00106 #endif
00107 
00110 #endif

Generated on Tue Feb 22 00:59:46 2005 for libosip by  doxygen 1.4.1