Bindings for c-ares, mostly autogenerated by rust-bindgen.
To create ffi.rs, do this:
bindgen -match ares -o src/ffi.rs c-ares/ares.h
and then apply the patch ffi.patch.
The script generate-ffi.sh automates this process.
Bindings for c-ares, mostly autogenerated by rust-bindgen.
To create ffi.rs, do this:
bindgen -match ares -o src/ffi.rs c-ares/ares.h
and then apply the patch ffi.patch.
The script generate-ffi.sh automates this process.