[][src]Module zeroconf::ffi

Utilities related to FFI bindings

Modules

c_str

Utilities related to c-string handling

Traits

AsRaw

Helper trait to convert self to a raw *mut c_void

CloneRaw

Helper trait to convert and clone a raw *mut c_void to it's rust type

FromRaw

Helper trait to convert a raw *mut c_void to it's rust type

UnwrapMutOrNull

Helper trait to unwrap a type to a *mut T or a null-pointer if not present.

UnwrapOrNull

Helper trait to unwrap a type to a *const T or a null-pointer if not present.

Functions

get_ip

Returns a human-readable address of the specified raw address

read_select

Performs a unix select() on the specified sock_fd and timeout. Returns the select result or Err if the result is negative.