chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finalise
[adns]
/
src
/
adns.h
diff --git
a/src/adns.h
b/src/adns.h
index 51024468c7cebb78b2f8ec5d37da6aac0e58c691..f262d478ce38898a978d5089c519dff818d4f2e8 100644
(file)
--- a/
src/adns.h
+++ b/
src/adns.h
@@
-118,7
+118,7
@@
typedef enum {
adns_r_soa_raw= 6,
adns_r_soa= adns_r_soa_raw|adns__qtf_mail822,
adns_r_soa_raw= 6,
adns_r_soa= adns_r_soa_raw|adns__qtf_mail822,
- adns_r_ptr_raw= 12,
+ adns_r_ptr_raw= 12,
/* do not mind PTR with wrong or missing A */
adns_r_ptr= adns_r_ptr_raw|adns__qtf_deref,
adns_r_hinfo= 13,
adns_r_ptr= adns_r_ptr_raw|adns__qtf_deref,
adns_r_hinfo= 13,
@@
-363,9
+363,11
@@
int adns_init_strcfg(adns_state *newstate_r, adns_initflags flags,
typedef void adns_logcallbackfn(adns_state ads, void *logfndata,
const char *fmt, va_list al);
typedef void adns_logcallbackfn(adns_state ads, void *logfndata,
const char *fmt, va_list al);
- /*
w
ill be called perhaps several times for each message; when the
+ /*
W
ill be called perhaps several times for each message; when the
* message is complete, the string implied by fmt and al will end in
* message is complete, the string implied by fmt and al will end in
- * a newline. */
+ * a newline. Log messages start with `adns debug:' or `adns
+ * warning:' or `adns:' (for errors), or `adns debug [PID]:'
+ * etc. if adns_if_logpid is set. */
int adns_init_logfn(adns_state *newstate_r, adns_initflags flags,
const char *configtext /*0=>use default config files*/,
int adns_init_logfn(adns_state *newstate_r, adns_initflags flags,
const char *configtext /*0=>use default config files*/,