pub unsafe extern "C" fn udsGenerateNodeInfo(
    nodeinfo: *mut udsNodeInfo,
    username: *const c_char
) -> Result
Expand description

Generates a NodeInfo struct with data loaded from system-config.

§Arguments

  • nodeinfo - Output NodeInfo struct.
  • username - If set, this is the UTF-8 string to convert for use in the struct. Max len is 10 characters without NUL-terminator.