Check if a property exists

This commit is contained in:
Douglas Clowes
2012-11-29 10:29:52 +11:00
parent 458b0f24cb
commit a7a27ff408

View File

@ -430,6 +430,13 @@ void SetHdbProperty(pHdb node, char *key, char *value);
* @param len The length of value
* @return 0 on failure, 1 on success
*/
/**
* Check if a property exists
* @param node The node to get the property from
* @param key The properties key
* @return 1 or 0 for true or false
*/
int HasHdbProperty(pHdb node, char *key);
int GetHdbProperty(pHdb node, char *key, char *value, int len);
/**
* get the value of a property