Kolibri library – API Documentation

Header image

Main page


KolibriErr KOLIBRI_FUNC_ATTR kolibriGetNodeList ( char const ***  paths,
unsigned *  n 
)

Gets the list of all nodes.

This function gets a list of the paths of all nodes on the Broker underneath the Producer's path.

Parameters
pathsOutput parameter: List of paths. The memory allocated for the paths and for the paths list must be released by the caller.
nOutput parameter: Size of the paths list
Returns
Returns one of the following codes:
See also
kolibriGetNodeListDone()
Reentrance
Yes, but note that only one of the functions kolibriCreateNode(), kolibriModifyNode(), kolibriDeleteNode(), kolibriGetNodeProps(), kolibriGetNodeList() and kolibriGetNodeListDone() can be executed at a time. If a second task tries to execute one of these functions, KOLIBRI_ERR_RESOURCE will be returned.
Note
If the function returns KOLIBRI_ERR_MEM it may still have allocated internal data structures that should be released through kolibriGetNodeListDone().
Since
1.0.0





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10