diff


Description:

public bool diff (Connection b, SettingCompareFlags flags, HashTable<string,HashTable<void*,void*>> out_settings)

Compares two Connection objects for similarity, with comparison behavior modified by a set of flags.

See compare for a description of each flag's behavior. If the connections differ, settings and keys within each setting that differ are added to the returned out_settings hash table. No values are returned, only key names.

Parameters:

this

a Connection

b

a second Connection to compare with the first

flags

compare flags, e.g. EXACT

out_settings

if the connections differ, on return a hash table mapping setting names to second-level GHashTable (utf8 to guint32), which contains the key names that differ mapped to one or more of SettingDiffResult as a bitfield

Returns:

true if the connections contain the same values, false if they do not