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

osip_call_info.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_CALL_INFO_H_
00022 #define _OSIP_CALL_INFO_H_
00023 
00024 #include <osipparser2/osip_list.h>
00025 
00041   typedef struct osip_call_info osip_call_info_t;
00042 
00047   struct osip_call_info
00048   {
00049     char *element;              
00050     osip_list_t *gen_params;    
00051   };
00052 
00053 #ifdef __cplusplus
00054 extern "C"
00055 {
00056 #endif
00057 
00062   int osip_call_info_init (osip_call_info_t ** header);
00067   void osip_call_info_free (osip_call_info_t * header);
00073   int osip_call_info_parse (osip_call_info_t * header, const char *hvalue);
00079   int osip_call_info_to_str (const osip_call_info_t * header, char **dest);
00085   int osip_call_info_clone (const osip_call_info_t * header, osip_call_info_t ** dest);
00090   char *osip_call_info_get_uri (osip_call_info_t * header);
00096   void osip_call_info_set_uri (osip_call_info_t * header, char *uri);
00097 
00098 
00099 #ifdef __cplusplus
00100 }
00101 #endif
00102 
00105 #endif

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