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 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						f10f427d49 
					 
					
						
						
							
							since the module API is changing, it's a good time to const-ify the description() and key() return values  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-08 22:01:19 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						a725468381 
					 
					
						
						
							
							update doxygen docs to specify authors  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-12-30 21:18:06 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						2c65582b66 
					 
					
						
						
							
							remove extraneous svn:executable properties  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-29 18:24:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						1740d40182 
					 
					
						
						
							
							issue  #5693  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7058  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-10 23:42:45 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						31a804b97c 
					 
					
						
						
							
							issue  #5605  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-06 15:09:47 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						6324072247 
					 
					
						
						
							
							more doxygenification (issue  #5513 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-26 13:03:17 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						5da915dcfd 
					 
					
						
						
							
							update MANY more files with proper copyright/license info (thanks Ian!)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-09-14 20:46:50 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						2b8338cb52 
					 
					
						
						
							
							more file version tags  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-06 22:12:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						005e436b57 
					 
					
						
						
							
							another round of version tag updates, along with 'show version files' pattern filtering  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-06 21:09:59 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						4f299de252 
					 
					
						
						
							
							major Makefile and build process improvements, including removal of all 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-06-06 03:04:58 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						1f9ab2380a 
					 
					
						
						
							
							use double-quotes instead of angle-brackets for non-system include files (bug  #4058 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-04-21 06:02:45 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						3fd8f01d7c 
					 
					
						
						
							
							ensure that successful configuration results in the module staying loaded (bug  #3968 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5424  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-04-06 16:14:21 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						3ca72cb08a 
					 
					
						
						
							
							ensure that failure to register the cdr_custom backend results in a module load failure  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5343  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-04-01 17:31:41 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						5ed63ffc87 
					 
					
						
						
							
							Add CDR custom config warnings (Borga borga!) :)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5330  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-04-01 03:38:35 +00:00 
						 
				 
			
				
					
						
							
							
								Anthony Minessale II 
							
						 
					 
					
						
						
							
						
						318406a0c5 
					 
					
						
						
							
							unconfigured cdr_custom should not be fatal  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5316  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-03-31 15:55:44 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						0beb05fac4 
					 
					
						
						
							
							Fix load of cdr_custom  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5314  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-03-31 15:50:15 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						d4781cb4d1 
					 
					
						
						
							
							Fix custom CDR error (thanks kpfleming)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5313  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-03-31 05:54:25 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						6f85337227 
					 
					
						
						
							
							remove channel_pvt.h  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5258  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-03-25 17:12:40 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						122d0d8de6 
					 
					
						
						
							
							Add custom CDR (bug  #3595 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5253  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-03-24 21:57:42 +00:00