Fixed an issue with sget throwing excessive error messages when testing

for the presence of a Hdb node
This commit is contained in:
2016-04-14 14:20:30 +02:00
parent 96114fc803
commit e476d19040
3 changed files with 44 additions and 3 deletions

View File

@@ -281,6 +281,14 @@ pHdb FindHdbParent(char *rootpath, char *relpath, char **namePtr,
* the path starts with "/sics/"
*/
pHdb FindHdbNode(char *rootpath, char *relpath, SConnection * pCon);
/** FindHdbIntern finds a node. It does so without complaining
* on the various bits which can fail. It is for internal use where the caller
* deals with the absence of the desired node.
* @param path the path to search. Paths starting /sics/are searched for in the object database
* @return the found node or NULL on failure
*/
pHdb FindHdbIntern(char *path);
/** Get the absolute path of a node anchored in the
* Hipadaba root or in a sics object
* @param nodeArg the input node