Check if a property exists
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user