Return-Path: From: Michael Terry To: BlueZ development In-Reply-To: <1214605438.11537.0.camel@violet.holtmann.net> References: <1214593557.6131.26.camel@bongo> <1214605438.11537.0.camel@violet.holtmann.net> Date: Mon, 30 Jun 2008 09:15:13 -0400 Message-Id: <1214831713.6764.8.camel@bongo> Mime-Version: 1.0 Subject: Re: [Bluez-devel] Wizard patch Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2045204298==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============2045204298== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-GYcs8pUiBARcYFzhWMSv" --=-GYcs8pUiBARcYFzhWMSv Content-Type: multipart/mixed; boundary="=-VCo5Yyhyp1mFzT78BalJ" --=-VCo5Yyhyp1mFzT78BalJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2008-06-28 at 00:23 +0200, Marcel Holtmann wrote: > looks nice. However you have to break this up into pieces for. Sent > small patches and I can quickly review and commit them. Here's a patch to add callback support to many of the common/client calls. It also adds a new function: bluetooth_client_cancel_call(). This cancels the last client call made for the given adapter/address. Admittedly, it would be fancier if, for example, bluetooth_client_create_bonding() gave back a handle which could be used to cancel its call, rather than just keeping track of the last one. But the cancel-last-call style was simpler and sufficient for the wizard's purposes and presumably sufficient for others' purposes (by virtue of the lack of canceling before). -mt --=-VCo5Yyhyp1mFzT78BalJ Content-Disposition: attachment; filename=callback.diff Content-Type: text/x-patch; name=callback.diff; charset=utf-8 Content-Transfer-Encoding: base64 SW5kZXg6IGNvbW1vbi9jbGllbnQuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6IC9jdnNyb290L2Js dWV6L2dub21lL2NvbW1vbi9jbGllbnQuYyx2DQpyZXRya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yhjbGllbnQsIGFkYXB0ZXItPnBhdGgsIGFkZHJlc3Ms IE5VTEwsIE5VTEwpOw0KIA0KIAlnX2ZyZWUoYWRkcmVzcyk7DQogfQ0KQEAgLTMzOCw5ICszMzgs OSBAQCBzdGF0aWMgdm9pZCB0cnVzdGVkX2NhbGxiYWNrKEd0a1dpZGdldCAqDQogCQkJCQlDT0xV TU5fVFJVU1RFRCwgJnRydXN0ZWQsIC0xKTsNCiANCiAJaWYgKHRydXN0ZWQgPT0gRkFMU0UpDQot CQlibHVldG9vdGhfY2xpZW50X3NldF90cnVzdGVkKGNsaWVudCwgYWRhcHRlci0+cGF0aCwgYWRk cmVzcyk7DQorCQlibHVldG9vdGhfY2xpZW50X3NldF90cnVzdGVkKGNsaWVudCwgYWRhcHRlci0+ cGF0aCwgYWRkcmVzcywgTlVMTCwgTlVMTCk7DQogCWVsc2UNCi0JCWJsdWV0b290aF9jbGllbnRf cmVtb3ZlX3RydXN0KGNsaWVudCwgYWRhcHRlci0+cGF0aCwgYWRkcmVzcyk7DQorCQlibHVldG9v dGhfY2xpZW50X3JlbW92ZV90cnVzdChjbGllbnQsIGFkYXB0ZXItPnBhdGgsIGFkZHJlc3MsIE5V TEwsIE5VTEwpOw0KIA0KIAlnX2ZyZWUoYWRkcmVzcyk7DQogfQ0K --=-VCo5Yyhyp1mFzT78BalJ-- --=-GYcs8pUiBARcYFzhWMSv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIaNxh53i2YxNrdi0RAithAJ0cngxnf9m/M5oaHUUtw8D4QSzeCwCgtpSl uCRQ5fBL6lDqhyK4k9bvbwA= =NvLH -----END PGP SIGNATURE----- --=-GYcs8pUiBARcYFzhWMSv-- --===============2045204298== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php --===============2045204298== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============2045204298==--