le_mdmDefs_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 //--------------------------------------------------------------------------------------------------110 //--------------------------------------------------------------------------------------------------114 //--------------------------------------------------------------------------------------------------LE_FULL_API void le_mdmDefs_SetServerDisconnectHandler(le_mdmDefs_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_mdmDefs_TryConnectService(void)void(* le_mdmDefs_DisconnectHandler_t)(void *)Definition: le_mdmDefs_interface.h:33void le_mdmDefs_ConnectService(void)void le_mdmDefs_DisconnectService(void)