[][src]Function rust_hdfs::hdfsConfGetStr

pub unsafe extern "C" fn hdfsConfGetStr(
    key: *const c_char,
    val: *mut *mut c_char
) -> c_int

Get a configuration string.

@param key The key to find @param val (out param) The value. This will be set to NULL if the key isn't found. You must free this string with hdfsConfStrFree.

@return 0 on success; nonzero error code otherwise. Failure to find the key is not an error.