- introduced FindHdbCallbackData

This commit is contained in:
zolliker
2008-02-13 09:50:06 +00:00
parent 4efc67821d
commit 9eb83d3d3f
2 changed files with 39 additions and 8 deletions

View File

@ -284,6 +284,15 @@ void RemoveHipadabaCallback(pHdb root, int id);
* @param internalID The internal ID callbacks have to match in order to be removed.
*/
void InternalRemoveHipadabaCallback(pHdb root, void *internalID);
/**
* find the callback data
* @param node the node from where callbacks have to be searched
* @param type the type of the callback to be searched
* @param func the function registered with the searched callback
* @return the found callback user data or NULL on failure
*/
void *FindHdbCallbackData(pHdb node, int type, hdbCallbackFunction func
, void *internalID);
/**
* invoke a callback chain.
* @param root The callback chain to invoke