le_cfgAdmin_interface.h
Go to the documentation of this file.
65 //--------------------------------------------------------------------------------------------------68 * Connect the current client thread to the service providing this API. Block until the service is72 * called before any other functions in this API. Normally, ConnectService is automatically called77 //--------------------------------------------------------------------------------------------------83 //--------------------------------------------------------------------------------------------------86 * Try to connect the current client thread to the service providing this API. Return with an error90 * called before any other functions in this API. Normally, ConnectService is automatically called97 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.98 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).101 //--------------------------------------------------------------------------------------------------107 //--------------------------------------------------------------------------------------------------113 * longer a connection to the service, and the functions in this API can't be used. For details, see118 //--------------------------------------------------------------------------------------------------125 //--------------------------------------------------------------------------------------------------129 //--------------------------------------------------------------------------------------------------132 //--------------------------------------------------------------------------------------------------137 * This function will import a sub-tree as part of the iterator's current transaction. This allows138 * you to create an iterator on a given node. Import a sub-tree, and then examine the contents of147 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------164 * Take a node given from nodePath and stream it and it's children to the file given by filePath.166 * This funciton uses the iterator's read transaction, and takes a snapshot of the current state of174 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------193 //--------------------------------------------------------------------------------------------------200 //--------------------------------------------------------------------------------------------------205 //--------------------------------------------------------------------------------------------------211 //--------------------------------------------------------------------------------------------------215 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------226 * @return LE_OK if there is enough room to copy the name into the supplied buffer. LE_OVERFLOW if230 //--------------------------------------------------------------------------------------------------244 //--------------------------------------------------------------------------------------------------251 //--------------------------------------------------------------------------------------------------struct le_cfgAdmin_Iterator * le_cfgAdmin_IteratorRef_tDefinition: le_cfgAdmin_interface.h:130void le_cfgAdmin_ReleaseTreeIterator(le_cfgAdmin_IteratorRef_t iteratorRef)le_result_t le_cfgAdmin_GetTreeName(le_cfgAdmin_IteratorRef_t iteratorRef, char *name, size_t nameNumElements)le_result_t le_cfgAdmin_NextTree(le_cfgAdmin_IteratorRef_t iteratorRef)le_result_t le_cfgAdmin_ExportTree(le_cfg_IteratorRef_t iteratorRef, const char *filePath, const char *nodePath)le_result_t le_cfgAdmin_ImportTree(le_cfg_IteratorRef_t iteratorRef, const char *filePath, const char *nodePath)void le_cfgAdmin_DisconnectService(void)le_cfgAdmin_IteratorRef_t le_cfgAdmin_CreateTreeIterator(void)void le_cfgAdmin_ConnectService(void)le_result_t le_cfgAdmin_TryConnectService(void)void le_cfgAdmin_DeleteTree(const char *treeName)