tools: Allow patlooptest to activate and handle buffer events
authorKinsey Moore <kmoore@digium.com>
Mon, 18 Apr 2011 21:20:10 +0000 (21:20 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 18 Apr 2011 21:20:10 +0000 (21:20 +0000)
commit4c177ef39c5ec1b33d86ea22f2edb33244bb6ba7
tree123c759c2cd2be679b2750aa74c7bd9228e75a5e
parentad02c5b314774b8ec6208939e6a0edfcccb01076
tools: Allow patlooptest to activate and handle buffer events

The new buffer events code introduced in revision 9905 gives userspace
processes an interface to activate detection of buffer over and underflows.
This change allows patlooptest to take advantage of that feature to better
inform users of the cause of pattern errors.

Acked-by: Shaun Ruffell <sruffell@digium.com>
(original patch by Matt Fredrickson)

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9909 17933a7a-c749-41c5-a318-cba88f637d49
patlooptest.c