Config Tree Admin API

API Reference

This API includes functions for importing and exporting subsections of the config tree to and from a file.

This API also includes an iterator object that can be used to iterate over the list of trees currently known by the system.

An example of printing the list of trees in a system:

while (le_cfgAdmin_NextTree(iteratorRef) == LE_OK)
{
char treeName[MAX_TREE_NAME] = { 0 };
if (le_cfgAdmin_GetTreeName(iteratorRef, treeName, sizeof(treeName)) == LE_OK)
{
printf("Tree: \"%s\"\n", treeName);
}
else
{
printf("Tree: \"%s\", truncated.\n", treeName);
}
}

Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.