interfaces.h

1 /**
2  * This module contains function prototype for sim and mrc services.
3  *
4  * Copyright (C) Sierra Wireless Inc.
5  *
6  */
7 
9 
10 #undef LE_KILL_CLIENT
11 #define LE_KILL_CLIENT LE_WARN
12 
13 //--------------------------------------------------------------------------------------------------
14 /**
15  * Get the client session reference for the current message (STUBBED FUNCTION)
16  */
17 //--------------------------------------------------------------------------------------------------
18 le_msg_SessionRef_t le_wifiClient_GetClientSessionRef
19 (
20  void
21 );
22 
23 //--------------------------------------------------------------------------------------------------
24 /**
25  * Get the server service reference (STUBBED FUNCTION)
26  */
27 //--------------------------------------------------------------------------------------------------
28 le_msg_ServiceRef_t le_wifiClient_GetServiceRef
29 (
30  void
31 );
32 
33 //--------------------------------------------------------------------------------------------------
34 /**
35  * Registers a function to be called whenever one of this service's sessions is closed by
36  * the client. (STUBBED FUNCTION)
37 
38  */
39 //--------------------------------------------------------------------------------------------------
40 le_msg_SessionEventHandlerRef_t MyAddServiceCloseHandler
41 (
42  le_msg_ServiceRef_t serviceRef, ///< [IN] Reference to the service.
43  le_msg_SessionEventHandler_t handlerFunc,///< [IN] Handler function.
44  void* contextPtr ///< [IN] Opaque pointer value to pass to handler.
45 );
void(* le_msg_SessionEventHandler_t)(le_msg_SessionRef_t sessionRef, void *contextPtr)
Definition: le_messaging.h:884
struct le_msg_SessionEventHandler * le_msg_SessionEventHandlerRef_t
Definition: le_messaging.h:869
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:854
struct le_msg_Service * le_msg_ServiceRef_t
Definition: le_messaging.h:840