Re: proposed API breaks with async DNS

From: Daniel Black <daniel.subs_at_internode.on.net>
Date: Sun, 1 Nov 2009 11:49:11 +1100

#7 dkim_geterror

This interface fetches the last error. With async operations going on this
cannot reliably fetch the last error that the application expects.

Can the be replaced with a callback registration that gets called when there
is an error?

DKIM_STAT dkim_set_error_callback
        DKIM_LIB *libopendkim,
        DKIM_CBSTAT (*errorfunc)(DKIM *dkim, char *format, va_list ap)
);
Received on Sun Nov 01 2009 - 00:49:51 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:29 PST