#endif
#define DBUS_REPLY_TIMEOUT (120 * 1000)
-#define NETCONFIG_DBUS_REPLY_TIMEOUT (10 * 1000)
+#define NETCONFIG_DBUS_REPLY_TIMEOUT (15 * 1000)
#define DBUS_INTERFACE_PROPERTIES "org.freedesktop.DBus.Properties"
#define NETCONFIG_SERVICE "net.netconfig"
#define NETCONFIG_NETWORK_STATISTICS_PATH "/net/netconfig/network_statistics"
#define NETCONFIG_NETWORK_PATH "/net/netconfig/network"
#define NETCONFIG_NETWORK_INTERFACE "net.netconfig.network"
+#define NETCONFIG_VPNSVC_PATH "/net/netconfig/vpnsvc"
+#define NETCONFIG_VPNSVC_INTERFACE "net.netconfig.vpnsvc"
+#define NETCONFIG_MPTCP_PATH "/net/netconfig/mptcp"
+#define NETCONFIG_MPTCP_INTERFACE "net.netconfig.mptcp"
#define DBUS_PATH_MAX_BUFLEN 512
#define DBUS_STATE_MAX_BUFLEN 64
GDBusObjectManagerServer *netdbus_get_wifi_manager(void);
GDBusObjectManagerServer *netdbus_get_state_manager(void);
GDBusObjectManagerServer *netdbus_get_statistics_manager(void);
+GDBusObjectManagerServer *netdbus_get_vpn_manager(void);
+GDBusObjectManagerServer *netdbus_get_mptcp_manager(void);
GDBusConnection *netdbus_get_connection(void);
GCancellable *netdbus_get_cancellable(void);
GVariant *netconfig_invoke_dbus_method(const char *dest, const char *path,
const char *interface_name, const char *method,
GVariant *params);
+gboolean netconfig_dbus_emit_signal(const gchar *destination_bus_name,
+ const gchar *object_path,
+ const gchar *interface_name,
+ const gchar *signal_name,
+ GVariant *params);
int setup_gdbus(got_name_cb cb);
void cleanup_gdbus(void);