summaryrefslogtreecommitdiff
path: root/src/dhcp-manager/nm-dhcp-client.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-03-11 14:02:24 +0100
committerThomas Haller <thaller@redhat.com>2014-04-11 11:31:34 +0200
commit2941109d3b8f8a17082ac598f1d3c57694f4c96c (patch)
tree04b3e1f578d4ce39dea31b841b412ec98f35eb44 /src/dhcp-manager/nm-dhcp-client.h
parent325d89fc850ef7e77555325c027c8007d5f7aeb1 (diff)
downloadNetworkManager-2941109d3b8f8a17082ac598f1d3c57694f4c96c.tar.gz
dhcp: refactor using named defines for signal names instead of plain string
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/dhcp-manager/nm-dhcp-client.h')
-rw-r--r--src/dhcp-manager/nm-dhcp-client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dhcp-manager/nm-dhcp-client.h b/src/dhcp-manager/nm-dhcp-client.h
index 2506547c08..104a08b153 100644
--- a/src/dhcp-manager/nm-dhcp-client.h
+++ b/src/dhcp-manager/nm-dhcp-client.h
@@ -40,6 +40,10 @@
#define NM_DHCP_CLIENT_UUID "uuid"
#define NM_DHCP_CLIENT_TIMEOUT "timeout"
+#define NM_DHCP_CLIENT_SIGNAL_TIMEOUT "timeout"
+#define NM_DHCP_CLIENT_SIGNAL_STATE_CHANGED "state-changed"
+#define NM_DHCP_CLIENT_SIGNAL_REMOVE "remove"
+
typedef enum {
DHC_NBI = 0, /* no broadcast interfaces found */
DHC_PREINIT, /* configuration started */