4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
19 #ifndef E_SOURCE_ENUMS_H
20 #define E_SOURCE_ENUMS_H
24 * @E_MDN_RESPONSE_POLICY_NEVER:
25 * Never respond to an MDN request.
26 * @E_MDN_RESPONSE_POLICY_ALWAYS:
27 * Always respond to an MDN request.
28 * @E_MDN_RESPONSE_POLICY_ASK:
29 * Ask the user before responding to an MDN request.
31 * Policy for responding to Message Disposition Notification requests
32 * (i.e. a Disposition-Notification-To header) when receiving messages.
33 * See RFC 2298 for more information about MDN requests.
38 E_MDN_RESPONSE_POLICY_NEVER,
39 E_MDN_RESPONSE_POLICY_ALWAYS,
40 E_MDN_RESPONSE_POLICY_ASK
44 * ESourceAuthenticationResult:
45 * @E_SOURCE_AUTHENTICATION_ERROR:
46 * An error occurred while authenticating.
47 * @E_SOURCE_AUTHENTICATION_ACCEPTED:
48 * Server requesting authentication accepted password.
49 * @E_SOURCE_AUTHENTICATION_REJECTED:
50 * Server requesting authentication rejected password.
52 * Status codes used by the #ESourceAuthenticator interface.
57 E_SOURCE_AUTHENTICATION_ERROR,
58 E_SOURCE_AUTHENTICATION_ACCEPTED,
59 E_SOURCE_AUTHENTICATION_REJECTED
60 } ESourceAuthenticationResult;
62 #endif /* E_SOURCE_ENUMS_H */