cstruct
Access C-like structures directly from OCaml

Install

Authors

Maintainers

Sources

cstruct-v5.1.1.tbz
sha256=55d1f42cb85f7872fee499c5ed382aea17b06d55d1709e071d1ba85c7a09fef3
sha512=c3aa9a5a9125a1d022506a76fd7cdf32b21edcdc9df1202d8a9f382d02a28a33fea9a958f79e9302907ade1fce3f166b620c320aed6486e3efcc9a7464379cab

Description

Cstruct is a library and syntax extension to make it easier to access C-like structures directly from OCaml. It supports both reading and writing to these structures, and they are accessed via the Bigarray module.

Tags

org:mirage org:ocamllabs

Published: 25 Nov 2019

Dependencies (3)

  1. bigarray-compat
  2. dune
  3. ocaml >= "4.03.0"

Dev Dependencies (1)

  1. alcotest with-test

  1. albatross < "1.3.0"
  2. angstrom >= "0.2.0" & < "0.7.0"
  3. arakoon >= "1.8.6" & < "1.8.12"
  4. arp >= "0.2.1" & < "3.0.0"
  5. arp-mirage
  6. asn1-combinators >= "0.2.0-1" & < "0.2.6"
  7. awa < "0.0.4"
  8. awa-lwt < "0.0.4"
  9. awa-mirage < "0.0.4"
  10. balancer
  11. bip32
  12. buffer-pool
  13. capnp-rpc-net >= "1.1" & < "1.2.1"
  14. carton < "0.4.3"
  15. certify >= "0.2"
  16. chacha < "1.1.0"
  17. channel
  18. charrua < "1.4.1"
  19. charrua-client < "1.4.1"
  20. charrua-client-lwt
  21. charrua-client-mirage < "0.12.0"
  22. charrua-server < "1.4.1"
  23. charrua-unix = "0.6"
  24. cohttp >= "0.9.7" & < "0.10.0"
  25. colombe < "0.2.0"
  26. conduit >= "0.6.0" & < "0.15.2"
  27. conduit-async = "3.0.0"
  28. conduit-lwt = "3.0.0"
  29. conduit-mirage != "3.0.0"
  30. conex < "0.10.0"
  31. conex-mirage-crypto
  32. conex-nocrypto >= "0.11.0"
  33. cowabloga >= "0.0.5"
  34. crc
  35. crunch >= "2.0.0" & < "3.0.0"
  36. cstruct-async >= "3.4.0" & < "4.0.0" | = "5.1.1"
  37. cstruct-lwt >= "3.4.0" & < "4.0.0" | = "5.1.1"
  38. cstruct-sexp >= "5.0.0" & < "5.2.0"
  39. cstruct-unix >= "3.1.0" & < "3.2.0" | >= "3.4.0" & < "4.0.0" | = "5.1.1"
  40. current_git = "0.5"
  41. datakit
  42. datakit-ci >= "0.12.4"
  43. datakit-client
  44. datakit-client-9p
  45. datakit-server
  46. depyt >= "0.2.0"
  47. dns >= "1.0.0" & < "6.0.0"
  48. dns-client < "6.0.0"
  49. dns-forward >= "0.9.0"
  50. dnssd
  51. dream < "1.0.0~alpha2"
  52. duff < "0.3"
  53. eqaf >= "0.8"
  54. ethernet < "2.2.1"
  55. fat-filesystem >= "0.13.0" & < "0.15.1"
  56. fiat-p256
  57. frenetic < "2.0.0" | >= "3.2.0" & < "5.0.0"
  58. git >= "2.0.0" & < "3.5.0"
  59. github-hooks >= "0.2.0"
  60. gluten-mirage < "0.3.0"
  61. h2-mirage
  62. hacl-star >= "0.7.0"
  63. hacl_x25519
  64. hex >= "1.4.0"
  65. hkdf
  66. hvsock < "3.0.0"
  67. io-page
  68. io-page-unix
  69. io-page-xen
  70. ipaddr-cstruct < "5.2.0"
  71. ipv6-multicast >= "0.9"
  72. irmin >= "0.9.0" & < "1.0.0" | >= "1.1.0" & < "2.0.0"
  73. irmin-git >= "2.3.0"
  74. irmin-indexeddb >= "0.3"
  75. jose < "0.7.0"
  76. key-parsers >= "0.5.0" & < "1.2.1"
  77. launchd
  78. learn-ocaml-client
  79. ledgerwallet < "0.2.0"
  80. letsencrypt = "0.2.5"
  81. letsencrypt-app < "0.4.0"
  82. macaddr-cstruct < "5.2.0"
  83. metrics-mirage
  84. mirage >= "0.7.2" & < "0.9.0" | >= "0.10.0" & < "2.4.0"
  85. mirage-block >= "2.0.0"
  86. mirage-block-ccm < "1.1.0"
  87. mirage-block-combinators < "3.0.0"
  88. mirage-block-lwt
  89. mirage-block-ramdisk
  90. mirage-block-solo5 < "0.6.2"
  91. mirage-block-unix = "2.0.0" | = "2.7.0" | >= "2.11.1" & < "2.13.0"
  92. mirage-block-xen >= "1.4.0" & < "1.5.2" | >= "1.6.0" & < "2.1.1"
  93. mirage-btrees
  94. mirage-channel >= "4.0.0" & < "4.1.0"
  95. mirage-channel-lwt
  96. mirage-clock-unix < "1.0.0"
  97. mirage-clock-xen < "1.0.0"
  98. mirage-conduit < "2.0.0" | >= "2.3.1"
  99. mirage-console >= "3.0.0" & < "4.0.0"
  100. mirage-console-lwt
  101. mirage-console-solo5 >= "0.2.0"
  102. mirage-console-unix >= "2.2.1" & < "5.0.0"
  103. mirage-console-xen = "4.0.0"
  104. mirage-console-xen-backend >= "2.3.2" & < "2.3.4" | = "4.0.0"
  105. mirage-crypto < "0.10.4"
  106. mirage-crypto-ec < "0.10.4"
  107. mirage-crypto-entropy
  108. mirage-crypto-pk < "0.10.4"
  109. mirage-crypto-rng < "0.10.4"
  110. mirage-crypto-rng-mirage
  111. mirage-dns != "2.6.0" & < "2.7.0"
  112. mirage-entropy
  113. mirage-entropy-xen < "0.3.0"
  114. mirage-flow < "1.2.0" | >= "2.0.0"
  115. mirage-flow-combinators < "3.0.0"
  116. mirage-flow-lwt
  117. mirage-flow-rawlink
  118. mirage-flow-unix < "3.0.0"
  119. mirage-fs >= "0.4.0" & < "1.0.0" | >= "3.0.0"
  120. mirage-fs-lwt
  121. mirage-fs-mem
  122. mirage-fs-unix < "1.1.0" | >= "1.4.0" & != "1.5.0"
  123. mirage-kv-lwt
  124. mirage-kv-unix
  125. mirage-nat < "2.2.4"
  126. mirage-net = "0.5.2" | >= "3.0.0"
  127. mirage-net-fd
  128. mirage-net-lwt
  129. mirage-net-macosx
  130. mirage-net-solo5
  131. mirage-net-unix < "2.1.0" | >= "2.2.1"
  132. mirage-net-xen != "1.4.2" & != "1.7.0" & < "2.1.0"
  133. mirage-profile >= "0.8.2"
  134. mirage-protocols-lwt
  135. mirage-qubes != "0.2" & < "0.5" | >= "0.7.0" & < "0.9.2"
  136. mirage-qubes-ipv4 < "0.9.3"
  137. mirage-random
  138. mirage-random-stdlib
  139. mirage-random-test
  140. mirage-solo5
  141. mirage-stack-lwt
  142. mirage-tc
  143. mirage-tcpip-unix
  144. mirage-tcpip-xen
  145. mirage-types-lwt < "3.7.1"
  146. mirage-unix < "0.9.4" | >= "2.5.0" & < "3.0.8"
  147. mirage-vnetif < "0.6.0"
  148. mirage-www < "0.4.0" | >= "1.1.0"
  149. mirage-xen < "2.0.0" | >= "2.6.0"
  150. monorobot
  151. mrt-format >= "0.3.1"
  152. mstruct
  153. nbd = "4.0.3"
  154. netchannel < "2.1.0"
  155. nocrypto < "0.4.0" | >= "0.5.4-1"
  156. noise
  157. openflow < "0.2.0"
  158. otr = "0.3.1" | >= "0.3.5" & < "0.3.9"
  159. ox < "1.1.1"
  160. pbkdf < "0.3.0" | = "1.1.0"
  161. pcap-format >= "0.5.2"
  162. pf-qubes
  163. plebeia < "2.0.0"
  164. ppx_cstruct = "5.1.1"
  165. protocol-9p = "2.0.1"
  166. protocol-9p-tool = "0.12.0" | >= "2.0.0" & < "2.0.2"
  167. protocol-9p-unix < "2.0.2"
  168. qcow >= "0.11.0"
  169. qcow-tool
  170. randomconv
  171. rawlink >= "0.6" & < "1.2"
  172. resp-mirage = "0.10.0"
  173. rfc6287 >= "1.0.2"
  174. salsa20 < "1.2.0"
  175. salsa20-core >= "0.3.0" & < "1.1.0"
  176. scrypt-kdf >= "0.2.0" & < "1.2.0"
  177. secp256k1-internal < "0.3.0"
  178. sendmail >= "0.4.1" & < "0.5.0"
  179. shared-block-ring < "3.0.1"
  180. shared-memory-ring >= "3.0.1" & < "3.1.1"
  181. shared-memory-ring-lwt
  182. ssh-agent
  183. tar >= "1.0.0" & < "2.0.0"
  184. tar-mirage
  185. tar-unix != "1.0.0" & < "2.0.0"
  186. tcpip >= "3.3.0" & < "6.3.0"
  187. tezos-lmdb
  188. tls >= "0.10.2" & < "0.14.0"
  189. u2f = "0.1.1"
  190. uecc
  191. vchan >= "3.0.0" & < "6.0.1"
  192. vchan-unix
  193. vchan-xen
  194. vhd-format >= "0.12.0"
  195. vhd-format-lwt
  196. vhd-tool < "0.12.0"
  197. vmnet >= "1.1.0"
  198. x509 >= "0.6.3" & < "0.14.1"
  199. xe
  200. xen-api-client >= "0.9.6" & < "0.9.14"
  201. xen-block-driver >= "0.2.5"
  202. xen-gnt
  203. xenstore >= "2.1.0"

Conflicts (1)

  1. js_of_ocaml < "3.5.0"