summaryrefslogtreecommitdiff
path: root/cdr/cdr_custom.c
AgeCommit message (Collapse)Author
2006-04-14This rather large commit changes the way modules are loaded. Luigi Rizzo
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-08since the module API is changing, it's a good time to const-ify the ↵Kevin P. Fleming
description() and key() return values git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30update doxygen docs to specify authorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-10issue #5693Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06issue #5605Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26more doxygenification (issue #5513)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06another round of version tag updates, along with 'show version files' ↵Kevin P. Fleming
pattern filtering git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06major Makefile and build process improvements, including removal of all ↵Kevin P. Fleming
hardcoded paths (modules must now use run-time paths as they should) (bug #4116) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06ensure that successful configuration results in the module staying loaded ↵Kevin P. Fleming
(bug #3968) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01ensure that failure to register the cdr_custom backend results in a module ↵Kevin P. Fleming
load failure git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01Add CDR custom config warnings (Borga borga!) :)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31unconfigured cdr_custom should not be fatalAnthony Minessale II
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31Fix load of cdr_customMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31Fix custom CDR error (thanks kpfleming)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-25remove channel_pvt.hRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24Add custom CDR (bug #3595)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5253 65c4cc65-6c06-0410-ace0-fbb531ad65f3