Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] hcid patch (patch 00.13)
Date: Tue, 11 Oct 2005 13:52:08 +0200	[thread overview]
Message-ID: <1129031528.5681.14.camel@localhost.localdomain> (raw)
In-Reply-To: <20051011104238.GA29541@localhost.localdomain>

Hi Johan,

> > I applied your patch and the compiler on my 64-bit machine is much
> > happier now, but I think that we need to allocate a structure and pass
> > the pointer to it around instead of some casting tricks. Would you mind
> > fixing it?
> 
> I'm not really sure what you mean. Is there some other information
> besides the device id that needs to be passed around (i.e. what should
> go into this struct)? If we start using allocated structs it means that
> a lot of the memory handling stuff that my first patch removed needs to
> go back.

I know, but this is the only clean way. The casts are a little bit too
ugly. However since hcid is only a playfield for the the D-Bus support,
I think we can live with it. For bluetoothd this code will be too ugly,
but we might change it anyhow and use or own event loop implementation.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-10-11 11:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-06 14:31 [Bluez-devel] hcid patch (patch 00.13) Claudio Takahasi
2005-10-08 15:09 ` Marcel Holtmann
2005-10-08 23:05   ` Claudio Takahasi
2005-10-09 22:20     ` Marcel Holtmann
2005-10-10 19:58       ` Johan Hedberg
2005-10-10 20:49         ` Marcel Holtmann
2005-10-11 10:00           ` Johan Hedberg
2005-10-11 10:15             ` Marcel Holtmann
2005-10-11 10:42               ` Johan Hedberg
2005-10-11 11:52                 ` Marcel Holtmann [this message]
2005-10-11 12:17               ` Steven Singer
2005-10-11 14:49                 ` Johan Hedberg
2005-10-11 17:10                   ` [Bluez-devel] Bluetooth 2.0 dongle Mitja Pufic
2005-10-11 17:43                     ` Marcel Holtmann
2005-10-12 12:37                       ` Mitja Pufic
2005-10-11 17:46                   ` [Bluez-devel] hcid patch (patch 00.13) 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=1129031528.5681.14.camel@localhost.localdomain \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox