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 of51 //--------------------------------------------------------------------------------------------------55 //--------------------------------------------------------------------------------------------------58 //--------------------------------------------------------------------------------------------------61 * Connect the current client thread to the service providing this API. Block until the service is65 * called before any other functions in this API. Normally, ConnectService is automatically called70 //--------------------------------------------------------------------------------------------------76 //--------------------------------------------------------------------------------------------------79 * Try to connect the current client thread to the service providing this API. Return with an error83 * called before any other functions in this API. Normally, ConnectService is automatically called92 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).95 //--------------------------------------------------------------------------------------------------101 //--------------------------------------------------------------------------------------------------105 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants108 //--------------------------------------------------------------------------------------------------115 //--------------------------------------------------------------------------------------------------121 * longer a connection to the service, and the functions in this API can't be used. For details, see126 //--------------------------------------------------------------------------------------------------133 //--------------------------------------------------------------------------------------------------144 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------163 //--------------------------------------------------------------------------------------------------void(* le_kernelModule_DisconnectHandler_t)(void *)Definition: le_kernelModule_interface.h:56LE_FULL_API void le_kernelModule_SetServerDisconnectHandler(le_kernelModule_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_kernelModule_Unload(const char *LE_NONNULL moduleName)void le_kernelModule_DisconnectService(void)le_result_t le_kernelModule_Load(const char *LE_NONNULL moduleName)void le_kernelModule_ConnectService(void)le_result_t le_kernelModule_TryConnectService(void)