aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_chanisavail.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-21/+9
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-11/+7
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: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11normalize code preparing for loader changesrizzo1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19220 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-2/+2
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15remove the uses of the deprecated STANDARD_LOCAL_USERrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-1/+1
formatting, remove some unnecessary casts, and other little code cleanups. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30use app arg parsing macros (issue #5678)russell1-8/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7239 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10fix typos in my doc cleanuprussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7048 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10clean up some application descriptions to use more gooder Englishrussell1-15/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7047 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08make app_queue 1.2 jump compliant (issue #5580)russell1-2/+2
add missing includes of stdio.h remove some unused and duplicate headers git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07application doc updatekpfleming1-8/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06issue #5598russell1-11/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6980 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06issue #5605russell1-19/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26remove unnecessary checks before calls to ast_strlen_zerorussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19Massive cleanups to applications for LOCAL_USER handling and some other things.russell1-3/+4
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: http://svn.digium.com/svn/asterisk/trunk@6832 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18it's a good idea to unregister everything before calling ↵russell1-1/+6
STANDARD_HANGUP_LOCALUSERS git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18Don't only accept AST_DEVICE_UNKNOWN when we're trying to determine if the ↵twisted1-1/+1
device is in use. (Bug # 5338) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6815 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-28make sure to LOCAL_USER_REMOVE in all cases where the application can exit ↵russell1-1/+4
(issue #5307) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6678 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-25correct sense of logic test (issue #5259)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6650 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-5/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07convert a bunch of apps to use ast_goto_if_exists() (issue #5138)kpfleming1-3/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08queue device state changes and handle them serially in a background threadkpfleming1-0/+1
optimize device state related functions add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06the last round of file version tagskpfleming1-6/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-7/+7
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-27Fix chanisavail typo that forced "state" mode (bug #3873)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5282 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-28Documentation fixes (bug #3170)markster1-5/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4580 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-15Channel availability updates (bug #2829 with mods)markster1-5/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4257 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-26Pass concept of status back, permit "leaveempty" to work with static agents ↵markster1-2/+7
who are not loggedon (bug #2719) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4106 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02Huge callerid rework (might break H.323, others)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵citats1-2/+0
instead (except in asterisk/lock.h). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3277 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-06Can't use the same buffer to snprintf that we're grabbingmarkster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3156 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-05Add ${AVAILORIGCHAN} with original channel name (bug #1793)markster1-1/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3149 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-02Fix app_chanisavail.c when passed string is big (bug #1139)citats1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2295 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-29Fix app_chanisavail if there are invalid arguments (bug #1130)citats1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2277 f38db490-d61c-443f-a65b-d21fe96a405b
2003-04-08Fix documentation on chanisavailmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@784 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-18mar mar 18 18:03:23 CET 2003matteo1-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@653 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-16Sun Mar 16 07:00:01 CET 2003matteo1-0/+130
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@646 f38db490-d61c-443f-a65b-d21fe96a405b