aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2006-01-22eliminate some compiler warningsrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8443 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21don't do the memcpy inside of ast_strdupa if we know that __builtin_alloca russell1-5/+3
was not successful git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8393 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21remove optimization where its benefits are negligiblerussell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8368 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20- move ast_strdupa from channel.h to utils.hrussell2-16/+31
- attempt to log an error message if the __builtin_alloca inside of ast_strdupa fails. - document the fact that it is known and intended behavior for ast_strdupa to cause Asterisk to crash if the alloca fails - use __builtin_expect when checking for allocation failure in all of the allocation wrappers New Janitor Project! Anywhere that we check for a successful allocation after a call to ast_strdupa is unnecessary and should be removed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8356 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18constify arguments in more places where strings should not be modified ↵russell2-8/+7
(issue #6286) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18allows for use of the originate function frommogorman1-0/+4
the cli patch 5847 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8186 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18cli.h cleanup and additional documentationmogorman1-15/+43
from patch 6272 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8179 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17Doxygen updateoej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8118 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14Small documentation update for new AST_FRAME_MODEM typemattf1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8073 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14added feature for pausing and unpausing the mogorman1-0/+16
monitor app from manager and in the call through features.conf bug 5395 for the patch git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8070 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13Various cleanups from comments in an email from Luigi Rizzo. Thank you!russell1-17/+7
- Use a cleaner syntax for declaring the allocation macros - Fix return value for ast_strdup/ast_strndup - remove safe_strdup from app_macro, since ast_strup does the same thing - fix a place in app_queue where ast_calloc+strncpy was used instead of ast_strdup. If you are helping out with these conversions, please watch out for other places where this is done. - add a note to the coding guidelines about the fix to app_queue git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8065 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13Made chan_agent code parsing more robust andmogorman1-0/+13
implemented new macro code. from 6228. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8064 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12More changes to make t.38 support workmattf1-2/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12Changes to add udptl to asterisk (preliminary merging of the t.38 patch)mattf1-0/+119
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8014 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12As we no longer have chan_modem this file is not usedmogorman1-184/+0
either thanks rizzo in refrence to 6217 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11add doxygen documentation and fix various issues with ast_dtmf_streamrussell1-2/+12
(discussed in issue #6087) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7969 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11- add AST_LIST_HEAD_NOLOCK_STATIC, similar to AST_LIST_HEAD_STATIC, but ↵russell1-0/+14
without the lock! - store registered channel backends using linked list macros git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7968 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11lock list of translators *before* recalculating translation matrix.russell1-1/+2
Also, store translators using linked list macros. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7967 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11remove stray headerrussell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10Add wrappers for commonly used memory allocation functions. These wrappersrussell1-0/+149
add an automatically generated Asterisk log message if the allocation fails for some reason. Otherwise, they are functionally the same, with the exception of ast_strdup and ast_strndup. These functions have the added ability to accept a NULL argument without error, which will just be ignored without generating an error. The coding guidelines have also been updated to reflect all of this information. (issue #4996) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10Bug 5961 - new RAND() functiontilghman1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7920 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-08Commiting bugfix 5310. added functions to astobjmogorman1-0/+70
for queue like structure. astobj_container_link_end astobj_container_link_start astobj_conatiner_unlink_start git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Add support for H.264 with SIP and recordingmarkster1-0/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Bug 6164 - Allow ast_skip_blanks on const strings without spewing warningtilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7854 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Bug 6162 - Constify manager_event argumentstilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7853 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-06Changes to allow receiving japanese callerid (Bug #5928)mattf1-0/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-06ensure that string field 'build' operation only evaluates arguments one timekpfleming1-11/+20
fix some minor documentation errors return proper type from string field space allocator git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7841 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05Merged revisions 7827 via svnmerge fromtilghman1-1/+1
/branches/1.2 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7828 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05Doxygen updatesoej1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7814 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04add memory-pool based string field management for structureskpfleming4-4/+297
convert chan_sip sip_pvt and sip_registry structures to use string fields add 'const' qualifiers to a few API calls that don't modify their input strings add an asprintf() wrapper to astmm git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7797 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03update copyright headers for files changed this yearkpfleming3-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03Merged revisions 7740 via svnmerge from kpfleming1-3/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7740 | kpfleming | 2006-01-03 11:24:56 -0600 (Tue, 03 Jan 2006) | 4 lines revert incorrect fix for bug #6048 from revision 7709 put in correct (simpler) fix add doxygen docs for channel spy 'state' values ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7741 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03Bug #6109: Fix unprotected list in RTP, implement AST_LIST macros, update ↵oej1-11/+12
doxygen docs git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7730 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03Bug #6118: Clean up list handling in image.c (drumkilla)oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7728 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-01fix a couple of doxygen errorsrussell1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7699 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-31- fix some doxygen errorsrussell4-3/+3
- add the flag definitions to the page about global options git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7690 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27Bug 5183 - Inline stack backtracestilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7646 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-24minor cleanups ...russell1-1/+1
- use for loops instead of while loops for basic list traversals - only calculate word length one time in CLI complete functions - use calloc instead of malloc + memset - remove some unnecessary casts - formatting tweaks git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20- move the string join() function to utils.c since it is used in both cli.c ↵russell1-0/+13
and res_agi.c - reimplement ast_join to be of linear effieciency instead of quadratic - remove some useless checks for "if (e)" - reorder checks for strings starting with '_' to avoid a useless call to ast_join() - check array bounds when parsing arguments to AGI (issue #5868) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7556 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20Major RTP fixes for using inbound SDP on outbound connection, get rid of markster2-1/+6
old local rtp stuff... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20Major peformance improvements to meetmemarkster1-0/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-17Merged revisions 7508 via svnmerge fromtilghman1-2/+3
/branches/1.2 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7509 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-12Typotilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7434 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-11Bug 5965 - major bug in AST_LIST_REMOVEtilghman1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7428 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell2-19/+72
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-12-03Bug 5858 - Make the chanvars.c functions return a 'const char *'tilghman5-14/+14
This should prevent us from unintentionally changing variable values when they're returned from pbx_builtin_getvar_helper. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming74-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 ↵kpfleming1-2/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-23issue #5826twisted1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7188 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11issue #5590kpfleming2-104/+139
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7068 f38db490-d61c-443f-a65b-d21fe96a405b