summaryrefslogtreecommitdiff
path: root/include/acd.h
diff options
context:
space:
mode:
authorChristian Spielberger <christian.spielberger@gmail.com>2018-05-15 12:35:16 +0200
committerDaniel Wagner <wagi@monom.org>2018-05-24 22:17:38 +0200
commit2ead876f77f7bbbca6c1c5184ffd92bc22b696b8 (patch)
tree27ca7239b5665b6647693b360894ace7cf538bfe /include/acd.h
parent17da6763d2d7f6abb8e307966ca79d8adeac7106 (diff)
downloadconnman-2ead876f77f7bbbca6c1c5184ffd92bc22b696b8.tar.gz
acd: Add struct acd_host
Adds an enum for the ACD state machine, the ACD struct, a function for allocation and initialization of the struct.
Diffstat (limited to 'include/acd.h')
-rw-r--r--include/acd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/acd.h b/include/acd.h
index baca508b..db2452dd 100644
--- a/include/acd.h
+++ b/include/acd.h
@@ -26,12 +26,16 @@
#ifndef __CONNMAN_ACD_H
#define __CONNMAN_ACD_H
+#include <stdint.h>
+
#ifdef __cplusplus
extern "C" {
#endif
struct acd_host;
+struct acd_host *acd_host_new(int ifindex);
+
#ifdef __cplusplus
}
#endif