// This C++ header file was generated by the TTCN-3 compiler
// of the TTCN-3 Test Executor version 9.0.0
// The generation of user and time information were disabled by the -D flag.

// Copyright (c) 2000-2023 Ericsson Telecom AB

// Do not edit this file unless you know what you are doing.

#ifndef Misc__Helpers_HH
#define Misc__Helpers_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 <TTCN3.hh>
#include "Native_Functions.hh"
#include "TCCConversion_Functions.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 Misc__Helpers_HH
#endif

namespace Misc__Helpers {

/* Forward declarations of classes */

typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING ro__charstring;
typedef PreGenRecordOf::PREGEN__RECORD__OF__CHARSTRING_template ro__charstring_template;

} /* end of namespace */

#ifndef Misc__Helpers_HH
#define Misc__Helpers_HH

namespace Misc__Helpers {

/* Function prototypes */

extern BOOLEAN f__osmo__repo__is(const CHARSTRING_template& ver);
extern void f__shutdown(const CHARSTRING& file, const INTEGER& line, const VERDICTTYPE& verdict, const CHARSTRING& text);
extern BOOLEAN f__addr__is__ipv6(const CHARSTRING& addr);
extern OCTETSTRING f__addrstr2addr(const CHARSTRING& addr);
extern INTEGER f__strstr__count(const CHARSTRING& str, const CHARSTRING& sub__str);
extern BOOLEAN f__str__startswith(const CHARSTRING& str, const CHARSTRING& token);
extern BOOLEAN f__str__endswith(const CHARSTRING& str, const CHARSTRING& token);
extern CHARSTRING f__str__replace(const CHARSTRING& str, const CHARSTRING& find, const CHARSTRING& repl);
extern ro__charstring f__str__split(const CHARSTRING& str, const CHARSTRING& delim);
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__osmo__repo;
extern CHARSTRING modulepar_mp__osmo__repo;
extern const VERDICTTYPE& f__shutdown_verdict_defval;
extern VERDICTTYPE const_f__shutdown_verdict_defval;
extern const CHARSTRING& f__shutdown_text_defval;
extern CHARSTRING const_f__shutdown_text_defval;
extern const TTCN_Typedescriptor_t ro__charstring_descr_;
extern const XERdescriptor_t ro__charstring_0_xer_;
extern const TTCN_Typedescriptor_t ro__charstring_0_descr_;
extern const CHARSTRING& f__str__split_delim_defval;
extern CHARSTRING const_f__str__split_delim_defval;
extern const CHARSTRING cs_1,
cs_4,
cs_3,
cs_2,
cs_0;
extern const unsigned char module_checksum[];
extern TTCN_Module module_object;
extern const RuntimeVersionChecker ver_checker;

} /* end of namespace */

#endif
