X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-common.h;h=676b3ddc770e07faf61c7036d23e8e06ba9ce8b5;hb=98a5bca16007a7c4740c4326ef83768d034aed3e;hp=588ef700df39b6b1643601d9561dee1c7afc0d38;hpb=8112056eecede587bf884f56629858c8b21bdbec;p=src%2Fapp-framework-binder.git diff --git a/src/afb-common.h b/src/afb-common.h index 588ef700..676b3ddc 100644 --- a/src/afb-common.h +++ b/src/afb-common.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2015, 2016 "IoT.bzh" * Author José Bollo * @@ -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); +