#ifndef RSPAMD_SPF_H #define RSPAMD_SPF_H #include "config.h" struct worker_task; struct spf_record; typedef void (*spf_cb_t)(struct spf_record *record, struct worker_task *task); typedef enum spf_mech_e { SPF_FAIL, SPF_SOFT_FAIL, SPF_PASS, SPF_NEUTRAL } spf_mech_t; typedef enum spf_action_e { SPF_RESOLVE_MX, SPF_RESOLVE_A, SPF_RESOLVE_PTR, SPF_RESOLVE_REDIRECT, SPF_RESOLVE_INCLUDE, SPF_RESOLVE_EXISTS, SPF_RESOLVE_EXP } spf_action_t; struct spf_addr { uint32_t addr; uint32_t mask; spf_mech_t mech; char *spf_string; }; struct spf_record { char **elts; char *cur_elt; int elt_num; int nested; int dns_requests; GList *addrs; char *cur_domain; char *sender; char *sender_domain; char *local_part; struct worker_task *task; spf_cb_t callback; gboolean in_include; }; gboolean resolve_spf (struct worker_task *task, spf_cb_t callback); #endif ue='3rdparty/justinrainbow/json-schema'>3rdparty/justinrainbow/json-schema Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING-README
blob: 53e29ec47717dd5d2924d7b2a74d48db262154f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Files in Nextcloud are licensed under the Affero General Public License version 3,
the text of which can be found in COPYING, or any later version of the AGPL,
unless otherwise noted.

Licensing of components:
* jQuery: MIT / GPL
* HTTP: 3 clause BSD
* MDB2: BSD style custom
* User: AGPL
* XML/RPC: MIT / PHP
* Elementary filetype icons: GPL v3+
* Material UI icons: APACHE LICENSE, VERSION 2.0
All unmodified files from these and other sources retain their original copyright
and license notices: see the relevant individual files.

Attribution information for Nextcloud is contained in the AUTHORS file.