summaryrefslogtreecommitdiff
path: root/include/mapping.h
diff options
context:
space:
mode:
authorMika Westerberg <ext-mika.1.westerberg@nokia.com>2008-10-22 13:45:12 +0300
committerLauri Leukkunen <lle@rahina.org>2008-10-23 19:18:01 +0300
commitb779e037736239d3b8005506b898456c66c11a2a (patch)
tree8f263a62211de3027407acb65fa0a376168a26f1 /include/mapping.h
parentc611922af0c5cc54ffb7f4f5519d2ecbd8753b85 (diff)
Introduced basic support for exec_policy based localization.
With this commit it is possible to instruct sb2 to load localization files and message catalogs from specific path (for example under target_root). (Reviewed by Lauri T. Aarnio)
Diffstat (limited to 'include/mapping.h')
-rw-r--r--include/mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mapping.h b/include/mapping.h
index bcd48cc..5274c29 100644
--- a/include/mapping.h
+++ b/include/mapping.h
@@ -26,5 +26,7 @@ extern void sb_push_string_to_lua_stack(char *str);
extern int sb_execve_postprocess(char *exec_type,
char **mapped_file, char **filename, const char *binary_name,
char ***argv, char ***envp);
+extern char *sb_query_exec_policy(const char *field_name,
+ const char *binary_name, const char *real_binary_name);
#endif