Return-Path: MIME-Version: 1.0 In-Reply-To: <1315845241-17077-1-git-send-email-luiz.dentz@gmail.com> References: <1315845241-17077-1-git-send-email-luiz.dentz@gmail.com> From: Lucas De Marchi Date: Mon, 12 Sep 2011 14:57:17 -0300 Message-ID: Subject: Re: [PATCH BlueZ 1/5 v2] AVRCP: use a vtable to simplify PDU parsing/handling To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz On Mon, Sep 12, 2011 at 1:33 PM, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz > > This simplify a bit the handling by introducing common checks before > calling the handler callback, it is also much easier to add/remove > new PDUs in this way. > --- > ?audio/control.c | ?321 +++++++++++++++++++++---------------------------------- > ?1 files changed, 124 insertions(+), 197 deletions(-) > Ack. Lucas De Marchi