# dkim_getpresultstr()

[back to index]

SYNOPSIS |
    #include <dkim.h>

    const char *dkim_getpresultstr(
    	int presult
    );
Translate a policy result into a string. `presult` is a `DKIM_PRESULT` constant indicating why the `dkim_policy()` returned the result that it did, retrieved previously by a call to `dkim_getpresult()`.
DESCRIPTION |
Called When | `dkim_getpresultstr()` can be called at any time.
ARGUMENTS |
Argument | Description
--- | ---
presult | A policy result code previously retrieved by a call to `dkim_getpresult()`.
NOTES | None.

Copyright (c) 2007 Sendmail, Inc. and its suppliers. All rights reserved.
Copyright (c) 2009, 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.