libnm/doc: improve documentation for NMMetered enum

This commit is contained in:
Thomas Haller 2019-08-26 14:27:16 +02:00
parent 36fec3be75
commit 703677bdad

View file

@ -655,8 +655,8 @@ typedef enum {
/**
* NMMetered:
* @NM_METERED_UNKNOWN: The metered status is unknown
* @NM_METERED_YES: Metered, the value was statically set
* @NM_METERED_NO: Not metered, the value was statically set
* @NM_METERED_YES: Metered, the value was explicitly configured
* @NM_METERED_NO: Not metered, the value was explicitly configured
* @NM_METERED_GUESS_YES: Metered, the value was guessed
* @NM_METERED_GUESS_NO: Not metered, the value was guessed
*
@ -675,7 +675,7 @@ typedef enum {
* device type or on DHCP options (like Android devices exposing a "ANDROID_METERED"
* DHCP vendor option).
*
* Most applications probably should treat the runtime states %NM_METERED_GUESS_YES
* Most applications probably should treat the runtime state %NM_METERED_GUESS_YES
* like %NM_METERED_YES, and all other states as not metered.
*
* Note that the per-device metered states are then combined to a global metered