1 #ifndef PERSISTENCE_CLIENT_ITZAM_ERRORS_H
2 #define PERSISTENCE_CLIENT_ITZAM_ERRORS_H
5 Itzam/C (version 6.0) is an embedded database engine written in Standard C.
7 Copyright 2011 Scott Robert Ladd. All rights reserved.
9 Older versions of Itzam/C are:
10 Copyright 2002, 2004, 2006, 2008 Scott Robert Ladd. All rights reserved.
12 Ancestral code, from Java and C++ books by the author, is:
13 Copyright 1992, 1994, 1996, 2001 Scott Robert Ladd. All rights reserved.
15 Itzam/C is user-supported open source software. It's continued development is dependent on
16 financial support from the community. You can provide funding by visiting the Itzam/C
19 http://www.coyotegulch.com
21 You may license Itzam/C in one of two fashions:
23 1) Simplified BSD License (FreeBSD License)
25 Redistribution and use in source and binary forms, with or without modification, are
26 permitted provided that the following conditions are met:
28 1. Redistributions of source code must retain the above copyright notice, this list of
29 conditions and the following disclaimer.
31 2. Redistributions in binary form must reproduce the above copyright notice, this list
32 of conditions and the following disclaimer in the documentation and/or other materials
33 provided with the distribution.
35 THIS SOFTWARE IS PROVIDED BY SCOTT ROBERT LADD ``AS IS'' AND ANY EXPRESS OR IMPLIED
36 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
37 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SCOTT ROBERT LADD OR
38 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
39 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
40 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
41 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
42 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
43 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 The views and conclusions contained in the software and documentation are those of the
46 authors and should not be interpreted as representing official policies, either expressed
47 or implied, of Scott Robert Ladd.
49 2) Closed-Source Proprietary License
51 If your project is a closed-source or proprietary project, the Simplified BSD License may
52 not be appropriate or desirable. In such cases, contact the Itzam copyright holder to
53 arrange your purchase of an appropriate license.
55 The author can be contacted at:
57 scott.ladd@coyotegulch.com
59 http:www.coyotegulch.com
62 /******************************************************************************
65 * Company XS Embedded GmbH
66 *****************************************************************************/
67 /******************************************************************************
68 Small changes to use in persistence
69 ******************************************************************************/
71 * @file persistence_client_itzam_errors.h
72 * @ingroup Persistence client library
73 * @author Ingo Huerner
74 * @brief Itzam database error definnitions
80 /// error string messages definition
81 extern const char * ERROR_STRINGS [];
83 /// error state messages definition
84 extern const char * STATE_MESSAGES [];
87 void error_handler(const char * function_name, itzam_error error);
90 #endif /* PERSISTENCE_CLIENT_ITZAM_ERRORS_H */