diff options
author | Patrik Flykt <patrik.flykt@nokia.com> | 2010-09-21 10:07:51 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-09-21 16:49:48 +0200 |
commit | 7b5f1ebe43750da6131ed2434bcaeb4c408af6d5 (patch) | |
tree | f0f5d01fe96445ff3366bd4f2e9e93aacd630454 /src/agent.c | |
parent | afeebd5d189989b40858b0b7270440f446a55ff0 (diff) | |
download | connman-7b5f1ebe43750da6131ed2434bcaeb4c408af6d5.tar.gz connman-7b5f1ebe43750da6131ed2434bcaeb4c408af6d5.tar.bz2 connman-7b5f1ebe43750da6131ed2434bcaeb4c408af6d5.zip |
Remove RequestPassphrase functionality from Agent API
Remove the obsolete __connman_agent_request_passphrase function as the
RequestPassphrase method call has been replaced with RequestInput.
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/agent.c b/src/agent.c index c8341d46..2fadf631 100644 --- a/src/agent.c +++ b/src/agent.c @@ -85,34 +85,6 @@ int __connman_agent_unregister(const char *sender, const char *path) return 0; } -int __connman_agent_request_passphrase(struct connman_service *service, - passphrase_cb_t callback, void *user_data) -{ - DBusMessage *message; - const char *path; - - DBG("service %p", service); - - if (agent_path == NULL) - return -ESRCH; - - message = dbus_message_new_method_call(agent_sender, agent_path, - CONNMAN_AGENT_INTERFACE, "RequestPassphrase"); - if (message == NULL) - return -ENOMEM; - - dbus_message_set_no_reply(message, TRUE); - - path = __connman_service_get_path(service); - - dbus_message_append_args(message, DBUS_TYPE_OBJECT_PATH, &path, - DBUS_TYPE_INVALID); - - g_dbus_send_message(connection, message); - - return -EIO; -} - struct request_input_reply { struct connman_service *service; passphrase_cb_t callback; |