Usermode - Working on AxWin3 SubWin widget (also API change for SysSpawn)
[tpg/acess2.git] / Usermode / Libraries / ld-acess.so_src / include_exp / acess / syscall_types.h
1 /*
2  * Acess2 Dynamic Linker
3  * - By John Hodge (thePowersGang)
4  *
5  * acess/syscall_types.h
6  * - Structures used for syscalls
7  */
8
9 #ifndef _ACESS__SYSCALL_TYPES_H_
10 #define _ACESS__SYSCALL_TYPES_H_
11
12 struct s_sysACL {
13         unsigned long   object; /*!< Group or user (bit 31 determines) */
14         unsigned long   perms;  /*!< Inverted by bit 31 */
15 };
16 struct s_sysFInfo {
17         unsigned int    mount;
18         unsigned long long      inode;
19         unsigned int    uid;
20         unsigned int    gid;
21         unsigned int    flags;
22         unsigned long long      size;
23         time_t  atime;
24         time_t  mtime;
25         time_t  ctime;
26          int    numacls;
27         struct s_sysACL acls[];
28 } __attribute__((packed));
29 typedef struct s_sysFInfo       t_sysFInfo;
30 typedef struct s_sysACL t_sysACL;
31
32 struct s_sys_spawninfo
33 {
34         unsigned int    flags;
35         unsigned int    uid;
36         unsigned int    gid;
37 };
38
39 #endif
40

UCC git Repository :: git.ucc.asn.au