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 
							
						 
					 
					
						
						
							
						
						a0d438fb6c 
					 
					
						
						
							
							remove the uses of the deprecated STANDARD_LOCAL_USER  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-02-15 20:11:56 +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 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						987b87662c 
					 
					
						
						
							
							make app_queue 1.2 jump compliant (issue  #5580 )  
						
						... 
						
						
						
						add missing includes of stdio.h
remove some unused and duplicate headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7026  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-08 04:48:00 +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 
							
						 
					 
					
						
						
							
						
						5187de9ab6 
					 
					
						
						
							
							remove unnecessary checks before calls to ast_strlen_zero  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-26 19:48:14 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						3453e3efa5 
					 
					
						
						
							
							Doxygen documentation update from oej (issue  #5505 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-24 20:12:06 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						4aa7912057 
					 
					
						
						
							
							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: https://origsvn.digium.com/svn/asterisk/trunk@6832  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-19 18:19:02 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						29829640bf 
					 
					
						
						
							
							it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6828  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-18 22:52:21 +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 
							
						 
					 
					
						
						
							
						
						22b0f5d306 
					 
					
						
						
							
							add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug  #4504 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-07-15 23:00:47 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						c0b1e88e8a 
					 
					
						
						
							
							the last round of file version tags  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5867  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-06 22:39:32 +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 
							
						 
					 
					
						
						
							
						
						3c7c893e6e 
					 
					
						
						
							
							ensure that needed headers are included for chmod() and mkdir() (bug  #3937 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5366  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-04-03 20:25:43 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						0c30452423 
					 
					
						
						
							
							update copyright headers for 2005  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-01-21 07:06:25 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						ef0a57efce 
					 
					
						
						
							
							Fix various formatting errors (bug  #3226 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4641  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-01-03 01:46:19 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						e0f335a4eb 
					 
					
						
						
							
							Check to be sure # of samples is > 0...  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3818  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-09-22 12:15:00 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						5dad6f4319 
					 
					
						
						
							
							Merge UK + DTMF Caller*ID stuff and fix app_test description  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3808  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-09-19 16:17:18 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						eb57ea95d6 
					 
					
						
						
							
							reload documentation, don't display res in app_test...  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3718  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-09-03 14:02:12 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						47f8883942 
					 
					
						
						
							
							Add test application (TestClient/TestServer), thanks Russell!  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3677  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-08-30 01:43:41 +00:00