Optimise scanning config for macros
[exim.git] / src / src / structs.h
index 474b855779b8725809fca9eb6a0285f9d58b9f54..885c1b50047e41f9ac8a412ff8f24ff1b4693e81 100644 (file)
@@ -28,11 +28,12 @@ struct router_info;
 /* Structure for remembering macros for the configuration file */
 
 typedef struct macro_item {
-  struct   macro_item *next;
-  BOOL     command_line;
-  unsigned namelen;
-  uschar * replacement;
-  uschar   name[1];
+  struct  macro_item * next;
+  BOOL         command_line;
+  unsigned     namelen;
+  unsigned     replen;
+  const uschar * name;
+  const uschar * replacement;
 } macro_item;
 
 /* Structure for bit tables for debugging and logging */