le_mdmDefs_common.h

Go to the documentation of this file.
1 
2 /*
3  * ====================== WARNING ======================
4  *
5  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
6  * DO NOT MODIFY IN ANY WAY.
7  *
8  * ====================== WARNING ======================
9  */
10 /**
11  * @file le_mdmDefs_common.h
12  *
13  * Type definitions for le_mdmDefs.
14  *
15  */
16 #ifndef LE_MDMDEFS_COMMON_H_INCLUDE_GUARD
17 #define LE_MDMDEFS_COMMON_H_INCLUDE_GUARD
18 
19 
20 #include "legato.h"
21 
22 #define IFGEN_LE_MDMDEFS_PROTOCOL_ID "190c66f3e7fa9b9f1da713489f318311"
23 #define IFGEN_LE_MDMDEFS_MSG_SIZE 9
24 /** @addtogroup le_mdmDefs
25  * @{ **/
26 
27 
28 //--------------------------------------------------------------------------------------------------
29 /**
30  * Cf. ITU-T recommendations E.164/E.163. E.164 numbers can have a maximum of 15 digits except the
31  * international prefix ('+' or '00'). One extra byte is added for the null character.
32  */
33 //--------------------------------------------------------------------------------------------------
34 #define LE_MDMDEFS_PHONE_NUM_MAX_LEN 17
35 
36 //--------------------------------------------------------------------------------------------------
37 /**
38  * Cf. ITU-T recommendations E.164/E.163. E.164 numbers can have a maximum of 15 digits except the
39  * international prefix ('+' or '00'). One extra byte is added for the null character.
40  * One extra byte is added for the null character.
41  */
42 //--------------------------------------------------------------------------------------------------
43 #define LE_MDMDEFS_PHONE_NUM_MAX_BYTES 18
44 
45 //--------------------------------------------------------------------------------------------------
46 /**
47  ** IP Version
48  */
49 //--------------------------------------------------------------------------------------------------
50 typedef enum
51 {
53  ///< IPv4 technology
55  ///< IPv6 technology
56  LE_MDMDEFS_IPMAX = 2
57  ///<
58 }
60 
61 
62 
63 //--------------------------------------------------------------------------------------------------
64 /**
65  * Get if this client bound locally.
66  */
67 //--------------------------------------------------------------------------------------------------
68 LE_SHARED bool ifgen_le_mdmDefs_HasLocalBinding
69 (
70  void
71 );
72 
73 
74 //--------------------------------------------------------------------------------------------------
75 /**
76  * Init data that is common across all threads
77  */
78 //--------------------------------------------------------------------------------------------------
79 LE_SHARED void ifgen_le_mdmDefs_InitCommonData
80 (
81  void
82 );
83 
84 
85 //--------------------------------------------------------------------------------------------------
86 /**
87  * Perform common initialization and open a session
88  */
89 //--------------------------------------------------------------------------------------------------
90 LE_SHARED le_result_t ifgen_le_mdmDefs_OpenSession
91 (
92  le_msg_SessionRef_t _ifgen_sessionRef,
93  bool isBlocking
94 );
95 /** @} **/
96 #endif // LE_MDMDEFS_COMMON_H_INCLUDE_GUARD
#define LE_SHARED
Definition: le_basics.h:300
le_result_t
Definition: le_basics.h:46
IPv6 technology.
Definition: le_mdmDefs_common.h:54
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
IPv4 technology.
Definition: le_mdmDefs_common.h:52
le_mdmDefs_IpVersion_t
Definition: le_mdmDefs_common.h:50