This commit folds in changes to both stringfields (some enhancements to the ...field_...
authorSteve Murphy <murf@digium.com>
Mon, 7 Aug 2006 18:12:51 +0000 (18:12 +0000)
committerSteve Murphy <murf@digium.com>
Mon, 7 Aug 2006 18:12:51 +0000 (18:12 +0000)
commit3042d0e0463459fbb211fdfbd3c295eea76133be
tree672bc4d780de295bc800541b7f673a04f52e6e56
parent2f69bec40ef6a0de3bb30ecb7e60d89677c913fc
This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c
include/asterisk/stringfields.h