[back to index]
#include <dkim.h> void dkim_dns_set_query_start( DKIM_LIB *libopendkim, int (*func)(void *, int, u_char *, u_char *, size_t, void **) );Declares the function to be used by a libopendkim instance when it needs to start a DNS query. By default, a stub function that calls the standard UNIX resolver library is set.
The function will be passed the following arguments:
The query type should be a DNS resource record type as registered with IANA (here). The constants are typically given names for use in source code via the include file <arpa/nameser.h>.