Skip to contentSkip to conversation

Help on sdp_list_append

Bluez-devel Patrick Soboljew 3 participants 3 messages Apr 27, 2004 – Apr 28, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Patrick,

Quoted 2 lines

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
In reply to Patrick Soboljew

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

Quoted 21 lines · Patrick Soboljew

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

Signature · 14 lines
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
[email protected] +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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel