blob: a127148e9808ee8dc66ba409ed40ef5f223f1ff8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: Valery Febvre <vfebvre@easter-eggs.com>
* Nicolas Clapies <nclapies@entrouvert.com>
*
* 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, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define LASSO_XML_ERROR_NODE_NOTFOUND -1
#define LASSO_XML_ERROR_NODE_CONTENT_NOTFOUND -2
#define LASSO_XML_ERROR_ATTR_NOTFOUND -3
#define LASSO_XML_ERROR_ATTR_VALUE_NOTFOUND -4
#define LASSO_XML_ERROR_UNDEFINED -99
#define LASSO_DS_ERROR_CONTEXT_CREATION_FAILED -101
#define LASSO_DS_ERROR_PUBLIC_KEY_LOAD_FAILED -102
#define LASSO_DS_ERROR_PRIVATE_KEY_LOAD_FAILED -103
#define LASSO_DS_ERROR_CERTIFICATE_LOAD_FAILED -104
#define LASSO_DS_ERROR_SIGNATURE_FAILED -105
#define LASSO_DS_ERROR_SIGNATURE_NOTFOUND -106
#define LASSO_DS_ERROR_KEYS_MNGR_CREATION_FAILED -107
#define LASSO_DS_ERROR_KEYS_MNGR_INIT_FAILED -108
#define LASSO_DS_ERROR_SIGNATURE_VERIFICATION_FAILED -109
#define LASSO_DS_ERROR_INVALID_SIGNATURE -110
#define LASSO_PARAM_ERROR_INVALID_OBJ_TYPE -201
#define LASSO_PARAM_ERROR_INVALID_VALUE -202
#define LASSO_ERR_ERROR_CHECK_FAILED -666
const char* lasso_strerror(int error_code);
|