aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/utils.h
AgeCommit message (Collapse)AuthorFilesLines
2006-10-12ensure that IAX2 and SIP sockets allow UDP fragmentation when running on ↵kpfleming1-0/+15
Linux (thanks to Brian Candler on the asterisk-dev list for the tip) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44955 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5569 minus lock.h changeskpfleming1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01add new GCC-specific macro and force inlining of certain functions where ↵kpfleming1-13/+13
speed is paramount, even when optimization is disabled git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6929 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31don't pass short arguments by value, it will cause compiler warnings on most ↵kpfleming1-6/+6
platforms about implicit conversions (thanks Luigi!) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6901 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-29do saturated math properly (thanks to the eagle-eyes of Tony Mountifield)kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6888 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28ensure that SLINEAR volume adjustments don't wrap around short integer maximumskpfleming1-0/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6882 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-4/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16More utility cleanupsmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6798 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-23move process_quotes_and_slashes to utils.c since it is used by both pbx_ael ↵russell1-0/+8
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-08first set of Cygwin portability stuff (issue #4678)kpfleming1-3/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30major header file cleanup: license, copyrights, descriptions, markers, etc.kpfleming1-4/+15
remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6454 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29encode/decode URIs in 'pedantic' mode (issue #3923)kpfleming1-1/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6441 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19split acl and netsock code into separate files, in preparation for new ↵kpfleming1-2/+10
netsock implementation various minor cleanups git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6165 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-11simplify (and document!) macro for inlinable API functions (inspired by bug ↵kpfleming1-1/+0
#4603, with slightly different implementation) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6090 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24split up string/time functions into separate header fileskpfleming1-218/+2
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-9/+45
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-0/+49
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5932 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17string/whitespace handling cleanups (bug #4449, with mods)kpfleming1-0/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5924 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-14don't use pthread_mutex_lockkpfleming1-1/+0
don't double-include pthread.h in utils.h, which can cause the pthread_mutex_lock warning to not be generated on some systems git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5906 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09move timeval-diff function into utils.h from app_alarmreceiver.ckpfleming1-0/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5882 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07header ordering fixes for FreeBSD (pending a global merge into asterisk.h) ↵kpfleming1-0/+1
(bug #4484) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20make IF dialplan function handle quoted strings properly (bug #4322, with ↵kpfleming1-1/+37
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-1/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5684 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-02add experimental ast_copy_string() function to be used in place of strncpy() ↵kpfleming1-4/+29
(see discussion on asterisk-dev) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-1/+1
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17Add support for Solaris/x86 (bug #3064)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5199 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05Make mpg123 behave more nicelymarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5142 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Fix stack size for ADSI (needs 128k by itself!)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5138 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Make stack size be selectablemarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5132 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-03Fix stack size (take 2) (bug #3706)markster1-9/+2
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-0/+2
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/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5048 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-26Fix C++ issues (bug #'s 3425, 3426)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4892 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-20Fix ODBC to clear title each time (bug #3379)markster1-0/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4851 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-15Make groups be 64-bits (bug #3351, with mods)markster1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4803 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-10More flagification, courtesy drumkilla (bug #3280)markster1-0/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4748 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-08Warn if flags is signed instead of unsigned (bug #3279)markster1-14/+67
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4713 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-03Merge OEJ's print groups feature (bug #3228, with changes)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4636 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-23Add "ast_flags_all" mask (bug #3136)markster1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4543 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19Merge drumkilla's bitfield patch for SIP (bug #3083)markster1-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4487 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-16Merge russell's flag macro patch (with slight mods) (bug #3046)markster1-0/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4469 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-17Thread fixes, vm fix (bug #2665)markster1-2/+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/+2
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
2004-08-27Merge "show applications" from corydon76 (bug #2291)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3665 f38db490-d61c-443f-a65b-d21fe96a405b
2004-08-08Merge BSD stack size work (bug #2067)markster1-0/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3596 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29FreeBSD fix for utils (bug #1949)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3352 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-29Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ↵markster1-0/+3
ast_inet_ntoa's (but #1944) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3345 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-25Add outgoing OSP support (SIP only at this point)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3296 f38db490-d61c-443f-a65b-d21fe96a405b