6 typedef enum _Eet_Convert_Type Eet_Convert_Type;
10 EET_D_NOT_CONVERTED = 0,
12 EET_D_DOUBLE = 1 << 2,
13 EET_D_FIXED_POINT = 1 << 4
16 typedef struct _Eet_String Eet_String;
33 Eet_Convert_Type type;
35 struct _Eet_Dictionary
64 * variable and macros used for the eina_log module
66 extern int _eet_log_dom_global;
69 * Macros that are used everywhere
71 * the first four macros are the general macros for the lib
73 #ifdef EET_DEFAULT_LOG_COLOR
74 # undef EET_DEFAULT_LOG_COLOR
75 #endif /* ifdef EET_DEFAULT_LOG_COLOR */
76 #define EET_DEFAULT_LOG_COLOR EINA_COLOR_CYAN
79 #endif /* ifdef ERR */
80 #define ERR(...) EINA_LOG_DOM_ERR(_eet_log_dom_global, __VA_ARGS__)
83 #endif /* ifdef DBG */
84 #define DBG(...) EINA_LOG_DOM_DBG(_eet_log_dom_global, __VA_ARGS__)
87 #endif /* ifdef INF */
88 #define INF(...) EINA_LOG_DOM_INFO(_eet_log_dom_global, __VA_ARGS__)
91 #endif /* ifdef WRN */
92 #define WRN(...) EINA_LOG_DOM_WARN(_eet_log_dom_global, __VA_ARGS__)
95 #endif /* ifdef CRIT */
96 #define CRIT(...) EINA_LOG_DOM_CRIT(_eet_log_dom_global, __VA_ARGS__)
98 Eet_Dictionary * eet_dictionary_add(void);
99 void eet_dictionary_free(Eet_Dictionary *ed);
100 int eet_dictionary_string_add(Eet_Dictionary *ed,
102 int eet_dictionary_string_get_size(const Eet_Dictionary *ed,
104 const char * eet_dictionary_string_get_char(const Eet_Dictionary *ed,
106 Eina_Bool eet_dictionary_string_get_float(const Eet_Dictionary *ed,
109 Eina_Bool eet_dictionary_string_get_double(const Eet_Dictionary *ed,
112 Eina_Bool eet_dictionary_string_get_fp(const Eet_Dictionary *ed,
114 Eina_F32p32 *result);
115 int eet_dictionary_string_get_hash(const Eet_Dictionary *ed,
118 int _eet_hash_gen(const char *key, int hash_size);
120 const void * eet_identity_check(const void *data_base,
121 unsigned int data_length,
124 const void *signature_base,
125 unsigned int signature_length,
126 const void **raw_signature_base,
127 unsigned int *raw_signature_length,
129 void * eet_identity_compute_sha1(const void *data_base,
130 unsigned int data_length,
132 Eet_Error eet_cipher(const void *data,
137 unsigned int *result_length);
138 Eet_Error eet_decipher(const void *data,
143 unsigned int *result_length);
144 Eet_Error eet_identity_sign(FILE *fp,
146 void eet_identity_unref(Eet_Key *key);
147 void eet_identity_ref(Eet_Key *key);
149 void eet_node_shutdown(void);
150 int eet_node_init(void);
151 Eet_Node * eet_node_new(void);
152 void eet_node_free(Eet_Node *node);
155 # define PATH_MAX 4096
156 #endif /* ifndef PATH_MAX */
159 # define EET_ASSERT(Test, Do) if (Test == 0) {Do; }
160 #else /* ifdef DNDEBUG */
161 # define EET_ASSERT(Test, Do) if (Test == 0) {abort(); }
162 #endif /* ifdef DNDEBUG */
164 #endif /* ifndef _EET_PRIVATE_H */