public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] [Bluez-devel]Help on sdp_list_append
@ 2004-04-27 13:16 Patrick Soboljew
  2004-04-27 13:48 ` Marcel Holtmann
  2004-04-28  8:49 ` Stephen Crane
  0 siblings, 2 replies; 3+ messages in thread
From: Patrick Soboljew @ 2004-04-27 13:16 UTC (permalink / raw)
  To: bluez-devel

Hi there,

I'm new in programming applications using Bluez. Now I'm wondering about the parameters
in the function sdp_list_append. As return value you get a list and the the first parameter is also a list. When to I fill in a "0" there and when do I put a list in?

Thanks for your help
____________________________________________________________________
Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Sober.A-F!
Kostenfrei fuer FreeMail Nutzer. http://f.web.de/?mc=021158



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] [Bluez-devel]Help on sdp_list_append
  2004-04-27 13:16 [Bluez-devel] [Bluez-devel]Help on sdp_list_append Patrick Soboljew
@ 2004-04-27 13:48 ` Marcel Holtmann
  2004-04-28  8:49 ` Stephen Crane
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2004-04-27 13:48 UTC (permalink / raw)
  To: Patrick Soboljew; +Cc: BlueZ Mailing List

Hi Patrick,

> I'm new in programming applications using Bluez. Now I'm wondering about the parameters
> in the function sdp_list_append. As return value you get a list and the the first parameter is also a list. When to I fill in a "0" there and when do I put a list in?

for the first item on the list it is NULL, for all others you can use
the return values of the previous.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-devel] [Bluez-devel]Help on sdp_list_append
  2004-04-27 13:16 [Bluez-devel] [Bluez-devel]Help on sdp_list_append Patrick Soboljew
  2004-04-27 13:48 ` Marcel Holtmann
@ 2004-04-28  8:49 ` Stephen Crane
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Crane @ 2004-04-28  8:49 UTC (permalink / raw)
  To: Patrick Soboljew; +Cc: bluez-devel

AFAICR it returns the head of the list. If you supply 0 for the list
parameter it will allocate a new head.

On Tue, 2004-04-27 at 14:16, Patrick Soboljew wrote:
> Hi there,
> 
> I'm new in programming applications using Bluez. Now I'm wondering about the parameters
> in the function sdp_list_append. As return value you get a list and the the first parameter is also a list. When to I fill in a "0" there and when do I put a list in?
> 
> Thanks for your help
> ____________________________________________________________________
> Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Sober.A-F!
> Kostenfrei fuer FreeMail Nutzer. http://f.web.de/?mc=021158
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
> For a limited time only, get FREE Ground shipping on all orders of $35
> or more. Hurry up and shop folks, this offer expires April 30th!
> http://www.thinkgeek.com/freeshipping/?cpg=12297
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-- 
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-28  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-27 13:16 [Bluez-devel] [Bluez-devel]Help on sdp_list_append Patrick Soboljew
2004-04-27 13:48 ` Marcel Holtmann
2004-04-28  8:49 ` Stephen Crane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox