feat: introduce sd-event integration

This commit is contained in:
Stanislav Angelovič
2024-04-24 20:20:29 +02:00
parent 2efb6909b5
commit b9aa770f58
14 changed files with 654 additions and 289 deletions
+5 -3
View File
@@ -300,11 +300,13 @@ int SdBus::sd_bus_open_server(sd_bus **ret, int fd)
int SdBus::sd_bus_open_system_remote(sd_bus **ret, const char *host)
{
#ifdef SDBUS_basu
#ifndef SDBUS_basu
return ::sd_bus_open_system_remote(ret, host);
#else
(void)ret;
(void)host;
// https://git.sr.ht/~emersion/basu/commit/01d33b244eb6
return -EOPNOTSUPP;
#else
return ::sd_bus_open_system_remote(ret, host);
#endif
}