libosip 3.6.0

osip_mime_version.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_MIME_VERSION_H_
00022 #define _OSIP_MIME_VERSION_H_
00023 
00024 #include <osipparser2/osip_list.h>
00025 #include <osipparser2/osip_uri.h>
00026 
00042   typedef osip_content_length_t osip_mime_version_t;
00043 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00053 #define osip_mime_version_init(header)      osip_content_length_init(header)
00054 
00059 #define osip_mime_version_parse(header, hvalue)  osip_content_length_parse(header, hvalue)
00060 
00065 #define osip_mime_version_to_str(header, dest)  osip_content_length_to_str(header, dest)
00066 
00070 #define osip_mime_version_free(header)      osip_content_length_free(header)
00071 
00076 #define osip_mime_version_clone(header, dest)  osip_content_length_clone(header, dest)
00077 
00078 
00079 
00080 #ifdef __cplusplus
00081 }
00082 #endif
00083 
00086 #endif