summaryrefslogtreecommitdiff
path: root/include/mapping.h
diff options
context:
space:
mode:
authorLauri Leukkunen <lle@rahina.org>2008-01-11 02:23:31 +0200
committerLauri Leukkunen <lle@rahina.org>2008-01-11 02:23:31 +0200
commitc602362bb73de9abf4d55edaf54d7be1f5c32294 (patch)
treecc5c9cfdeb88fb17fd9ec53fb75103bfc32fbd78 /include/mapping.h
parent1a6d98440457c32eb79c615770b132905a465472 (diff)
Introduce sb2-show, cleanup some warnings
sb2-show allows you to inspect how path/argv/envp mangling would be done for a given binary. Patch by lauri.t.aarnio@nokia.com, somewhat cleaned up by lle@rahina.org. Signed-off-by: Lauri Leukkunen <lle@rahina.org>
Diffstat (limited to 'include/mapping.h')
-rw-r--r--include/mapping.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/mapping.h b/include/mapping.h
index 28ce5d6..555c23b 100644
--- a/include/mapping.h
+++ b/include/mapping.h
@@ -19,10 +19,12 @@ enum lua_engine_states {
LES_READY
};
-char *scratchbox_path(const char *func_name, const char *path);
-char *scratchbox_path2(const char *binary_name, const char *func_name,
+extern char *scratchbox_path(const char *func_name, const char *path);
+extern char *scratchbox_path2(const char *binary_name, const char *func_name,
const char *path);
-int sb_execve_mod(char **file, char ***argv, char ***envp);
-char *emumode_map(const char *path);
+extern char *scratchbox_path3(const char *binary_name, const char *func_name,
+ const char *path, const char *mapping_mode);
+extern int sb_execve_mod(char **file, char ***argv, char ***envp);
+extern char *emumode_map(const char *path);
#endif