CS101_ASDU_getElementEx

Function CS101_ASDU_getElementEx 

Source
pub unsafe extern "C" fn CS101_ASDU_getElementEx(
    self_: CS101_ASDU,
    io: InformationObject,
    index: c_int,
) -> InformationObject
Expand description

Get the information object with the given index and store it in the provided information object instance

§Arguments

  • io - if not NULL use the provided information object instance to store the information, has to be of correct type.
  • index - the index of the information object (starting with 0)

§Returns

the information object, or NULL if there is no information object with the given index