summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-07-09 17:45:26 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-07-09 18:11:11 +0200
commite582990bb82c9b76c67e3c3121d6c7c3c2739b92 (patch)
tree857c00877c168ad3ff02ff96075fd9e1bd2a40be /include
parentdd09a5c764c75b2b4e2d63e83eb2f0cf227b87dc (diff)
downloadconnman-e582990bb82c9b76c67e3c3121d6c7c3c2739b92.tar.gz
connman-e582990bb82c9b76c67e3c3121d6c7c3c2739b92.tar.bz2
connman-e582990bb82c9b76c67e3c3121d6c7c3c2739b92.zip
Add DHCP plugins priority flags
Diffstat (limited to 'include')
-rw-r--r--include/dhcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dhcp.h b/include/dhcp.h
index ed7f3763..e10f874d 100644
--- a/include/dhcp.h
+++ b/include/dhcp.h
@@ -40,6 +40,10 @@ enum connman_dhcp_state {
CONNMAN_DHCP_STATE_FAIL = 4,
};
+#define CONNMAN_DHCP_PRIORITY_LOW -100
+#define CONNMAN_DHCP_PRIORITY_DEFAULT 0
+#define CONNMAN_DHCP_PRIORITY_HIGH 100
+
struct connman_dhcp;
struct connman_dhcp *connman_dhcp_ref(struct connman_dhcp *dhcp);