// SPDX-FileCopyrightText: 2026 Jeffrey C. Ollie // SPDX-License-Identifier: MIT //! Sender Policy Framework — [RFC //! 7208](https://datatracker.ietf.org/doc/html/rfc7208). //! //! SPF answers one question: may this host send mail claiming to be from //! this domain? The domain publishes a TXT record saying which hosts may, //! and a receiver evaluates it against the address that connected. //! //! The library does no I/O of its own. `Record` and `macro` are pure //! parsers over bytes, and the evaluator takes a resolver from its caller //! — which is not an accident of layering but the point: SPF's evaluation //! *is* a recursive DNS walk, so a resolver handed in is what lets the //! whole of RFC 7208's conformance suite, which is defined as a table of //! zone data and expected results, run offline as ordinary unit tests. const std = @import("std"); pub const Record = @import("Record.zig"); pub const Resolver = @import("Resolver.zig"); pub const StubResolver = @import("StubResolver.zig"); pub const Zone = @import("Zone.zig"); pub const macro = @import("macro.zig"); const check = @import("check.zig"); const received = @import("received.zig"); const conformance = @import("conformance.zig"); pub const Result = check.Result; pub const Limits = check.Limits; pub const Options = check.Options; pub const Outcome = check.Outcome; pub const checkHost = check.checkHost; pub const checkMailFrom = check.checkMailFrom; pub const checkHelo = check.checkHelo; pub const Received = received.Received; pub const Identity = received.Identity; pub const Qualifier = Record.Qualifier; test { std.testing.refAllDecls(@This()); _ = Record; _ = Resolver; _ = StubResolver; _ = Zone; _ = macro; _ = check; _ = conformance; _ = received; }