shellsim-c-toolchain 0.1.25__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. shellsim_c_toolchain/__init__.py +75 -0
  2. shellsim_c_toolchain/_assets/tcc/SHELLSIM-LIBC-LICENSE +21 -0
  3. shellsim_c_toolchain/_assets/tcc/include/float.h +75 -0
  4. shellsim_c_toolchain/_assets/tcc/include/stdalign.h +16 -0
  5. shellsim_c_toolchain/_assets/tcc/include/stdarg.h +14 -0
  6. shellsim_c_toolchain/_assets/tcc/include/stdatomic.h +171 -0
  7. shellsim_c_toolchain/_assets/tcc/include/stdbool.h +11 -0
  8. shellsim_c_toolchain/_assets/tcc/include/stddef.h +39 -0
  9. shellsim_c_toolchain/_assets/tcc/include/stdnoreturn.h +7 -0
  10. shellsim_c_toolchain/_assets/tcc/include/tccdefs.h +346 -0
  11. shellsim_c_toolchain/_assets/tcc/include/tgmath.h +89 -0
  12. shellsim_c_toolchain/_assets/tcc/include/varargs.h +12 -0
  13. shellsim_c_toolchain/_assets/tcc/shellsim_libc.c +42 -0
  14. shellsim_c_toolchain/_assets/tcc/tcc-shellsim.wasm +0 -0
  15. shellsim_c_toolchain/_assets/tcc/wasm32-libtcc1.a +0 -0
  16. shellsim_c_toolchain/_assets/tinycc-22a2e10-source.tar.gz +0 -0
  17. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__errno_values.h +84 -0
  18. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__fd_set.h +67 -0
  19. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__function___isatty.h +14 -0
  20. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__functions_malloc.h +29 -0
  21. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__functions_memcpy.h +24 -0
  22. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_dirent.h +44 -0
  23. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_fcntl.h +69 -0
  24. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_inttypes.h +184 -0
  25. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_netinet_in.h +32 -0
  26. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_poll.h +33 -0
  27. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_stdlib.h +21 -0
  28. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_string.h +26 -0
  29. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_sys_ioctl.h +17 -0
  30. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_sys_resource.h +19 -0
  31. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_sys_socket.h +81 -0
  32. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_sys_stat.h +15 -0
  33. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_time.h +31 -0
  34. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__header_unistd.h +29 -0
  35. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__macro_FD_SETSIZE.h +6 -0
  36. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__macro_PAGESIZE.h +26 -0
  37. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__mode_t.h +38 -0
  38. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__seek.h +8 -0
  39. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_dirent.h +14 -0
  40. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_in6_addr.h +8 -0
  41. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_in_addr.h +10 -0
  42. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_iovec.h +12 -0
  43. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_msghdr.h +16 -0
  44. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_pollfd.h +10 -0
  45. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_rusage.h +12 -0
  46. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_sockaddr.h +11 -0
  47. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_sockaddr_in.h +14 -0
  48. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_sockaddr_in6.h +16 -0
  49. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_sockaddr_storage.h +11 -0
  50. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_sockaddr_un.h +10 -0
  51. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_stat.h +35 -0
  52. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_timespec.h +12 -0
  53. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_timeval.h +13 -0
  54. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_tm.h +19 -0
  55. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__struct_tms.h +13 -0
  56. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_DIR.h +6 -0
  57. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_blkcnt_t.h +7 -0
  58. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_blksize_t.h +6 -0
  59. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_clock_t.h +7 -0
  60. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_clockid_t.h +6 -0
  61. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_dev_t.h +7 -0
  62. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_fd_set.h +14 -0
  63. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_gid_t.h +6 -0
  64. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_in_addr_t.h +6 -0
  65. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_in_port_t.h +6 -0
  66. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_ino_t.h +7 -0
  67. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_mode_t.h +6 -0
  68. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_nfds_t.h +6 -0
  69. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_nlink_t.h +7 -0
  70. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_off_t.h +7 -0
  71. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_sa_family_t.h +6 -0
  72. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_sigset_t.h +7 -0
  73. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_socklen_t.h +6 -0
  74. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_ssize_t.h +7 -0
  75. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_suseconds_t.h +8 -0
  76. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_time_t.h +7 -0
  77. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/__typedef_uid_t.h +6 -0
  78. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/alloca.h +19 -0
  79. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/ar.h +25 -0
  80. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/arpa/ftp.h +35 -0
  81. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/arpa/inet.h +31 -0
  82. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/arpa/nameser.h +526 -0
  83. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/arpa/nameser_compat.h +2 -0
  84. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/arpa/telnet.h +251 -0
  85. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/arpa/tftp.h +31 -0
  86. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/assert.h +23 -0
  87. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/alltypes.h +461 -0
  88. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/dirent.h +1 -0
  89. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/fcntl.h +1 -0
  90. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/fenv.h +10 -0
  91. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/float.h +16 -0
  92. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/hwcap.h +0 -0
  93. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/io.h +0 -0
  94. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/ioctl.h +1 -0
  95. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/ioctl_fix.h +0 -0
  96. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/ipcstat.h +1 -0
  97. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/limits.h +1 -0
  98. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/mman.h +0 -0
  99. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/poll.h +0 -0
  100. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/posix.h +2 -0
  101. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/reg.h +0 -0
  102. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/resource.h +0 -0
  103. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/setjmp.h +1 -0
  104. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/signal.h +40 -0
  105. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/socket.h +0 -0
  106. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/stat.h +22 -0
  107. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/bits/stdint.h +29 -0
  108. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/byteswap.h +26 -0
  109. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/complex.h +143 -0
  110. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/cpio.h +29 -0
  111. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/crypt.h +20 -0
  112. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/ctype.h +77 -0
  113. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/dirent.h +103 -0
  114. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/dlfcn.h +56 -0
  115. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/endian.h +80 -0
  116. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/err.h +25 -0
  117. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/errno.h +40 -0
  118. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/fcntl.h +250 -0
  119. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/features.h +40 -0
  120. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/fenv.h +28 -0
  121. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/float.h +56 -0
  122. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/fmtmsg.h +47 -0
  123. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/fnmatch.h +24 -0
  124. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/fts.h +155 -0
  125. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/ftw.h +45 -0
  126. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/getopt.h +30 -0
  127. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/glob.h +54 -0
  128. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/iconv.h +24 -0
  129. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/ifaddrs.h +35 -0
  130. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/inttypes.h +233 -0
  131. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/iso646.h +20 -0
  132. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/langinfo.h +98 -0
  133. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/libgen.h +15 -0
  134. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/limits.h +174 -0
  135. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/locale.h +93 -0
  136. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/malloc.h +33 -0
  137. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/math.h +459 -0
  138. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/memory.h +1 -0
  139. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/monetary.h +23 -0
  140. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/mqueue.h +41 -0
  141. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/icmp6.h +305 -0
  142. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/igmp.h +45 -0
  143. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/in.h +434 -0
  144. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/in_systm.h +9 -0
  145. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/ip.h +199 -0
  146. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/ip6.h +141 -0
  147. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/ip_icmp.h +193 -0
  148. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/tcp.h +305 -0
  149. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netinet/udp.h +46 -0
  150. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/netpacket/packet.h +62 -0
  151. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/nl_types.h +22 -0
  152. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/poll.h +69 -0
  153. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/pthread.h +267 -0
  154. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/regex.h +62 -0
  155. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sched.h +151 -0
  156. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/search.h +63 -0
  157. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/semaphore.h +39 -0
  158. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/setjmp.h +55 -0
  159. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/signal.h +339 -0
  160. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdalign.h +20 -0
  161. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdbool.h +14 -0
  162. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdc-predef.h +18 -0
  163. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdint.h +117 -0
  164. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdio.h +259 -0
  165. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdio_ext.h +34 -0
  166. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdlib.h +217 -0
  167. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stdnoreturn.h +7 -0
  168. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/string.h +123 -0
  169. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/strings.h +40 -0
  170. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/stropts.h +139 -0
  171. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/dir.h +2 -0
  172. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/errno.h +2 -0
  173. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/eventfd.h +26 -0
  174. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/fcntl.h +2 -0
  175. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/file.h +21 -0
  176. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/ioctl.h +124 -0
  177. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/mman.h +161 -0
  178. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/param.h +37 -0
  179. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/poll.h +2 -0
  180. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/random.h +27 -0
  181. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/reg.h +18 -0
  182. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/resource.h +126 -0
  183. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/select.h +54 -0
  184. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/signal.h +2 -0
  185. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/socket.h +454 -0
  186. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/stat.h +223 -0
  187. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/statvfs.h +57 -0
  188. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/stropts.h +1 -0
  189. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/syscall.h +10 -0
  190. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/sysinfo.h +36 -0
  191. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/time.h +84 -0
  192. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/timeb.h +28 -0
  193. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/times.h +34 -0
  194. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/timex.h +103 -0
  195. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/ttydefaults.h +34 -0
  196. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/types.h +85 -0
  197. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/uio.h +58 -0
  198. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/un.h +39 -0
  199. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sys/utsname.h +29 -0
  200. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/syscall.h +1 -0
  201. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/sysexits.h +21 -0
  202. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/tar.h +33 -0
  203. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/tgmath.h +270 -0
  204. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/threads.h +93 -0
  205. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/time.h +204 -0
  206. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/uchar.h +29 -0
  207. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/unistd.h +593 -0
  208. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/utime.h +29 -0
  209. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/values.h +39 -0
  210. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/api.h +34 -0
  211. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/libc-busywait.h +15 -0
  212. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/libc-environ.h +36 -0
  213. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/libc-find-relpath.h +75 -0
  214. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/libc-nocwd.h +61 -0
  215. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/libc.h +136 -0
  216. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/version.h +24 -0
  217. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/wasip1.h +2130 -0
  218. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/wasip2.h +10 -0
  219. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wasi/wasip3.h +10 -0
  220. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wchar.h +214 -0
  221. shellsim_c_toolchain/_assets/wasi-sysroot/include/wasm32-wasip1/wctype.h +79 -0
  222. shellsim_c_toolchain/_assets/wasi-sysroot/lib/wasm32-wasip1/libc-printscan-long-double.a +0 -0
  223. shellsim_c_toolchain/_assets/wasi-sysroot/lib/wasm32-wasip1/libc.a +0 -0
  224. shellsim_c_toolchain/_assets/wasi-sysroot/lib/wasm32-wasip1/libsetjmp.a +0 -0
  225. shellsim_c_toolchain-0.1.25.dist-info/METADATA +33 -0
  226. shellsim_c_toolchain-0.1.25.dist-info/RECORD +239 -0
  227. shellsim_c_toolchain-0.1.25.dist-info/WHEEL +5 -0
  228. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSE +201 -0
  229. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/README.md +31 -0
  230. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/tinycc-LGPL-2.1.txt +502 -0
  231. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/tinycc-shellsim-libc-LICENSE +21 -0
  232. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/wasi-libc-CLOUDLIBC-LICENSE +22 -0
  233. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/wasi-libc-FTS-COPYING +26 -0
  234. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/wasi-libc-LICENSE +17 -0
  235. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/wasi-libc-LICENSE-APACHE +201 -0
  236. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/wasi-libc-LICENSE-APACHE-LLVM +219 -0
  237. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/wasi-libc-LICENSE-MIT +23 -0
  238. shellsim_c_toolchain-0.1.25.dist-info/licenses/LICENSES/wasi-libc-MUSL-COPYRIGHT +193 -0
  239. shellsim_c_toolchain-0.1.25.dist-info/top_level.txt +1 -0
@@ -0,0 +1,526 @@
1
+ #ifndef _ARPA_NAMESER_H
2
+ #define _ARPA_NAMESER_H
3
+
4
+ #ifdef __cplusplus
5
+ extern "C" {
6
+ #endif
7
+
8
+ #include <stddef.h>
9
+ #include <stdint.h>
10
+
11
+ #define __NAMESER 19991006
12
+ #define NS_PACKETSZ 512
13
+ #define NS_MAXDNAME 1025
14
+ #define NS_MAXMSG 65535
15
+ #define NS_MAXCDNAME 255
16
+ #define NS_MAXLABEL 63
17
+ #define NS_HFIXEDSZ 12
18
+ #define NS_QFIXEDSZ 4
19
+ #define NS_RRFIXEDSZ 10
20
+ #define NS_INT32SZ 4
21
+ #define NS_INT16SZ 2
22
+ #define NS_INT8SZ 1
23
+ #define NS_INADDRSZ 4
24
+ #define NS_IN6ADDRSZ 16
25
+ #define NS_CMPRSFLGS 0xc0
26
+ #define NS_DEFAULTPORT 53
27
+
28
+ typedef enum __ns_sect {
29
+ ns_s_qd = 0,
30
+ ns_s_zn = 0,
31
+ ns_s_an = 1,
32
+ ns_s_pr = 1,
33
+ ns_s_ns = 2,
34
+ ns_s_ud = 2,
35
+ ns_s_ar = 3,
36
+ ns_s_max = 4
37
+ } ns_sect;
38
+
39
+ typedef struct __ns_msg {
40
+ const unsigned char *_msg, *_eom;
41
+ uint16_t _id, _flags, _counts[ns_s_max];
42
+ const unsigned char *_sections[ns_s_max];
43
+ ns_sect _sect;
44
+ int _rrnum;
45
+ const unsigned char *_msg_ptr;
46
+ } ns_msg;
47
+
48
+ struct _ns_flagdata { int mask, shift; };
49
+ extern const struct _ns_flagdata _ns_flagdata[];
50
+
51
+ #define ns_msg_id(handle) ((handle)._id + 0)
52
+ #define ns_msg_base(handle) ((handle)._msg + 0)
53
+ #define ns_msg_end(handle) ((handle)._eom + 0)
54
+ #define ns_msg_size(handle) ((handle)._eom - (handle)._msg)
55
+ #define ns_msg_count(handle, section) ((handle)._counts[section] + 0)
56
+ #define ns_msg_getflag(handle, flag) \
57
+ (((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift)
58
+
59
+ typedef struct __ns_rr {
60
+ char name[NS_MAXDNAME];
61
+ uint16_t type;
62
+ uint16_t rr_class;
63
+ uint32_t ttl;
64
+ uint16_t rdlength;
65
+ const unsigned char *rdata;
66
+ } ns_rr;
67
+
68
+ #define ns_rr_name(rr) (((rr).name[0] != '\0') ? (rr).name : ".")
69
+ #define ns_rr_type(rr) ((ns_type)((rr).type + 0))
70
+ #define ns_rr_class(rr) ((ns_class)((rr).rr_class + 0))
71
+ #define ns_rr_ttl(rr) ((rr).ttl + 0)
72
+ #define ns_rr_rdlen(rr) ((rr).rdlength + 0)
73
+ #define ns_rr_rdata(rr) ((rr).rdata + 0)
74
+
75
+ typedef enum __ns_flag {
76
+ ns_f_qr,
77
+ ns_f_opcode,
78
+ ns_f_aa,
79
+ ns_f_tc,
80
+ ns_f_rd,
81
+ ns_f_ra,
82
+ ns_f_z,
83
+ ns_f_ad,
84
+ ns_f_cd,
85
+ ns_f_rcode,
86
+ ns_f_max
87
+ } ns_flag;
88
+
89
+ typedef enum __ns_opcode {
90
+ ns_o_query = 0,
91
+ ns_o_iquery = 1,
92
+ ns_o_status = 2,
93
+ ns_o_notify = 4,
94
+ ns_o_update = 5,
95
+ ns_o_max = 6
96
+ } ns_opcode;
97
+
98
+ typedef enum __ns_rcode {
99
+ ns_r_noerror = 0,
100
+ ns_r_formerr = 1,
101
+ ns_r_servfail = 2,
102
+ ns_r_nxdomain = 3,
103
+ ns_r_notimpl = 4,
104
+ ns_r_refused = 5,
105
+ ns_r_yxdomain = 6,
106
+ ns_r_yxrrset = 7,
107
+ ns_r_nxrrset = 8,
108
+ ns_r_notauth = 9,
109
+ ns_r_notzone = 10,
110
+ ns_r_max = 11,
111
+ ns_r_badvers = 16,
112
+ ns_r_badsig = 16,
113
+ ns_r_badkey = 17,
114
+ ns_r_badtime = 18
115
+ } ns_rcode;
116
+
117
+ typedef enum __ns_update_operation {
118
+ ns_uop_delete = 0,
119
+ ns_uop_add = 1,
120
+ ns_uop_max = 2
121
+ } ns_update_operation;
122
+
123
+ struct ns_tsig_key {
124
+ char name[NS_MAXDNAME], alg[NS_MAXDNAME];
125
+ unsigned char *data;
126
+ int len;
127
+ };
128
+ typedef struct ns_tsig_key ns_tsig_key;
129
+
130
+ struct ns_tcp_tsig_state {
131
+ int counter;
132
+ struct dst_key *key;
133
+ void *ctx;
134
+ unsigned char sig[NS_PACKETSZ];
135
+ int siglen;
136
+ };
137
+ typedef struct ns_tcp_tsig_state ns_tcp_tsig_state;
138
+
139
+ #define NS_TSIG_FUDGE 300
140
+ #define NS_TSIG_TCP_COUNT 100
141
+ #define NS_TSIG_ALG_HMAC_MD5 "HMAC-MD5.SIG-ALG.REG.INT"
142
+
143
+ #define NS_TSIG_ERROR_NO_TSIG -10
144
+ #define NS_TSIG_ERROR_NO_SPACE -11
145
+ #define NS_TSIG_ERROR_FORMERR -12
146
+
147
+ typedef enum __ns_type {
148
+ ns_t_invalid = 0,
149
+ ns_t_a = 1,
150
+ ns_t_ns = 2,
151
+ ns_t_md = 3,
152
+ ns_t_mf = 4,
153
+ ns_t_cname = 5,
154
+ ns_t_soa = 6,
155
+ ns_t_mb = 7,
156
+ ns_t_mg = 8,
157
+ ns_t_mr = 9,
158
+ ns_t_null = 10,
159
+ ns_t_wks = 11,
160
+ ns_t_ptr = 12,
161
+ ns_t_hinfo = 13,
162
+ ns_t_minfo = 14,
163
+ ns_t_mx = 15,
164
+ ns_t_txt = 16,
165
+ ns_t_rp = 17,
166
+ ns_t_afsdb = 18,
167
+ ns_t_x25 = 19,
168
+ ns_t_isdn = 20,
169
+ ns_t_rt = 21,
170
+ ns_t_nsap = 22,
171
+ ns_t_nsap_ptr = 23,
172
+ ns_t_sig = 24,
173
+ ns_t_key = 25,
174
+ ns_t_px = 26,
175
+ ns_t_gpos = 27,
176
+ ns_t_aaaa = 28,
177
+ ns_t_loc = 29,
178
+ ns_t_nxt = 30,
179
+ ns_t_eid = 31,
180
+ ns_t_nimloc = 32,
181
+ ns_t_srv = 33,
182
+ ns_t_atma = 34,
183
+ ns_t_naptr = 35,
184
+ ns_t_kx = 36,
185
+ ns_t_cert = 37,
186
+ ns_t_a6 = 38,
187
+ ns_t_dname = 39,
188
+ ns_t_sink = 40,
189
+ ns_t_opt = 41,
190
+ ns_t_apl = 42,
191
+ ns_t_ds = 43,
192
+ ns_t_sshfp = 44,
193
+ ns_t_ipseckey = 45,
194
+ ns_t_rrsig = 46,
195
+ ns_t_nsec = 47,
196
+ ns_t_dnskey = 48,
197
+ ns_t_dhcid = 49,
198
+ ns_t_nsec3 = 50,
199
+ ns_t_nsec3param = 51,
200
+ ns_t_tlsa = 52,
201
+ ns_t_smimea = 53,
202
+ ns_t_hip = 55,
203
+ ns_t_ninfo = 56,
204
+ ns_t_rkey = 57,
205
+ ns_t_talink = 58,
206
+ ns_t_cds = 59,
207
+ ns_t_cdnskey = 60,
208
+ ns_t_openpgpkey = 61,
209
+ ns_t_csync = 62,
210
+ ns_t_spf = 99,
211
+ ns_t_uinfo = 100,
212
+ ns_t_uid = 101,
213
+ ns_t_gid = 102,
214
+ ns_t_unspec = 103,
215
+ ns_t_nid = 104,
216
+ ns_t_l32 = 105,
217
+ ns_t_l64 = 106,
218
+ ns_t_lp = 107,
219
+ ns_t_eui48 = 108,
220
+ ns_t_eui64 = 109,
221
+ ns_t_tkey = 249,
222
+ ns_t_tsig = 250,
223
+ ns_t_ixfr = 251,
224
+ ns_t_axfr = 252,
225
+ ns_t_mailb = 253,
226
+ ns_t_maila = 254,
227
+ ns_t_any = 255,
228
+ ns_t_zxfr = 256,
229
+ ns_t_uri = 256,
230
+ ns_t_caa = 257,
231
+ ns_t_avc = 258,
232
+ ns_t_ta = 32768,
233
+ ns_t_dlv = 32769,
234
+ ns_t_max = 65536
235
+ } ns_type;
236
+
237
+ #define ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || \
238
+ (t) == ns_t_mailb || (t) == ns_t_maila)
239
+ #define ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt)
240
+ #define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t))
241
+ #define ns_t_udp_p(t) ((t) != ns_t_axfr && (t) != ns_t_zxfr)
242
+ #define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr || \
243
+ (t) == ns_t_zxfr)
244
+
245
+ typedef enum __ns_class {
246
+ ns_c_invalid = 0,
247
+ ns_c_in = 1,
248
+ ns_c_2 = 2,
249
+ ns_c_chaos = 3,
250
+ ns_c_hs = 4,
251
+ ns_c_none = 254,
252
+ ns_c_any = 255,
253
+ ns_c_max = 65536
254
+ } ns_class;
255
+
256
+ typedef enum __ns_key_types {
257
+ ns_kt_rsa = 1,
258
+ ns_kt_dh = 2,
259
+ ns_kt_dsa = 3,
260
+ ns_kt_private = 254
261
+ } ns_key_types;
262
+
263
+ typedef enum __ns_cert_types {
264
+ cert_t_pkix = 1,
265
+ cert_t_spki = 2,
266
+ cert_t_pgp = 3,
267
+ cert_t_url = 253,
268
+ cert_t_oid = 254
269
+ } ns_cert_types;
270
+
271
+ #define NS_KEY_TYPEMASK 0xC000
272
+ #define NS_KEY_TYPE_AUTH_CONF 0x0000
273
+ #define NS_KEY_TYPE_CONF_ONLY 0x8000
274
+ #define NS_KEY_TYPE_AUTH_ONLY 0x4000
275
+ #define NS_KEY_TYPE_NO_KEY 0xC000
276
+ #define NS_KEY_NO_AUTH 0x8000
277
+ #define NS_KEY_NO_CONF 0x4000
278
+ #define NS_KEY_RESERVED2 0x2000
279
+ #define NS_KEY_EXTENDED_FLAGS 0x1000
280
+ #define NS_KEY_RESERVED4 0x0800
281
+ #define NS_KEY_RESERVED5 0x0400
282
+ #define NS_KEY_NAME_TYPE 0x0300
283
+ #define NS_KEY_NAME_USER 0x0000
284
+ #define NS_KEY_NAME_ENTITY 0x0200
285
+ #define NS_KEY_NAME_ZONE 0x0100
286
+ #define NS_KEY_NAME_RESERVED 0x0300
287
+ #define NS_KEY_RESERVED8 0x0080
288
+ #define NS_KEY_RESERVED9 0x0040
289
+ #define NS_KEY_RESERVED10 0x0020
290
+ #define NS_KEY_RESERVED11 0x0010
291
+ #define NS_KEY_SIGNATORYMASK 0x000F
292
+ #define NS_KEY_RESERVED_BITMASK ( NS_KEY_RESERVED2 | \
293
+ NS_KEY_RESERVED4 | \
294
+ NS_KEY_RESERVED5 | \
295
+ NS_KEY_RESERVED8 | \
296
+ NS_KEY_RESERVED9 | \
297
+ NS_KEY_RESERVED10 | \
298
+ NS_KEY_RESERVED11 )
299
+ #define NS_KEY_RESERVED_BITMASK2 0xFFFF
300
+ #define NS_ALG_MD5RSA 1
301
+ #define NS_ALG_DH 2
302
+ #define NS_ALG_DSA 3
303
+ #define NS_ALG_DSS NS_ALG_DSA
304
+ #define NS_ALG_EXPIRE_ONLY 253
305
+ #define NS_ALG_PRIVATE_OID 254
306
+
307
+ #define NS_KEY_PROT_TLS 1
308
+ #define NS_KEY_PROT_EMAIL 2
309
+ #define NS_KEY_PROT_DNSSEC 3
310
+ #define NS_KEY_PROT_IPSEC 4
311
+ #define NS_KEY_PROT_ANY 255
312
+
313
+ #define NS_MD5RSA_MIN_BITS 512
314
+ #define NS_MD5RSA_MAX_BITS 4096
315
+ #define NS_MD5RSA_MAX_BYTES ((NS_MD5RSA_MAX_BITS+7/8)*2+3)
316
+ #define NS_MD5RSA_MAX_BASE64 (((NS_MD5RSA_MAX_BYTES+2)/3)*4)
317
+ #define NS_MD5RSA_MIN_SIZE ((NS_MD5RSA_MIN_BITS+7)/8)
318
+ #define NS_MD5RSA_MAX_SIZE ((NS_MD5RSA_MAX_BITS+7)/8)
319
+
320
+ #define NS_DSA_SIG_SIZE 41
321
+ #define NS_DSA_MIN_SIZE 213
322
+ #define NS_DSA_MAX_BYTES 405
323
+
324
+ #define NS_SIG_TYPE 0
325
+ #define NS_SIG_ALG 2
326
+ #define NS_SIG_LABELS 3
327
+ #define NS_SIG_OTTL 4
328
+ #define NS_SIG_EXPIR 8
329
+ #define NS_SIG_SIGNED 12
330
+ #define NS_SIG_FOOT 16
331
+ #define NS_SIG_SIGNER 18
332
+ #define NS_NXT_BITS 8
333
+ #define NS_NXT_BIT_SET( n,p) (p[(n)/NS_NXT_BITS] |= (0x80>>((n)%NS_NXT_BITS)))
334
+ #define NS_NXT_BIT_CLEAR(n,p) (p[(n)/NS_NXT_BITS] &= ~(0x80>>((n)%NS_NXT_BITS)))
335
+ #define NS_NXT_BIT_ISSET(n,p) (p[(n)/NS_NXT_BITS] & (0x80>>((n)%NS_NXT_BITS)))
336
+ #define NS_NXT_MAX 127
337
+
338
+ #define NS_OPT_DNSSEC_OK 0x8000U
339
+ #define NS_OPT_NSID 3
340
+
341
+ #define NS_GET16(s, cp) (void)((s) = ns_get16(((cp)+=2)-2))
342
+ #define NS_GET32(l, cp) (void)((l) = ns_get32(((cp)+=4)-4))
343
+ #define NS_PUT16(s, cp) ns_put16((s), ((cp)+=2)-2)
344
+ #define NS_PUT32(l, cp) ns_put32((l), ((cp)+=4)-4)
345
+
346
+ unsigned ns_get16(const unsigned char *);
347
+ unsigned long ns_get32(const unsigned char *);
348
+ void ns_put16(unsigned, unsigned char *);
349
+ void ns_put32(unsigned long, unsigned char *);
350
+
351
+ int ns_initparse(const unsigned char *, int, ns_msg *);
352
+ int ns_parserr(ns_msg *, ns_sect, int, ns_rr *);
353
+ int ns_skiprr(const unsigned char *, const unsigned char *, ns_sect, int);
354
+ int ns_name_uncompress(const unsigned char *, const unsigned char *, const unsigned char *, char *, size_t);
355
+
356
+
357
+ #define __BIND 19950621
358
+
359
+ typedef struct {
360
+ unsigned id :16;
361
+ #if __BYTE_ORDER == __BIG_ENDIAN
362
+ unsigned qr: 1;
363
+ unsigned opcode: 4;
364
+ unsigned aa: 1;
365
+ unsigned tc: 1;
366
+ unsigned rd: 1;
367
+ unsigned ra: 1;
368
+ unsigned unused :1;
369
+ unsigned ad: 1;
370
+ unsigned cd: 1;
371
+ unsigned rcode :4;
372
+ #else
373
+ unsigned rd :1;
374
+ unsigned tc :1;
375
+ unsigned aa :1;
376
+ unsigned opcode :4;
377
+ unsigned qr :1;
378
+ unsigned rcode :4;
379
+ unsigned cd: 1;
380
+ unsigned ad: 1;
381
+ unsigned unused :1;
382
+ unsigned ra :1;
383
+ #endif
384
+ unsigned qdcount :16;
385
+ unsigned ancount :16;
386
+ unsigned nscount :16;
387
+ unsigned arcount :16;
388
+ } HEADER;
389
+
390
+ #define PACKETSZ NS_PACKETSZ
391
+ #define MAXDNAME NS_MAXDNAME
392
+ #define MAXCDNAME NS_MAXCDNAME
393
+ #define MAXLABEL NS_MAXLABEL
394
+ #define HFIXEDSZ NS_HFIXEDSZ
395
+ #define QFIXEDSZ NS_QFIXEDSZ
396
+ #define RRFIXEDSZ NS_RRFIXEDSZ
397
+ #define INT32SZ NS_INT32SZ
398
+ #define INT16SZ NS_INT16SZ
399
+ #define INT8SZ NS_INT8SZ
400
+ #define INADDRSZ NS_INADDRSZ
401
+ #define IN6ADDRSZ NS_IN6ADDRSZ
402
+ #define INDIR_MASK NS_CMPRSFLGS
403
+ #define NAMESERVER_PORT NS_DEFAULTPORT
404
+
405
+ #define S_ZONE ns_s_zn
406
+ #define S_PREREQ ns_s_pr
407
+ #define S_UPDATE ns_s_ud
408
+ #define S_ADDT ns_s_ar
409
+
410
+ #define QUERY ns_o_query
411
+ #define IQUERY ns_o_iquery
412
+ #define STATUS ns_o_status
413
+ #define NS_NOTIFY_OP ns_o_notify
414
+ #define NS_UPDATE_OP ns_o_update
415
+
416
+ #define NOERROR ns_r_noerror
417
+ #define FORMERR ns_r_formerr
418
+ #define SERVFAIL ns_r_servfail
419
+ #define NXDOMAIN ns_r_nxdomain
420
+ #define NOTIMP ns_r_notimpl
421
+ #define REFUSED ns_r_refused
422
+ #define YXDOMAIN ns_r_yxdomain
423
+ #define YXRRSET ns_r_yxrrset
424
+ #define NXRRSET ns_r_nxrrset
425
+ #define NOTAUTH ns_r_notauth
426
+ #define NOTZONE ns_r_notzone
427
+
428
+ #define DELETE ns_uop_delete
429
+ #define ADD ns_uop_add
430
+
431
+ #define T_A ns_t_a
432
+ #define T_NS ns_t_ns
433
+ #define T_MD ns_t_md
434
+ #define T_MF ns_t_mf
435
+ #define T_CNAME ns_t_cname
436
+ #define T_SOA ns_t_soa
437
+ #define T_MB ns_t_mb
438
+ #define T_MG ns_t_mg
439
+ #define T_MR ns_t_mr
440
+ #define T_NULL ns_t_null
441
+ #define T_WKS ns_t_wks
442
+ #define T_PTR ns_t_ptr
443
+ #define T_HINFO ns_t_hinfo
444
+ #define T_MINFO ns_t_minfo
445
+ #define T_MX ns_t_mx
446
+ #define T_TXT ns_t_txt
447
+ #define T_RP ns_t_rp
448
+ #define T_AFSDB ns_t_afsdb
449
+ #define T_X25 ns_t_x25
450
+ #define T_ISDN ns_t_isdn
451
+ #define T_RT ns_t_rt
452
+ #define T_NSAP ns_t_nsap
453
+ #define T_NSAP_PTR ns_t_nsap_ptr
454
+ #define T_SIG ns_t_sig
455
+ #define T_KEY ns_t_key
456
+ #define T_PX ns_t_px
457
+ #define T_GPOS ns_t_gpos
458
+ #define T_AAAA ns_t_aaaa
459
+ #define T_LOC ns_t_loc
460
+ #define T_NXT ns_t_nxt
461
+ #define T_EID ns_t_eid
462
+ #define T_NIMLOC ns_t_nimloc
463
+ #define T_SRV ns_t_srv
464
+ #define T_ATMA ns_t_atma
465
+ #define T_NAPTR ns_t_naptr
466
+ #define T_A6 ns_t_a6
467
+ #define T_DNAME ns_t_dname
468
+ #define T_DS ns_t_ds
469
+ #define T_SSHFP ns_t_sshfp
470
+ #define T_IPSECKEY ns_t_ipseckey
471
+ #define T_RRSIG ns_t_rrsig
472
+ #define T_NSEC ns_t_nsec
473
+ #define T_DNSKEY ns_t_dnskey
474
+ #define T_DHCID ns_t_dhcid
475
+ #define T_NSEC3 ns_t_nsec3
476
+ #define T_NSEC3PARAM ns_t_nsec3param
477
+ #define T_TLSA ns_t_tlsa
478
+ #define T_SMIMEA ns_t_smimea
479
+ #define T_HIP ns_t_hip
480
+ #define T_NINFO ns_t_ninfo
481
+ #define T_RKEY ns_t_rkey
482
+ #define T_TALINK ns_t_talink
483
+ #define T_CDS ns_t_cds
484
+ #define T_CDNSKEY ns_t_cdnskey
485
+ #define T_OPENPGPKEY ns_t_openpgpkey
486
+ #define T_CSYNC ns_t_csync
487
+ #define T_SPF ns_t_spf
488
+ #define T_UINFO ns_t_uinfo
489
+ #define T_UID ns_t_uid
490
+ #define T_GID ns_t_gid
491
+ #define T_UNSPEC ns_t_unspec
492
+ #define T_NID ns_t_nid
493
+ #define T_L32 ns_t_l32
494
+ #define T_L64 ns_t_l64
495
+ #define T_LP ns_t_lp
496
+ #define T_EUI48 ns_t_eui48
497
+ #define T_EUI64 ns_t_eui64
498
+ #define T_TKEY ns_t_tkey
499
+ #define T_TSIG ns_t_tsig
500
+ #define T_IXFR ns_t_ixfr
501
+ #define T_AXFR ns_t_axfr
502
+ #define T_MAILB ns_t_mailb
503
+ #define T_MAILA ns_t_maila
504
+ #define T_ANY ns_t_any
505
+ #define T_URI ns_t_uri
506
+ #define T_CAA ns_t_caa
507
+ #define T_AVC ns_t_avc
508
+ #define T_TA ns_t_ta
509
+ #define T_DLV ns_t_dlv
510
+
511
+ #define C_IN ns_c_in
512
+ #define C_CHAOS ns_c_chaos
513
+ #define C_HS ns_c_hs
514
+ #define C_NONE ns_c_none
515
+ #define C_ANY ns_c_any
516
+
517
+ #define GETSHORT NS_GET16
518
+ #define GETLONG NS_GET32
519
+ #define PUTSHORT NS_PUT16
520
+ #define PUTLONG NS_PUT32
521
+
522
+ #ifdef __cplusplus
523
+ }
524
+ #endif
525
+
526
+ #endif