mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
![Thomas Haller](/assets/img/avatar_default.png)
These types are all subclasses of NMObject. These instances are commonly created by NMClient itself. It makes no sense that a user would instantiate the type. Much less does it make sense to subclass them. Hide the object and class structures from public API. This is an API and ABI break, but of something that is very likely unused. This is mainly done to embed the private structure in the object itself. This has benefits for performance and debugability. But most importantly, we can obtain a static offset where to access the private data. That means, we can use the information to access the data pointer generically, as we will need later. This is not done for the internal types NMManager, NMRemoteSettings, and NMDnsManager. These types will be dropped later.
33 lines
617 B
C
33 lines
617 B
C
// SPDX-License-Identifier: LGPL-2.1+
|
|
/*
|
|
* Copyright (C) 2014 Red Hat, Inc.
|
|
*/
|
|
|
|
#include "nm-default.h"
|
|
|
|
#include "nm-dhcp6-config.h"
|
|
|
|
/*****************************************************************************/
|
|
|
|
struct _NMDhcp6Config {
|
|
NMDhcpConfig parent;
|
|
};
|
|
|
|
struct _NMDhcp6ConfigClass{
|
|
NMDhcpConfigClass parent;
|
|
};
|
|
|
|
G_DEFINE_TYPE (NMDhcp6Config, nm_dhcp6_config, NM_TYPE_DHCP_CONFIG)
|
|
|
|
/*****************************************************************************/
|
|
|
|
static void
|
|
nm_dhcp6_config_init (NMDhcp6Config *config)
|
|
{
|
|
}
|
|
|
|
static void
|
|
nm_dhcp6_config_class_init (NMDhcp6ConfigClass *config_class)
|
|
{
|
|
}
|