00001 // OSB library ********************************************* -*- C++ -*- 00009 /* 00010 AUTHOR(S): Stephan Broennimann (mk) 00011 00012 RCS information 00013 $Name: OSB_060808 $ 00014 $Revision: 1.1 $ 00015 00016 License 00017 OSB rating and billing library for communication networks 00018 Copyright (C) 2004, 2005, 2006 OSB systems 00019 00020 This file may be distributed and/or modify under the terms of the 00021 GNU General Public License (GPL) as published by the Free Software 00022 Foundation which is provided in the file LICENSE.GPL included in the 00023 packaging of this file. 00024 00025 The file is distributed in the hope that it will be useful, but WITHOUT 00026 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00027 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00028 for more details. 00029 00030 Holders of a OSB Commercial License may use this file under the terms 00031 and conditions of this commercial license. 00032 */ 00033 #ifndef _ASN1TAGID_H_ 00034 #define _ASN1TAGID_H_ 00035 00036 // ********************************************************************* 00037 // included header files 00038 // + standard includes 00039 #include <cstddef> // needed for size_t 00040 00041 // ********************************************************************* 00042 // namespace extensions 00043 namespace OSB_LIB { 00044 00045 // ********************************************************************* 00046 // class definitions 00053 enum Asn1TagId { 00055 asn1Cdr = 0x61, 00061 asn1RawCdr = 0x62, 00062 }; 00063 00074 std::size_t asn1TagId(Asn1TagId tagId); 00075 00082 Asn1TagId asn1TagId(std::size_t tagValue); 00083 } // namespace OSB_LIB 00084 #endif // #ifndef _ASN1TAGID_H_