diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-12-02 05:07:42 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:32:09 +0100 |
commit | a4d1366d5080fcb4514db58c320b9f60d78918e6 (patch) | |
tree | 8358724419b81add4a32e70d9bdcc4676ccd531e /include/net/genetlink.h | |
parent | [ATM]: Kill ipcommon.[ch] (diff) | |
download | linux-a4d1366d5080fcb4514db58c320b9f60d78918e6.tar.xz linux-a4d1366d5080fcb4514db58c320b9f60d78918e6.zip |
[GENETLINK]: Add cmd dump completion.
Remove assumption that generic netlink commands cannot have dump
completion callbacks.
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/genetlink.h')
-rw-r--r-- | include/net/genetlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h index 7fd131c9a8cc..adff4c898d50 100644 --- a/include/net/genetlink.h +++ b/include/net/genetlink.h @@ -53,6 +53,7 @@ struct genl_info * @policy: attribute validation policy * @doit: standard command callback * @dumpit: callback for dumpers + * @done: completion callback for dumps * @ops_list: operations list */ struct genl_ops @@ -64,6 +65,7 @@ struct genl_ops struct genl_info *info); int (*dumpit)(struct sk_buff *skb, struct netlink_callback *cb); + int (*done)(struct netlink_callback *cb); struct list_head ops_list; }; |