le_kernelModule_interface.h
Go to the documentation of this file.
20 * Module dependencies and running module load scripts are handled automatically. Only the name of46 //--------------------------------------------------------------------------------------------------50 //--------------------------------------------------------------------------------------------------53 //--------------------------------------------------------------------------------------------------56 * Connect the current client thread to the service providing this API. Block until the service is60 * called before any other functions in this API. Normally, ConnectService is automatically called65 //--------------------------------------------------------------------------------------------------71 //--------------------------------------------------------------------------------------------------74 * Try to connect the current client thread to the service providing this API. Return with an error78 * called before any other functions in this API. Normally, ConnectService is automatically called87 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).90 //--------------------------------------------------------------------------------------------------96 //--------------------------------------------------------------------------------------------------100 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants103 //--------------------------------------------------------------------------------------------------110 //--------------------------------------------------------------------------------------------------116 * longer a connection to the service, and the functions in this API can't be used. For details, see121 //--------------------------------------------------------------------------------------------------128 //--------------------------------------------------------------------------------------------------136 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------162 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------le_result_t le_kernelModule_TryConnectService(void)le_result_t le_kernelModule_Load(const char *LE_NONNULL moduleName)void(* le_kernelModule_DisconnectHandler_t)(void *)Definition: le_kernelModule_interface.h:51void le_kernelModule_SetServerDisconnectHandler(le_kernelModule_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_kernelModule_ConnectService(void)le_result_t le_kernelModule_Unload(const char *LE_NONNULL moduleName)void le_kernelModule_DisconnectService(void)