diff options
author | Dan Williams <dcbw@redhat.com> | 2009-11-11 14:07:02 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-11-11 14:20:31 -0800 |
commit | 26fe74479d67cc2c34eaeb056efa0dab88be4fee (patch) | |
tree | 67e466b3973283eac347f3c653716f92408cde4b /libnm-util | |
parent | d5c16d65a07b5b0a346da34dc30253fec20df97a (diff) |
doc: document pppoe setting properties
Diffstat (limited to 'libnm-util')
-rw-r--r-- | libnm-util/nm-setting-pppoe.c | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/libnm-util/nm-setting-pppoe.c b/libnm-util/nm-setting-pppoe.c index 4c0196b88c..6b0241b475 100644 --- a/libnm-util/nm-setting-pppoe.c +++ b/libnm-util/nm-setting-pppoe.c @@ -242,27 +242,50 @@ nm_setting_pppoe_class_init (NMSettingPPPOEClass *setting_class) parent_class->need_secrets = need_secrets; /* Properties */ + /** + * NMSettingPPPOE:service: + * + * If specified, instruct PPPoE to only initiate sessions with access + * concentrators that provide the specified serivce. For most providers, + * this should be left blank. It is only required if there are multiple + * access concentrators or a specific service is known to be required. + **/ g_object_class_install_property (object_class, PROP_SERVICE, g_param_spec_string (NM_SETTING_PPPOE_SERVICE, "Service", - "Service", + "If specified, instruct PPPoE to only initiate sessions " + "with access concentrators that provide the specified " + "serivce. For most providers, this should be left " + "blank. It is only required if there are multiple " + "access concentrators or a specific service is known " + "to be required.", NULL, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); + /** + * NMSettingPPPOE:username: + * + * Username used to authenticate with the PPPoE service. + **/ g_object_class_install_property (object_class, PROP_USERNAME, g_param_spec_string (NM_SETTING_PPPOE_USERNAME, "Username", - "Username", + "Username used to authenticate with the PPPoE service.", NULL, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE)); + /** + * NMSettingPPPOE:password: + * + * Password used to authenticate with the PPPoE service. + **/ g_object_class_install_property (object_class, PROP_PASSWORD, g_param_spec_string (NM_SETTING_PPPOE_PASSWORD, "Password", - "Password", + "Password used to authenticate with the PPPoE service.", NULL, G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | NM_SETTING_PARAM_SECRET)); } |