revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-unix / filesys / emul_handler / emul_host.h
bloba7fa7ab4173e4fbfdd65cd74362cd64c0295c82b
1 #ifndef RESOURCES_EMUL_HOST_H
2 #define RESOURCES_EMUL_HOST_H
4 /* avoid conflicts between our __unused define and the ones that might come in
5 via sys/stat.h */
6 #undef __unused
8 #include <exec/libraries.h>
9 #include <hidd/unixio.h>
10 #include <oop/oop.h>
12 struct LibCInterface;
14 struct PlatformHandle
16 ULONG dirpos; /* Directory search position for Android */
17 long dirpos_first; /* Pointing to first dir entry for use by seekdir */
20 struct Emul_PlatformData
22 OOP_Object *unixio; /* UnixIO object */
23 struct LibCInterface *SysIFace; /* Libc interface */
24 int *errnoPtr; /* Pointer to host's errno */
25 struct Library *em_OOPBase; /* Library bases */
26 struct UnixIOBase *em_UnixIOBase;
27 struct Library *em_UtilityBase;
30 /* Remove this later in the ABIv1 development cycle */
31 #define OOPBase (emulbase->pdata.em_OOPBase)
32 #define UtilityBase (emulbase->pdata.em_UtilityBase)
34 #endif /* RESOURCES_EMUL_HOST_H */