Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages
include / osipparser2 / headers

osip_cseq.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_CSEQ_H_
00022 #define _OSIP_CSEQ_H_
00023 
00039 typedef struct osip_cseq osip_cseq_t;
00040 
00045 struct osip_cseq
00046 {
00047 char *method; 
00048 char *number; 
00049 };
00050 
00051 #ifdef __cplusplus
00052 extern "C"
00053 {
00054 #endif
00055 
00060 int osip_cseq_init (osip_cseq_t ** header);
00065 void osip_cseq_free (osip_cseq_t * header);
00071 int osip_cseq_parse (osip_cseq_t * header, const char *hvalue);
00077 int osip_cseq_to_str (const osip_cseq_t * header, char **dest);
00083 int osip_cseq_clone (const osip_cseq_t * header, osip_cseq_t ** dest);
00089 void osip_cseq_set_number (osip_cseq_t * header, char *value);
00094 char *osip_cseq_get_number (osip_cseq_t * header);
00100 void osip_cseq_set_method (osip_cseq_t * header, char *value);
00105 char *osip_cseq_get_method (osip_cseq_t * header);
00106 
00113 int osip_cseq_match (osip_cseq_t * cseq1, osip_cseq_t * cseq2);
00114 
00115 #ifdef __cplusplus
00116 }
00117 #endif
00118 
00121 #endif

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

AltStyle によって変換されたページ (->オリジナル) /