diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-24 16:38:39 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-24 16:38:39 +0100 |
commit | aeea2a47158da318eeb017d8ae028d5c23024647 (patch) | |
tree | ce2f9c1c0168996515808db4a5865aae709c7bd9 /include | |
parent | ca702380ea9b34aae28bd69ff7fa0b757092a94b (diff) | |
download | connman-aeea2a47158da318eeb017d8ae028d5c23024647.tar.gz connman-aeea2a47158da318eeb017d8ae028d5c23024647.tar.bz2 connman-aeea2a47158da318eeb017d8ae028d5c23024647.zip |
Add policy setting and export it
Diffstat (limited to 'include')
-rw-r--r-- | include/element.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/element.h b/include/element.h index 55f95937..1607f823 100644 --- a/include/element.h +++ b/include/element.h @@ -44,6 +44,14 @@ enum connman_element_state { CONNMAN_ELEMENT_STATE_CLOSED = 3, }; +enum connman_element_policy { + CONNMAN_ELEMENT_POLICY_UNKNOWN = 0, + CONNMAN_ELEMENT_POLICY_OFF = 1, + CONNMAN_ELEMENT_POLICY_AUTO = 2, + CONNMAN_ELEMENT_POLICY_IGNORE = 3, + CONNMAN_ELEMENT_POLICY_ASK = 4, +}; + enum connman_element_type { CONNMAN_ELEMENT_TYPE_UNKNOWN = 0, CONNMAN_ELEMENT_TYPE_ROOT = 1, @@ -82,6 +90,7 @@ struct connman_element { enum connman_element_type type; enum connman_element_subtype subtype; enum connman_element_state state; + enum connman_element_policy policy; gboolean enabled; guint16 priority; |