00001 // OSB library ********************************************* -*- C++ -*- 00006 /* 00007 AUTHOR(S): Darryl Kang (dk) 00008 Stephan Broennimann (vb) 00009 00010 RCS information 00011 $Name: OSB_060808 $ 00012 $Revision: 1.5 $ 00013 00014 License 00015 OSB rating and billing library for communication networks 00016 Copyright (C) 2004, 2005, 2006 OSB systems 00017 00018 This file may be distributed and/or modify under the terms of the 00019 GNU General Public License (GPL) as published by the Free Software 00020 Foundation which is provided in the file LICENSE.GPL included in the 00021 packaging of this file. 00022 00023 The file is distributed in the hope that it will be useful, but WITHOUT 00024 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00025 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00026 for more details. 00027 00028 Holders of a OSB Commercial License may use this file under the terms 00029 and conditions of this commercial license. 00030 */ 00031 #ifndef _SERVICE_IDL_ 00032 #define _SERVICE_IDL_ 00033 00034 // ************************************************************ 00035 // extenstions of module(s) 00036 module corba { 00037 module service { 00039 enum ServiceType { 00040 stUnknown, 00041 gsmTelephony, 00042 gsmBearer, 00043 gsmSupplementary, 00044 pstnTelephony, 00045 isdnTelephony, 00046 stMax 00047 }; 00048 00050 typedef char ServiceCode; 00051 00053 struct ServiceElementId { 00054 long id; 00055 }; 00056 00058 struct ServiceElement { 00060 ServiceElementId id; 00061 00063 ServiceCode svsCode; 00064 00066 ServiceType type; 00067 }; 00068 00070 typedef sequence<ServiceElement> ServiceElementSeq; 00071 00073 struct ServiceTuple{ 00075 ServiceElementSeq serviceElement; 00076 }; 00077 }; // module service 00078 }; // module corba 00079 #endif // _SERVICE_IDL_
1.4.7