summaryrefslogtreecommitdiff
path: root/include/inet.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-05-21 01:02:31 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-05-21 01:02:31 -0700
commit36b19e423a2d66c0c9d722d4ee2fc65c03163b43 (patch)
treea8e75b8c9b59b56397591f6cebde5d456d8fa30a /include/inet.h
parent91a77ed7265af5b9bf10784292945abb8db940ce (diff)
downloadconnman-36b19e423a2d66c0c9d722d4ee2fc65c03163b43.tar.gz
connman-36b19e423a2d66c0c9d722d4ee2fc65c03163b43.tar.bz2
connman-36b19e423a2d66c0c9d722d4ee2fc65c03163b43.zip
Export and use more generic INET helpers
Diffstat (limited to 'include/inet.h')
-rw-r--r--include/inet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inet.h b/include/inet.h
index 05d17059..3aacbdc2 100644
--- a/include/inet.h
+++ b/include/inet.h
@@ -28,6 +28,12 @@ extern "C" {
#include <connman/device.h>
+extern int connman_inet_ifindex(const char *name);
+extern char *connman_inet_ifname(int index);
+
+extern int connman_inet_ifup(int index);
+extern int connman_inet_ifdown(int index);
+
extern struct connman_device *connman_inet_create_device(int index);
#ifdef __cplusplus