summaryrefslogtreecommitdiff
path: root/libnm/nm-dhcp6-config.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-dhcp6-config.h
parentbdda66a813ccbf31a70addc5fcf829706b027158 (diff)
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-dhcp6-config.h')
-rw-r--r--libnm/nm-dhcp6-config.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libnm/nm-dhcp6-config.h b/libnm/nm-dhcp6-config.h
index 2f21eed2d9..e9753bcad8 100644
--- a/libnm/nm-dhcp6-config.h
+++ b/libnm/nm-dhcp6-config.h
@@ -42,13 +42,8 @@ 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);
+ /*< private >*/
+ gpointer padding[4];
} NMDhcp6ConfigClass;
#define NM_DHCP6_CONFIG_OPTIONS "options"