Index: plugins/vpn.h |
diff --git a/plugins/vpn.h b/plugins/vpn.h |
index 7f10150a4dde09b849f5965dfdb58d234c438f9b..3551d170e90a8852ce12bc7e876d810fcf709a6b 100644 |
--- a/plugins/vpn.h |
+++ b/plugins/vpn.h |
@@ -19,6 +19,8 @@ |
* |
*/ |
+#define VPN_FLAG_NO_TUN 1 |
+ |
enum vpn_state { |
VPN_STATE_UNKNOWN = 0, |
VPN_STATE_IDLE = 1, |
@@ -29,6 +31,7 @@ enum vpn_state { |
}; |
struct vpn_driver { |
+ int flags; |
int (*notify) (DBusMessage *msg, struct connman_provider *provider); |
int (*connect) (struct connman_provider *provider, |
struct connman_task *task, const char *if_name); |
@@ -39,3 +42,4 @@ int vpn_register(const char *name, struct vpn_driver *driver, |
const char *program); |
void vpn_unregister(const char *provider_name); |
void vpn_died(); |
+int vpn_set_ifname(struct connman_provider *provider, const char *ifname); |