Updated documentation for 0.2 release
[mtetherd] / net.h
diff --git a/net.h b/net.h
index 2507143..f3caf02 100644 (file)
--- a/net.h
+++ b/net.h
@@ -60,6 +60,18 @@ MTetherDDevice *mtetherd_device_new(const gchar *interface, const gchar *udi);
 void mtetherd_device_set_index(MTetherDDevice *self, guint index);
 // Returns the interface name
 const gchar *mtetherd_device_get_interface(MTetherDDevice *self);
+// Returns the host address
+// Free when done
+gchar *mtetherd_device_get_addr(MTetherDDevice *self);
+// Returns the netmask
+// Free when done
+gchar *mtetherd_device_get_netmask(MTetherDDevice *self);
+// Returns the DHCP range start address
+// Free when done
+gchar *mtetherd_device_get_dhcp_start(MTetherDDevice *self);
+// Returns the DHCP range end address
+// Free when done
+gchar *mtetherd_device_get_dhcp_end(MTetherDDevice *self);
 
 // Device list functions
 // The list is constrained to 64 entries