summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-03-14 20:21:52 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-03-14 20:21:52 +0000
commitb40abf7a95c0e988f7afb795d1d103ff0b91d4d0 (patch)
tree3ec67de7bc7d4c81617d53fe77ca2c571613c564
parentcddd79a9481f7d38aaf153abe6f0753928c6662e (diff)
Add placeholder for Agent.ConfirmModeChange
-rw-r--r--hcid/agent.c6
-rw-r--r--hcid/agent.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/hcid/agent.c b/hcid/agent.c
index 373810e1..2f70e716 100644
--- a/hcid/agent.c
+++ b/hcid/agent.c
@@ -551,6 +551,12 @@ failed:
return -1;
}
+int agent_confirm_mode_change(struct agent *agent, const char *new_mode,
+ agent_cb cb, void *user_data)
+{
+ return 0;
+}
+
static void send_cancel_request(struct agent_request *req)
{
DBusMessage *message;
diff --git a/hcid/agent.h b/hcid/agent.h
index 7cf703af..ff4dc678 100644
--- a/hcid/agent.h
+++ b/hcid/agent.h
@@ -47,6 +47,9 @@ int agent_request_passkey(struct agent *agent, const char *device,
int agent_confirm(struct agent *agent, const char *device, const char *pin,
agent_cb cb, void *user_data);
+int agent_confirm_mode_change(struct agent *agent, const char *new_mode,
+ agent_cb cb, void *user_data);
+
int agent_cancel(struct agent *agent);
gboolean agent_matches(struct agent *agent, const char *name, const char *path);