acSystemGetInterfaceSubnetMaskStr

Function acSystemGetInterfaceSubnetMaskStr 

Source
pub unsafe extern "C" fn acSystemGetInterfaceSubnetMaskStr(
    hSystem: acSystem,
    index: usize,
    pSubnetMaskStr: *mut c_char,
    pBufLen: *mut usize,
) -> AC_ERROR
Expand description

@fn AC_ERROR AC_API acSystemGetInterfaceSubnetMaskStr(acSystem hSystem, size_t index, char* pSubnetMaskStr, size_t* pBufLen)

@param hSystem

  • Type: acSystem
  • [In] parameter
  • The system object

@param index

  • Type: size_t
  • [In] parameter
  • Index of the interface

@param pSubnetMaskStr

  • Type: char*
  • [Out] parameter
  • Accepts null
  • Subnet mask as a dot-separated string

@param pBufLen

  • Type: size_t*
  • [In/out] parameter
  • (In) Length of the buffer
  • (Out) Length of the value

@return

  • Type: AC_ERROR
  • Error code for the function
  • Returns AC_ERR_SUCCESS (0) on success

acSystemGetInterfaceSubnetMaskStr gets the subnet mask of an interface on the network, returning it as a string.