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
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
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
e61f71745f
application doc update
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07 22:01:22 +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
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
95fe2b8fd4
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
ff15e0fa53
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
kpfleming
8dc28b2439
the last round of file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:39:32 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
russell
7288b1ced0
update copyright headers for 2005
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21 07:06:25 +00:00
markster
10717cc766
Merge Olle's comment patch (bug #3097 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4488 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19 21:13:41 +00:00
markster
c6a28e3774
Update mp3 copyright header, fix pedantic + register in SIP (bug #2422 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3786 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-15 19:27:23 +00:00
markster
79558ccec1
Use longer timeout if using http (bug #2418 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3763 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-11 13:31:04 +00:00
citats
31e064cf03
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3277 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 19:32:52 +00:00
markster
319af26c0c
Merge BKW's mp3 improvements
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2867 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-03 03:32:04 +00:00
markster
9211e2eb21
Improve mp3 player quality (bug #1527 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2840 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-01 14:03:37 +00:00
markster
88adf19dff
More select/poll updates for various applications
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2762 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-26 03:02:49 +00:00
markster
b837107b6b
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06 22:17:32 +00:00
markster
5cd9614a94
Small SIP fix, voicemail fix, and some delivery fixes on new apps
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2581 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-29 08:20:35 +00:00
markster
5acf40987d
Make read/write mode have a lock parameter and use it properly.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2572 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-27 06:50:12 +00:00
markster
eebd41dac0
Fix search path in app_mp3
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1556 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-27 00:30:07 +00:00
markster
2be6d9d7c1
BSD portability enhancements (bug #234 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1486 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-08 16:48:07 +00:00
markster
0aca2c116c
More BSD enhancements
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@916 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-27 18:13:11 +00:00
markster
839ec506b8
Make MP3 app timeout after a couple of seconds of no audio
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@884 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-23 04:39:18 +00:00
markster
bfd5f5705c
Improve app_mp3
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@704 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-27 15:11:03 +00:00
markster
6939931599
Version 0.3.0 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@556 f38db490-d61c-443f-a65b-d21fe96a405b
2002-11-29 02:14:13 +00:00
markster
1642b09aba
Version 0.1.12 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@446 f38db490-d61c-443f-a65b-d21fe96a405b
2002-05-13 22:29:39 +00:00
markster
992d891411
Version 0.1.9 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@340 f38db490-d61c-443f-a65b-d21fe96a405b
2001-07-17 16:57:20 +00:00
markster
a6879656bc
Version 0.1.8 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@270 f38db490-d61c-443f-a65b-d21fe96a405b
2001-04-10 20:52:03 +00:00
markster
dc884645e6
Version 0.1.7 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236 f38db490-d61c-443f-a65b-d21fe96a405b
2001-03-10 19:12:11 +00:00
markster
201849f922
Version 0.1.1 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134 f38db490-d61c-443f-a65b-d21fe96a405b
1999-12-11 20:09:45 +00:00
markster
a4717bc16b
Version 0.1.0 from FTP
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22 f38db490-d61c-443f-a65b-d21fe96a405b
1999-11-15 05:04:48 +00:00