Return-Path: MIME-Version: 1.0 In-Reply-To: <1334127438-27617-4-git-send-email-mikel.astiz.oss@gmail.com> References: <1334127438-27617-1-git-send-email-mikel.astiz.oss@gmail.com> <1334127438-27617-4-git-send-email-mikel.astiz.oss@gmail.com> Date: Tue, 17 Apr 2012 15:20:08 +0300 Message-ID: Subject: Re: [PATCH BlueZ v0 3/7] audio: Add multiple device search to manager From: Luiz Augusto von Dentz To: Mikel Astiz Cc: linux-bluetooth@vger.kernel.org, Mikel Astiz Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Mikel, On Wed, Apr 11, 2012 at 9:57 AM, Mikel Astiz wrote: > From: Mikel Astiz > -struct audio_device *manager_find_device(const char *path, > +GSList *manager_find_devices(const char *path, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?const bdaddr_t *src, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?const bdaddr_t *dst, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?const char *interface, > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? gboolean connected) > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? gboolean connected, > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? size_t max_count) > ?{ It doesn't look like this max_count parameter is going to be useful, iirc you only use 0 in the patches so I would recommending leaving it out for now. -- Luiz Augusto von Dentz