X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Frouters%2Faccept.c;h=b3a54e7cb83864be2f3bc779ecd200b30a667acc;hb=4c0a7a9cb02f9904c2e890f77ff8ce3a6beb25f4;hp=6c76c7119b0bc30d217e839eba2271b2f6650c04;hpb=3386088d5af4d4c61faa12ae29560e2c5bd43304;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/routers/accept.c b/src/src/routers/accept.c index 6c76c7119..b3a54e7cb 100644 --- a/src/src/routers/accept.c +++ b/src/src/routers/accept.c @@ -32,6 +32,18 @@ accept_router_options_block accept_router_option_defaults = { }; +#ifdef MACRO_PREDEF + +/* Dummy entries */ +void accept_router_init(router_instance *rblock) {} +int accept_router_entry(router_instance *rblock, address_item *addr, + struct passwd *pw, int verify, address_item **addr_local, + address_item **addr_remote, address_item **addr_new, + address_item **addr_succeed) {return 0;} + +#else /*!MACRO_PREDEF*/ + + /************************************************* * Initialization entry point * @@ -125,4 +137,5 @@ addr->prop.remove_headers = remove_headers; return rf_queue_add(addr, addr_local, addr_remote, rblock, pw)? OK : DEFER; } +#endif /*!MACRO_PREDEF*/ /* End of routers/accept.c */