2004-04-27 13:16:45

by Patrick Soboljew

[permalink] [raw]
Subject: [Bluez-devel] [Bluez-devel]Help on sdp_list_append

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


2004-04-28 08:49:17

by Stephen Crane

[permalink] [raw]
Subject: Re: [Bluez-devel] [Bluez-devel]Help on sdp_list_append

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

2004-04-27 13:48:01

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] [Bluez-devel]Help on sdp_list_append

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