Add aggregate operations for stuctures with string fields
authorKinsey Moore <kmoore@digium.com>
Thu, 7 Feb 2013 15:16:44 +0000 (15:16 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 7 Feb 2013 15:16:44 +0000 (15:16 +0000)
commit67102c3d3f624ed87e098c59fb86bfaf541e5957
treeeb54f4d6a5d48d770d7d9b1db62d290ef51d358f
parent345253a50e654b266a777a77498afd21a6781a9c
Add aggregate operations for stuctures with string fields

Add struct-level comparison and copying of string fields to reduce the
complexity of whole-struct comparison and copying when using string
fields. The new macros do not take into account non-stringfield data.

Review: https://reviewboard.asterisk.org/r/2308/

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