interfaces/dataConnectionService/c/le_data_interface.h
Go to the documentation of this file.
00001 /*
00002  * ====================== WARNING ======================
00003  *
00004  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
00005  * DO NOT MODIFY IN ANY WAY.
00006  *
00007  * ====================== WARNING ======================
00008  */
00009 
00093 #ifndef LE_DATA_INTERFACE_H_INCLUDE_GUARD
00094 #define LE_DATA_INTERFACE_H_INCLUDE_GUARD
00095 
00096 
00097 #include "legato.h"
00098 
00099 // User customizable include file
00100 #include "le_data_defs.h"
00101 
00102 
00103 //--------------------------------------------------------------------------------------------------
00107 //--------------------------------------------------------------------------------------------------
00108 void le_data_StartClient
00109 (
00110     const char* serviceInstanceName
00112 );
00113 
00114 //--------------------------------------------------------------------------------------------------
00118 //--------------------------------------------------------------------------------------------------
00119 void le_data_StopClient
00120 (
00121     void
00122 );
00123 
00124 
00125 //--------------------------------------------------------------------------------------------------
00129 //--------------------------------------------------------------------------------------------------
00130 typedef struct le_data_ConnectionStateHandler* le_data_ConnectionStateHandlerRef_t;
00131 
00132 
00133 //--------------------------------------------------------------------------------------------------
00143 //--------------------------------------------------------------------------------------------------
00144 typedef void (*le_data_ConnectionStateHandlerFunc_t)
00145 (
00146     const char* intfName,
00147     bool isConnected,
00148     void* contextPtr
00149 );
00150 
00151 //--------------------------------------------------------------------------------------------------
00155 //--------------------------------------------------------------------------------------------------
00156 le_data_ConnectionStateHandlerRef_t le_data_AddConnectionStateHandler
00157 (
00158     le_data_ConnectionStateHandlerFunc_t handlerPtr,
00160 
00161     void* contextPtr
00163 );
00164 
00165 //--------------------------------------------------------------------------------------------------
00169 //--------------------------------------------------------------------------------------------------
00170 void le_data_RemoveConnectionStateHandler
00171 (
00172     le_data_ConnectionStateHandlerRef_t addHandlerRef
00174 );
00175 
00176 //--------------------------------------------------------------------------------------------------
00184 //--------------------------------------------------------------------------------------------------
00185 le_data_Request_Ref_t le_data_Request
00186 (
00187     void
00188 );
00189 
00190 //--------------------------------------------------------------------------------------------------
00194 //--------------------------------------------------------------------------------------------------
00195 void le_data_Release
00196 (
00197     le_data_Request_Ref_t requestRef
00200 );
00201 
00202 
00203 #endif // LE_DATA_INTERFACE_H_INCLUDE_GUARD
00204 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines