• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • Directories
  • File List
  • Globals

sip_msg_clone.h

00001 /* 
00002  * $Id$
00003  * 
00004  * Copyright (C) 2009 iptelorg GmbH
00005  *
00006  * Permission to use, copy, modify, and distribute this software for any
00007  * purpose with or without fee is hereby granted, provided that the above
00008  * copyright notice and this permission notice appear in all copies.
00009  *
00010  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
00011  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
00012  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
00013  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00014  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00015  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
00016  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00017  */
00018 /*
00019  * /home/andrei/sr.git/sip_msg_clone.h
00020  */
00021 /*
00022  * History:
00023  * --------
00024  *  2009-07-22  initial version (andrei)
00025 */
00026 
00027 #ifndef __sip_msg_clone_h
00028 #define __sip_msg_clone_h
00029 
00030 #include "parser/msg_parser.h"
00031 
00032 struct sip_msg*  sip_msg_shm_clone(     struct sip_msg *org_msg,
00033                                                                         int *sip_msg_len,
00034                                                                         int clone_lumps);
00035 
00036 int msg_lump_cloner(struct sip_msg *pkg_msg,
00037                                         struct lump** add_rm,
00038                                         struct lump** body_lumps,
00039                                         struct lump_rpl** reply_lump);
00040 
00041 
00042 #endif /*__sip_msg_clone_h*/
00043 
00044 /* vi: set ts=4 sw=4 tw=79:ai:cindent: */

Generated on Tue May 22 2012 13:10:15 for SIP Router by  doxygen 1.7.1