-extern struct sd_event *afb_common_get_event_loop();
-extern struct sd_bus *afb_common_get_user_bus();
-extern struct sd_bus *afb_common_get_system_bus();
+extern int afb_common_rootdir_set(const char *rootdir);
+extern int afb_common_rootdir_get_fd();
+extern int afb_common_rootdir_open_locale(const char *filename, int flags, const char *locale);