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 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						073885e1ea 
					 
					
						
						
							
							Shouldn't have been a public function  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9801  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-02-13 20:55:13 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						2f2530b8e6 
					 
					
						
						
							
							remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9800  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-02-13 20:12:50 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						96bf384e7d 
					 
					
						
						
							
							major dialplan functions update  
						
						... 
						
						
						
						deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9674  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-02-12 04:28:58 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						4414f45393 
					 
					
						
						
							
							on this pass, only remove duplicate log messages  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-01-21 20:57:06 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						9fa6eb5e07 
					 
					
						
						
							
							revert my pass through the tree to remove checks of the result of ast_strdupa  
						
						... 
						
						
						
						(revisions 8378 through 8381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-01-21 17:50:04 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						7ad681adc8 
					 
					
						
						
							
							remove lots of useless checks of the result of ast_strdupa  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8379  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-01-21 08:13:12 +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 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						8d2b85d10a 
					 
					
						
						
							
							Merged revisions 7608 via svnmerge from  
						
						... 
						
						
						
						/branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7609  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-12-23 06:39:44 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						ec05153ac4 
					 
					
						
						
							
							convert most of the option_*'s to a single ast_flags structure. Also, fix some  
						
						... 
						
						
						
						formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-12-04 20:40:46 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						1ced6b4775 
					 
					
						
						
							
							convert VMCOUNT function to use new app args parsing macros (issue  #5688 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7235  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-30 19:20:28 +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 
						 
				 
			
				
					
						
							
							
								Josh Roberson 
							
						 
					 
					
						
						
							
						
						772f075fe9 
					 
					
						
						
							
							issue  #5795  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7139  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-20 05:22:26 +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 
							
						 
					 
					
						
						
							
						
						88cc39af74 
					 
					
						
						
							
							issue  #5625  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6985  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-06 19:36:27 +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 
							
						 
					 
					
						
						
							
						
						4807571648 
					 
					
						
						
							
							add VMCOUNT() function to replace HasVoicemail/HasNewVoicemail apps (issue  #5335 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6731  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-05 01:37:48 +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 
							
						 
					 
					
						
						
							
						
						e0f02b46f1 
					 
					
						
						
							
							convert a bunch of apps to use ast_goto_if_exists() (issue  #5138 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6533  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-09-07 19:13:00 +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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						1688ea358b 
					 
					
						
						
							
							Add app_hasnewvoicemail  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3906  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-10-03 21:23:54 +00:00 
						 
				 
			
				
					
						
							
							
								James Golovich 
							
						 
					 
					
						
						
							
						
						cc9f35f8c7 
					 
					
						
						
							
							Fix HasVoicemail so it can parse all arguments correctly (bug 2559)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3890  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-10-03 05:38:27 +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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						1dbc8e3f0e 
					 
					
						
						
							
							Rid compiler warning, make information meaningful in sip debug for codecs  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2844  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-05-01 20:59:37 +00:00 
						 
				 
			
				
					
						
							
							
								James Golovich 
							
						 
					 
					
						
						
							
						
						73b62ab0f6 
					 
					
						
						
							
							Add HasVoicemail application (bug 1520)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2839  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-05-01 05:54:50 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						2fe1bc2e71 
					 
					
						
						
							
							Path fix for hasnewvoicmeail app  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1839  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2003-12-08 19:31:56 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						229f4abf93 
					 
					
						
						
							
							Change strdupa's to ast_strupda's  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1579  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2003-09-29 20:13:54 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						45f21ff66b 
					 
					
						
						
							
							Merge app_hasnewvoicemail (bug  #290 ) with some mods  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1546  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2003-09-26 03:39:58 +00:00