Function gnunet_sys::GNUNET_BIO_read_spec_string[][src]

pub unsafe extern "C" fn GNUNET_BIO_read_spec_string(
    what: *const c_char,
    result: *mut *mut c_char,
    max_length: usize
) -> GNUNET_BIO_ReadSpec

Create the specification to read a 0-terminated string.

@param what describes what is being read (for error message creation) @param result where to store the pointer to the (allocated) string (note that *result could be set to NULL as well) @param max_length maximum allowed length for the string @return the read spec