From a4c8f6b74733d0cf1d8c730aabd2ff5a7be0c124 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 30 Nov 2012 11:30:35 +0200 Subject: vpn: Add initial support for async connect Needed for agent VPN support. --- vpn/plugins/vpn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vpn/plugins/vpn.h') diff --git a/vpn/plugins/vpn.h b/vpn/plugins/vpn.h index 6693cdba..d1e322c1 100644 --- a/vpn/plugins/vpn.h +++ b/vpn/plugins/vpn.h @@ -44,7 +44,8 @@ struct vpn_driver { int flags; int (*notify) (DBusMessage *msg, struct vpn_provider *provider); int (*connect) (struct vpn_provider *provider, - struct connman_task *task, const char *if_name); + struct connman_task *task, const char *if_name, + vpn_provider_connect_cb_t cb, void *user_data); void (*disconnect) (void); int (*error_code) (int exit_code); int (*save) (struct vpn_provider *provider, GKeyFile *keyfile); -- cgit v1.2.3