// This C++ header file was generated by the TTCN-3 compiler // of the TTCN-3 Test Executor version 9.0.0 // for (build@3978f7fbee0c) on Mon Jun 24 02:37:33 2024 // Copyright (c) 2000-2023 Ericsson Telecom AB // Do not edit this file unless you know what you are doing. #ifndef Osmocom__VTY__Functions_HH #define Osmocom__VTY__Functions_HH #ifdef TITAN_RUNTIME_2 #error Generated code does not match with used runtime.\ Code was generated without -R option but -DTITAN_RUNTIME_2 was used. #endif /* Header file includes */ #include #include "Misc_Helpers.hh" #include "TELNETasp_PortType.hh" #include "Osmocom_Types.hh" #include "Socket_API_Definitions.hh" #if TTCN3_VERSION != 90000 #error Version mismatch detected.\ Please check the version of the TTCN-3 compiler and the base library.\ Run make clean and rebuild the project if the version of the compiler changed recently. #endif #ifndef LINUX #error This file should be compiled on LINUX #endif #undef Osmocom__VTY__Functions_HH #endif namespace Osmocom__VTY__Functions { /* Forward declarations of classes */ typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING rof__charstring; typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING_template rof__charstring_template; typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING StrList; typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING_template StrList_template; } /* end of namespace */ #ifndef Osmocom__VTY__Functions_HH #define Osmocom__VTY__Functions_HH namespace Osmocom__VTY__Functions { /* Type definitions */ typedef INTEGER BtsNr; typedef INTEGER_template BtsNr_template; typedef INTEGER BtsTrxNr; typedef INTEGER_template BtsTrxNr_template; typedef INTEGER BtsTimeslotNr; typedef INTEGER_template BtsTimeslotNr_template; typedef INTEGER MscNr; typedef INTEGER_template MscNr_template; typedef INTEGER Cs7Nr; typedef INTEGER_template Cs7Nr_template; typedef CHARSTRING BtsGprsMode; typedef CHARSTRING_template BtsGprsMode_template; /* Function prototypes */ extern void f__vty__set__prompts(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& prompt__prefix); extern CHARSTRING f__vty__wait__for__prompt(TELNETasp__PortType::TELNETasp__PT& pt, const BOOLEAN& strict, const CHARSTRING& log__label); extern CHARSTRING f__vty__transceive__ret(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& tx, const BOOLEAN& strict); extern void f__vty__transceive(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& tx, const BOOLEAN& strict); extern void f__vty__enter__config(TELNETasp__PortType::TELNETasp__PT& pt); extern void f__vty__enter__cfg__network(TELNETasp__PortType::TELNETasp__PT& pt); extern void f__vty__enter__cfg__bts(TELNETasp__PortType::TELNETasp__PT& pt, const INTEGER& bts); extern void f__vty__enter__cfg__trx(TELNETasp__PortType::TELNETasp__PT& pt, const INTEGER& bts, const INTEGER& trx); extern void f__vty__enter__cfg__ts(TELNETasp__PortType::TELNETasp__PT& pt, const INTEGER& bts, const INTEGER& trx, const INTEGER& ts); extern void f__vty__enter__cfg__msc(TELNETasp__PortType::TELNETasp__PT& pt, const INTEGER& msc); extern void f__vty__enter__cfg__cs7__inst(TELNETasp__PortType::TELNETasp__PT& pt, const INTEGER& cs7__inst); extern void f__vty__config3(TELNETasp__PortType::TELNETasp__PT& pt, const rof__charstring& config__nodes, const rof__charstring& cmds); extern void f__vty__config2(TELNETasp__PortType::TELNETasp__PT& pt, const rof__charstring& config__nodes, const CHARSTRING& cmd); extern void f__vty__config(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& config__node, const CHARSTRING& cmd); extern void f__vty__cfg__bts(TELNETasp__PortType::TELNETasp__PT& pt, const INTEGER& bts, const rof__charstring& cmds); extern void f__vty__cfg__msc(TELNETasp__PortType::TELNETasp__PT& pt, const INTEGER& msc, const rof__charstring& cmds); extern void f__vty__transceive__match(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& cmd, const CHARSTRING_template& exp__ret); extern void f__vty__transceive__not__match(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& cmd, const CHARSTRING_template& exp__ret); extern CHARSTRING f__vty__transceive__match__regex(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& cmd, const CHARSTRING& regex, const INTEGER& groupno); extern CHARSTRING f__vty__transceive__match__regexp__retry(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& cmd, const CHARSTRING& regex, const INTEGER& groupno, const INTEGER& num__attempts, const FLOAT& retry__delay); extern void f__verify__talloc__count(TELNETasp__PortType::TELNETasp__PT& pt, const StrList& object__strs, const INTEGER& expect__count, const INTEGER& attempts, const FLOAT& wait__time); extern void f__verify__talloc__bytes(TELNETasp__PortType::TELNETasp__PT& pt, const Misc__Helpers::ro__charstring& object__strs, const INTEGER& expect__bytes, const INTEGER& attempts, const FLOAT& wait__time); extern void f__logp(TELNETasp__PortType::TELNETasp__PT& pt, const CHARSTRING& log__msg); extern void pre_init_module(); extern void post_init_module(); extern boolean set_module_param(Module_Param& param); extern void log_module_param(); /* Global variable declarations */ extern const CHARSTRING& mp__prompt__prefix; extern CHARSTRING modulepar_mp__prompt__prefix; extern const FLOAT& mp__prompt__timeout; extern FLOAT modulepar_mp__prompt__timeout; extern const CHARSTRING& VTY__VIEW__SUFFIX; extern CHARSTRING const_VTY__VIEW__SUFFIX; extern const CHARSTRING& VTY__ENABLE__SUFFIX; extern CHARSTRING const_VTY__ENABLE__SUFFIX; extern const CHARSTRING& VTY__CFG__SUFFIX; extern CHARSTRING const_VTY__CFG__SUFFIX; extern const CHARSTRING_template& t__vty__unknown; extern CHARSTRING_template template_t__vty__unknown; extern const CHARSTRING& f__vty__set__prompts_prompt__prefix_defval; extern CHARSTRING const_f__vty__set__prompts_prompt__prefix_defval; extern const BOOLEAN& f__vty__wait__for__prompt_strict_defval; extern BOOLEAN const_f__vty__wait__for__prompt_strict_defval; extern const CHARSTRING& f__vty__wait__for__prompt_log__label_defval; extern CHARSTRING const_f__vty__wait__for__prompt_log__label_defval; extern const BOOLEAN& f__vty__transceive__ret_strict_defval; extern BOOLEAN const_f__vty__transceive__ret_strict_defval; extern const BOOLEAN& f__vty__transceive_strict_defval; extern BOOLEAN const_f__vty__transceive_strict_defval; extern const XERdescriptor_t BtsNr_xer_; extern const TTCN_Typedescriptor_t BtsNr_descr_; extern const XERdescriptor_t BtsTrxNr_xer_; extern const TTCN_Typedescriptor_t BtsTrxNr_descr_; extern const XERdescriptor_t BtsTimeslotNr_xer_; extern const TTCN_Typedescriptor_t BtsTimeslotNr_descr_; extern const XERdescriptor_t MscNr_xer_; extern const TTCN_Typedescriptor_t MscNr_descr_; extern const XERdescriptor_t Cs7Nr_xer_; extern const TTCN_Typedescriptor_t Cs7Nr_descr_; extern const XERdescriptor_t BtsGprsMode_xer_; extern const TTCN_Typedescriptor_t BtsGprsMode_descr_; extern const INTEGER& f__vty__enter__cfg__bts_bts_defval; extern INTEGER const_f__vty__enter__cfg__bts_bts_defval; extern const INTEGER& f__vty__enter__cfg__trx_bts_defval; extern INTEGER const_f__vty__enter__cfg__trx_bts_defval; extern const INTEGER& f__vty__enter__cfg__trx_trx_defval; extern INTEGER const_f__vty__enter__cfg__trx_trx_defval; extern const INTEGER& f__vty__enter__cfg__ts_bts_defval; extern INTEGER const_f__vty__enter__cfg__ts_bts_defval; extern const INTEGER& f__vty__enter__cfg__ts_trx_defval; extern INTEGER const_f__vty__enter__cfg__ts_trx_defval; extern const INTEGER& f__vty__enter__cfg__msc_msc_defval; extern INTEGER const_f__vty__enter__cfg__msc_msc_defval; extern const INTEGER& f__vty__enter__cfg__cs7__inst_cs7__inst_defval; extern INTEGER const_f__vty__enter__cfg__cs7__inst_cs7__inst_defval; extern const TTCN_Typedescriptor_t rof__charstring_descr_; extern const XERdescriptor_t rof__charstring_0_xer_; extern const TTCN_Typedescriptor_t rof__charstring_0_descr_; extern const INTEGER& f__vty__cfg__bts_bts_defval; extern INTEGER const_f__vty__cfg__bts_bts_defval; extern const INTEGER& f__vty__cfg__msc_msc_defval; extern INTEGER const_f__vty__cfg__msc_msc_defval; extern const TTCN_Typedescriptor_t StrList_descr_; extern const XERdescriptor_t StrList_0_xer_; extern const TTCN_Typedescriptor_t StrList_0_descr_; extern const INTEGER& f__verify__talloc__count_expect__count_defval; extern INTEGER const_f__verify__talloc__count_expect__count_defval; extern const INTEGER& f__verify__talloc__count_attempts_defval; extern INTEGER const_f__verify__talloc__count_attempts_defval; extern const FLOAT& f__verify__talloc__count_wait__time_defval; extern FLOAT const_f__verify__talloc__count_wait__time_defval; extern const INTEGER& f__verify__talloc__bytes_expect__bytes_defval; extern INTEGER const_f__verify__talloc__bytes_expect__bytes_defval; extern const INTEGER& f__verify__talloc__bytes_attempts_defval; extern INTEGER const_f__verify__talloc__bytes_attempts_defval; extern const FLOAT& f__verify__talloc__bytes_wait__time_defval; extern FLOAT const_f__verify__talloc__bytes_wait__time_defval; extern const CHARSTRING cs_6, cs_24, cs_2, cs_3, cs_5, cs_4, cs_25, cs_1, cs_32, cs_0, cs_22, cs_12, cs_13, cs_11, cs_10, cs_7, cs_8, cs_9, cs_26, cs_27, cs_28, cs_16, cs_31, cs_14, cs_20, cs_21, cs_33, cs_19, cs_15, cs_30, cs_23, cs_29, cs_18, cs_17; extern const unsigned char module_checksum[]; extern TTCN_Module module_object; extern const RuntimeVersionChecker ver_checker; } /* end of namespace */ #endif