Patch: Elm ME+ 2.5 PLalpha46 -> Elm ME+ 2.5 PLalpha47 [6/7] (3/5)
From
Kari Hurtta@21:1/5 to
All on Sat Feb 10 14:47:10 2018
[continued from previous message]
! RESOLV_QUERY_MODE_magic,
! have_blocking_qm,
! lookup_resolv_cache_blocked
};
! static struct resolv_cache * call_lookup_resolv_cache(record,name,now,
! q_type,is_search,
! looking_up,search_name,
! have_error,other,qm,cancel_p)
! struct resolv_cache * record;
! const char * name;
! const struct schedule_timelimit * now;
! const ns_type q_type;
! const int is_search;
! enum looking_up * looking_up;
! char ** search_name;
! int * have_error;
! int * other;
! enum query_mode_val qm;
! struct cancel_data ** cancel_p
! /* May be NULL, Used if dns lookup was cancelable */;
! {
! if (qm < 0 || qm >= NUM_query_mode || !query_modes[qm])
! panic("RESOLV PANIC",__FILE__,__LINE__," call_lookup_resolv_cache",
! "Bad query name",0);
!
! if (RESOLV_QUERY_MODE_magic != query_modes[qm]->magic)
! panic("RESOLV PANIC",__FILE__,__LINE__,
! " call_lookup_resolv_cache",
! "Bad magic number (resolv_query_mode)",0);
!
! return query_modes[qm]->
! lookup_resolv_cache(record,name,now,
! q_type,is_search,
! looking_up,search_name,
! have_error,other,cancel_p);
! }
!
enum search_mdomain { smd_query_exact, smd_search_name, smd_search_dotless,
! NUM_search_mdomain };
!
! static char * SEARCH_MDOMAIN[NUM_search_mdomain+1] = { "query-exact", "search-name",
! "search-dotless",
! NULL };
ENUMERATE search_mdomain = {
smd_search_name,
NUM_search_mdomain, &(SEARCH_MDOMAIN[0]),
NULL,
! 1 /* allow boolean ON, OFF, TRUE, FALSE, YES and NO */,
! NULL /* not delayed */,
NULL
};
! E_(verify_mail_domain_f verify_mail_domain2)
! enum verify_domain_status verify_mail_domain2
P_((const char * domain,
char ** rewrite,
int translated_value /* -1 if not share specific */,
***************
*** 3162,3176 ****
size_t dt_enum_shared_size,
const struct schedule_timelimit * now,
size_t schedule_timelimit_size,
! struct schedule_timelimit * valid_until
));
! enum verify_domain_status verify_mail_domain(domain,rewrite,
translated_value,
is_shared_value,
dt_enum_shared_size,
now,
schedule_timelimit_size,
! valid_until)
const char * domain;
char ** rewrite;
int translated_value /* -1 if not share specific */;
--- 3765,3780 ----
size_t dt_enum_shared_size,
const struct schedule_timelimit * now,
size_t schedule_timelimit_size,
! struct schedule_timelimit * valid_until,
! struct cancel_data ** cancel_p
));
! enum verify_domain_status verify_mail_domain2(domain,rewrite,
translated_value,
is_shared_value,
dt_enum_shared_size,
now,
schedule_timelimit_size,
! valid_until,cancel_p)
const char * domain;
char ** rewrite;
int translated_value /* -1 if not share specific */;
***************
*** 3178,3184 ****
size_t dt_enum_shared_size;
const struct schedule_timelimit * now;
size_t schedule_timelimit_size;
! struct schedule_timelimi