summaryrefslogtreecommitdiff
path: root/libnm/nm-ip4-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-ip4-config.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-ip4-config.h')
-rw-r--r--libnm/nm-ip4-config.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/libnm/nm-ip4-config.h b/libnm/nm-ip4-config.h
index 2ba8d3cd90..7e5732320f 100644
--- a/libnm/nm-ip4-config.h
+++ b/libnm/nm-ip4-config.h
@@ -43,13 +43,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];
} NMIP4ConfigClass;
#define NM_IP4_CONFIG_GATEWAY "gateway"