From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:36327 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757955AbZLET3T (ORCPT ); Sat, 5 Dec 2009 14:29:19 -0500 Message-ID: <4B1AB491.90807@infradead.org> Date: Sat, 05 Dec 2009 17:29:21 -0200 From: Mauro Carvalho Chehab MIME-Version: 1.0 To: Michael Krufky CC: VDR User , LMML Subject: Re: Details about DVB frontend API References: <20091022211330.6e84c6e7@hyperion.delvare> <4B02FDA4.5030508@infradead.org> <1a297b360911200129pe5af064wf9cf239851ac5c46@mail.gmail.com> <200911201237.31537.julian@jusst.de> <1a297b360911200808k12676112lf7a11f3dfd44a187@mail.gmail.com> <4B07290B.4060307@jusst.de> <37219a840912041259w499f2347he1b25c16550d671f@mail.gmail.com> <4B1A98B4.3050606@infradead.org> <303a8ee30912050942u21d8904et5c8d850045a462a6@mail.gmail.com> In-Reply-To: <303a8ee30912050942u21d8904et5c8d850045a462a6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Michael Krufky wrote: > On Sat, Dec 5, 2009 at 12:30 PM, Mauro Carvalho Chehab > wrote: >> Michael Krufky wrote: >>> On Fri, Dec 4, 2009 at 3:02 PM, VDR User wrote: >>> I have stated that I like Manu's proposal, but I would prefer that the >>> get_property (s2api) interface were used, because it totally provides >>> an interface that is sufficient for this feature. >>> >>> Manu and I agree that these values should all be read at once. >>> >>> I think we all (except Mauro) agree that the behavior within the >>> driver should fetch all statistics at once and return it to userspace >>> as a single structure with all the information as it all relates to >>> each other. >> You're contradicting yourself: by using S2API, the userspace API won't >> be using a single structure, since S2API will break them into pairs of >> attributes/values. > > Incorrect. Userspace would issue a get_property call and kernelspace > would return a block of key/value pairs. If userspace does a call with space for just one key/value pair, where do you expect to store the other key/value pairs? Mauro.