dkim_set_user_context()

SYNOPSIS
#include <dkim.h>
DKIM_STAT dkim_set_user_context(
	DKIM *dkim,
        const char *ctx);
);
Specifies an opaque user context pointer to be passed to the DNS callback set by dkim_set_dns_callback(), if any.
DESCRIPTION
Called When dkim_set_user_context() can be called at any time prior to DNS operations while verifying.
ARGUMENTS
ArgumentDescription
dkim Message-specific signing handle, returned by dkim_sign() or dkim_verify(). Note that since DNS operations only take place while verifying, this is really only meaningful in the latter case.
ctx A pointer to a user-generated context handle referencing data specific to the message being signed or verified by the handle provided above. This will be passed as-is to the DNS callback.
RETURN VALUES
  • DKIM_STAT_OK -- success
NOTES
  • This function is a local addition to the formal API specification and is experimental only. It may not appear in other implementations.

Copyright (c) 2007 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the LICENSE.