1 /* 2 3 Copyright (c) 2002-2008, Yauheni Akhotnikau 4 Copyright (c) 2008-2013, The SObjectizer Project 5 All rights reserved. 6 7 Redistribution and use in source and binary forms, with or without 8 modification, are permitted provided that the following conditions are met: 9 10 - Redistributions of source code must retain the above copyright notice, this 11 list of conditions and the following disclaimer. 12 13 - Redistributions in binary form must reproduce the above copyright notice, this 14 list of conditions and the following disclaimer in the documentation and/or 15 other materials provided with the distribution. 16 17 - The name of the author may not be used to endorse or promote products derived 18 from this software without specific prior written permission. 19 20 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 21 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 22 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 23 EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 24 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 25 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 28 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 29 OF SUCH DAMAGE. 30 31 */ 32 33 /* 34 ObjESSty-2 35 */ 36 37 /*! 38 \file oess_2/tlv/h/errno.hpp 39 \breif ���� ������ ���������� tlv. 40 */ 41 42 #if !defined( _OESS_2__TLV__ERRNO_HPP_ ) 43 #define _OESS_2__TLV__ERRNO_HPP_ 44 45 #include <oess_2/defs/h/errno_range.hpp> 46 47 namespace oess_2 { 48 49 namespace tlv { 50 51 namespace err { 52 53 const int c_range_min = oess_2::impl::c_errno__tlv__min; 54 const int c_range_max = c_range_min + 1000; 55 56 //! �� ������� ������ ��������� TLV � ����������� ��������� ���� Tag. 57 const int c_unexpected_tag = c_range_min + 1; 58 59 //! ���� Length �������� ������� �������� � ������, 60 //! ����� ��� �� ���������. 61 const int c_zero_length = c_range_min + 2; 62 63 //! ������� ���������� ��������������� ��������. 64 /*! 65 * \since v.1.4.0-b2.2 66 * 67 * �����������, ��������, ����� �� TLV ������� �������� ������� �������� 68 * ��� �� ����, ��� TLV ������ ����� �������� �� �������� ������. 69 */ 70 const int c_undefined_value = c_range_min + 3; 71 72 } /* namespace err */ 73 74 } /* namespace tlv */ 75 76 } /* namespace oess_2 */ 77 78 #endif 79 80