Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

int(* nl_object_ops::oo_compare)(struct nl_object *, struct nl_object *, uint32_t, int)

Comparison function

Will be called when two objects of the same type are compared. It takes the two objects in question, an object specific bitmask defining which attributes should be compared and flags to control the behaviour.

The function must return a bitmask with the relevant bit set for each attribute that mismatches.

Referenced by nl_object_diff(), nl_object_identical(), and nl_object_match_filter().


Generated by  Doxygen 1.6.0   Back to index