1 #include "wvdbusserver.h"
2 #include "wvlogstream.h"
4 #include "wvlinkerhack.h"
6 WV_LINK_TO(WvSSLStream
);
7 WV_LINK_TO(WvTCPListener
);
8 WV_LINK_TO(WvGzipStream
);
10 WV_LINK_TO(WvUnixListener
);
13 static WvLogStream
*logr
;
14 static WvDBusServer
*s
;
16 extern "C" void wvdbusd_start()
20 logr
= new WvLogStream(wverr
, WvLog::Info
);
21 s
= new WvDBusServer();
24 extern "C" void wvdbusd_stop()
32 extern "C" void wvdbusd_listen(const char *moniker
)
37 extern "C" void wvdbusd_runonce()
39 // FIXME: Should use runonce(-1) here, but then the .net thread we
40 // run in won't be able to get interrupted to check want_to_die.
41 // Ideally we'd hand them a socket or something that they can ping us
46 extern "C" int wvdbusd_check()