aboutsummaryrefslogtreecommitdiffstats
path: root/utils/astman.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-29incorporates r159808 from branches/1.4:kpfleming1-2/+2
------------------------------------------------------------------------ r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them format attributes in a consistent way ------------------------------------------------------------------------ in addition: move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159818 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 ↵kpfleming1-2/+9
branch, and add the ones needed for all the new code here too git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153616 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-27Merged revisions 144924-144925 via svnmerge from kpfleming1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r144924 | kpfleming | 2008-09-27 10:00:48 -0500 (Sat, 27 Sep 2008) | 6 lines improve header inclusion process in a few small ways: - it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled - simplify the usage of some of these headers in the AEL-related stuff in the utils directory ........ r144925 | kpfleming | 2008-09-27 10:13:30 -0500 (Sat, 27 Sep 2008) | 2 lines fix some minor issues with rev 144924 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@144949 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07More merges from resolve-shadow warnings:seanbright1-2/+2
utils/ codecs/ and a change I missed from formats/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136408 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Fix trunk breakagetilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130230 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11Janitor patch to change uses of sizeof to ARRAY_LENbbryant1-2/+2
(closes issue #13054) Reported by: pabelanger Patches: ARRAY_LEN.patch2 uploaded by pabelanger (license 224) Tested by: seanbright git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130129 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-10Merged revisions 114051 via svnmerge from mmichelson1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114051 | mmichelson | 2008-04-10 15:59:49 -0500 (Thu, 10 Apr 2008) | 3 lines Fix 1.4 build when LOW_MEMORY is enabled. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114052 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18Go through and fix a bunch of places where character strings were being ↵twilson1-3/+5
interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not actual problems, per se. I also added format attributes to any printf wrapper functions I found that didn't have them. -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109447 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-21Ignore some more unused generated events.tilghman1-1/+10
(closes issue #12042) Reported by: junky Patches: astman_events.diff uploaded by junky (license 177) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104014 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10The fixes in this commit are mainly to allow compiling of trunk with ↵murf1-1/+1
--enable-dev-mode, mutex profiling, lock debugging, etc. Mainly, the version.c needs to be in the OBJS line; asterisk.h was chosen to have the prototypes for ast_get_version, ast_get_version_num; and the ASTERISK_FILE_VERSION macro needs to be used after including asterisk.h in a few files. I hope I did the right thing. If not, let me know. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97656 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04Fix the build of astman. Any file that includes any asterisk sub-headersrussell1-1/+3
needs to first include asterisk.h. (closes issue #11394) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91029 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-08improve linked-list macros in two ways:kpfleming1-2/+3
- the *_CURRENT macros no longer need the list head pointer argument - add AST_LIST_MOVE_CURRENT to encapsulate the remove/add operation when moving entries between lists git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89106 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09Remove redundant includes (patch by snuffy) (Closes issue #10922)tilghman1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85140 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05Merged revisions 49676 via svnmerge from kpfleming1-1/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18Merged revisions 48554 via svnmerge from kpfleming1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48554 | kpfleming | 2006-12-18 05:59:24 -0600 (Mon, 18 Dec 2006) | 3 lines remove some now-unnecessary explicit includes of autoconfig.h clean up per-file dependencies during 'make clean' ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48555 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-06Add support for manager hooks, so you could fire off manager events over IRC ↵file1-1/+1
if you were crazy enough. (issue #5161 reported by anthm with mods by moi) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47229 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30These changes submitted by moy via bug 6992, to add a Dial 'End' event to ↵murf1-0/+2
asterisk. I include some changes to astman to cover other events that have been added. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46541 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-19astman was slightly weirding out over the new Dial and Newcallerid eventsmurf1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45712 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07move autoconfig.h to the include/asterisk directory so it will get installedkpfleming1-1/+1
install asterisk.h include the system's default include directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-0/+2
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12add 'show threads' and 'show profile' commands.rizzo1-0/+19
These are momstly debugging tools for developers, a bit documented in the header files (utils.h), although more documentation is definitely necessary. The performance impact is close to zero(*) so there is no need to compile it conditionally. (*) not completely true - thread destruction still needs to search a list _but_ this can be easily optimized if we end up with hundreds of active threads (in which case, though, the problem is clearly elsewhere). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29Update to code documentation and developer guidelines.oej1-2/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16161 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25don't leak almost 200 bytes for each new channel and store the activerussell1-22/+15
channel list using the linked list macros (issue #6330) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-11Merged revisions 7404,7406,7425,7427,7429-7430 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7404 | tilghman | 2005-12-08 18:32:08 -0500 (Thu, 08 Dec 2005) | 2 lines Documenting two keywords that were previously missing ........ r7406 | tilghman | 2005-12-08 18:45:36 -0500 (Thu, 08 Dec 2005) | 2 lines Bug 5960 ........ r7425 | bweschke | 2005-12-10 13:10:50 -0500 (Sat, 10 Dec 2005) | 4 lines Bug #5877 Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows. ........ r7427 | tilghman | 2005-12-10 20:15:15 -0500 (Sat, 10 Dec 2005) | 2 lines Bug 5967 ........ r7429 | tilghman | 2005-12-10 20:26:51 -0500 (Sat, 10 Dec 2005) | 2 lines Bug 5965 - major bug in AST_LIST_REMOVE ........ r7430 | russell | 2005-12-11 01:08:56 -0500 (Sun, 11 Dec 2005) | 2 lines silence a couple of compiler warnings about pointer signedness ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7431 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-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-2/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07fix astman buildkpfleming1-0/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5870 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-28hopefully the last commit to make things happyrussell1-6/+14
across various versions of newt (bug #4388) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5780 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-26fix usage of const char (bug #4388)russell1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5770 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-24get rid of some compilation warningsrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5757 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-2/+2
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-03fix various compiler warnings (bug #3938)kpfleming1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5367 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-24Fix astman build on FreeBSD (bug #2119)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3503 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14Merge remaining audit patch (save dlfcn.c)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3436 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-08Update default astman types for newer newt (bug #1578)markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2926 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-22gethostbyname isn't reentrant, who knew...markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2734 f38db490-d61c-443f-a65b-d21fe96a405b
2004-02-15Make astman ignore 'StatusComplete' events.citats1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2171 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-23Various warning cleanupsmarkster1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1782 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-19Code cleanups (bug #66)markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1531 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-16Sun Mar 16 07:00:01 CET 2003matteo1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@646 f38db490-d61c-443f-a65b-d21fe96a405b
2003-03-10lun mar 10 21:39:02 CET 2003matteo1-6/+38
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@638 f38db490-d61c-443f-a65b-d21fe96a405b
2002-10-30Version 0.3.0 from FTPmarkster1-19/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@542 f38db490-d61c-443f-a65b-d21fe96a405b
2002-08-07Version 0.2.0 from FTPmarkster1-0/+653
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@501 f38db490-d61c-443f-a65b-d21fe96a405b