le_limit_interface.h
Go to the documentation of this file.
38 //--------------------------------------------------------------------------------------------------42 //--------------------------------------------------------------------------------------------------45 //--------------------------------------------------------------------------------------------------48 * Connect the current client thread to the service providing this API. Block until the service is52 * called before any other functions in this API. Normally, ConnectService is automatically called57 //--------------------------------------------------------------------------------------------------63 //--------------------------------------------------------------------------------------------------66 * Try to connect the current client thread to the service providing this API. Return with an error70 * called before any other functions in this API. Normally, ConnectService is automatically called79 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).82 //--------------------------------------------------------------------------------------------------88 //--------------------------------------------------------------------------------------------------92 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants95 //--------------------------------------------------------------------------------------------------102 //--------------------------------------------------------------------------------------------------108 * longer a connection to the service, and the functions in this API can't be used. For details, see113 //--------------------------------------------------------------------------------------------------120 //--------------------------------------------------------------------------------------------------124 //--------------------------------------------------------------------------------------------------127 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------134 //--------------------------------------------------------------------------------------------------138 //--------------------------------------------------------------------------------------------------141 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------148 //--------------------------------------------------------------------------------------------------152 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------void le_limit_ConnectService(void)void le_limit_DisconnectService(void)void(* le_limit_DisconnectHandler_t)(void *)Definition: le_limit_interface.h:43le_result_t le_limit_TryConnectService(void)void le_limit_SetServerDisconnectHandler(le_limit_DisconnectHandler_t disconnectHandler, void *contextPtr)