le_limit_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_limit_common.h
12  *
13  * Type definitions for le_limit.
14  *
15  */
16 #ifndef LE_LIMIT_COMMON_H_INCLUDE_GUARD
17 #define LE_LIMIT_COMMON_H_INCLUDE_GUARD
18 
19 
20 #include "legato.h"
21 
22 #define IFGEN_LE_LIMIT_PROTOCOL_ID "bef7579f31c05e49a42d4f28bc2857da"
23 #define IFGEN_LE_LIMIT_MSG_SIZE 9
24 /** @addtogroup le_limit
25  * @{ **/
26 
27 
28 //--------------------------------------------------------------------------------------------------
29 /**
30  * Maximum length of application names.
31  */
32 //--------------------------------------------------------------------------------------------------
33 #define LE_LIMIT_APP_NAME_LEN 47
34 
35 //--------------------------------------------------------------------------------------------------
36 /**
37  * Maximum length of process names.
38  */
39 //--------------------------------------------------------------------------------------------------
40 #define LE_LIMIT_PROC_NAME_LEN 47
41 
42 //--------------------------------------------------------------------------------------------------
43 /**
44  * Maximum string length of paths.
45  */
46 //--------------------------------------------------------------------------------------------------
47 #define LE_LIMIT_MAX_PATH_LEN 511
48 
49 //--------------------------------------------------------------------------------------------------
50 /**
51  * Maximum string length of priority names.
52  */
53 //--------------------------------------------------------------------------------------------------
54 #define LE_LIMIT_MAX_PRIORITY_NAME_LEN 6
55 
56 //--------------------------------------------------------------------------------------------------
57 /**
58  * Maximum string length of argument lists.
59  */
60 //--------------------------------------------------------------------------------------------------
61 #define LE_LIMIT_MAX_ARGS_STR_LEN 511
62 
63 //--------------------------------------------------------------------------------------------------
64 /**
65  * Length of a MD5 string.
66  */
67 //--------------------------------------------------------------------------------------------------
68 #define LE_LIMIT_MD5_STR_LEN 32
69 
70 
71 //--------------------------------------------------------------------------------------------------
72 /**
73  * Get if this client bound locally.
74  */
75 //--------------------------------------------------------------------------------------------------
76 LE_SHARED bool ifgen_le_limit_HasLocalBinding
77 (
78  void
79 );
80 
81 
82 //--------------------------------------------------------------------------------------------------
83 /**
84  * Init data that is common across all threads
85  */
86 //--------------------------------------------------------------------------------------------------
87 LE_SHARED void ifgen_le_limit_InitCommonData
88 (
89  void
90 );
91 
92 
93 //--------------------------------------------------------------------------------------------------
94 /**
95  * Perform common initialization and open a session
96  */
97 //--------------------------------------------------------------------------------------------------
98 LE_SHARED le_result_t ifgen_le_limit_OpenSession
99 (
100  le_msg_SessionRef_t _ifgen_sessionRef,
101  bool isBlocking
102 );
103 /** @} **/
104 #endif // LE_LIMIT_COMMON_H_INCLUDE_GUARD
#define LE_SHARED
Definition: le_basics.h:300
le_result_t
Definition: le_basics.h:46
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860