diff options
author | Tom Gundersen <teg@jklm.no> | 2013-11-12 22:37:51 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-11-13 19:52:17 +0100 |
commit | 4555ec72d6530fce4c978fd894ac22f7e006b0ee (patch) | |
tree | 9e2f0e85634b9c929f4443fe377e70391f1101fb /src/libsystemd-rtnl/rtnl-message.c | |
parent | fe4824e065765f4536c84916694bb050c4a5d0af (diff) |
rtnl: start adding support for asynchronous messaging
Similarly to sd-bus, add:
sd_rtnl_wait
sd_rtnl_process
sd_rtnl_send
and adapt sd_rtnl_call accordingly.
Diffstat (limited to 'src/libsystemd-rtnl/rtnl-message.c')
-rw-r--r-- | src/libsystemd-rtnl/rtnl-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-rtnl/rtnl-message.c b/src/libsystemd-rtnl/rtnl-message.c index 941bd96382..f7ff0a0148 100644 --- a/src/libsystemd-rtnl/rtnl-message.c +++ b/src/libsystemd-rtnl/rtnl-message.c @@ -367,7 +367,7 @@ int sd_rtnl_message_read(sd_rtnl_message *m, unsigned short *type, void **data) return message_read(m, type, data); } -int message_get_serial(sd_rtnl_message *m) { +uint32_t message_get_serial(sd_rtnl_message *m) { assert(m); return m->hdr->nlmsg_seq; |