asterisk/res/res_sip
Joshua Colp a330d0867e Make sorcery details opaque and add extended fields.
Sorcery specific object information is now opaque and allocated with the object.
This means that modules do not need to be recompiled if the sorcery specific part
is changed. It also means that sorcery can store additional information on objects
and ensure it is freed or the reference count decreased when the object goes away.

To facilitate the above a generic sorcery allocator function has been added which
also ensures that allocated objects do not have a lock.

Extended fields have been added thanks to all of the above which allows specific fields
to be marked as extended, and thus simply stored as-is within the object. Type safety
is *NOT* enforced on these fields. A consumer of them has to query and ultimately perform
their own safety check. What does this mean? Extra modules can extend already defined
structures without having to modify them.

Tests have also been included to verify extended field functionality.

Review: https://reviewboard.asterisk.org/r/2585/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-06-22 14:26:25 +00:00
..
include Merge in current pimp_my_sip work, including: 2013-06-22 14:03:22 +00:00
config_auth.c Make sorcery details opaque and add extended fields. 2013-06-22 14:26:25 +00:00
config_domain_aliases.c Make sorcery details opaque and add extended fields. 2013-06-22 14:26:25 +00:00
config_transport.c Make sorcery details opaque and add extended fields. 2013-06-22 14:26:25 +00:00
location.c Make sorcery details opaque and add extended fields. 2013-06-22 14:26:25 +00:00
security_events.c Merge in current pimp_my_sip work, including: 2013-06-22 14:03:22 +00:00
sip_configuration.c Make sorcery details opaque and add extended fields. 2013-06-22 14:26:25 +00:00
sip_distributor.c Merge in current pimp_my_sip work, including: 2013-06-22 14:03:22 +00:00
sip_options.c Make sorcery details opaque and add extended fields. 2013-06-22 14:26:25 +00:00
sip_outbound_auth.c Merge the pimp_my_sip branch into trunk. 2013-04-25 18:25:31 +00:00