rizzo
3664249356
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: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming
e4880150b1
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
bweschke
09e80638b5
Merged revisions 11778 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r11778 | bweschke | 2006-03-04 06:45:37 -0500 (Sat, 04 Mar 2006) | 3 lines
Substitute variables in the post_process string (if it exists) before those variables could possibly disappear (channel hangup) #6462
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11779 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-04 11:51:45 +00:00
russell
011fac8ff8
fix up the summary and help text for the mixmonitor cli command
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10392 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-17 04:17:35 +00:00
russell
5f7ef687fa
add StopMixMonitor application (issue #6122 , with mods)
...
Rename and export ast_complete_channels for use by cli completion functions
that want to complete from the list of active channels
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10287 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-16 17:37:03 +00:00
russell
c72e5e1b38
remove the uses of the deprecated STANDARD_LOCAL_USER
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 20:11:56 +00:00
russell
252fb982f4
on this pass, only remove duplicate log messages
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00
russell
b14bdc5a12
revert my pass through the tree to remove checks of the result of ast_strdupa
...
(revisions 8378 through 8381)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell
3f2c7248c6
remove lots of useless checks of the result of ast_strdupa
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:13:12 +00:00
bweschke
589c3c0044
More memory wrapper cleanup. #6224
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8045 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 03:34:31 +00:00
kpfleming
385d29ad6f
update copyright headers for files changed this year
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 22:16:23 +00:00
kpfleming
66b30d5d48
Merged revisions 7740 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7740 | kpfleming | 2006-01-03 11:24:56 -0600 (Tue, 03 Jan 2006) | 4 lines
revert incorrect fix for bug #6048 from revision 7709
put in correct (simpler) fix
add doxygen docs for channel spy 'state' values
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7741 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 17:25:39 +00:00
tilghman
1472b53c64
Merged revisions 7709 via svnmerge from
...
/branches/1.2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7710 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-02 07:41:02 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
kpfleming
24c1e3c222
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:24:39 +00:00
kpfleming
87a3621538
issue #5590
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 03:48:28 +00:00
russell
465d1d7712
make app_queue 1.2 jump compliant (issue #5580 )
...
add missing includes of stdio.h
remove some unused and duplicate headers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:48:00 +00:00
russell
d3ddc001a2
issue #5605
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
markster
46273ba0f5
Allow mixmon names to have dots (bug #5607 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6973 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 05:13:45 +00:00
markster
6c8b0c0fa1
Add missing newline (bug #5616 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6968 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 04:51:00 +00:00
kpfleming
c9ad9780f5
issue #5609
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6962 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-04 22:11:51 +00:00
kpfleming
ae35e4e069
major update to arg/option parsing APIs and documentation
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03 21:19:11 +00:00
kpfleming
f4f1d0b3f9
issue #5561
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6933 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 20:57:42 +00:00
kpfleming
8615ded129
correct comment
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6899 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 15:33:27 +00:00
kpfleming
a36f58a0aa
major redesign of the channel spy infrastructure, increasing efficiency and reducing locking conflicts
...
(nearly) complete rewrite of app_muxmon, renaming the application to MixMonitor and fixing a large number of bugs and inconsistencies
update app_chanspy to use new spy infrastructure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6884 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 23:01:13 +00:00
russell
2a1fd152ed
remove unnecessary checks before calls to ast_strlen_zero
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 19:48:14 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
russell
58818426d6
Massive cleanups to applications for LOCAL_USER handling and some other things.
...
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application. An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6832 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 18:19:02 +00:00
russell
2c83f05ebb
it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 22:52:21 +00:00
kpfleming
a5cb42eb37
minor changes and eliminate some compiler warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6803 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 23:26:35 +00:00
markster
830df872fd
Add muxmon application (bug #4735 with mods, thanks tony!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6795 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 02:59:13 +00:00