summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/texmfmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/texmfmp.h')
-rw-r--r--Build/source/texk/web2c/texmfmp.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/texmfmp.h b/Build/source/texk/web2c/texmfmp.h
index efbd280522b..ce8a7795e92 100644
--- a/Build/source/texk/web2c/texmfmp.h
+++ b/Build/source/texk/web2c/texmfmp.h
@@ -105,7 +105,7 @@ extern boolean openinnameok P1H(const_string);
extern boolean openoutnameok P1H(const_string);
/* pdfTeX uses these for pipe support */
-#if defined(pdfTeX) || defined(pdfeTeX) || defined (luaTeX)
+#if defined(pdfTeX)
extern boolean open_in_or_pipe P3H(FILE **, int, const_string fopen_mode);
extern boolean open_out_or_pipe P2H(FILE **, const_string fopen_mode);
extern void close_file_or_pipe P1H(FILE *);
@@ -206,7 +206,7 @@ extern void setupboundvariable P3H(integer *, const_string, integer);
/* These defines reroute the file i/o calls to the new pipe-enabled
functions in texmfmp.c*/
-#if defined(pdfTeX) || defined(pdfeTeX)
+#if defined(pdfTeX)
#undef aopenin
#undef aopenout
#undef aclose
@@ -384,6 +384,12 @@ extern boolean open_in_or_pipe P3H(FILE **, int, const_string fopen_mode);
extern boolean open_out_or_pipe P2H(FILE **, const_string fopen_mode);
extern void close_file_or_pipe P1H(FILE *);
+/* Executing shell commands. */
+extern void mk_shellcmdlist (char *);
+extern void init_shell_escape (void);
+extern int shell_cmd_is_allowed (char **cmd, char **safecmd, char **cmdname);
+extern int runsystem (char *cmd);
+
#ifndef GLUERATIO_TYPE
#define GLUERATIO_TYPE double
#endif