From: Dmitriy Paliy <dmitriy.paliy@nokia.com>
To: linux-bluetooth@vger.kernel.org
Cc: Dmitriy Paliy <dmitriy.paliy@nokia.com>
Subject: [PATCH 1/7] Add phonebook request
Date: Tue, 23 Nov 2010 20:11:23 +0200 [thread overview]
Message-ID: <1290535889-17038-2-git-send-email-dmitriy.paliy@nokia.com> (raw)
In-Reply-To: <1290535889-17038-1-git-send-email-dmitriy.paliy@nokia.com>
Add phonebook request structure to phonebook-tracker and pointer to
pending call in PBAP object.
---
plugins/pbap.c | 1 +
plugins/phonebook-tracker.c | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/plugins/pbap.c b/plugins/pbap.c
index 1a7d001..3264e85 100644
--- a/plugins/pbap.c
+++ b/plugins/pbap.c
@@ -147,6 +147,7 @@ struct pbap_session {
struct pbap_object {
GString *buffer;
struct pbap_session *session;
+ void *request;
};
static const uint8_t PBAP_TARGET[TARGET_SIZE] = {
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index 20053f6..afe0f2f 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -1035,6 +1035,10 @@ struct phonebook_index {
int index;
};
+struct phonebook_req {
+ DBusPendingCall *call;
+};
+
static DBusConnection *connection = NULL;
static const char *name2query(const char *name)
--
1.7.0.4
next prev parent reply other threads:[~2010-11-23 18:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 18:11 [PATCH 0/7] Cancel pending phonebook request Dmitriy Paliy
2010-11-23 18:11 ` Dmitriy Paliy [this message]
2010-11-23 21:07 ` [PATCH 1/7] Add " Luiz Augusto von Dentz
2010-11-23 18:11 ` [PATCH 2/7] Add phonebook_req_cancel prototype Dmitriy Paliy
2010-11-23 18:11 ` [PATCH 3/7] Add phonebook_req_cancel to tracker Dmitriy Paliy
2010-11-23 18:11 ` [PATCH 4/7] Add update phonebook_pull Dmitriy Paliy
2010-11-23 18:11 ` [PATCH 5/7] Add update phonebook_get_entry Dmitriy Paliy
2010-11-23 18:11 ` [PATCH 6/7] Add update phonebook_create_cache Dmitriy Paliy
2010-11-23 18:11 ` [PATCH 7/7] Code clean-up: lines longer 80 symbols removed Dmitriy Paliy
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=1290535889-17038-2-git-send-email-dmitriy.paliy@nokia.com \
--to=dmitriy.paliy@nokia.com \
--cc=linux-bluetooth@vger.kernel.org \
/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