Function ntcore_sys::NT_GetEntryRaw [] [src]

pub unsafe extern "C" fn NT_GetEntryRaw(
    entry: NT_Entry,
    last_change: *mut u64,
    raw_len: *mut usize
) -> *mut c_char

Returns a copy of the raw value assigned to the entry name. If the entry name is not currently assigned, or is assigned to a different type, returns null.

@param entry entry handle @param last_change returns time in ms since the last change in the value @param raw_len returns the length of the string @return pointer to the raw value (UTF-8), or null if error

It is the caller's responsibility to free the raw value once its no longer needed. The NT_FreeCharArray() function is useful for this purpose.