libnm-util: add missing nm_setting_olpc_mesh_new()

This commit is contained in:
Dan Williams 2009-11-10 12:22:45 -08:00
parent 972b7ed70a
commit cfec3f3a6d
3 changed files with 14 additions and 0 deletions

View file

@ -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;

View file

@ -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)
{

View file

@ -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);