aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2006-02-04remove windows-style line endingsrussell1-82/+82
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9150 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-03Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)tilghman2-0/+85
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9138 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming6-69/+62
const-ify some more APIs remove 'type' field from ast_channel, in favor of the one in the channel's tech structure allow string field module users to specify the 'chunk size' for pool allocations update chan_alsa to be compatible with recent const-ification patches git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31define a global null_frame object so when queueing a null frame, you don'trussell1-0/+4
have to allocate one on the stack git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31add a note to hopefully decrease the chance that someone forgets to incrementrussell1-0/+3
.cleancount after changing the ast_channel structure git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8949 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30Merge Rizzo's waitfor update (bug #4584)markster1-5/+28
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29add channel-driver callbacks for variable length DTMFkpfleming1-0/+6
teach ast_write() to call those new callbacks git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8851 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29make ast_read() able to handle channel read()/exception() methods that ↵kpfleming1-1/+7
return a chain of frames cleanup code in ast_read() add AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END so that variable-length DTMF events can be supported teach chan_zap to send DTMF_BEGIN and DTMF_END when appropriate git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26string field manager improvements:kpfleming1-21/+32
use multiple memory blocks, instead of realloc(), ensuring that field pointers will never become invalid or change don't run vs(n)printf twice when doing a field build unless required git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8697 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24convert ast_channel list to use linked list macros (issue #6338)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24- Report SIP reload in manager (issue 5742 with small changes)oej1-1/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8531 f38db490-d61c-443f-a65b-d21fe96a405b
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