From bb60cc8568d592535d3f9195aa40a4377e13a69c Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 12 Dec 2024 10:48:14 +0100 Subject: [BOX32][WRAPPER] Added more libc and libresolv 32bits wrapped functions --- src/include/myalign32.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include') diff --git a/src/include/myalign32.h b/src/include/myalign32.h index 3f4ae6a5..d363ff4a 100755 --- a/src/include/myalign32.h +++ b/src/include/myalign32.h @@ -493,6 +493,13 @@ struct i386_hostent { ptr_t h_addr_list;// char ** }; +struct i386_servent { + ptr_t s_name; // char * + ptr_t s_aliases; // char ** + int s_port; + ptr_t s_proto; // char * +}; + struct i386_iovec { ptr_t iov_base; // void * @@ -510,6 +517,11 @@ struct i386_msghdr int msg_flags; } __attribute__((packed, aligned(4))); +struct i386_mmsghdr { + struct i386_msghdr msg_hdr; + unsigned int msg_len; +}; + struct i386_cmsghdr { ulong_t cmsg_len; -- cgit 1.4.1