diff options
Diffstat (limited to 'isys/iface.h')
-rw-r--r-- | isys/iface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/isys/iface.h b/isys/iface.h index c95c39bd6..16257bc89 100644 --- a/isys/iface.h +++ b/isys/iface.h @@ -26,6 +26,7 @@ #include <net/if.h> #include <netlink/cache.h> #include <netlink/socket.h> +#include <glib.h> /* Enumerated types used in iface.c as well as loader's network code */ enum { IPUNUSED, IPV4, IPV6 }; @@ -141,6 +142,11 @@ int iface_have_in_addr(struct in_addr *addr); int iface_have_in6_addr(struct in6_addr *addr6); /* + * Checks if NetworkManager has an active connection. + */ +gboolean is_nm_connected(void); + +/* * Start NetworkManager */ int iface_start_NetworkManager(void); |