summaryrefslogtreecommitdiff
path: root/include/tools/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/net.h')
-rw-r--r--include/tools/net.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/tools/net.h b/include/tools/net.h
new file mode 100644
index 0000000..ba7aa41
--- /dev/null
+++ b/include/tools/net.h
@@ -0,0 +1,30 @@
+/*
+ * net.h
+ *
+ * Created on: 03.10.2012
+ * Author: savop
+ */
+
+#ifndef NET_H_
+#define NET_H_
+
+#include <string>
+#include "../tools.h"
+
+using namespace std;
+
+namespace upnp {
+
+namespace tools {
+
+string GetAddressByInterface(string Interface);
+string GetNetworkInterfaceByIndex(int Index, bool skipLoop);
+StringVector GetNetworkInterfaces(bool skipLoop);
+
+} // namespace tools
+
+} // namespace upnp
+
+
+
+#endif /* NET_H_ */