Browse code

Hex-ify the engine_options bit flags

Shawn Webb authored on 2013/11/19 05:22:42
Showing 1 changed files
... ...
@@ -162,6 +162,11 @@ typedef enum {
162 162
 #define CL_COUNTSIGS_UNOFFICIAL	    0x2
163 163
 #define CL_COUNTSIGS_ALL	    (CL_COUNTSIGS_OFFICIAL | CL_COUNTSIGS_UNOFFICIAL)
164 164
 
165
+/* For the new engine_options bit field in the engine */
166
+#define ENGINE_OPTIONS_NONE             0x0
167
+#define ENGINE_OPTIONS_DISABLE_CACHE    0x1
168
+#define ENGINE_OPTIONS_FORCE_TO_DISK    0x2
169
+
165 170
 struct cl_engine;
166 171
 struct cl_settings;
167 172
 
... ...
@@ -237,11 +242,6 @@ extern void cli_cache_disable(void);
237 237
 
238 238
 extern int cli_cache_enable(struct cl_engine *engine);
239 239
 
240
-/* For the new engine_options bit field in the engine */
241
-#define ENGINE_OPTIONS_NONE             0
242
-#define ENGINE_OPTIONS_DISABLE_CACHE    1
243
-#define ENGINE_OPTIONS_FORCE_TO_DISK    2
244
-
245 240
 /* CALLBACKS */
246 241
 
247 242
 /* I certainly wish I could declare the callback protoes stable and