summaryrefslogtreecommitdiff
path: root/utils.c
AgeCommit message (Collapse)Author
2005-11-08issue #5569 minus lock.h changesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01issue #4678Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01issue #5549Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31provide an alternate getloadavg implementation and a fallback for systems ↵Kevin P. Fleming
that don't have it at all (issue #5549 with minor mods) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31silence compiler warningKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26change ast_strlen_zero to also check for the string to be definedRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26remove duplicate headerRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26more doxygenification (issue #5513)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21Fix segfault in CVS head (sorry about that)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21Be sure to avoid octal interpretations of IP's (bug #5477)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-16More utility cleanupsMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-01add ast_build_string_va(), which accepts a varargs list directlyKevin P. Fleming
ensure the _entire_ manager_event() output is either queued or sent via ast_carefulwrite() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29ensure scheduling priority is inherited into new threads (issue #5293)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-23move process_quotes_and_slashes to utils.c since it is used by both pbx_ael ↵Russell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@6630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14don't double define our own string functions on platforms that don't have ↵Kevin P. Fleming
them (issue #5169) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-02fix a couple of warnings on osxRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29encode/decode URIs in 'pedantic' mode (issue #3923)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23make the warning message be LOG_WARNING (issue #4960)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-07more fixes for gcc4 warnings ...Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03Fix solaris vasprintf (don't free the memory, duh) (bug #4890)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03Fix vasnprintf emulation (bug #4882)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20move strtoq into new string files (bug #4740)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19restore warning about negative timestamps now that it is fixedRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19suppress timestamp message until we can figure out where it is coming from,Russell Bryant
since it appears that this isn't causing a real problem git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15add a library of timeval manipulation functions, and change a large number ↵Kevin P. Fleming
of usses to use the new functions (bug #4504) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15phase two of string portability stuff:Kevin P. Fleming
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15more ifdef cleanup to match proper Linux macrosKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15Fix breakage caused by bug #4669. Next time let's test the build onJosh Roberson
linux before commiting a portability patch ;) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15first phase of proper fix for portable string function problems (bug #4669)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24split up string/time functions into separate header filesKevin P. Fleming
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: https://origsvn.digium.com/svn/asterisk/trunk@6008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23make inlinable functions only need the function body in one file, and ↵Kevin P. Fleming
respond properly to LOW_MEMORY being defined make ast_copy_string inlinable, and ast_tvdiff_ms LOW_MEMORY aware git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18Fix up utils nonsenseMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-17don't let ast_trim_blanks operate on empty strings or run off the beginning ↵Kevin P. Fleming
of the string git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-17string/whitespace handling cleanups (bug #4449, with mods)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06remove experimental module version tagsKevin P. Fleming
add per-file revision tags and 'show version files' CLI command git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-27Fix cast to int from pointer (duh!)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-20make IF dialplan function handle quoted strings properly (bug #4322, with ↵Kevin P. Fleming
API mods) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15add ast_build_string library function (from bug #3644)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-09Provide proper code attribution for public domain gethostbyname_rMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03fix breakage when ast_copy_string is used to copy substrings (bug #4146, but ↵Kevin P. Fleming
a different fix) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02add experimental ast_copy_string() function to be used in place of strncpy() ↵Kevin P. Fleming
(see discussion on asterisk-dev) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22phase 1 of header include cleanup (bug #4067)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06*** empty log message ***Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17Add support for Solaris/x86 (bug #3064)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-08Fix compile of utils.c on *BSD (Bug #3724)Josh Roberson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5152 65c4cc65-6c06-0410-ace0-fbb531ad65f3