le_atDefs_interface.h
Go to the documentation of this file.
28 //--------------------------------------------------------------------------------------------------32 //--------------------------------------------------------------------------------------------------35 //--------------------------------------------------------------------------------------------------38 * Connect the current client thread to the service providing this API. Block until the service is42 * called before any other functions in this API. Normally, ConnectService is automatically called47 //--------------------------------------------------------------------------------------------------53 //--------------------------------------------------------------------------------------------------56 * Try to connect the current client thread to the service providing this API. Return with an error60 * called before any other functions in this API. Normally, ConnectService is automatically called69 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).72 //--------------------------------------------------------------------------------------------------78 //--------------------------------------------------------------------------------------------------82 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants85 //--------------------------------------------------------------------------------------------------92 //--------------------------------------------------------------------------------------------------98 * longer a connection to the service, and the functions in this API can't be used. For details, see103 //--------------------------------------------------------------------------------------------------void(* le_atDefs_DisconnectHandler_t)(void *)Definition: le_atDefs_interface.h:33le_result_t le_atDefs_TryConnectService(void)void le_atDefs_DisconnectService(void)LE_FULL_API void le_atDefs_SetServerDisconnectHandler(le_atDefs_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_atDefs_ConnectService(void)