diff options
author | Tom Gundersen <teg@jklm.no> | 2014-04-13 21:37:53 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-04-14 17:53:21 +0200 |
commit | 1403f45ab61d6f2026a3a7a06b52a536c1b7a3b3 (patch) | |
tree | 1cf724d533b29b06465a17534c8143040c6d896c /src/systemd/sd-rtnl.h | |
parent | e00d77ddd598ea6cbc2d512d143e9e4d98e62256 (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.h | 2 |
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 |