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 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						7ba1b92a04 
					 
					
						
						
							
							normalize code preparing for loader changes  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19220  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-11 15:19:34 +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 
						 
				 
			
				
					
						
							
							
								Matt O'Gorman 
							
						 
					 
					
						
						
							
						
						a536eb6ec7 
					 
					
						
						
							
							minor code clean up from 6880  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17312  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-04 16:59:27 +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 
							
						 
					 
					
						
						
							
						
						2eb7eecdd0 
					 
					
						
						
							
							conversions to memory allocation wrappers (issue  #6210 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7991  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-01-11 22:41:34 +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 
							
						 
					 
					
						
						
							
						
						f3b4e0291c 
					 
					
						
						
							
							clean up some application descriptions to use more gooder English  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7047  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-10 20:56: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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						b8f23573fa 
					 
					
						
						
							
							more license/copyright header updates (thanks Ian!)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-09-15 15:44:26 +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 
							
						 
					 
					
						
						
							
						
						eb397f08df 
					 
					
						
						
							
							reverse arguments to ast_tvdiff_ms, so they match the 'raw' math being used between the arguments  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6083  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-07-11 20:46:25 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						206f712599 
					 
					
						
						
							
							more ast_copy_string conversions  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6074  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-07-10 23:12:25 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						e18a747172 
					 
					
						
						
							
							move timeval-diff function into utils.h from app_alarmreceiver.c  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5882  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-09 14:39:34 +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 
							
						 
					 
					
						
						
							
						
						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 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						5f726ad8c7 
					 
					
						
						
							
							Merge config updates (bug  #3406 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-01-25 06:10:20 +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 
							
						 
					 
					
						
						
							
						
						239f1a0ef9 
					 
					
						
						
							
							Quickie fix to remove unnecessary newline (bug  #2922 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4320  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-11-23 02:13:56 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						04fc29c8b2 
					 
					
						
						
							
							Huge callerid rework (might break H.323, others)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-10-02 00:58:31 +00:00 
						 
				 
			
				
					
						
							
							
								James Golovich 
							
						 
					 
					
						
						
							
						
						2fc5fed79e 
					 
					
						
						
							
							Fix 2 memory leaks  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3844  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-09-27 05:06:22 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						4d32c46126 
					 
					
						
						
							
							Merge rgagnon's pedantic string checks (apps a-m, bug  #2035 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3428  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-07-14 07:22:30 +00:00 
						 
				 
			
				
					
						
							
							
								James Golovich 
							
						 
					 
					
						
						
							
						
						f5c18f62a1 
					 
					
						
						
							
							Remove pthread.h from source.  We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3277  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-06-22 19:32:52 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						3ccf8627e0 
					 
					
						
						
							
							Add app_alarmreceiver (bug  #1783 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3264  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-06-21 19:28:34 +00:00