chiark / gitweb /
sd-rtnl: add sd_rtnl_message_enter_container()
authorTom Gundersen <teg@jklm.no>
Sun, 23 Mar 2014 20:45:46 +0000 (21:45 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 24 Mar 2014 15:59:30 +0000 (16:59 +0100)
Extend rta_offset_tb into a stack of offset tables, one for each parent of the
current container, and make sd_rtnl_message_{enter,exit}_container() pop/push
to this stack.

Also make sd_rtnl_message_rewind() parse the top-level container, and use this
when reading a message from the socket.

This changes the API by dropping the now redundant sd_rtnl_message_read()
method.


No differences found