diff options
author | Christian Spielberger <christian.spielberger@gmail.com> | 2018-05-15 12:35:28 +0200 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2018-05-24 22:17:38 +0200 |
commit | b78b52a1e3bedac0901b3ddece320c9c5ed203cc (patch) | |
tree | e8f9b437d4c763e3cb6cb81393780f7b6978208f /include/acd.h | |
parent | 45f0d80b97daedf8e1ef555567b367c70947285e (diff) | |
download | connman-b78b52a1e3bedac0901b3ddece320c9c5ed203cc.tar.gz |
acd: Add D-Bus property for address conflict
Adds a D-Bus property called LastAddressConflict and a signal to
notify if the property changes.
Diffstat (limited to 'include/acd.h')
-rw-r--r-- | include/acd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/acd.h b/include/acd.h index 34e25394..6898ccb8 100644 --- a/include/acd.h +++ b/include/acd.h @@ -35,7 +35,7 @@ extern "C" { struct acd_host; -struct acd_host *acd_host_new(int ifindex); +struct acd_host *acd_host_new(int ifindex, const char* path); int acd_host_start(struct acd_host *acd, uint32_t ip); void acd_host_stop(struct acd_host *acd); @@ -53,6 +53,8 @@ void acd_host_register_event(struct acd_host *acd, acd_host_cb_t func, gpointer user_data); +void acd_host_append_dbus_property(struct acd_host *acd, DBusMessageIter *dict); + #ifdef __cplusplus } #endif |