summaryrefslogtreecommitdiff
path: root/src/systemd/sd-rtnl.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-04-13 21:37:53 +0200
committerTom Gundersen <teg@jklm.no>2014-04-14 17:53:21 +0200
commit1403f45ab61d6f2026a3a7a06b52a536c1b7a3b3 (patch)
tree1cf724d533b29b06465a17534c8143040c6d896c /src/systemd/sd-rtnl.h
parente00d77ddd598ea6cbc2d512d143e9e4d98e62256 (diff)
sd-rtnl: multi-part message - store as linked-list rather than independent messages
This means the API can stay the same as for single-part messages by simply passing the head message around. Unrefing the head of the linked list unrefs the whole list.
Diffstat (limited to 'src/systemd/sd-rtnl.h')
-rw-r--r--src/systemd/sd-rtnl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-rtnl.h b/src/systemd/sd-rtnl.h
index c32c5e262..6fbaee092 100644
--- a/src/systemd/sd-rtnl.h
+++ b/src/systemd/sd-rtnl.h
@@ -123,6 +123,8 @@ int sd_rtnl_message_exit_container(sd_rtnl_message *m);
int sd_rtnl_message_rewind(sd_rtnl_message *m);
+sd_rtnl_message *sd_rtnl_message_next(sd_rtnl_message *m);
+
_SD_END_DECLARATIONS;
#endif