2007-02-12 Tambet Ingo <tambet@ximian.com>
* libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove. * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove. * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to 'HwAddress'. * introspection/nm-device.xml: Remove 'UseDhcp' property. * introspection/nm-access-point.xml: Remove 'Broadcast' property. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2310 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
11
ChangeLog
11
ChangeLog
@@ -1,5 +1,16 @@
|
|||||||
2007-02-12 Tambet Ingo <tambet@ximian.com>
|
2007-02-12 Tambet Ingo <tambet@ximian.com>
|
||||||
|
|
||||||
|
* libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
|
||||||
|
|
||||||
|
* libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
|
||||||
|
|
||||||
|
* introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
|
||||||
|
'HwAddress'.
|
||||||
|
|
||||||
|
* introspection/nm-device.xml: Remove 'UseDhcp' property.
|
||||||
|
|
||||||
|
* introspection/nm-access-point.xml: Remove 'Broadcast' property.
|
||||||
|
|
||||||
Totally break NetworkManager. Please use 0.6 branch until futher notice.
|
Totally break NetworkManager. Please use 0.6 branch until futher notice.
|
||||||
|
|
||||||
* src/:
|
* src/:
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
<node name="/">
|
<node name="/">
|
||||||
<interface name="org.freedesktop.NetworkManager.AccessPoint">
|
<interface name="org.freedesktop.NetworkManager.AccessPoint">
|
||||||
<property name="Address" type="s" access="read"/>
|
<property name="Address" type="s" access="read"/>
|
||||||
<property name="Broadcast" type="b" access="read"/>
|
|
||||||
<property name="Capabilities" type="i" access="read"/>
|
<property name="Capabilities" type="i" access="read"/>
|
||||||
<property name="Encrypted" type="b" access="read"/>
|
<property name="Encrypted" type="b" access="read"/>
|
||||||
<property name="Essid" type="s" access="read"/>
|
<property name="Essid" type="s" access="read"/>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
<arg name="user_requested" type="b"/>
|
<arg name="user_requested" type="b"/>
|
||||||
</method>
|
</method>
|
||||||
|
|
||||||
<property name="Address" type="s" access="read"/>
|
<property name="HwAddress" type="s" access="read"/>
|
||||||
<property name="Speed" type="i" access="read"/>
|
<property name="Speed" type="i" access="read"/>
|
||||||
</interface>
|
</interface>
|
||||||
</node>
|
</node>
|
||||||
|
@@ -11,7 +11,6 @@
|
|||||||
<property name="Driver" type="s" access="read"/>
|
<property name="Driver" type="s" access="read"/>
|
||||||
<property name="Capabilities" type="i" access="read"/>
|
<property name="Capabilities" type="i" access="read"/>
|
||||||
<property name="Ip4Address" type="i" access="read"/>
|
<property name="Ip4Address" type="i" access="read"/>
|
||||||
<property name="UseDhcp" type="b" access="read"/>
|
|
||||||
<property name="State" type="u" access="read"/>
|
<property name="State" type="u" access="read"/>
|
||||||
|
|
||||||
<!-- Ugh, but I see no other way of getting the type on the caller
|
<!-- Ugh, but I see no other way of getting the type on the caller
|
||||||
|
@@ -54,9 +54,6 @@ dump_device (NMDevice *device)
|
|||||||
g_print ("Driver: %s\n", str);
|
g_print ("Driver: %s\n", str);
|
||||||
g_free (str);
|
g_free (str);
|
||||||
|
|
||||||
b = nm_device_get_use_dhcp (device);
|
|
||||||
g_print ("Use DHCP: %s\n", b ? "yes" : "no");
|
|
||||||
|
|
||||||
u = nm_device_get_ip4_address (device);
|
u = nm_device_get_ip4_address (device);
|
||||||
g_print ("IP address: %d\n", u);
|
g_print ("IP address: %d\n", u);
|
||||||
|
|
||||||
|
@@ -43,23 +43,6 @@ nm_access_point_get_address (NMAccessPoint *ap)
|
|||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
|
||||||
nm_access_point_is_broadcast (NMAccessPoint *ap)
|
|
||||||
{
|
|
||||||
GValue value = {0,};
|
|
||||||
int broadcast = FALSE;
|
|
||||||
|
|
||||||
g_return_val_if_fail (NM_IS_ACCESS_POINT (ap), FALSE);
|
|
||||||
|
|
||||||
if (nm_dbus_get_property (DBUS_G_PROXY (ap),
|
|
||||||
NM_DBUS_INTERFACE_ACCESS_POINT,
|
|
||||||
"Broadcast",
|
|
||||||
&value))
|
|
||||||
broadcast = g_value_get_boolean (&value);
|
|
||||||
|
|
||||||
return broadcast;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
nm_access_point_get_capabilities (NMAccessPoint *ap)
|
nm_access_point_get_capabilities (NMAccessPoint *ap)
|
||||||
{
|
{
|
||||||
|
@@ -25,7 +25,6 @@ GType nm_access_point_get_type (void);
|
|||||||
NMAccessPoint *nm_access_point_new (DBusGConnection *connection, const char *path);
|
NMAccessPoint *nm_access_point_new (DBusGConnection *connection, const char *path);
|
||||||
|
|
||||||
char *nm_access_point_get_address (NMAccessPoint *ap);
|
char *nm_access_point_get_address (NMAccessPoint *ap);
|
||||||
gboolean nm_access_point_is_broadcast (NMAccessPoint *ap);
|
|
||||||
int nm_access_point_get_capabilities (NMAccessPoint *ap);
|
int nm_access_point_get_capabilities (NMAccessPoint *ap);
|
||||||
gboolean nm_access_point_is_encrypted (NMAccessPoint *ap);
|
gboolean nm_access_point_is_encrypted (NMAccessPoint *ap);
|
||||||
char *nm_access_point_get_essid (NMAccessPoint *ap);
|
char *nm_access_point_get_essid (NMAccessPoint *ap);
|
||||||
|
@@ -147,23 +147,6 @@ nm_device_get_driver (NMDevice *device)
|
|||||||
return driver;
|
return driver;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
|
||||||
nm_device_get_use_dhcp (NMDevice *device)
|
|
||||||
{
|
|
||||||
gboolean dhcp = FALSE;
|
|
||||||
GValue value = {0,};
|
|
||||||
|
|
||||||
g_return_val_if_fail (NM_IS_DEVICE (device), FALSE);
|
|
||||||
|
|
||||||
if (nm_dbus_get_property (DBUS_G_PROXY (device),
|
|
||||||
NM_DBUS_INTERFACE_DEVICE,
|
|
||||||
"UseDhcp",
|
|
||||||
&value))
|
|
||||||
dhcp = g_value_get_boolean (&value);
|
|
||||||
|
|
||||||
return dhcp;
|
|
||||||
}
|
|
||||||
|
|
||||||
guint32
|
guint32
|
||||||
nm_device_get_ip4_address (NMDevice *device)
|
nm_device_get_ip4_address (NMDevice *device)
|
||||||
{
|
{
|
||||||
|
@@ -33,7 +33,6 @@ void nm_device_deactivate (NMDevice *device);
|
|||||||
char *nm_device_get_iface (NMDevice *device);
|
char *nm_device_get_iface (NMDevice *device);
|
||||||
char *nm_device_get_udi (NMDevice *device);
|
char *nm_device_get_udi (NMDevice *device);
|
||||||
char *nm_device_get_driver (NMDevice *device);
|
char *nm_device_get_driver (NMDevice *device);
|
||||||
gboolean nm_device_get_use_dhcp (NMDevice *device);
|
|
||||||
guint32 nm_device_get_ip4_address (NMDevice *device);
|
guint32 nm_device_get_ip4_address (NMDevice *device);
|
||||||
NMDeviceState nm_device_get_state (NMDevice *device);
|
NMDeviceState nm_device_get_state (NMDevice *device);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user