| |
1 /* |
| |
2 * Purple - Internet Messaging Library |
| |
3 * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| |
4 * |
| |
5 * This program is free software; you can redistribute it and/or modify |
| |
6 * it under the terms of the GNU General Public License as published by |
| |
7 * the Free Software Foundation; either version 2 of the License, or |
| |
8 * (at your option) any later version. |
| |
9 * |
| |
10 * This program is distributed in the hope that it will be useful, |
| |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| |
13 * GNU General Public License for more details. |
| |
14 * |
| |
15 * You should have received a copy of the GNU General Public License |
| |
16 * along with this program; if not, see <https://www.gnu.org/licenses/>. |
| |
17 */ |
| |
18 #ifndef PURPLE_XMPP_CONSTANTS_H |
| |
19 #define PURPLE_XMPP_CONSTANTS_H |
| |
20 |
| |
21 #define PURPLE_XMPP_DEFAULT_PORT_CLEAR (5222) |
| |
22 #define PURPLE_XMPP_DEFAULT_PORT_TLS (5223) |
| |
23 |
| |
24 #define PURPLE_XMPP_OPTION_RESOURCE ("resource") |
| |
25 #define PURPLE_XMPP_OPTION_SERVER ("server") |
| |
26 #define PURPLE_XMPP_OPTION_PORT ("port") |
| |
27 #define PURPLE_XMPP_OPTION_TLS_MODE ("tls-mode") |
| |
28 #define PURPLE_XMPP_OPTION_SASL_LOGIN_NAME ("sasl-login-name") |
| |
29 #define PURPLE_XMPP_OPTION_SASL_MECHANISMS ("sasl-mechanisms") |
| |
30 #define PURPLE_XMPP_OPTION_PLAIN_SASL_IN_CLEAR ("plain-sasl-in-clear") |
| |
31 |
| |
32 #define PURPLE_XMPP_TLS_DIRECT ("direct") |
| |
33 #define PURPLE_XMPP_TLS_STARTTLS ("starttls") |
| |
34 #define PURPLE_XMPP_TLS_NONE ("none") |
| |
35 |
| |
36 #endif /* PURPLE_XMPP_CONSTANTS_H */ |