jabberd2  2.5.0
sasl.h
Go to the documentation of this file.
1 /*
2  * jabberd - Jabber Open Source Server
3  * Copyright (c) 2002 Jeremie Miller, Thomas Muldowney,
4  * Ryan Eatmon, Robert Norris
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA
19  */
20 
21 #ifndef INCL_SX_SASL_H
22 #define INCL_SX_SASL_H
23 
24 /* RFC 3290 defines a number of failure messages */
25 #define _sasl_err_ABORTED "aborted"
26 #define _sasl_err_INCORRECT_ENCODING "incorrect-encoding"
27 #define _sasl_err_INVALID_AUTHZID "invalid-authzid"
28 #define _sasl_err_INVALID_MECHANISM "invalid-mechanism"
29 #define _sasl_err_MALFORMED_REQUEST "malformed-request"
30 #define _sasl_err_MECH_TOO_WEAK "mechanism-too-weak"
31 #define _sasl_err_NOT_AUTHORIZED "not-authorized"
32 #define _sasl_err_TEMPORARY_FAILURE "temporary-auth-failure"
33 #define _sasl_err_INTERNAL_SERVER_ERROR "internal-server-error"
34 
35 #endif