X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Fld-acess_src%2Fexports.h;h=dc319acc1e35a44d9c493d310c917ca8c832506d;hb=34762f54f93dac3c12c8fb5be56ffb0e74e72299;hp=43d620fff63c6cde89c3b314f9e8b0f5dcfa2db3;hpb=b4e2712f6a0849de53207ad50a38c9f468f22651;p=tpg%2Facess2.git diff --git a/AcessNative/ld-acess_src/exports.h b/AcessNative/ld-acess_src/exports.h index 43d620ff..dc319acc 100644 --- a/AcessNative/ld-acess_src/exports.h +++ b/AcessNative/ld-acess_src/exports.h @@ -8,6 +8,8 @@ #ifndef _EXPORTS_H_ #define _EXPORTS_H_ +#include + // Syscall request (used by acess_*) extern uint64_t _Syscall(int SyscallID, const char *ArgTypes, ...); @@ -18,6 +20,9 @@ extern size_t native_write(int FD, const void *Src, size_t Bytes); extern int native_seek(int FD, int64_t Offset, int Dir); extern uint64_t native_tell(int FD); +extern int native_execve(const char *filename, const char *const argv[], const char *const envp[]); +extern int native_spawn(const char *filename, const char *const argv[], const char *const envp[]); + // Syscalls used by the linker extern int acess_open(const char *Path, int Flags); extern void acess_close(int FD);