ATRN provider
[exim.git] / src / src / routers / redirect.c
index 936cfca14635a0fc1fbb80880f39471888c9e3e0..86278d818806823e460248f8d6732fefc0fa1ac8 100644 (file)
@@ -788,6 +788,30 @@ addr->next = *addr_succeed;
 return yield;
 }
 
+
+
+# ifdef DYNLOOKUP
+#  define redirect_router_info _router_info
+# endif
+
+router_info redirect_router_info =
+{
+.drinfo = {
+  .driver_name =       US"redirect",
+  .options =           redirect_router_options,
+  .options_count =     &redirect_router_options_count,
+  .options_block =     &redirect_router_option_defaults,
+  .options_len =       sizeof(redirect_router_options_block),
+  .init =              redirect_router_init,
+# ifdef DYNLOOKUP
+  .dyn_magic =         ROUTER_MAGIC,
+# endif
+  },
+.code =                        redirect_router_entry,
+.tidyup =              NULL,     /* no tidyup entry */
+.ri_flags =            ri_notransport
+};
+
 #endif   /*!MACRO_PREDEF*/
 #endif /*ROUTER_REDIRECT*/
 /* End of routers/redirect.c */