aboutsummaryrefslogtreecommitdiffstats
path: root/utils.c
AgeCommit message (Collapse)AuthorFilesLines
2005-09-23move process_quotes_and_slashes to utils.c since it is used by both pbx_ael ↵russell1-0/+26
and pbx_config clean up some formatting remove some commented out reference code move unload_module in pbx_ael down to be with the rest of the standard module functions git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6630 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-4/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14don't double define our own string functions on platforms that don't have ↵kpfleming1-2/+2
them (issue #5169) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6587 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-02fix a couple of warnings on osxrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6500 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29encode/decode URIs in 'pedantic' mode (issue #3923)kpfleming1-83/+143
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6441 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23make the warning message be LOG_WARNING (issue #4960)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6388 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-07more fixes for gcc4 warnings ...russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6298 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03Fix solaris vasprintf (don't free the memory, duh) (bug #4890)markster1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6271 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03Fix vasnprintf emulation (bug #4882)markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6258 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20move strtoq into new string files (bug #4740)kpfleming1-0/+97
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6171 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19restore warning about negative timestamps now that it is fixedrussell1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6161 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19suppress timestamp message until we can figure out where it is coming from,russell1-2/+4
since it appears that this isn't causing a real problem git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6159 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-0/+49
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15phase two of string portability stuff:kpfleming1-13/+38
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15more ifdef cleanup to match proper Linux macroskpfleming1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6135 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15Fix breakage caused by bug #4669. Next time let's test the build ontwisted1-1/+1
linux before commiting a portability patch ;) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6134 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15first phase of proper fix for portable string function problems (bug #4669)kpfleming1-1/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6133 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24split up string/time functions into separate header fileskpfleming1-17/+57
make more LOW_MEMORY optimizations, and ensure that a non-inline version of each inlinable function is always available (for external modules) move compiler-specific stuff into a separate header file git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6008 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-23make inlinable functions only need the function body in one file, and ↵kpfleming1-54/+3
respond properly to LOW_MEMORY being defined make ast_copy_string inlinable, and ast_tvdiff_ms LOW_MEMORY aware git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18Fix up utils nonsensemarkster1-5/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5932 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17don't let ast_trim_blanks operate on empty strings or run off the beginning ↵kpfleming1-6/+8
of the string git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5929 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17string/whitespace handling cleanups (bug #4449, with mods)kpfleming1-6/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5924 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-0/+4
add per-file revision tags and 'show version files' CLI command git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-27Fix cast to int from pointer (duh!)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5779 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20make IF dialplan function handle quoted strings properly (bug #4322, with ↵kpfleming1-10/+26
API mods) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5750 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15add ast_build_string library function (from bug #3644)kpfleming1-0/+23
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5684 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-09Provide proper code attribution for public domain gethostbyname_rmarkster1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5609 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)kpfleming1-10/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5567 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-03fix breakage when ast_copy_string is used to copy substrings (bug #4146, but ↵kpfleming1-1/+3
a different fix) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5561 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-02add experimental ast_copy_string() function to be used in place of strncpy() ↵kpfleming1-0/+9
(see discussion on asterisk-dev) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-5/+5
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-06*** empty log message ***kpfleming1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17Add support for Solaris/x86 (bug #3064)markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5199 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-08Fix compile of utils.c on *BSD (Bug #3724)twisted1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5152 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05Make mpg123 behave more nicelymarkster1-0/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5142 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Make stack size be selectablemarkster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5132 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-03Roll back previous change due to crossing of fixestwisted1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5128 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-03Fix AST_STACKSIZE to match utils.h of AST_STACK_SIZE (bug 3706)twisted1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5127 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-03Fix stack size (take 2) (bug #3706)markster1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5126 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-03Support > 300 threads on x86-32 and other 32-bit systemsmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5123 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-18Add OEJ's md5 app (bug #3604)markster1-0/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5048 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
2005-01-15Make groups be 64-bits (bug #3351, with mods)markster1-27/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4803 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-08Include missing file (bug #3277)markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4712 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-03Merge OEJ's print groups feature (bug #3228, with changes)markster1-0/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4636 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14Merge slimey's Solaris compatibility (with small mods) (bug #2740)markster1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-17Thread fixes, vm fix (bug #2665)markster1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4030 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-05Major changes to res_config to support centralized config, eliminate ↵markster1-0/+13
configuration of res_config_odbc, update config examples, integrate with iax2, remove mysql friends from iax2, put on flame retardant vest... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3914 f38db490-d61c-443f-a65b-d21fe96a405b