le_cfgAdmin_interface.h
Go to the documentation of this file.
67 //--------------------------------------------------------------------------------------------------71 //--------------------------------------------------------------------------------------------------74 //--------------------------------------------------------------------------------------------------77 * Connect the current client thread to the service providing this API. Block until the service is81 * called before any other functions in this API. Normally, ConnectService is automatically called86 //--------------------------------------------------------------------------------------------------92 //--------------------------------------------------------------------------------------------------95 * Try to connect the current client thread to the service providing this API. Return with an error99 * called before any other functions in this API. Normally, ConnectService is automatically called108 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).111 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------121 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants124 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------137 * longer a connection to the service, and the functions in this API can't be used. For details, see142 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------153 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------162 * This function will import a sub-tree as part of the iterator's current transaction. This allows163 * you to create an iterator on a given node. Import a sub-tree, and then examine the contents of172 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------188 * Take a node given from nodePath and stream it and it's children to the file given by filePath.190 * This funciton uses the iterator's read transaction, and takes a snapshot of the current state of198 //--------------------------------------------------------------------------------------------------212 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------235 //--------------------------------------------------------------------------------------------------239 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------250 * @return LE_OK if there is enough room to copy the name into the supplied buffer. LE_OVERFLOW if254 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------273 //--------------------------------------------------------------------------------------------------struct le_cfgAdmin_Iterator * le_cfgAdmin_IteratorRef_tDefinition: le_cfgAdmin_interface.h:154void le_cfgAdmin_ReleaseTreeIterator(le_cfgAdmin_IteratorRef_t iteratorRef)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)void(* le_cfgAdmin_DisconnectHandler_t)(void *)Definition: le_cfgAdmin_interface.h:72le_cfgAdmin_IteratorRef_t le_cfgAdmin_CreateTreeIterator(void)void le_cfgAdmin_SetServerDisconnectHandler(le_cfgAdmin_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_cfgAdmin_ConnectService(void)le_result_t le_cfgAdmin_TryConnectService(void)void le_cfgAdmin_DeleteTree(const char *treeName)le_result_t le_cfgAdmin_GetTreeName(le_cfgAdmin_IteratorRef_t iteratorRef, char *name, size_t nameSize)