diff options
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/agent.c | 6 | ||||
-rw-r--r-- | hcid/agent.h | 3 |
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); |