00001 /* 00002 00003 Copyright (c) 2002-2005, Yauheni Akhotnikau 00004 All rights reserved. 00005 00006 Redistribution and use in source and binary forms, with or without 00007 modification, are permitted provided that the following conditions are met: 00008 00009 - Redistributions of source code must retain the above copyright notice, this 00010 list of conditions and the following disclaimer. 00011 00012 - Redistributions in binary form must reproduce the above copyright notice, this 00013 list of conditions and the following disclaimer in the documentation and/or 00014 other materials provided with the distribution. 00015 00016 - The name of the author may not be used to endorse or promote products derived 00017 from this software without specific prior written permission. 00018 00019 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 00020 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 00021 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 00022 EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00023 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 00024 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 00025 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 00026 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 00027 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 00028 OF SUCH DAMAGE. 00029 00030 */ 00031 00043 #if !defined( _OESS_1__DEFS__ERRNO_RANGE_HPP_ ) 00044 #define _OESS_1__DEFS__ERRNO_RANGE_HPP_ 00045 00046 namespace oess_1 00047 { 00048 00049 namespace impl 00050 { 00051 00053 const int c_errno__scheme = 1000; 00054 00056 const int c_errno__io__min = 2000; 00057 00059 const int c_errno__db__storage__min = 3000; 00060 00062 const int c_errno__db__impl__db_struct__min = 4000; 00063 00065 const int c_errno__db__impl__db_manipulator__min = 5000; 00066 00068 const int c_errno__db__impl__db_content__min = 6000; 00069 00071 const int c_errno__db__site__min = 7000; 00072 00074 const int c_errno__db__cln__min = 8000; 00075 00077 const int c_errno__file__min = 9000; 00078 00080 const int c_errno__stdsn__min = 10000; 00081 00083 const int c_errno__tlv__min = 11000; 00084 00085 } /* namespace impl */ 00086 00087 } /* namespace oess_1 */ 00088 00089 #endif 00090