mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-11-05 19:03:31 +00:00
57aa5e2a9d
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.
32 lines
593 B
C
32 lines
593 B
C
// SPDX-License-Identifier: LGPL-2.1+
|
|
/*
|
|
* Copyright (C) 2014 Red Hat, Inc.
|
|
*/
|
|
|
|
#include "nm-default.h"
|
|
|
|
#include "nm-ip6-config.h"
|
|
|
|
/*****************************************************************************/
|
|
|
|
struct _NMIP6Config {
|
|
NMIPConfig parent;
|
|
};
|
|
|
|
struct _NMIP6ConfigClass{
|
|
NMIPConfigClass parent;
|
|
};
|
|
|
|
G_DEFINE_TYPE (NMIP6Config, nm_ip6_config, NM_TYPE_IP_CONFIG)
|
|
|
|
/*****************************************************************************/
|
|
|
|
static void
|
|
nm_ip6_config_init (NMIP6Config *config)
|
|
{
|
|
}
|
|
|
|
static void
|
|
nm_ip6_config_class_init (NMIP6ConfigClass *config_class)
|
|
{
|
|
}
|