dnsjit.core.compat(3)

πŸ“¦
version 1.5.1 Β· 5 versions
, in epel 10, epel 9, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– dnsjit.core.compat β€” cross platform compatibility support πŸ’–

ok so this is a page from the dnsjit manual, section 3 (library functions, iykyk). it's all about dnsjit.core.compat, which is basically the friend that makes sure everything plays nice no matter what platform you're on. πŸ¦‹


✨ SYNOPSIS ✨

require("dnsjit.core.compat_h")

that's it bestie, one line, no cap. πŸŽ€


🌸 DESCRIPTION 🌸

okay so listen. this module defines a bunch of system structures so they can be exposed into Lua β€” but like, not really used. the vibe is "they're here, they're visible, don't touch them". πŸ™ˆ

and here's the cute part: the size of each one is generated at compile time to match whatever those structures actually are on your platform. so it's not guessing, it's matching. main character behaviour fr. πŸ’…

🧚 Structures 🧚

these are the ones getting the exposure treatment:

  • pthread_t
  • pthread_cond_t
  • pthread_mutex_t
  • struct sockaddr_storage
  • ck_ring_t
  • ck_ring_buffer_t

lowkey iconic lineup ngl. ✨


πŸ‘‘ AUTHORS and CONTRIBUTORS πŸ‘‘

the legends behind this:

  • Jerry LundstrΓΆm (DNS-OARC)
  • TomΓ‘Ε‘ KΕ™Γ­ΕΎek (CZ.NIC)
  • Petr Ε paček (ISC)

maintained by DNS-OARC 🫢

https://www.dns-oarc.net/

πŸ’€ BUGS πŸ’€

found a bug? got a feature request? bestie, don't suffer in silence, go here:

https://codeberg.org/DNS-OARC/dnsjit/issues

got a question? just need help? hit up:

admin@dns-oarc.net

fr fr, they wanna hear from you. bugs are not a vibe, reporting them is. πŸ’–

and that's the whole page, bestie β€” this was dnsjit 1.5.1, dated with the dnsjit.core.compat(3) energy, and honestly? slay. go forth and be cross-platform. πŸŒˆβ­πŸ’œ