diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-08-30 18:54:16 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-08-30 18:54:16 +0200 |
| commit | 723b94da053b15dcea48130e820a34fc8509381e (patch) | |
| tree | dfc1a78da82bd9f4b0266830fa80c4c5dbbbfc8b /src/include | |
| parent | 7ecdced4860d12b8f484e0b222d08192be4a56eb (diff) | |
| download | box64-723b94da053b15dcea48130e820a34fc8509381e.tar.gz box64-723b94da053b15dcea48130e820a34fc8509381e.zip | |
[BOX32] More 32bits wrapped function and fixes
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/myalign32.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/myalign32.h b/src/include/myalign32.h index b7d67016..7e9c3a6c 100755 --- a/src/include/myalign32.h +++ b/src/include/myalign32.h @@ -427,4 +427,17 @@ void unalignNGValue(void* value, my_GValue_t* v, int n); int of_convert32(int a); int of_unconvert32(int a); +struct i386_addrinfo +{ + int ai_flags; + int ai_family; + int ai_socktype; + int ai_protocol; + uint32_t ai_addrlen; + ptr_t ai_addr; // struct sockaddr * + ptr_t ai_canonname; // char * + ptr_t ai_next; // struct addrinfo * +} __attribute__((packed)); + + #endif//__MY_ALIGN32__H_ \ No newline at end of file |