connection: introduce kdbus_conn_find_reply()
authorDaniel Mack <daniel@zonque.org>
Tue, 28 Oct 2014 10:40:44 +0000 (11:40 +0100)
committerDaniel Mack <daniel@zonque.org>
Tue, 28 Oct 2014 10:49:22 +0000 (11:49 +0100)
commite0b3b08706ecbf4dfab6bc48fb4a69c503d331c1
treee16d849131bb874e35ab26b8a8bb33e348f39a3a
parent52d25c67f2f76d6256e2a49d6a35fc047170facd
connection: introduce kdbus_conn_find_reply()

Introduce kdbus_conn_find_reply() and factor out the list walking
code from kdbus_cmd_msg_cancel() and kdbus_conn_check_access().
There will be one more user later.

Signed-off-by: Daniel Mack <daniel@zonque.org>
connection.c