New patches: [add nua_handle_fetch to get the magic from nh anthmct@yahoo.com**20061004231211] { hunk ./libsofia-sip-ua/nua/nua.c 330 + +/** Fetch a callback context from an operation handle. + * + * @param nh Pointer to operation handle + * + * @return + * Pointer to callback context + * + * @par Related tags: + * none + * + * @par Events: + * none + */ +nua_hmagic_t *nua_handle_fetch(nua_handle_t *nh) +{ + nua_hmagic_t *magic = NULL; + enter; + + if (NH_IS_VALID(nh)) + magic = nh->nh_magic; + + return magic; +} hunk ./libsofia-sip-ua/nua/sofia-sip/nua.h 216 + +/** Fetch a callback context from an operation handle. */ +SOFIAPUBFUN nua_hmagic_t *nua_handle_fetch(nua_handle_t *nh); } Context: [nua: added nua_handle_make_replaces(), nua_handle_by_replaces(). Pekka.Pessi@nokia.com**20061004160757] [test_register.c: added test for nua_i_register and nua_respond() with NUTAG_WITH(). Pekka.Pessi@nokia.com**20061004143805] [su_taglist.c: fixed tl_find_last(), added tests for it. Pekka.Pessi@nokia.com**20061004142848] [sip_refer.c: fixed sip_referred_by_d(): accept no more syntax errors. Pekka.Pessi@nokia.com**20061004140852] [sip_refer.c: sip_refer_d() now fixes URLs with headers but without <>. Pekka.Pessi@nokia.com**20061004134247 Currently you lose if you have url parameters and headers but no <>. ] [torture_sip.c: added more tests for refer-to. Pekka.Pessi@nokia.com**20061004122610] [nua_register.c removed random() stuff. Pekka.Pessi@nokia.com**20061004124214] [test_100rel: do not run test_prack_auth() without proxy. Pekka.Pessi@nokia.com**20061004124020] [nua: moved active_call and hold_remote flags to nua handle structure. Pekka.Pessi@nokia.com**20061004104437 Removed outdated nua_handle_has_streaming(). ] [nua.h: added nua_saved_event_request() and nua_current_request(). Pekka.Pessi@nokia.com**20061004101102] [configure.ac: bumped version number (added nutag_with and nutag_with_ref) Pekka.Pessi@nokia.com**20061004095813] [Fix doxygen build rules remi.denis-courmont@nokia.com**20061003071349] [nua.docs: documentin use of status with nua_i events. Pekka.Pessi@nokia.com**20061003100152] [nua_tag.h: fixed nutag_with casing. Pekka.Pessi@nokia.com**20061004074239] [su_source.c: #defining _XOPEN_SOURCE hurts more than helps Pekka.Pessi@nokia.com**20061004073154] [Ignore gawk bug in generating from msg_parser.awk. Kai Vehmanen *-20061003133008] [fix build on OpenBSD and NetBSD due to missing errno defs mike@jerris.com**20061003143306] [BSD build fix, you need _XOPEN_SOURCE for ipv6 defs mike@jerris.com**20061003142430] [add nua_registrar.c to dsp files mike@jerris.com**20061003142035] [add config.h include mike@jerris.com**20061003141731] [Ignore gawk bug in generating from msg_parser.awk. Kai Vehmanen **20061003133008] [Non-static inlines in implementation files confuse VC6 with static builds. Kai Vehmanen **20061003132640] [Added sip_options_static to the workspace. Kai Vehmanen **20061003132044] [nua: moved documentation from nua.c/nua.docs towards the implementation. Pekka.Pessi@nokia.com**20061003100047] [nua: using nua_stack_set_handle_special() to set handle flags and special event. Pekka.Pessi@nokia.com**20061003082919] [nua_stack_process_register(): moved to nua_registrar.c. Pekka.Pessi@nokia.com**20061003082902] [nua_stack.c: using nutag_with when responding to incoming REGISTER. Pekka.Pessi@nokia.com**20061003073839] [nua: added NUTAG_WITH(), NUTAG_WITH_THIS(), NUTAG_WITH_SAVED(). Pekka.Pessi@nokia.com**20061003073402] [sofia-sip/nua.h: re-assigned nua_i_none. Pekka.Pessi@nokia.com**20061003071849] [register fix mike@jerris.com**20060926221239] [more register nua handling mike@jerris.com**20060926184617] [initial register nua handling mike@jerris.com**20060926180058] [sofia.am, msg/Makefile.am: fixed distclean. Pekka.Pessi@nokia.com**20061003065742] [su_wait.h: using #if SU_HAVE_POLL in consistent manner Pekka.Pessi@nokia.com**20061003065216] [RELEASE, configure.ac: preparing for next release. Pekka.Pessi@nokia.com**20061002133920] [nua: removed unupported smime hooks Pekka.Pessi@nokia.com**20061001144423] [fix gcc4 warnings under -Wall mike@jerris.com**20060927161912] [su_source.c: use SU_WAIT_MAX/SU_WAIT_MIN (synch with su_port using epoll). Pekka.Pessi@nokia.com**20060929134027] [su: initial support for epoll in su_root_t/su_port_t. Pekka.Pessi@nokia.com**20060929131355] [strtoull(): doxyfied document. Pekka.Pessi@nokia.com**20060929113942] [removed OSX specific code from su_wait.c martti.mela@nokia.com**20060928154457] [restructured RunLoop functionality in su_osx_runloop.c martti.mela@nokia.com**20060928154404] [removed OSX specific parts from su_wait.h martti.mela@nokia.com**20060928154323] [sac-su2.m4: --enable-corefoundation turns me on martti.mela@nokia.com**20060927225250] [references to SU_USE_OSX_CF_API -> s/USE/HAVE/ martti.mela@nokia.com**20060927225152] [su/Makefile.am: OSX related files optionalized martti.mela@nokia.com**20060927225028] [added test torture_su_root_osx.c martti.mela@nokia.com**20060927221806] [su_wait.c has now OSX CoreFoundation specific waits implemented martti.mela@nokia.com**20060927221721] [updated su_os_nw.c as recommended by Brian West martti.mela@nokia.com**20060927221639] [su_wait.h has now OSX CoreFoundation specific event support martti.mela@nokia.com**20060927221546] [added su_osx_runloop.[ch] martti.mela@nokia.com**20060927221456] [su_configure.in has now define for OSX specific run looping martti.mela@nokia.com**20060927221327] [updated Makefile.am to contain su_osx_runloop.[ch] martti.mela@nokia.com**20060927221211] [TAG rel-sofia-sip-1_12_3 Pekka.Pessi@nokia.com**20061002131041] Patch bundle hash: c21d18b0fac09ef873c534c9b204f8580a787966