refactor: use sd-bus API to get current message

This commit is contained in:
Stanislav Angelovic
2023-12-30 21:11:02 +01:00
committed by Stanislav Angelovic
parent 2ef0e78ad2
commit 21dd77ba6c
18 changed files with 125 additions and 99 deletions
+1
View File
@@ -78,6 +78,7 @@ public:
MOCK_METHOD1(sd_bus_start, int(sd_bus *bus));
MOCK_METHOD2(sd_bus_process, int(sd_bus *bus, sd_bus_message **r));
MOCK_METHOD1(sd_bus_get_current_message, sd_bus_message*(sd_bus *bus));
MOCK_METHOD2(sd_bus_get_poll_data, int(sd_bus *bus, PollData* data));
MOCK_METHOD2(sd_bus_get_n_queued_read, int(sd_bus *bus, uint64_t *ret));
MOCK_METHOD1(sd_bus_flush, int(sd_bus *bus));