diff options
author | kremlin <ian@kremlin.cc> | 2014-05-30 15:01:49 +0800 |
---|---|---|
committer | kremlin <ian@kremlin.cc> | 2014-05-30 15:01:49 +0800 |
commit | 387173cba1f381beb144043ed0b6b4074084d318 (patch) | |
tree | b2896955a9398f6850d3460f240d1e965a62747e /src/main.c | |
parent | ea207ed3d155cde4001063c981f7a263c47daf64 (diff) | |
download | systembsd-387173cba1f381beb144043ed0b6b4074084d318.tar systembsd-387173cba1f381beb144043ed0b6b4074084d318.tar.gz systembsd-387173cba1f381beb144043ed0b6b4074084d318.tar.bz2 systembsd-387173cba1f381beb144043ed0b6b4074084d318.tar.lz systembsd-387173cba1f381beb144043ed0b6b4074084d318.tar.xz systembsd-387173cba1f381beb144043ed0b6b4074084d318.tar.zst systembsd-387173cba1f381beb144043ed0b6b4074084d318.zip |
get hostnamed to show up on session bus, incomplete
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,13 @@ +#include <gio/gio.h> #include "modules/hostnamed/hostnamed.c" int main() { + GMainLoop *loop; + hostnamed_init(); - for(;;) {} + + loop = g_main_loop_new(NULL, FALSE); + g_main_loop_run(loop); + return 0; } |