asterisk/channels
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
..
h323 bug updates chan_h323 to some api changes it 2006-04-03 18:36:30 +00:00
misdn mISDN Messages must be freed with free_msg \!\! 2006-04-11 08:31:19 +00:00
DialTone.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
Makefile merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found 2006-02-22 22:53:49 +00:00
answer.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
chan_agent.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_alsa.c since the module API is changing, it's a good time to const-ify the description() and key() return values 2006-04-08 22:01:19 +00:00
chan_features.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_h323.c since the module API is changing, it's a good time to const-ify the description() and key() return values 2006-04-08 22:01:19 +00:00
chan_iax2.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_local.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_mgcp.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_misdn.c fixed some issues, that appear at higher load 2006-04-10 16:50:20 +00:00
chan_nbs.c since the module API is changing, it's a good time to const-ify the description() and key() return values 2006-04-08 22:01:19 +00:00
chan_oss.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_phone.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_sip.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_skinny.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
chan_vpb.c since the module API is changing, it's a good time to const-ify the description() and key() return values 2006-04-08 22:01:19 +00:00
chan_zap.c This rather large commit changes the way modules are loaded. 2006-04-14 14:08:19 +00:00
gentone-ulaw.c remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
gentone.c remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
iax2-parser.c use string fields for some stuff in ast_channel 2006-02-01 23:05:28 +00:00
iax2-parser.h use string fields for some stuff in ast_channel 2006-02-01 23:05:28 +00:00
iax2-provision.c another batch of cli simplifications 2006-03-28 23:33:02 +00:00
iax2-provision.h useless 'extern' and trailing whitespace removal 2006-03-31 10:11:10 +00:00
iax2.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
misdn_config.c removed dynamic switching from transparent to hdlc mode. Instead we've got a config option hdlc=yes now which enables the hdlc controller for a data call 2006-03-20 18:04:05 +00:00
ring10.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00