All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] [PATCH] XML SDP Record Registration
Date: Tue, 21 Nov 2006 08:41:01 +0100	[thread overview]
Message-ID: <1164094861.28429.13.camel@localhost> (raw)
In-Reply-To: <200611211504.42604.denis.kenzior@trolltech.com>

Hi Denis,

> Attached is a patch that adds an expat based parser for parsing XML records.  
> I've also added a new API function AddServiceRecordAsXML (does the same thing 
> as AddServiceRecord, but in XML format) to the Manager hierarchy.  

looks good to me, but please follow the coding style of BlueZ. In your
you have way to many whitespace between function names and pointers etc.

> 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.

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

  reply	other threads:[~2006-11-21  7:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21  5:04 [Bluez-devel] [PATCH] XML SDP Record Registration Denis KENZIOR
2006-11-21  7:41 ` Marcel Holtmann [this message]
2006-11-21 11:47   ` Marcel Holtmann
2006-11-21 23:59   ` Denis KENZIOR
2006-11-22  6:24     ` Marcel Holtmann
2006-11-23  0:51       ` Denis KENZIOR
2006-11-23  4:46         ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1164094861.28429.13.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.