summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-07-09 12:24:47 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-09 09:30:50 -0300
commitdebd3f4f9865fdd5a998a3845c42fb1d415ceef6 (patch)
treee5dc5bd0d750ab45d8f5164a95057c28d1b45786 /src/connman.h
parent2c1534b97872f83538684a72f8876012f78da7e6 (diff)
downloadconnman-debd3f4f9865fdd5a998a3845c42fb1d415ceef6.tar.gz
connman-debd3f4f9865fdd5a998a3845c42fb1d415ceef6.tar.bz2
connman-debd3f4f9865fdd5a998a3845c42fb1d415ceef6.zip
inet: Return all running interfaces
Add a function that returns all (except loopback) interfaces that are up and running (have IP address). This information is used in following patch to clean up the routes that are left hanging around.
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 5ab9eb5e..6726078b 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -133,6 +133,7 @@ void __connman_task_cleanup(void);
#include <connman/inet.h>
+char **__connman_inet_get_running_interfaces(void);
int __connman_inet_modify_address(int cmd, int flags, int index, int family,
const char *address,
const char *peer,