le_limit_interface.h
Go to the documentation of this file.
39 //--------------------------------------------------------------------------------------------------43 //--------------------------------------------------------------------------------------------------46 //--------------------------------------------------------------------------------------------------49 * Connect the current client thread to the service providing this API. Block until the service is53 * called before any other functions in this API. Normally, ConnectService is automatically called58 //--------------------------------------------------------------------------------------------------64 //--------------------------------------------------------------------------------------------------67 * Try to connect the current client thread to the service providing this API. Return with an error71 * called before any other functions in this API. Normally, ConnectService is automatically called80 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).83 //--------------------------------------------------------------------------------------------------89 //--------------------------------------------------------------------------------------------------93 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants96 //--------------------------------------------------------------------------------------------------103 //--------------------------------------------------------------------------------------------------109 * longer a connection to the service, and the functions in this API can't be used. For details, see114 //--------------------------------------------------------------------------------------------------void le_limit_ConnectService(void)LE_FULL_API void le_limit_SetServerDisconnectHandler(le_limit_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_limit_DisconnectService(void)void(* le_limit_DisconnectHandler_t)(void *)Definition: le_limit_interface.h:44le_result_t le_limit_TryConnectService(void)