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 00032 /* 00033 ObjESSty-1 00034 */ 00035 #if !defined( _OESS_1__DB__IMPL__DB_CONTENT__ERRNO_HPP_ ) 00036 #define _OESS_1__DB__IMPL__DB_CONTENT__ERRNO_HPP_ 00037 00038 #include <oess_1/defs/h/errno_range.hpp> 00039 00040 namespace oess_1 { 00041 00042 namespace db { 00043 00044 namespace impl { 00045 00046 namespace db_content { 00047 00048 namespace err { 00049 00050 const int c_range_min = oess_1::impl::c_errno__db__impl__db_content__min; 00051 const int c_range_max = c_range_min + 1000; 00052 00054 const int c_db_not_open = c_range_min + 1; 00055 00057 const int c_db_open = c_range_min + 2; 00058 00061 const int c_duplicate_system_stream_uid = c_range_min + 3; 00062 00064 const int c_system_stream_not_found = c_range_min + 4; 00065 00067 const int c_client_attached = c_range_min + 5; 00068 00070 const int c_client_not_attached = c_range_min + 6; 00071 00073 const int c_invalid_search_param = c_range_min + 7; 00074 00076 const int c_not_implemented = c_range_min + 8; 00077 00079 const int c_transaction_in_progress = c_range_min + 9; 00080 00081 } /* namespace err */ 00082 00083 } /* namespace db_content */ 00084 00085 } /* namespace impl */ 00086 00087 } /* namespace db */ 00088 00089 } /* namespace oess_1 */ 00090 00091 #endif