X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/09ad658886320b63c087ca08166be5c2f6db5cd0..dd8fd887124e0f804663a70b6e5297d0c475f25a:/src/adns.h diff --git a/src/adns.h b/src/adns.h index 5102446..9be8b68 100644 --- a/src/adns.h +++ b/src/adns.h @@ -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); - /* will be called perhaps several times for each message; when the + /* Will be called perhaps several times for each message; when the * 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*/,