# dkim_policy_state_new()

[back to index]

SYNOPSIS |
    #include <dkim.h>
    DKIM_PSTATE *dkim_policy_state_new(
    	DKIM *dkim
    );
Allocate and initialize a DKIM policy state handle for use with a call to `dkim_policy()`.
DESCRIPTION |
Called When | `dkim_policy_state_new()` is called any time after initializing a verifying handle with `dkim_verify()` when preparing to use `dkim_policy()`.
ARGUMENTS |
Argument | Description
--- | ---
dkim | Message-specific handle, returned by `dkim_verify()`.
NOTES | None.

Copyright (c) 2005, 2007 Sendmail, Inc. and its suppliers. All rights reserved.
Copyright (c) 2010, The Trusted Domain Project. All rights reserved.
By using this file, you agree to the terms and conditions set forth in the respective licenses.