Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18977 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
rand() to threadsafe ast_random()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
- move "res=-1" out of verbose block.
- minor code cleanup
Imported from 1.2 branch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17350 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
On passing, replace strdup with ast_strdup() and remove
the now useless checks for NULL since ast_strdup() can handle
it correctly.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15895 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
on reload.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r12925 | russell | 2006-03-14 13:28:39 -0500 (Tue, 14 Mar 2006) | 3 lines
fix a problem with not loading realtime queue members by always reloading a
realtime queue from the database even if it is found in the list (issue #6680)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12926 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12501 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
#6315, plus documentation)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10163 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10122 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
various code cleanup and reorganization (issue #6216)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10046 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r10018 | kpfleming | 2006-02-14 14:20:15 -0600 (Tue, 14 Feb 2006) | 2 lines
don't double-increment abandon counter for calls that are hung up while dialing members (issue #6289)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10019 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9800 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
cleaning patch 6267
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8495 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8447 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8436 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
(different fix than 1.2)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8402 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
(revisions 8378 through 8381)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r8347 | russell | 2006-01-20 13:34:42 -0500 (Fri, 20 Jan 2006) | 2 lines
fix invalid value of prev_q (issue #6302)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8348 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
(issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8153 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
from bug 5273 with minor changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8152 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8100 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
from bug 5451
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8069 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
- Use a cleaner syntax for declaring the allocation macros
- Fix return value for ast_strdup/ast_strndup
- remove safe_strdup from app_macro, since ast_strup does the same thing
- fix a place in app_queue where ast_calloc+strncpy was used instead of
ast_strdup. If you are helping out with these conversions, please watch out
for other places where this is done.
- add a note to the coding guidelines about the fix to app_queue
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8065 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
autopause. thanks twisted from 5577
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8060 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
mod in app_rpt.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8044 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
being able to unlock the lock. #6201
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8020 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
zero where they weren't before.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8011 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
by penalty setting
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7833 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7667 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines
cast time_t to an int in printf/scanf (issue #5635)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7635 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7353 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7337 | russell | 2005-12-04 19:09:12 -0500 (Sun, 04 Dec 2005) | 2 lines
don't delete dynamic queue members when reloading the static members from a realtime database (issue #5922)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7338 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
the members, since each queue has its own list of members. (issue #5863)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7248 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7053 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
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
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
|
|
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
|