Add the option roothttp
[src/app-framework-binder.git] / src / afb-common.h
index 588ef70..676b3dd 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*
  * Copyright (C) 2015, 2016 "IoT.bzh"
  * Author José Bollo <jose.bollo@iot.bzh>
  *
@@ -24,3 +24,10 @@ 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 void afb_common_default_locale_set(const char *locale);
+extern const char *afb_common_default_locale_get();
+
+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);
+