Imported Upstream version 1.24
[platform/upstream/connman.git] / vpn / plugins / vpn.h
index 6f86aac..3d2b66c 100644 (file)
@@ -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);
 };