cmp


Description:

public int cmp (WireGuardPeer? b, SettingCompareFlags compare_flags)

Parameters:

this

the WireGuardPeer to compare.

b

the other WireGuardPeer to compare.

compare_flags

SettingCompareFlags to affect the comparison.

Returns:

zero of the two instances are equivalent or a non-zero integer otherwise. This defines a total ordering over the peers. Whether a peer is sealed or not, does not affect the comparison.




2022 vala-language.org