summaryrefslogtreecommitdiff
path: root/vpn/plugins/vpn.h
diff options
context:
space:
mode:
Diffstat (limited to 'vpn/plugins/vpn.h')
-rw-r--r--vpn/plugins/vpn.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vpn/plugins/vpn.h b/vpn/plugins/vpn.h
index 6f86aac5..3d2b66c5 100644
--- a/vpn/plugins/vpn.h
+++ b/vpn/plugins/vpn.h
@@ -45,9 +45,10 @@ struct vpn_driver {
int (*notify) (DBusMessage *msg, struct vpn_provider *provider);
int (*connect) (struct vpn_provider *provider,
struct connman_task *task, const char *if_name,
- vpn_provider_connect_cb_t cb, void *user_data);
+ vpn_provider_connect_cb_t cb, const char *dbus_sender,
+ void *user_data);
void (*disconnect) (struct vpn_provider *provider);
- int (*error_code) (int exit_code);
+ int (*error_code) (struct vpn_provider *provider, int exit_code);
int (*save) (struct vpn_provider *provider, GKeyFile *keyfile);
};