summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-03-29 17:02:38 +0100
committerJiri Pirko <jiri@resnulli.us>2013-03-29 17:05:32 +0100
commitca3dae8b39c6fdd6fced4fb3f828342e781fcdcf (patch)
tree9374f9a40d28bb565b1e2fc29d84e7485d028ae4 /include
parent94ac6837a35b2a4aaf30f01fb919fc90ee88ac1e (diff)
downloadlibndp-ca3dae8b39c6fdd6fced4fb3f828342e781fcdcf.tar.gz
libndp: remove unnecessary evenfd struct and handle all by single event fd
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Diffstat (limited to 'include')
-rw-r--r--include/ndp.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/ndp.h b/include/ndp.h
index f46fe77..de1ea58 100644
--- a/include/ndp.h
+++ b/include/ndp.h
@@ -127,15 +127,8 @@ void ndp_msgrcv_handler_unregister(struct ndp *ndp, ndp_msgrcv_handler_func_t fu
enum ndp_msg_type msg_type, uint32_t ifindex,
void *priv);
-struct ndp_eventfd;
-
-struct ndp_eventfd *ndp_get_next_eventfd(struct ndp *ndp,
- struct ndp_eventfd *eventfd);
-#define ndp_for_each_event_fd(eventfd, ndp) \
- for (eventfd = ndp_get_next_eventfd(ndp, NULL); eventfd; \
- eventfd = ndp_get_next_eventfd(ndp, eventfd))
-int ndp_get_eventfd_fd(struct ndp *ndp, struct ndp_eventfd *eventfd);
-int ndp_call_eventfd_handler(struct ndp *ndp, struct ndp_eventfd *eventfd);
+int ndp_get_eventfd(struct ndp *ndp);
+int ndp_call_eventfd_handler(struct ndp *ndp);
int ndp_open(struct ndp **p_ndp);
void ndp_close(struct ndp *ndp);