Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <1164094861.28429.13.camel@localhost> References: <200611211504.42604.denis.kenzior@trolltech.com> <1164094861.28429.13.camel@localhost> Date: Tue, 21 Nov 2006 12:47:12 +0100 Message-Id: <1164109632.28429.31.camel@localhost> Mime-Version: 1.0 Subject: Re: [Bluez-devel] [PATCH] XML SDP Record Registration Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Denis, > > I've modified the service-agent example to take a new argument, --xmlfile, > > which will attempt to register a record stored in an XML format. > > Nice idea. I like that. The dbus_message_append_args() can actually add > more then one argument at a time, this is why it is called "args". And > please use mmap() for reading the XML file. the code is untested, but I committed a version to the CVS that actually implements your idea. Regards Marcel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel