nfsv41-sys 0.1.1

Bindings for the NFSv4.1 protocol structs and XDR codecs (nfsv41.h)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(clippy::missing_safety_doc)]
#![allow(unnecessary_transmutes)]
#![allow(improper_ctypes)]
#![allow(improper_ctypes_definitions)]
#![allow(unsafe_op_in_unsafe_fn)]
#![allow(clippy::ptr_offset_with_cast)]

// The codec wrappers in wrapper.c (compiled into this crate's rlib)
// reference libntirpc.so symbols directly, so any binary that uses this
// crate must also link the dynamic library. `#[link]` ensures rustc
// re-emits -lntirpc at final link time whenever this rlib is pulled in.
#[link(name = "ntirpc", kind = "dylib")]
unsafe extern "C" {}

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));