core: build_req_buf_from_sip_req() has a new parameter
authorDaniel-Constantin Mierla <miconda@gmail.com>
Wed, 8 Jul 2009 11:10:37 +0000 (13:10 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Wed, 8 Jul 2009 11:10:37 +0000 (13:10 +0200)
commit61f864106e136ab3100717f35511a0a82bcf9668
tree0d9165bb8a5e67fc5e5e56006644da77841e2f7a
parentfda26842518a286471ce27b5a74699dc798f64ab
core: build_req_buf_from_sip_req() has a new parameter

- mode - a set of flags that define how the sip request is printed to buffer
- BUILD_NO_LOCAL_VIA (1<<0) - skip adding local via
- BUILD_NO_VIA1_UPDATE (1<<1) - skip updating top most via
- BUILD_IN_SHM (1<<2) - output buffer allocated in memory
- new function inc_msg_no() - increment and return msg_no
- new function build_sip_msg_from_buf(...) to parse and partially fill
  sip_msg structure from a buffer
forward.c
msg_translator.c
msg_translator.h
receive.c
receive.h