diff options
author | Dan Williams <dcbw@redhat.com> | 2009-09-30 09:20:44 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-09-30 09:21:32 -0700 |
commit | 866d48bb9b42f03c1dbc7b8a2a86fdeffac510c8 (patch) | |
tree | 3011655746cc0034f4f4d0ac75fb81f19e4379a8 | |
parent | 0596068561bcb6cd1b2679d8d1f89d3def5fd0b1 (diff) | |
download | NetworkManager-866d48bb9b42f03c1dbc7b8a2a86fdeffac510c8.tar.gz |
libnm-glib: add class padding for future expansion
25 files changed, 209 insertions, 9 deletions
diff --git a/libnm-glib/nm-access-point.h b/libnm-glib/nm-access-point.h index 865218b22f..770248152f 100644 --- a/libnm-glib/nm-access-point.h +++ b/libnm-glib/nm-access-point.h @@ -38,15 +38,15 @@ G_BEGIN_DECLS #define NM_IS_ACCESS_POINT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), NM_TYPE_ACCESS_POINT)) #define NM_ACCESS_POINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_ACCESS_POINT, NMAccessPointClass)) -#define NM_ACCESS_POINT_FLAGS "flags" -#define NM_ACCESS_POINT_WPA_FLAGS "wpa-flags" -#define NM_ACCESS_POINT_RSN_FLAGS "rsn-flags" -#define NM_ACCESS_POINT_SSID "ssid" -#define NM_ACCESS_POINT_FREQUENCY "frequency" -#define NM_ACCESS_POINT_HW_ADDRESS "hw-address" -#define NM_ACCESS_POINT_MODE "mode" -#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate" -#define NM_ACCESS_POINT_STRENGTH "strength" +#define NM_ACCESS_POINT_FLAGS "flags" +#define NM_ACCESS_POINT_WPA_FLAGS "wpa-flags" +#define NM_ACCESS_POINT_RSN_FLAGS "rsn-flags" +#define NM_ACCESS_POINT_SSID "ssid" +#define NM_ACCESS_POINT_FREQUENCY "frequency" +#define NM_ACCESS_POINT_HW_ADDRESS "hw-address" +#define NM_ACCESS_POINT_MODE "mode" +#define NM_ACCESS_POINT_MAX_BITRATE "max-bitrate" +#define NM_ACCESS_POINT_STRENGTH "strength" typedef struct { NMObject parent; @@ -54,6 +54,14 @@ typedef struct { typedef struct { NMObjectClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMAccessPointClass; GType nm_access_point_get_type (void); diff --git a/libnm-glib/nm-active-connection.h b/libnm-glib/nm-active-connection.h index e7b34a34b3..f717c055ef 100644 --- a/libnm-glib/nm-active-connection.h +++ b/libnm-glib/nm-active-connection.h @@ -52,6 +52,14 @@ typedef struct { typedef struct { NMObjectClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMActiveConnectionClass; GType nm_active_connection_get_type (void); diff --git a/libnm-glib/nm-cdma-device.h b/libnm-glib/nm-cdma-device.h index 3509d70d15..f40124ace7 100644 --- a/libnm-glib/nm-cdma-device.h +++ b/libnm-glib/nm-cdma-device.h @@ -41,6 +41,14 @@ typedef struct { typedef struct { NMSerialDeviceClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMCdmaDeviceClass; GType nm_cdma_device_get_type (void); diff --git a/libnm-glib/nm-client.h b/libnm-glib/nm-client.h index 5af95d40bc..d6df98ec5b 100644 --- a/libnm-glib/nm-client.h +++ b/libnm-glib/nm-client.h @@ -57,6 +57,14 @@ typedef struct { /* Signals */ void (*device_added) (NMClient *client, NMDevice *device); void (*device_removed) (NMClient *client, NMDevice *device); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMClientClass; GType nm_client_get_type (void); diff --git a/libnm-glib/nm-device-bt.h b/libnm-glib/nm-device-bt.h index d8dd3dce97..71817f847b 100644 --- a/libnm-glib/nm-device-bt.h +++ b/libnm-glib/nm-device-bt.h @@ -46,6 +46,14 @@ typedef struct { typedef struct { NMDeviceClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMDeviceBtClass; GType nm_device_bt_get_type (void); diff --git a/libnm-glib/nm-device-ethernet.h b/libnm-glib/nm-device-ethernet.h index bd661a47d1..565e3e7e05 100644 --- a/libnm-glib/nm-device-ethernet.h +++ b/libnm-glib/nm-device-ethernet.h @@ -45,6 +45,14 @@ typedef struct { typedef struct { NMDeviceClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMDeviceEthernetClass; GType nm_device_ethernet_get_type (void); diff --git a/libnm-glib/nm-device-wifi.h b/libnm-glib/nm-device-wifi.h index 69e6dd71d7..9152ab29db 100644 --- a/libnm-glib/nm-device-wifi.h +++ b/libnm-glib/nm-device-wifi.h @@ -52,6 +52,14 @@ typedef struct { /* Signals */ void (*access_point_added) (NMDeviceWifi *device, NMAccessPoint *ap); void (*access_point_removed) (NMDeviceWifi *device, NMAccessPoint *ap); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMDeviceWifiClass; GType nm_device_wifi_get_type (void); diff --git a/libnm-glib/nm-device.h b/libnm-glib/nm-device.h index 7e016f4598..da015d6c46 100644 --- a/libnm-glib/nm-device.h +++ b/libnm-glib/nm-device.h @@ -67,6 +67,14 @@ typedef struct { NMDeviceState new_state, NMDeviceState old_state, NMDeviceStateReason reason); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMDeviceClass; GType nm_device_get_type (void); diff --git a/libnm-glib/nm-dhcp4-config.h b/libnm-glib/nm-dhcp4-config.h index 14e3274e37..da5b57b369 100644 --- a/libnm-glib/nm-dhcp4-config.h +++ b/libnm-glib/nm-dhcp4-config.h @@ -43,6 +43,14 @@ typedef struct { typedef struct { NMObjectClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMDHCP4ConfigClass; #define NM_DHCP4_CONFIG_OPTIONS "options" diff --git a/libnm-glib/nm-exported-connection.h b/libnm-glib/nm-exported-connection.h index 7455d4c8a7..dfca0d529d 100644 --- a/libnm-glib/nm-exported-connection.h +++ b/libnm-glib/nm-exported-connection.h @@ -55,6 +55,14 @@ typedef struct { const gchar **hints, gboolean request_new, DBusGMethodInvocation *context); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMExportedConnectionClass; GType nm_exported_connection_get_type (void); diff --git a/libnm-glib/nm-gsm-device.h b/libnm-glib/nm-gsm-device.h index 8f0065f948..d8440973f7 100644 --- a/libnm-glib/nm-gsm-device.h +++ b/libnm-glib/nm-gsm-device.h @@ -41,6 +41,14 @@ typedef struct { typedef struct { NMSerialDeviceClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMGsmDeviceClass; GType nm_gsm_device_get_type (void); diff --git a/libnm-glib/nm-ip4-config.h b/libnm-glib/nm-ip4-config.h index 233be68d64..373d12e1e4 100644 --- a/libnm-glib/nm-ip4-config.h +++ b/libnm-glib/nm-ip4-config.h @@ -44,6 +44,14 @@ typedef struct { typedef struct { NMObjectClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMIP4ConfigClass; #define NM_IP4_CONFIG_ADDRESSES "addresses" diff --git a/libnm-glib/nm-ip6-config.h b/libnm-glib/nm-ip6-config.h index 9cccdacb15..7865dfdbbf 100644 --- a/libnm-glib/nm-ip6-config.h +++ b/libnm-glib/nm-ip6-config.h @@ -44,6 +44,14 @@ typedef struct { typedef struct { NMObjectClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMIP6ConfigClass; #define NM_IP6_CONFIG_ADDRESSES "addresses" diff --git a/libnm-glib/nm-object.h b/libnm-glib/nm-object.h index 06cb512fcc..3f7b36cff3 100644 --- a/libnm-glib/nm-object.h +++ b/libnm-glib/nm-object.h @@ -46,6 +46,14 @@ typedef struct { typedef struct { GObjectClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMObjectClass; GType nm_object_get_type (void); diff --git a/libnm-glib/nm-remote-connection.h b/libnm-glib/nm-remote-connection.h index 1210684d05..7d74eb0e6a 100644 --- a/libnm-glib/nm-remote-connection.h +++ b/libnm-glib/nm-remote-connection.h @@ -44,6 +44,14 @@ typedef struct { typedef struct { NMConnectionClass parent_class; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMRemoteConnectionClass; GType nm_remote_connection_get_type (void); diff --git a/libnm-glib/nm-remote-settings-system.h b/libnm-glib/nm-remote-settings-system.h index aeb1188a81..b518227331 100644 --- a/libnm-glib/nm-remote-settings-system.h +++ b/libnm-glib/nm-remote-settings-system.h @@ -45,6 +45,14 @@ typedef struct { typedef struct { NMRemoteSettingsClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMRemoteSettingsSystemClass; GType nm_remote_settings_system_get_type (void); diff --git a/libnm-glib/nm-remote-settings.h b/libnm-glib/nm-remote-settings.h index 19397c3a8d..d3085566ea 100644 --- a/libnm-glib/nm-remote-settings.h +++ b/libnm-glib/nm-remote-settings.h @@ -48,6 +48,14 @@ typedef struct { typedef struct { GObjectClass parent; + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMRemoteSettingsClass; GType nm_remote_settings_get_type (void); diff --git a/libnm-glib/nm-serial-device.h b/libnm-glib/nm-serial-device.h index 8186ad8de6..51f08df33f 100644 --- a/libnm-glib/nm-serial-device.h +++ b/libnm-glib/nm-serial-device.h @@ -43,6 +43,14 @@ typedef struct { /* Signals */ void (*ppp_stats) (NMSerialDevice *self, guint32 in_bytes, guint32 out_bytes); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMSerialDeviceClass; GType nm_serial_device_get_type (void); diff --git a/libnm-glib/nm-settings-connection-interface.h b/libnm-glib/nm-settings-connection-interface.h index 477ff9863d..7c7a198c78 100644 --- a/libnm-glib/nm-settings-connection-interface.h +++ b/libnm-glib/nm-settings-connection-interface.h @@ -81,6 +81,14 @@ struct _NMSettingsConnectionInterface { GHashTable *new_settings); void (*removed) (NMSettingsConnectionInterface *connection); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); }; GType nm_settings_connection_interface_get_type (void); diff --git a/libnm-glib/nm-settings-interface.h b/libnm-glib/nm-settings-interface.h index fd9e48a508..3a1768904c 100644 --- a/libnm-glib/nm-settings-interface.h +++ b/libnm-glib/nm-settings-interface.h @@ -77,6 +77,14 @@ struct _NMSettingsInterface { NMSettingsConnectionInterface *connection); void (*connections_read) (NMSettingsInterface *settings); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); }; GType nm_settings_interface_get_type (void); diff --git a/libnm-glib/nm-settings-service.h b/libnm-glib/nm-settings-service.h index f2ee7363cd..7a06edcf29 100644 --- a/libnm-glib/nm-settings-service.h +++ b/libnm-glib/nm-settings-service.h @@ -56,6 +56,14 @@ typedef struct { DBusGMethodInvocation *context, /* Only present for D-Bus calls */ NMSettingsAddConnectionFunc callback, gpointer user_data); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMSettingsServiceClass; GType nm_settings_service_get_type (void); diff --git a/libnm-glib/nm-settings-system-interface.h b/libnm-glib/nm-settings-system-interface.h index 0905402e9f..64bf91bb9e 100644 --- a/libnm-glib/nm-settings-system-interface.h +++ b/libnm-glib/nm-settings-system-interface.h @@ -79,6 +79,14 @@ struct _NMSettingsSystemInterface { /* Signals */ void (*check_permissions) (NMSettingsSystemInterface *settings); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); }; GType nm_settings_system_interface_get_type (void); diff --git a/libnm-glib/nm-vpn-connection.h b/libnm-glib/nm-vpn-connection.h index 8be8eef970..122a85b5cc 100644 --- a/libnm-glib/nm-vpn-connection.h +++ b/libnm-glib/nm-vpn-connection.h @@ -50,6 +50,14 @@ typedef struct { void (*vpn_state_changed) (NMVPNConnection *connection, NMVPNConnectionState state, NMVPNConnectionStateReason reason); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMVPNConnectionClass; GType nm_vpn_connection_get_type (void); diff --git a/libnm-glib/nm-vpn-plugin-ui-interface.h b/libnm-glib/nm-vpn-plugin-ui-interface.h index d33b1cb6e8..44348c12ef 100644 --- a/libnm-glib/nm-vpn-plugin-ui-interface.h +++ b/libnm-glib/nm-vpn-plugin-ui-interface.h @@ -112,6 +112,14 @@ struct _NMVpnPluginUiInterface { * related to the connection. */ gboolean (*delete_connection) (NMVpnPluginUiInterface *iface, NMConnection *connection, GError **error); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); }; GType nm_vpn_plugin_ui_interface_get_type (void); diff --git a/libnm-glib/nm-vpn-plugin.h b/libnm-glib/nm-vpn-plugin.h index 88eb1e6575..8a3c2f1d61 100644 --- a/libnm-glib/nm-vpn-plugin.h +++ b/libnm-glib/nm-vpn-plugin.h @@ -91,6 +91,14 @@ typedef struct { NMVPNPluginFailure reason); void (*quit) (NMVPNPlugin *plugin); + + /* Padding for future expansion */ + void (*_reserved1) (void); + void (*_reserved2) (void); + void (*_reserved3) (void); + void (*_reserved4) (void); + void (*_reserved5) (void); + void (*_reserved6) (void); } NMVPNPluginClass; GType nm_vpn_plugin_get_type (void); |