sorcery, bucket: Change observer remove calls to take const callbacks struct.
* Make ast_sorcery_observer_remove() accept a const callbacks struct. * Make ast_sorcery_observer_remove() tolerant of the sorcery parameter being NULL. Now it can be called within a module unload routine if the sorcery initialization fails. * Fix ast_sorcery_observer_add() to fail if the container link fails. ........ Merged revisions 403324 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- include/asterisk/bucket.h 2 additions, 2 deletionsinclude/asterisk/bucket.h
- include/asterisk/sorcery.h 3 additions, 2 deletionsinclude/asterisk/sorcery.h
- main/bucket.c 2 additions, 2 deletionsmain/bucket.c
- main/sorcery.c 15 additions, 5 deletionsmain/sorcery.c
- res/res_pjsip/pjsip_configuration.c 1 addition, 1 deletionres/res_pjsip/pjsip_configuration.c
- res/res_pjsip/pjsip_options.c 1 addition, 1 deletionres/res_pjsip/pjsip_options.c
- res/res_pjsip_registrar_expire.c 1 addition, 1 deletionres/res_pjsip_registrar_expire.c
- tests/test_sorcery.c 1 addition, 1 deletiontests/test_sorcery.c
Loading
Please register or sign in to comment