X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-common.h;h=1361d5f5517b93f79cf19fb70164dc13854400ad;hb=db01090e1f869965c07b12d9480fa6f3d2e7b1b0;hp=4d6327c13405216957893fbf61a485a95a3e7c7a;hpb=bbddc1e584dd01b60042f622f8cecfc69361020b;p=src%2Fapp-framework-binder.git diff --git a/src/afb-common.h b/src/afb-common.h index 4d6327c1..1361d5f5 100644 --- a/src/afb-common.h +++ b/src/afb-common.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015, 2016 "IoT.bzh" + * Copyright (C) 2015, 2016, 2017 "IoT.bzh" * Author José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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); +