about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-12-15 14:15:34 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-12-15 14:15:34 +0100
commit5ce3e2991360771bf5ed9b2b8c7228c742e5134b (patch)
treefe26d176af47ca77d3f2ef8aba021164b6056a5f /src/include
parent1a7cff559aa23e935a12cedb6ce84fd81e4548f2 (diff)
downloadbox64-5ce3e2991360771bf5ed9b2b8c7228c742e5134b.tar.gz
box64-5ce3e2991360771bf5ed9b2b8c7228c742e5134b.zip
[BOX32][WRAPPER] More work on libc wrapping, and some new syscall too
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/myalign32.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/myalign32.h b/src/include/myalign32.h
index caf2721f..80928b3c 100755
--- a/src/include/myalign32.h
+++ b/src/include/myalign32.h
@@ -602,5 +602,25 @@ typedef struct my_regex_32_s
 void convert_regext_to_32(void* d, void* s);
 void convert_regext_to_64(void* d, void* s);
 
+typedef struct my_ns_msg_32_s {
+	ptr_t     _msg; //const unsigned char	*_
+  ptr_t     _eom; //const unsigned char	*_
+	uint16_t	_id;
+  uint16_t  _flags;
+  uint16_t  _counts[4];
+	ptr_t     _sections[4];//const unsigned char	*_
+	uint32_t	_sect;
+	int			  _rrnum;
+	ptr_t     _msg_ptr; //const unsigned char	*
+} my_ns_msg_32_t;
+
+typedef	struct my_ns_rr_32_s {
+	char			  name[1025];
+	uint16_t		type;
+	uint16_t		rr_class;
+	uint32_t		ttl;
+	uint16_t		rdlength;
+	ptr_t	      rdata;  //const unsigned char *
+} my_ns_rr_32_t;
 
 #endif//__MY_ALIGN32__H_
\ No newline at end of file