mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-23 11:14:29 +00:00
libnm-util: add missing nm_setting_olpc_mesh_new()
This commit is contained in:
parent
972b7ed70a
commit
cfec3f3a6d
|
@ -335,6 +335,7 @@ global:
|
|||
nm_setting_olpc_mesh_get_ssid;
|
||||
nm_setting_olpc_mesh_get_channel;
|
||||
nm_setting_olpc_mesh_get_dhcp_anycast_address;
|
||||
nm_setting_olpc_mesh_new;
|
||||
nm_utils_deinit;
|
||||
nm_utils_rsa_key_encrypt;
|
||||
nm_utils_escape_ssid;
|
||||
|
|
|
@ -91,6 +91,18 @@ enum {
|
|||
LAST_PROP
|
||||
};
|
||||
|
||||
/**
|
||||
* nm_setting_olpc_mesh_new:
|
||||
*
|
||||
* Creates a new #NMSettingOlpcMesh object with default values.
|
||||
*
|
||||
* Returns: the new empty #NMSettingOlpcMesh object
|
||||
**/
|
||||
NMSetting *nm_setting_olpc_mesh_new (void)
|
||||
{
|
||||
return (NMSetting *) g_object_new (NM_TYPE_SETTING_OLPC_MESH, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
nm_setting_olpc_mesh_init (NMSettingOlpcMesh *setting)
|
||||
{
|
||||
|
|
|
@ -49,6 +49,7 @@ typedef struct {
|
|||
|
||||
GType nm_setting_olpc_mesh_get_type (void);
|
||||
|
||||
NMSetting * nm_setting_olpc_mesh_new (void);
|
||||
const GByteArray *nm_setting_olpc_mesh_get_ssid (NMSettingOlpcMesh *setting);
|
||||
guint32 nm_setting_olpc_mesh_get_channel (NMSettingOlpcMesh *setting);
|
||||
const GByteArray *nm_setting_olpc_mesh_get_dhcp_anycast_address (NMSettingOlpcMesh *setting);
|
||||
|
|
Loading…
Reference in a new issue