summaryrefslogtreecommitdiff
path: root/src/agent.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2011-06-14 12:55:29 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-06-21 11:39:01 +0200
commit3723f489f57481fdc996371ef4e3c1a47b6ff770 (patch)
tree6a1e7631f8ede23bef2186329c8ded31e00d2fca /src/agent.c
parent28c2a79b22405dcc848633bdaff0dd716520b4b5 (diff)
downloadconnman-3723f489f57481fdc996371ef4e3c1a47b6ff770.tar.gz
connman-3723f489f57481fdc996371ef4e3c1a47b6ff770.tar.bz2
connman-3723f489f57481fdc996371ef4e3c1a47b6ff770.zip
agent: Unify request input callback for passphrase and login based input.
Diffstat (limited to 'src/agent.c')
-rw-r--r--src/agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/agent.c b/src/agent.c
index 3a8674e8..56217efa 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -87,7 +87,7 @@ int __connman_agent_unregister(const char *sender, const char *path)
struct request_input_reply {
struct connman_service *service;
- passphrase_cb_t callback;
+ authentication_cb_t callback;
void *user_data;
};
@@ -258,7 +258,7 @@ static void request_input_append_wps(DBusMessageIter *iter, void *user_data)
}
int __connman_agent_request_input(struct connman_service *service,
- passphrase_cb_t callback, void *user_data)
+ authentication_cb_t callback, void *user_data)
{
DBusMessage *message;
const char *path;