protocols/xmpp/purplexmppconstants.h

Mon, 12 May 2025 20:27:27 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 12 May 2025 20:27:27 -0500
changeset 43247
197c541b3e7c
parent 42546
a8a644e3e561
permissions
-rw-r--r--

Add discrete options for protocol plugins

This removes the dynamic-prpls option and replaces it with discrete options
for each protocol plugin.

Testing Done:
Called in the turtles after removing all of my subproject check outs.

Reviewed at https://reviews.imfreedom.org/r/3994/

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

mercurial