X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8e61d2807317ed66163a395c1cd8666fd442d9aa..1137efd94771e13988fd0ca219c575d27d31ad89:/src/src/dmarc.h diff --git a/src/src/dmarc.h b/src/src/dmarc.h index f3c29b00a..fa366dd06 100644 --- a/src/src/dmarc.h +++ b/src/src/dmarc.h @@ -3,8 +3,10 @@ *************************************************/ /* Experimental DMARC support. + Copyright (c) The Exim Maintainers 2021 - 2023 Copyright (c) Todd Lyons 2012 - 2014 License: GPL */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* Portions Copyright (c) 2012, 2013, The Trusted Domain Project; All rights reserved, licensed for use per LICENSE.opendmarc. */ @@ -17,10 +19,10 @@ # endif /* SUPPORT_SPF */ /* prototypes */ -void dmarc_version_report(FILE *); -int dmarc_init(); +gstring * dmarc_version_report(gstring *); +int dmarc_init(void); int dmarc_store_data(header_line *); -int dmarc_process(); +int dmarc_process(void); uschar *dmarc_exim_expand_query(int); uschar *dmarc_exim_expand_defaults(int); @@ -56,4 +58,8 @@ uschar *dmarc_exim_expand_defaults(int); #define ARES_RESULT_UNKNOWN 11 #define ARES_RESULT_DISCARD 12 +#define DMARC_ARC_POLICY_RESULT_PASS 0 +#define DMARC_ARC_POLICY_RESULT_UNUSED 1 +#define DMARC_ARC_POLICY_RESULT_FAIL 2 + #endif /* SUPPORT_DMARC */