protocols/xmpp/purplexmppconstants.h

Mon, 14 Oct 2024 22:58:04 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 14 Oct 2024 22:58:04 -0500
changeset 43006
b9cbf5cb2003
parent 42546
a8a644e3e561
permissions
-rw-r--r--

Update the protocols now that Purple.Account:error is a GLib.Error

Testing Done:
Reaped a connection with the demo protocol plugin and called in the turtles.

Bugs closed: PIDGIN-17985

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

/*
 * Purple - Internet Messaging Library
 * Copyright (C) Pidgin Developers <devel@pidgin.im>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <https://www.gnu.org/licenses/>.
 */
#ifndef PURPLE_XMPP_CONSTANTS_H
#define PURPLE_XMPP_CONSTANTS_H

#define PURPLE_XMPP_DEFAULT_PORT_CLEAR (5222)
#define PURPLE_XMPP_DEFAULT_PORT_TLS (5223)

#define PURPLE_XMPP_OPTION_RESOURCE ("resource")
#define PURPLE_XMPP_OPTION_SERVER ("server")
#define PURPLE_XMPP_OPTION_PORT ("port")
#define PURPLE_XMPP_OPTION_TLS_MODE ("tls-mode")
#define PURPLE_XMPP_OPTION_SASL_LOGIN_NAME ("sasl-login-name")
#define PURPLE_XMPP_OPTION_SASL_MECHANISMS ("sasl-mechanisms")
#define PURPLE_XMPP_OPTION_PLAIN_SASL_IN_CLEAR ("plain-sasl-in-clear")

#define PURPLE_XMPP_TLS_DIRECT ("direct")
#define PURPLE_XMPP_TLS_STARTTLS ("starttls")
#define PURPLE_XMPP_TLS_NONE ("none")

#endif /* PURPLE_XMPP_CONSTANTS_H */

mercurial