| 1 | #ifndef PERL_DJGPP_DJGPP_H |
| 2 | #define PERL_DJGPP_DJGPP_H |
| 3 | |
| 4 | #include <libc/stubs.h> |
| 5 | #include <io.h> |
| 6 | #include <errno.h> |
| 7 | #include <stdio.h> |
| 8 | #include <stdlib.h> |
| 9 | #include <string.h> |
| 10 | #include <unistd.h> |
| 11 | #include <libc/file.h> |
| 12 | #include <process.h> |
| 13 | #include <fcntl.h> |
| 14 | #include <glob.h> |
| 15 | #include <sys/fsext.h> |
| 16 | #include <crt0.h> |
| 17 | #include "EXTERN.h" |
| 18 | #include "perl.h" |
| 19 | #include "XSUB.h" |
| 20 | |
| 21 | FILE * |
| 22 | djgpp_popen (const char *cm, const char *md); |
| 23 | |
| 24 | int |
| 25 | djgpp_pclose (FILE *pp); |
| 26 | |
| 27 | int |
| 28 | do_aspawn (pTHX_ SV *really,SV **mark,SV **sp); |
| 29 | |
| 30 | int |
| 31 | do_spawn2 (pTHX_ char *cmd,int execf); |
| 32 | |
| 33 | int |
| 34 | do_spawn (pTHX_ char *cmd); |
| 35 | |
| 36 | bool |
| 37 | Perl_do_exec (pTHX_ const char *cmd); |
| 38 | |
| 39 | void |
| 40 | Perl_init_os_extras(pTHX); |
| 41 | |
| 42 | char |
| 43 | *djgpp_pathexp (const char *p); |
| 44 | |
| 45 | void |
| 46 | Perl_DJGPP_init (int *argcp,char ***argvp); |
| 47 | |
| 48 | int |
| 49 | djgpp_fflush (FILE *fp); |
| 50 | |
| 51 | /* DJGPP utility functions without prototypes? */ |
| 52 | |
| 53 | int _is_unixy_shell(char *s); |
| 54 | |
| 55 | #endif |