compare


Description:

[ CCode ( cname = "e_xmlhash_compare" ) ]
public XmlHashStatus compare (string key, string compare_data)

Compares the value with key equal to key in hash against compare_data.

Parameters:

key

the key of the hash entry to compare with

compare_data

the data to compare against the hash entry

hash

the XmlHash to compare against

Returns:

E_XMLHASH_STATUS_SAME if the value and compare_data are equal,E_XMLHASH_STATUS_DIFFERENT if they are different, or E_XMLHASH_STATUS_NOT_FOUND if there is no entry in hash with its key equal to key.