summaryrefslogtreecommitdiff
path: root/libnm/nm-device-wifi.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-05-15 09:55:18 -0400
committerDan Winship <danw@gnome.org>2014-08-01 14:34:40 -0400
commit2fc55941a333b387528802b6fb88887916ef6d9c (patch)
treecd80f3c221e8a14e2086181b96d6d1f8e0344b9f /libnm/nm-device-wifi.h
parentbdda66a813ccbf31a70addc5fcf829706b027158 (diff)
downloadNetworkManager-2fc55941a333b387528802b6fb88887916ef6d9c.tar.gz
libnm: fix up class struct reserved slots
Add reserved slots to those classes that were missing them (or had run out), and sync up the number of slots across classes: - 8 slots for "important" classes, abstract base classes, and classes we expect we might need to add new virtual methods or signals to later. - 4 for everything else Also, rearrange the class elements in a few places into standard order (signals first, then methods).
Diffstat (limited to 'libnm/nm-device-wifi.h')
-rw-r--r--libnm/nm-device-wifi.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libnm/nm-device-wifi.h b/libnm/nm-device-wifi.h
index 2bb432a7b0..a57430ace0 100644
--- a/libnm/nm-device-wifi.h
+++ b/libnm/nm-device-wifi.h
@@ -78,13 +78,8 @@ typedef struct {
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);
+ /*< private >*/
+ gpointer padding[4];
} NMDeviceWifiClass;
GType nm_device_wifi_get_type (void);