#ifndef RTNETLINK_LINK_H
#define RTNETLINK_LINK_H 1
-struct rtnetlink_notifier;
+#include <stdbool.h>
+
+struct ofpbuf;
+struct nln_notifier;
/* These functions are Linux specific, so they should be used directly only by
* Linux-specific code. */
void rtnetlink_link_notify_func(const struct rtnetlink_link_change *change,
void *aux);
-int rtnetlink_link_notifier_register(struct rtnetlink_notifier *,
+bool rtnetlink_link_parse(struct ofpbuf *buf,
+ struct rtnetlink_link_change *change);
+int rtnetlink_link_notifier_register(struct nln_notifier*,
rtnetlink_link_notify_func *, void *aux);
-void rtnetlink_link_notifier_unregister(struct rtnetlink_notifier *);
+void rtnetlink_link_notifier_unregister(struct nln_notifier *);
void rtnetlink_link_notifier_run(void);
void rtnetlink_link_notifier_wait(void);
#endif /* rtnetlink-link.h */