~ubuntu-branches/ubuntu/utopic/lasso/utopic-proposed

« back to all changes in this revision

Viewing changes to lasso/xml/errors.h

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-09-13 09:26:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040913092634-01vdfl8j9cp94exa
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: errors.h,v 1.14 2004/08/31 12:05:04 nclapies Exp $ 
 
2
 *
 
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
 
4
 *
 
5
 * Copyright (C) 2004 Entr'ouvert
 
6
 * http://lasso.entrouvert.org
 
7
 * 
 
8
 * Authors: Valery Febvre <vfebvre@easter-eggs.com>
 
9
 *          Nicolas Clapies <nclapies@entrouvert.com>
 
10
 *
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 2 of the License, or
 
14
 * (at your option) any later version.
 
15
 * 
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with this program; if not, write to the Free Software
 
23
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
24
 */
 
25
 
 
26
#define LASSO_XML_ERROR_NODE_NOT_FOUND         -10
 
27
#define LASSO_XML_ERROR_NODE_CONTENT_NOT_FOUND -11
 
28
#define LASSO_XML_ERROR_ATTR_NOT_FOUND         -12
 
29
#define LASSO_XML_ERROR_ATTR_VALUE_NOT_FOUND   -13
 
30
 
 
31
#define LASSO_DS_ERROR_SIGNATURE_TMPL_CREATION_FAILED -101
 
32
#define LASSO_DS_ERROR_CONTEXT_CREATION_FAILED        -102
 
33
#define LASSO_DS_ERROR_PUBLIC_KEY_LOAD_FAILED         -103
 
34
#define LASSO_DS_ERROR_PRIVATE_KEY_LOAD_FAILED        -104
 
35
#define LASSO_DS_ERROR_CERTIFICATE_LOAD_FAILED        -105
 
36
#define LASSO_DS_ERROR_SIGNATURE_FAILED               -106
 
37
#define LASSO_DS_ERROR_SIGNATURE_NOT_FOUND            -107
 
38
#define LASSO_DS_ERROR_KEYS_MNGR_CREATION_FAILED      -108
 
39
#define LASSO_DS_ERROR_KEYS_MNGR_INIT_FAILED          -109
 
40
#define LASSO_DS_ERROR_SIGNATURE_VERIFICATION_FAILED  -110
 
41
#define LASSO_DS_ERROR_INVALID_SIGNATURE              -111
 
42
 
 
43
#define LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND  -201
 
44
#define LASSO_SERVER_ERROR_ADD_PROVIDER_FAILED -202
 
45
 
 
46
#define LASSO_LOGOUT_ERROR_UNSUPPORTED_PROFILE -301
 
47
 
 
48
#define LASSO_PROFILE_ERROR_INVALID_QUERY      -401
 
49
#define LASSO_PROFILE_ERROR_MISSING_REQUEST    -402
 
50
 
 
51
#define LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ -501
 
52
#define LASSO_PARAM_ERROR_INVALID_VALUE        -502
 
53
#define LASSO_PARAM_ERROR_CHECK_FAILED         -503
 
54
 
 
55
#define LASSO_ERROR_UNDEFINED -999
 
56
 
 
57
const char* lasso_strerror(int error_code);