agent: Implement Agent API message queueing
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 3 Sep 2012 11:17:11 +0000 (14:17 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 4 Sep 2012 09:08:17 +0000 (12:08 +0300)
commit9cea2fbb4197b38bcc9df874aec4a0e777f2b946
tree9f57cba280099e8e14beb89f8c271c28ad86a3cd
parent3b93b48112dbb3339e4c458bbd9591b76e1af1e5
agent: Implement Agent API message queueing

Add functions for queuing Agent API messages and sending the
first one when there is no message processed by the agent.

Handle D-Bus pending call replies and simplify the D-Bus reply
processing by handing the message to the callback function.
src/agent.c