From 278b42eb11c84469d2fd7a8574141ae7b26699c6 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Wed, 20 May 2015 13:19:12 -0500 Subject: [PATCH] FS-7488 remove windows duplicate files --- .../mod_managed/freeswitch_wrap.2010.cxx | 45131 ---------------- .../managed/FreeSWITCH.Managed.2010.csproj | 2 +- .../managed/FreeSWITCH.Managed.2012.csproj | 2 +- .../mod_managed/managed/swig.2010.cs | 40848 -------------- .../mod_managed/mod_managed.2010.vcxproj | 2 +- .../mod_managed/mod_managed.2012.vcxproj | 2 +- src/mod/languages/mod_managed/runswig.cmd | 2 +- 7 files changed, 5 insertions(+), 85984 deletions(-) delete mode 100644 src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx delete mode 100644 src/mod/languages/mod_managed/managed/swig.2010.cs diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx deleted file mode 100644 index cefe4b07a7..0000000000 --- a/src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx +++ /dev/null @@ -1,45131 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. - * ----------------------------------------------------------------------------- */ - -#define SWIGCSHARP - - -#ifdef __cplusplus -/* SwigValueWrapper is described in swig.swg */ -template class SwigValueWrapper { - struct SwigMovePointer { - T *ptr; - SwigMovePointer(T *p) : ptr(p) { } - ~SwigMovePointer() { delete ptr; } - SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); - SwigValueWrapper(const SwigValueWrapper& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } - operator T&() const { return *pointer.ptr; } - T *operator&() { return pointer.ptr; } -}; - -template T SwigValueInit() { - return T(); -} -#endif - -/* ----------------------------------------------------------------------------- - * This section contains generic SWIG labels for method/variable - * declarations/attributes, and other compiler dependent labels. - * ----------------------------------------------------------------------------- */ - -/* template workaround for compilers that cannot correctly implement the C++ standard */ -#ifndef SWIGTEMPLATEDISAMBIGUATOR -# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) -# define SWIGTEMPLATEDISAMBIGUATOR template -# elif defined(__HP_aCC) -/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ -/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ -# define SWIGTEMPLATEDISAMBIGUATOR template -# else -# define SWIGTEMPLATEDISAMBIGUATOR -# endif -#endif - -/* inline attribute */ -#ifndef SWIGINLINE -# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -# else -# define SWIGINLINE -# endif -#endif - -/* attribute recognised by some compilers to avoid 'unused' warnings */ -#ifndef SWIGUNUSED -# if defined(__GNUC__) -# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -# elif defined(__ICC) -# define SWIGUNUSED __attribute__ ((__unused__)) -# else -# define SWIGUNUSED -# endif -#endif - -#ifndef SWIG_MSC_UNSUPPRESS_4505 -# if defined(_MSC_VER) -# pragma warning(disable : 4505) /* unreferenced local function has been removed */ -# endif -#endif - -#ifndef SWIGUNUSEDPARM -# ifdef __cplusplus -# define SWIGUNUSEDPARM(p) -# else -# define SWIGUNUSEDPARM(p) p SWIGUNUSED -# endif -#endif - -/* internal SWIG method */ -#ifndef SWIGINTERN -# define SWIGINTERN static SWIGUNUSED -#endif - -/* internal inline SWIG method */ -#ifndef SWIGINTERNINLINE -# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE -#endif - -/* exporting methods */ -#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -# ifndef GCC_HASCLASSVISIBILITY -# define GCC_HASCLASSVISIBILITY -# endif -#endif - -#ifndef SWIGEXPORT -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if defined(STATIC_LINKED) -# define SWIGEXPORT -# else -# define SWIGEXPORT __declspec(dllexport) -# endif -# else -# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) -# define SWIGEXPORT __attribute__ ((visibility("default"))) -# else -# define SWIGEXPORT -# endif -# endif -#endif - -/* calling conventions for Windows */ -#ifndef SWIGSTDCALL -# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# define SWIGSTDCALL __stdcall -# else -# define SWIGSTDCALL -# endif -#endif - -/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ -#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) -# define _CRT_SECURE_NO_DEPRECATE -#endif - -/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ -#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) -# define _SCL_SECURE_NO_DEPRECATE -#endif - - - -#include -#include -#include - - -/* Support for throwing C# exceptions from C/C++. There are two types: - * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */ -typedef enum { - SWIG_CSharpApplicationException, - SWIG_CSharpArithmeticException, - SWIG_CSharpDivideByZeroException, - SWIG_CSharpIndexOutOfRangeException, - SWIG_CSharpInvalidCastException, - SWIG_CSharpInvalidOperationException, - SWIG_CSharpIOException, - SWIG_CSharpNullReferenceException, - SWIG_CSharpOutOfMemoryException, - SWIG_CSharpOverflowException, - SWIG_CSharpSystemException -} SWIG_CSharpExceptionCodes; - -typedef enum { - SWIG_CSharpArgumentException, - SWIG_CSharpArgumentNullException, - SWIG_CSharpArgumentOutOfRangeException -} SWIG_CSharpExceptionArgumentCodes; - -typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *); -typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *); - -typedef struct { - SWIG_CSharpExceptionCodes code; - SWIG_CSharpExceptionCallback_t callback; -} SWIG_CSharpException_t; - -typedef struct { - SWIG_CSharpExceptionArgumentCodes code; - SWIG_CSharpExceptionArgumentCallback_t callback; -} SWIG_CSharpExceptionArgument_t; - -static SWIG_CSharpException_t SWIG_csharp_exceptions[] = { - { SWIG_CSharpApplicationException, NULL }, - { SWIG_CSharpArithmeticException, NULL }, - { SWIG_CSharpDivideByZeroException, NULL }, - { SWIG_CSharpIndexOutOfRangeException, NULL }, - { SWIG_CSharpInvalidCastException, NULL }, - { SWIG_CSharpInvalidOperationException, NULL }, - { SWIG_CSharpIOException, NULL }, - { SWIG_CSharpNullReferenceException, NULL }, - { SWIG_CSharpOutOfMemoryException, NULL }, - { SWIG_CSharpOverflowException, NULL }, - { SWIG_CSharpSystemException, NULL } -}; - -static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = { - { SWIG_CSharpArgumentException, NULL }, - { SWIG_CSharpArgumentNullException, NULL }, - { SWIG_CSharpArgumentOutOfRangeException, NULL } -}; - -static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) { - SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback; - if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) { - callback = SWIG_csharp_exceptions[code].callback; - } - callback(msg); -} - -static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) { - SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback; - if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) { - callback = SWIG_csharp_exceptions_argument[code].callback; - } - callback(msg, param_name); -} - - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_freeswitch( - SWIG_CSharpExceptionCallback_t applicationCallback, - SWIG_CSharpExceptionCallback_t arithmeticCallback, - SWIG_CSharpExceptionCallback_t divideByZeroCallback, - SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, - SWIG_CSharpExceptionCallback_t invalidCastCallback, - SWIG_CSharpExceptionCallback_t invalidOperationCallback, - SWIG_CSharpExceptionCallback_t ioCallback, - SWIG_CSharpExceptionCallback_t nullReferenceCallback, - SWIG_CSharpExceptionCallback_t outOfMemoryCallback, - SWIG_CSharpExceptionCallback_t overflowCallback, - SWIG_CSharpExceptionCallback_t systemCallback) { - SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback; - SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback; - SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback; - SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback; - SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback; - SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback; - SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback; - SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback; - SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback; - SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback; - SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback; -} - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_freeswitch( - SWIG_CSharpExceptionArgumentCallback_t argumentCallback, - SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback, - SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) { - SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback; - SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback; - SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback; -} - - -/* Contract support */ - -#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else - - - -/* Callback for returning strings to C# without leaking memory */ -#ifndef _MANAGED -#include -#include -#include -#include -#include -#endif - -typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); -static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback_real = NULL; - - -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_freeswitch(SWIG_CSharpStringHelperCallback callback) { - /* Set this only once, in the main appdomain */ - if (SWIG_csharp_string_callback_real == NULL) SWIG_csharp_string_callback_real = callback; -} -char * SWIG_csharp_string_callback(const char * str) { -#ifndef _MANAGED - // Mono won't transition appdomains properly after the callback, so we force it - MonoDomain* dom = mono_domain_get(); - char* res = SWIG_csharp_string_callback_real(str); - mono_domain_set(dom, true); - return res; -#else - return SWIG_csharp_string_callback_real(str); -#endif -} - - -#include "switch.h" -#include "switch_cpp.h" -#include "freeswitch_managed.h" - - -#ifdef __cplusplus -extern "C" { -#endif - -SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_PEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("27880"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_OID_PREFIX_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)(".1.3.6.1.4.1.27880"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_ITAD_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("543"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp___EXTENSIONS___get() { - int jresult ; - int result; - - result = (int)(1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp___BSD_VISIBLE_get() { - int jresult ; - int result; - - result = (int)(1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENT_ORIGINATE_DELIM_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)(":_:"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BLANK_STRING_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\0"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_TON_UNDEF_get() { - int jresult ; - int result; - - result = (int)(255); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_NUMPLAN_UNDEF_get() { - int jresult ; - int result; - - result = (int)(255); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_ESC_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33["); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_CHAR_get() { - char jresult ; - char result; - - result = (char)('H'); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_CHAR_STR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("H"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get() { - char jresult ; - char result; - - result = (char)('1'); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("1"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("K"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get() { - char jresult ; - char result; - - result = (char)('2'); - jresult = result; - return jresult; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR1_get() { - char jresult ; - char result; - - result = (char)('J'); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("2J"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_AND_COLOR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)(";"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_END_COLOR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_BLACK_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("30"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_RED_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("31"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_GREEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("32"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_YELLOW_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("33"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_BLUE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("34"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_MAGEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("35"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_CYAN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("36"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_WHITE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("37"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_BLACK_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("40"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_RED_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("41"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_GREEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("42"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_YELLOW_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("43"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_BLUE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("44"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_MAGEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("45"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_CYAN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("46"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_WHITE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("47"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FBLACK_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[30m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FRED_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[31m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FGREEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[32m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FYELLOW_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[33m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FBLUE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[34m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FMAGEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[35m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FCYAN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[36m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FWHITE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[37m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BBLACK_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[40m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BRED_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[41m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BGREEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[42m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BYELLOW_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[43m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BBLUE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[44m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BMAGEN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[45m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BCYAN_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[46m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BWHITE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[47m"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[H"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[1"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINEEND_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[K"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\33[2J\33[H"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DEFAULT_CLID_NAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("\0"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DEFAULT_CLID_NUMBER_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("0000000000"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_DTMF_DURATION_get() { - int jresult ; - int result; - - result = (int)(2000); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MIN_DTMF_DURATION_get() { - int jresult ; - int result; - - result = (int)(400); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_DTMF_DURATION_get() { - int jresult ; - int result; - - result = (int)(192000); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PATH_SEPARATOR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("/"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_SEPARATOR_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("://"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("ignore_display_updates"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("audio_spool_path"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("bridge_hangup_cause"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("read_terminator_used"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("send_silence_when_idle"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("current_application"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("current_application_data"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("current_application_response"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("passthru_ptime_mismatch"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("enable_heartbeat_events"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("bypass_media_after_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_READ_RESULT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("read_result"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ATT_XFER_RESULT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("att_xfer_result"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_COPY_XML_CDR_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("copy_xml_cdr"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_COPY_JSON_CDR_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("copy_json_cdr"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("proto_specific_hangup_cause"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_HISTORY_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("transfer_history"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_SOURCE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("transfer_source"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SENSITIVE_DTMF_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("sensitive_dtmf"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("record_post_process_exec_app"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("record_post_process_exec_api"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_answer"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_pre_answer"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_media"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_ring"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_tone_detect"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_originate"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_post_originate"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_pre_originate"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_pre_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("execute_on_post_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_answer"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_pre_answer"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_media"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_RING_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_ring"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_tone_detect"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_originate"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_post_originate"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_on_pre_originate"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("call_timeout"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HOLDING_UUID_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("holding_uuid"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SOFT_HOLDING_UUID_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("soft_holding_uuid"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_after_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_BRIDGE_START_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_before_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_hangup_hook"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_REPORTING_HOOK_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("api_reporting_hook"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("session_in_hangup_hook"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROCESS_CDR_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("process_cdr"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SKIP_CDR_CAUSES_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("skip_cdr_causes"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("force_process_cdr"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("bridge_channel"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("channel_name"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("bridge_uuid"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("continue_on_fail"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("playback_terminators"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PLAYBACK_TERMINATOR_USED_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("playback_terminator_used"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("cache_speech_handles"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("__cache_speech_handles_obj__"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("bypass_media"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("proxy_media"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ZRTP_PASSTHRU_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("zrtp_passthru"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("endpoint_disposition"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("hold_music"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("temp_hold_music"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXPORT_VARS_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("export_vars"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("bridge_export_vars"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_R_SDP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("switch_r_sdp"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_L_SDP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("switch_l_sdp"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_B_SDP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("switch_m_sdp"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("bridge_to"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("last_bridge_to"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("signal_bridge_to"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("signal_bond"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("originate_signal_bond"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("originator"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("originator_codec"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("originator_video_codec"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("local_media_ip"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("local_media_port"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("advertised_media_ip"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("remote_media_ip"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("remote_media_port"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("remote_video_ip"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("remote_video_port"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("local_video_ip"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("local_video_port"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("hangup_after_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("park_after_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("transfer_after_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("exec_after_bridge_app"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("exec_after_bridge_arg"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("max_forwards"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("disable_app_log"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SPEECH_KEY_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("speech"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_UUID_BRIDGE_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("uuid_bridge"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_BITS_PER_BYTE_get() { - int jresult ; - int result; - - result = (int)(8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_FILE_BUFFER_LEN_get() { - int jresult ; - int result; - - result = (int)(65536); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DTMF_LOG_LEN_get() { - int jresult ; - int result; - - result = (int)(1000); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_TRANS_get() { - int jresult ; - int result; - - result = (int)(2000); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_SESSION_MAX_PRIVATES_get() { - int jresult ; - int result; - - result = (int)(2); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_JITTER_VARIANCE_THRESHOLD_get() { - double jresult ; - double result; - - result = (double)(400.0); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_IPDV_THRESHOLD_get() { - double jresult ; - double result; - - result = (double)(1.0); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_LOST_BURST_ANALYZE_get() { - int jresult ; - int result; - - result = (int)(500); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_LOST_BURST_CAPTURE_get() { - int jresult ; - int result; - - result = (int)(1024); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_digit_set(void * jarg1, char jarg2) { - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - char arg2 ; - - arg1 = (switch_dtmf_t *)jarg1; - arg2 = (char)jarg2; - if (arg1) (arg1)->digit = arg2; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_switch_dtmf_t_digit_get(void * jarg1) { - char jresult ; - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - char result; - - arg1 = (switch_dtmf_t *)jarg1; - result = (char) ((arg1)->digit); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_duration_set(void * jarg1, unsigned long jarg2) { - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_dtmf_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->duration = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_dtmf_t_duration_get(void * jarg1) { - unsigned long jresult ; - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - uint32_t result; - - arg1 = (switch_dtmf_t *)jarg1; - result = (uint32_t) ((arg1)->duration); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_flags_set(void * jarg1, int jarg2) { - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - int32_t arg2 ; - - arg1 = (switch_dtmf_t *)jarg1; - arg2 = (int32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmf_t_flags_get(void * jarg1) { - int jresult ; - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - int32_t result; - - arg1 = (switch_dtmf_t *)jarg1; - result = (int32_t) ((arg1)->flags); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_source_set(void * jarg1, int jarg2) { - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - switch_dtmf_source_t arg2 ; - - arg1 = (switch_dtmf_t *)jarg1; - arg2 = (switch_dtmf_source_t)jarg2; - if (arg1) (arg1)->source = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmf_t_source_get(void * jarg1) { - int jresult ; - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - switch_dtmf_source_t result; - - arg1 = (switch_dtmf_t *)jarg1; - result = (switch_dtmf_source_t) ((arg1)->source); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_dtmf_t() { - void * jresult ; - switch_dtmf_t *result = 0 ; - - result = (switch_dtmf_t *)new switch_dtmf_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_dtmf_t(void * jarg1) { - switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; - - arg1 = (switch_dtmf_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_buf_set(void * jarg1, void * jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t *arg2 = (switch_byte_t *) 0 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t *)jarg2; - if (arg1) (arg1)->buf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_bitpack_t_buf_get(void * jarg1) { - void * jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t *result = 0 ; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t *) ((arg1)->buf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_buflen_set(void * jarg1, unsigned long jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->buflen = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_buflen_get(void * jarg1) { - unsigned long jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - uint32_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (uint32_t) ((arg1)->buflen); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_cur_set(void * jarg1, void * jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t *arg2 = (switch_byte_t *) 0 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t *)jarg2; - if (arg1) (arg1)->cur = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_bitpack_t_cur_get(void * jarg1) { - void * jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t *result = 0 ; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t *) ((arg1)->cur); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bytes_set(void * jarg1, unsigned long jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->bytes = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_bytes_get(void * jarg1) { - unsigned long jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - uint32_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (uint32_t) ((arg1)->bytes); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_tot_set(void * jarg1, unsigned long jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->bits_tot = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_bits_tot_get(void * jarg1) { - unsigned long jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - uint32_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (uint32_t) ((arg1)->bits_tot); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_cur_set(void * jarg1, unsigned char jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t)jarg2; - if (arg1) (arg1)->bits_cur = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_bits_cur_get(void * jarg1) { - unsigned char jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t) ((arg1)->bits_cur); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_rem_set(void * jarg1, unsigned char jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t)jarg2; - if (arg1) (arg1)->bits_rem = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_bits_rem_get(void * jarg1) { - unsigned char jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t) ((arg1)->bits_rem); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_frame_bits_set(void * jarg1, unsigned char jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t)jarg2; - if (arg1) (arg1)->frame_bits = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_frame_bits_get(void * jarg1) { - unsigned char jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t) ((arg1)->frame_bits); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_shiftby_set(void * jarg1, unsigned char jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t)jarg2; - if (arg1) (arg1)->shiftby = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_shiftby_get(void * jarg1) { - unsigned char jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t) ((arg1)->shiftby); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_this_byte_set(void * jarg1, unsigned char jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t)jarg2; - if (arg1) (arg1)->this_byte = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_this_byte_get(void * jarg1) { - unsigned char jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t) ((arg1)->this_byte); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_under_set(void * jarg1, unsigned char jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t)jarg2; - if (arg1) (arg1)->under = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_under_get(void * jarg1) { - unsigned char jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t) ((arg1)->under); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_over_set(void * jarg1, unsigned char jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_byte_t)jarg2; - if (arg1) (arg1)->over = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_over_get(void * jarg1) { - unsigned char jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_byte_t) ((arg1)->over); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_mode_set(void * jarg1, int jarg2) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_bitpack_mode_t arg2 ; - - arg1 = (switch_bitpack_t *)jarg1; - arg2 = (switch_bitpack_mode_t)jarg2; - if (arg1) (arg1)->mode = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_bitpack_t_mode_get(void * jarg1) { - int jresult ; - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - switch_bitpack_mode_t result; - - arg1 = (switch_bitpack_t *)jarg1; - result = (switch_bitpack_mode_t) ((arg1)->mode); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_bitpack_t() { - void * jresult ; - switch_bitpack_t *result = 0 ; - - result = (switch_bitpack_t *)new switch_bitpack_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_bitpack_t(void * jarg1) { - switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; - - arg1 = (switch_bitpack_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_base_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->base_dir) delete [] arg1->base_dir; - if (arg2) { - arg1->base_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->base_dir, (const char *)arg2); - } else { - arg1->base_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_base_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->base_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_mod_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->mod_dir) delete [] arg1->mod_dir; - if (arg2) { - arg1->mod_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->mod_dir, (const char *)arg2); - } else { - arg1->mod_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_mod_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->mod_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_conf_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->conf_dir) delete [] arg1->conf_dir; - if (arg2) { - arg1->conf_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->conf_dir, (const char *)arg2); - } else { - arg1->conf_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_conf_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->conf_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_log_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->log_dir) delete [] arg1->log_dir; - if (arg2) { - arg1->log_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->log_dir, (const char *)arg2); - } else { - arg1->log_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_log_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->log_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_run_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->run_dir) delete [] arg1->run_dir; - if (arg2) { - arg1->run_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->run_dir, (const char *)arg2); - } else { - arg1->run_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_run_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->run_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_db_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->db_dir) delete [] arg1->db_dir; - if (arg2) { - arg1->db_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->db_dir, (const char *)arg2); - } else { - arg1->db_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_db_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->db_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_script_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->script_dir) delete [] arg1->script_dir; - if (arg2) { - arg1->script_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->script_dir, (const char *)arg2); - } else { - arg1->script_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_script_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->script_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_temp_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->temp_dir) delete [] arg1->temp_dir; - if (arg2) { - arg1->temp_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->temp_dir, (const char *)arg2); - } else { - arg1->temp_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_temp_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->temp_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_htdocs_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->htdocs_dir) delete [] arg1->htdocs_dir; - if (arg2) { - arg1->htdocs_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->htdocs_dir, (const char *)arg2); - } else { - arg1->htdocs_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_htdocs_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->htdocs_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_grammar_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->grammar_dir) delete [] arg1->grammar_dir; - if (arg2) { - arg1->grammar_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->grammar_dir, (const char *)arg2); - } else { - arg1->grammar_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_grammar_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->grammar_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_storage_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->storage_dir) delete [] arg1->storage_dir; - if (arg2) { - arg1->storage_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->storage_dir, (const char *)arg2); - } else { - arg1->storage_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_storage_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->storage_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_cache_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->cache_dir) delete [] arg1->cache_dir; - if (arg2) { - arg1->cache_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->cache_dir, (const char *)arg2); - } else { - arg1->cache_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_cache_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->cache_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_recordings_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->recordings_dir) delete [] arg1->recordings_dir; - if (arg2) { - arg1->recordings_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->recordings_dir, (const char *)arg2); - } else { - arg1->recordings_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_recordings_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->recordings_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_sounds_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->sounds_dir) delete [] arg1->sounds_dir; - if (arg2) { - arg1->sounds_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->sounds_dir, (const char *)arg2); - } else { - arg1->sounds_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_sounds_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->sounds_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_lib_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->lib_dir) delete [] arg1->lib_dir; - if (arg2) { - arg1->lib_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->lib_dir, (const char *)arg2); - } else { - arg1->lib_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_lib_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->lib_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_certs_dir_set(void * jarg1, char * jarg2) { - switch_directories *arg1 = (switch_directories *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directories *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->certs_dir) delete [] arg1->certs_dir; - if (arg2) { - arg1->certs_dir = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->certs_dir, (const char *)arg2); - } else { - arg1->certs_dir = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_certs_dir_get(void * jarg1) { - char * jresult ; - switch_directories *arg1 = (switch_directories *) 0 ; - char *result = 0 ; - - arg1 = (switch_directories *)jarg1; - result = (char *) ((arg1)->certs_dir); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directories() { - void * jresult ; - switch_directories *result = 0 ; - - result = (switch_directories *)new switch_directories(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directories(void * jarg1) { - switch_directories *arg1 = (switch_directories *) 0 ; - - arg1 = (switch_directories *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_set(void * jarg1) { - switch_directories *arg1 = (switch_directories *) 0 ; - - arg1 = (switch_directories *)jarg1; - SWITCH_GLOBAL_dirs = *arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_get() { - void * jresult ; - switch_directories *result = 0 ; - - result = (switch_directories *)&SWITCH_GLOBAL_dirs; - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_filenames_conf_name_set(void * jarg1, char * jarg2) { - switch_filenames *arg1 = (switch_filenames *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_filenames *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->conf_name) delete [] arg1->conf_name; - if (arg2) { - arg1->conf_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->conf_name, (const char *)arg2); - } else { - arg1->conf_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_filenames_conf_name_get(void * jarg1) { - char * jresult ; - switch_filenames *arg1 = (switch_filenames *) 0 ; - char *result = 0 ; - - arg1 = (switch_filenames *)jarg1; - result = (char *) ((arg1)->conf_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_filenames() { - void * jresult ; - switch_filenames *result = 0 ; - - result = (switch_filenames *)new switch_filenames(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_filenames(void * jarg1) { - switch_filenames *arg1 = (switch_filenames *) 0 ; - - arg1 = (switch_filenames *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_set(void * jarg1) { - switch_filenames *arg1 = (switch_filenames *) 0 ; - - arg1 = (switch_filenames *)jarg1; - SWITCH_GLOBAL_filenames = *arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_get() { - void * jresult ; - switch_filenames *result = 0 ; - - result = (switch_filenames *)&SWITCH_GLOBAL_filenames; - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STACKS_get() { - int jresult ; - int result; - - result = (int)(16); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_THREAD_STACKSIZE_get() { - int jresult ; - int result; - - result = (int)(240*1024); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SYSTEM_THREAD_STACKSIZE_get() { - int jresult ; - int result; - - result = (int)(8192*1024); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_INTERVAL_get() { - int jresult ; - int result; - - result = (int)(120); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_INTERVAL_PAD_get() { - int jresult ; - int result; - - result = (int)(10); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_SAMPLE_LEN_get() { - int jresult ; - int result; - - result = (int)(48); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_BYTES_PER_SAMPLE_get() { - int jresult ; - int result; - - result = (int)(2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RECOMMENDED_BUFFER_SIZE_get() { - int jresult ; - int result; - - result = (int)(8192); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_CODECS_get() { - int jresult ; - int result; - - result = (int)(50); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STATE_HANDLERS_get() { - int jresult ; - int result; - - result = (int)(30); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_QUEUE_LEN_get() { - int jresult ; - int result; - - result = (int)(100000); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get() { - int jresult ; - int result; - - result = (int)(1024*8); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_raw_bytes_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->raw_bytes = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_raw_bytes_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->raw_bytes); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_bytes_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->media_bytes = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_bytes_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->media_bytes); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->period_packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->period_packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->media_packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->media_packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_skip_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->skip_packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_skip_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->skip_packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jb_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->jb_packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_jb_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->jb_packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_dtmf_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->dtmf_packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_dtmf_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->dtmf_packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_cng_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->cng_packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_cng_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->cng_packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_flush_packet_count_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->flush_packet_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_flush_packet_count_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->flush_packet_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_largest_jb_size_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->largest_jb_size = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_largest_jb_size_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->largest_jb_size); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_proc_time_set(void * jarg1, long long jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int64_t)jarg2; - if (arg1) (arg1)->last_proc_time = arg2; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_proc_time_get(void * jarg1) { - long long jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int64_t) ((arg1)->last_proc_time); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_n_set(void * jarg1, long long jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int64_t)jarg2; - if (arg1) (arg1)->jitter_n = arg2; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_n_get(void * jarg1) { - long long jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int64_t) ((arg1)->jitter_n); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_add_set(void * jarg1, long long jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int64_t)jarg2; - if (arg1) (arg1)->jitter_add = arg2; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_add_get(void * jarg1) { - long long jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int64_t) ((arg1)->jitter_add); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_addsq_set(void * jarg1, long long jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int64_t)jarg2; - if (arg1) (arg1)->jitter_addsq = arg2; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_addsq_get(void * jarg1) { - long long jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int64_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int64_t) ((arg1)->jitter_addsq); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_variance_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->variance = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_variance_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->variance); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_min_variance_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->min_variance = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_min_variance_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->min_variance); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_max_variance_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->max_variance = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_max_variance_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->max_variance); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_std_deviation_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->std_deviation = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_std_deviation_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->std_deviation); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_lossrate_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->lossrate = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_lossrate_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->lossrate); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_burstrate_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->burstrate = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_burstrate_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->burstrate); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_mean_interval_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->mean_interval = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_mean_interval_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->mean_interval); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_loss_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int *arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int *)jarg2; - { - size_t ii; - int *b = (int *) arg1->loss; - for (ii = 0; ii < (size_t)1024; ii++) b[ii] = *((int *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_loss_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int *result = 0 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int *)(int *) ((arg1)->loss); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_loss_set(void * jarg1, int jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->last_loss = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_loss_get(void * jarg1) { - int jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int) ((arg1)->last_loss); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_recved_set(void * jarg1, int jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->recved = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_recved_get(void * jarg1) { - int jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int) ((arg1)->recved); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_processed_seq_set(void * jarg1, int jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->last_processed_seq = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_processed_seq_get(void * jarg1) { - int jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - int result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (int) ((arg1)->last_processed_seq); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_flaws_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->flaws = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_flaws_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->flaws); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_flaw_set(void * jarg1, void * jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->last_flaw = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_flaw_get(void * jarg1) { - void * jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = ((arg1)->last_flaw); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_R_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->R = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_R_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->R); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_mos_set(void * jarg1, double jarg2) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->mos = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_mos_get(void * jarg1) { - double jresult ; - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtp_numbers_t *)jarg1; - result = (double) ((arg1)->mos); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_numbers_t() { - void * jresult ; - switch_rtp_numbers_t *result = 0 ; - - result = (switch_rtp_numbers_t *)new switch_rtp_numbers_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_numbers_t(void * jarg1) { - switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; - - arg1 = (switch_rtp_numbers_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->packet_count = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->packet_count); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->octet_count = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->octet_count); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_peer_ssrc_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->peer_ssrc = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_peer_ssrc_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->peer_ssrc); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->last_rpt_ts = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->last_rpt_ts); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ssrc = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->ssrc); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->csrc = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->csrc); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->last_pkt_tsdiff = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->last_pkt_tsdiff); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_set(void * jarg1, double jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - double arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->inter_jitter = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_get(void * jarg1) { - double jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - double result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (double) ((arg1)->inter_jitter); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->last_rpt_ext_seq = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->last_rpt_ext_seq); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycle_set(void * jarg1, unsigned short jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->last_rpt_cycle = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycle_get(void * jarg1) { - unsigned short jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint16_t) ((arg1)->last_rpt_cycle); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_count_set(void * jarg1, unsigned short jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->period_pkt_count = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_count_get(void * jarg1) { - unsigned short jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint16_t) ((arg1)->period_pkt_count); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_set(void * jarg1, unsigned short jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->pkt_count = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_get(void * jarg1) { - unsigned short jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint16_t) ((arg1)->pkt_count); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->rtcp_rtp_count = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->rtcp_rtp_count); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->high_ext_seq_recv = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->high_ext_seq_recv); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_set(void * jarg1, unsigned short jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->cycle = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_get(void * jarg1) { - unsigned short jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint16_t) ((arg1)->cycle); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->bad_seq = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->bad_seq); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_set(void * jarg1, unsigned short jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->base_seq = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_get(void * jarg1) { - unsigned short jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint16_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint16_t) ((arg1)->base_seq); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->cum_lost = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->cum_lost); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->last_recv_lsr_local = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->last_recv_lsr_local); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->last_recv_lsr_peer = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->last_recv_lsr_peer); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_set(void * jarg1, unsigned long jarg2) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->init = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_get(void * jarg1) { - unsigned long jresult ; - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - result = (uint32_t) ((arg1)->init); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_numbers_t() { - void * jresult ; - switch_rtcp_numbers_t *result = 0 ; - - result = (switch_rtcp_numbers_t *)new switch_rtcp_numbers_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtcp_numbers_t(void * jarg1) { - switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; - - arg1 = (switch_rtcp_numbers_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_inbound_set(void * jarg1, void * jarg2) { - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - switch_rtp_numbers_t *arg2 = (switch_rtp_numbers_t *) 0 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - arg2 = (switch_rtp_numbers_t *)jarg2; - if (arg1) (arg1)->inbound = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_inbound_get(void * jarg1) { - void * jresult ; - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - switch_rtp_numbers_t *result = 0 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - result = (switch_rtp_numbers_t *)& ((arg1)->inbound); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_outbound_set(void * jarg1, void * jarg2) { - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - switch_rtp_numbers_t *arg2 = (switch_rtp_numbers_t *) 0 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - arg2 = (switch_rtp_numbers_t *)jarg2; - if (arg1) (arg1)->outbound = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_outbound_get(void * jarg1) { - void * jresult ; - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - switch_rtp_numbers_t *result = 0 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - result = (switch_rtp_numbers_t *)& ((arg1)->outbound); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_set(void * jarg1, void * jarg2) { - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - switch_rtcp_numbers_t *arg2 = (switch_rtcp_numbers_t *) 0 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - arg2 = (switch_rtcp_numbers_t *)jarg2; - if (arg1) (arg1)->rtcp = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_get(void * jarg1) { - void * jresult ; - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - switch_rtcp_numbers_t *result = 0 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - result = (switch_rtcp_numbers_t *)& ((arg1)->rtcp); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_set(void * jarg1, unsigned long jarg2) { - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->read_count = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_get(void * jarg1) { - unsigned long jresult ; - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtp_stats_t *)jarg1; - result = (uint32_t) ((arg1)->read_count); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_stats_t() { - void * jresult ; - switch_rtp_stats_t *result = 0 ; - - result = (switch_rtp_stats_t *)new switch_rtp_stats_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_stats_t(void * jarg1) { - switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; - - arg1 = (switch_rtp_stats_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_CNG_PAYLOAD_get() { - int jresult ; - int result; - - result = (int)(13); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_version_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->version = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_version_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->version); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_p_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->p = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_p_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->p); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_x_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->x = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_x_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->x); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_cc_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->cc = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_cc_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->cc); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_m_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->m = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_m_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->m); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_pt_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->pt = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_pt_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->pt); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_seq_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->seq = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_seq_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->seq); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_ts_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->ts = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_ts_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->ts); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_ssrc_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->ssrc = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_ssrc_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->ssrc); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_hdr_t() { - void * jresult ; - switch_rtp_hdr_t *result = 0 ; - - result = (switch_rtp_hdr_t *)new switch_rtp_hdr_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_hdr_t(void * jarg1) { - switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; - - arg1 = (switch_rtp_hdr_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_length_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_ext_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->length = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_length_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_ext_t *)jarg1; - result = (unsigned int) ((arg1)->length); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_profile_set(void * jarg1, unsigned int jarg2) { - switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtp_hdr_ext_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->profile = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_profile_get(void * jarg1) { - unsigned int jresult ; - switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtp_hdr_ext_t *)jarg1; - result = (unsigned int) ((arg1)->profile); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_hdr_ext_t() { - void * jresult ; - switch_rtp_hdr_ext_t *result = 0 ; - - result = (switch_rtp_hdr_ext_t *)new switch_rtp_hdr_ext_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_hdr_ext_t(void * jarg1) { - switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; - - arg1 = (switch_rtp_hdr_ext_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_version_set(void * jarg1, unsigned int jarg2) { - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->version = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_version_get(void * jarg1) { - unsigned int jresult ; - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->version); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_p_set(void * jarg1, unsigned int jarg2) { - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->p = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_p_get(void * jarg1) { - unsigned int jresult ; - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->p); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_count_set(void * jarg1, unsigned int jarg2) { - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->count = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_count_get(void * jarg1) { - unsigned int jresult ; - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->count); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_type_set(void * jarg1, unsigned int jarg2) { - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->type = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_type_get(void * jarg1) { - unsigned int jresult ; - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_length_set(void * jarg1, unsigned int jarg2) { - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->length = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_length_get(void * jarg1) { - unsigned int jresult ; - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - unsigned int result; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - result = (unsigned int) ((arg1)->length); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_hdr_t() { - void * jresult ; - switch_rtcp_hdr_t *result = 0 ; - - result = (switch_rtcp_hdr_t *)new switch_rtcp_hdr_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtcp_hdr_t(void * jarg1) { - switch_rtcp_hdr_t *arg1 = (switch_rtcp_hdr_t *) 0 ; - - arg1 = (switch_rtcp_hdr_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_audio_buffer_header_t_ts_set(void * jarg1, unsigned long jarg2) { - audio_buffer_header_t *arg1 = (audio_buffer_header_t *) 0 ; - uint32_t arg2 ; - - arg1 = (audio_buffer_header_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ts = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_audio_buffer_header_t_ts_get(void * jarg1) { - unsigned long jresult ; - audio_buffer_header_t *arg1 = (audio_buffer_header_t *) 0 ; - uint32_t result; - - arg1 = (audio_buffer_header_t *)jarg1; - result = (uint32_t) ((arg1)->ts); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_audio_buffer_header_t_len_set(void * jarg1, unsigned long jarg2) { - audio_buffer_header_t *arg1 = (audio_buffer_header_t *) 0 ; - uint32_t arg2 ; - - arg1 = (audio_buffer_header_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->len = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_audio_buffer_header_t_len_get(void * jarg1) { - unsigned long jresult ; - audio_buffer_header_t *arg1 = (audio_buffer_header_t *) 0 ; - uint32_t result; - - arg1 = (audio_buffer_header_t *)jarg1; - result = (uint32_t) ((arg1)->len); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_audio_buffer_header_t() { - void * jresult ; - audio_buffer_header_t *result = 0 ; - - result = (audio_buffer_header_t *)new audio_buffer_header_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_audio_buffer_header_t(void * jarg1) { - audio_buffer_header_t *arg1 = (audio_buffer_header_t *) 0 ; - - arg1 = (audio_buffer_header_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxVersion_set(void * jarg1, unsigned short jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->T38FaxVersion = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxVersion_get(void * jarg1) { - unsigned short jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint16_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (uint16_t) ((arg1)->T38FaxVersion); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38MaxBitRate_set(void * jarg1, unsigned long jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->T38MaxBitRate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38MaxBitRate_get(void * jarg1) { - unsigned long jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint32_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (uint32_t) ((arg1)->T38MaxBitRate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxFillBitRemoval_set(void * jarg1, int jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - if (arg1) (arg1)->T38FaxFillBitRemoval = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxFillBitRemoval_get(void * jarg1) { - int jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (switch_bool_t) ((arg1)->T38FaxFillBitRemoval); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingMMR_set(void * jarg1, int jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - if (arg1) (arg1)->T38FaxTranscodingMMR = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingMMR_get(void * jarg1) { - int jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (switch_bool_t) ((arg1)->T38FaxTranscodingMMR); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_set(void * jarg1, int jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - if (arg1) (arg1)->T38FaxTranscodingJBIG = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_get(void * jarg1) { - int jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (switch_bool_t) ((arg1)->T38FaxTranscodingJBIG); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxRateManagement_set(void * jarg1, char * jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->T38FaxRateManagement = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->T38FaxRateManagement, (const char *)arg2); - } else { - arg1->T38FaxRateManagement = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxRateManagement_get(void * jarg1) { - char * jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - result = (char *) ((arg1)->T38FaxRateManagement); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxBuffer_set(void * jarg1, unsigned long jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->T38FaxMaxBuffer = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxBuffer_get(void * jarg1) { - unsigned long jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint32_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (uint32_t) ((arg1)->T38FaxMaxBuffer); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxDatagram_set(void * jarg1, unsigned long jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->T38FaxMaxDatagram = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxDatagram_get(void * jarg1) { - unsigned long jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint32_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (uint32_t) ((arg1)->T38FaxMaxDatagram); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxUdpEC_set(void * jarg1, char * jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->T38FaxUdpEC = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->T38FaxUdpEC, (const char *)arg2); - } else { - arg1->T38FaxUdpEC = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxUdpEC_get(void * jarg1) { - char * jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - result = (char *) ((arg1)->T38FaxUdpEC); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38VendorInfo_set(void * jarg1, char * jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->T38VendorInfo = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->T38VendorInfo, (const char *)arg2); - } else { - arg1->T38VendorInfo = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38VendorInfo_get(void * jarg1) { - char * jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - result = (char *) ((arg1)->T38VendorInfo); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_ip_set(void * jarg1, char * jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->remote_ip = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->remote_ip, (const char *)arg2); - } else { - arg1->remote_ip = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_remote_ip_get(void * jarg1) { - char * jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - result = (char *) ((arg1)->remote_ip); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_set(void * jarg1, unsigned short jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->remote_port = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_get(void * jarg1) { - unsigned short jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint16_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (uint16_t) ((arg1)->remote_port); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_ip_set(void * jarg1, char * jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->local_ip = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->local_ip, (const char *)arg2); - } else { - arg1->local_ip = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_local_ip_get(void * jarg1) { - char * jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - result = (char *) ((arg1)->local_ip); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_port_set(void * jarg1, unsigned short jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->local_port = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_local_port_get(void * jarg1) { - unsigned short jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - uint16_t result; - - arg1 = (switch_t38_options_t *)jarg1; - result = (uint16_t) ((arg1)->local_port); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_set(void * jarg1, char * jarg2) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->sdp_o_line = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->sdp_o_line, (const char *)arg2); - } else { - arg1->sdp_o_line = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_get(void * jarg1) { - char * jresult ; - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - result = (char *) ((arg1)->sdp_o_line); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_t38_options_t() { - void * jresult ; - switch_t38_options_t *result = 0 ; - - result = (switch_t38_options_t *)new switch_t38_options_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_t38_options_t(void * jarg1) { - switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; - - arg1 = (switch_t38_options_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MEDIA_TYPE_TOTAL_get() { - int jresult ; - int result; - - result = (int)(2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SOCK_INVALID_get() { - int jresult ; - int result; - - result = (int)(-1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_val_set(void * jarg1, char * jarg2) { - switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_console_callback_match_node *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->val) delete [] arg1->val; - if (arg2) { - arg1->val = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->val, (const char *)arg2); - } else { - arg1->val = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_callback_match_node_val_get(void * jarg1) { - char * jresult ; - switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; - char *result = 0 ; - - arg1 = (switch_console_callback_match_node *)jarg1; - result = (char *) ((arg1)->val); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_next_set(void * jarg1, void * jarg2) { - switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; - switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; - - arg1 = (switch_console_callback_match_node *)jarg1; - arg2 = (switch_console_callback_match_node *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_node_next_get(void * jarg1) { - void * jresult ; - switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; - switch_console_callback_match_node *result = 0 ; - - arg1 = (switch_console_callback_match_node *)jarg1; - result = (switch_console_callback_match_node *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match_node() { - void * jresult ; - switch_console_callback_match_node *result = 0 ; - - result = (switch_console_callback_match_node *)new switch_console_callback_match_node(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match_node(void * jarg1) { - switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; - - arg1 = (switch_console_callback_match_node *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_head_set(void * jarg1, void * jarg2) { - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; - - arg1 = (switch_console_callback_match *)jarg1; - arg2 = (switch_console_callback_match_node *)jarg2; - if (arg1) (arg1)->head = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_head_get(void * jarg1) { - void * jresult ; - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - switch_console_callback_match_node *result = 0 ; - - arg1 = (switch_console_callback_match *)jarg1; - result = (switch_console_callback_match_node *) ((arg1)->head); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_end_set(void * jarg1, void * jarg2) { - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; - - arg1 = (switch_console_callback_match *)jarg1; - arg2 = (switch_console_callback_match_node *)jarg2; - if (arg1) (arg1)->end = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_end_get(void * jarg1) { - void * jresult ; - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - switch_console_callback_match_node *result = 0 ; - - arg1 = (switch_console_callback_match *)jarg1; - result = (switch_console_callback_match_node *) ((arg1)->end); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_count_set(void * jarg1, int jarg2) { - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - int arg2 ; - - arg1 = (switch_console_callback_match *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->count = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_count_get(void * jarg1) { - int jresult ; - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - int result; - - arg1 = (switch_console_callback_match *)jarg1; - result = (int) ((arg1)->count); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_set(void * jarg1, int jarg2) { - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - int arg2 ; - - arg1 = (switch_console_callback_match *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->dynamic = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_get(void * jarg1) { - int jresult ; - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - int result; - - arg1 = (switch_console_callback_match *)jarg1; - result = (int) ((arg1)->dynamic); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match() { - void * jresult ; - switch_console_callback_match *result = 0 ; - - result = (switch_console_callback_match *)new switch_console_callback_match(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match(void * jarg1) { - switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; - - arg1 = (switch_console_callback_match *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_DMACHINE_MAX_DIGIT_LEN_get() { - int jresult ; - int result; - - result = (int)(512); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_dmachine_set(void * jarg1, void * jarg2) { - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - switch_ivr_dmachine_t *arg2 = (switch_ivr_dmachine_t *) 0 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - arg2 = (switch_ivr_dmachine_t *)jarg2; - if (arg1) (arg1)->dmachine = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_dmachine_get(void * jarg1) { - void * jresult ; - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - switch_ivr_dmachine_t *result = 0 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - result = (switch_ivr_dmachine_t *) ((arg1)->dmachine); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_digits_set(void * jarg1, char * jarg2) { - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->match_digits = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->match_digits, (const char *)arg2); - } else { - arg1->match_digits = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_digits_get(void * jarg1) { - char * jresult ; - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - char *result = 0 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - result = (char *) ((arg1)->match_digits); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_key_set(void * jarg1, int jarg2) { - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - int32_t arg2 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - arg2 = (int32_t)jarg2; - if (arg1) (arg1)->match_key = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_key_get(void * jarg1) { - int jresult ; - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - int32_t result; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - result = (int32_t) ((arg1)->match_key); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_type_set(void * jarg1, int jarg2) { - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - dm_match_type_t arg2 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - arg2 = (dm_match_type_t)jarg2; - if (arg1) (arg1)->type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_match_type_get(void * jarg1) { - int jresult ; - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - dm_match_type_t result; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - result = (dm_match_type_t) ((arg1)->type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_user_data_set(void * jarg1, void * jarg2) { - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->user_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_user_data_get(void * jarg1) { - void * jresult ; - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - void *result = 0 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - result = (void *) ((arg1)->user_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_ivr_dmachine_match() { - void * jresult ; - switch_ivr_dmachine_match *result = 0 ; - - result = (switch_ivr_dmachine_match *)new switch_ivr_dmachine_match(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_ivr_dmachine_match(void * jarg1) { - switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; - - arg1 = (switch_ivr_dmachine_match *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_ARG_RECURSION_get() { - int jresult ; - int result; - - result = (int)(25); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_input_callback_set(void * jarg1, void * jarg2) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - switch_input_callback_function_t arg2 = (switch_input_callback_function_t) 0 ; - - arg1 = (switch_input_args_t *)jarg1; - arg2 = (switch_input_callback_function_t)jarg2; - if (arg1) (arg1)->input_callback = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_input_callback_get(void * jarg1) { - void * jresult ; - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - switch_input_callback_function_t result; - - arg1 = (switch_input_args_t *)jarg1; - result = (switch_input_callback_function_t) ((arg1)->input_callback); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_buf_set(void * jarg1, void * jarg2) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_input_args_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->buf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_buf_get(void * jarg1) { - void * jresult ; - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_input_args_t *)jarg1; - result = (void *) ((arg1)->buf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_buflen_set(void * jarg1, unsigned long jarg2) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_input_args_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->buflen = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_input_args_t_buflen_get(void * jarg1) { - unsigned long jresult ; - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - uint32_t result; - - arg1 = (switch_input_args_t *)jarg1; - result = (uint32_t) ((arg1)->buflen); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_read_frame_callback_set(void * jarg1, void * jarg2) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - switch_read_frame_callback_function_t arg2 = (switch_read_frame_callback_function_t) 0 ; - - arg1 = (switch_input_args_t *)jarg1; - arg2 = (switch_read_frame_callback_function_t)jarg2; - if (arg1) (arg1)->read_frame_callback = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_read_frame_callback_get(void * jarg1) { - void * jresult ; - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - switch_read_frame_callback_function_t result; - - arg1 = (switch_input_args_t *)jarg1; - result = (switch_read_frame_callback_function_t) ((arg1)->read_frame_callback); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_user_data_set(void * jarg1, void * jarg2) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_input_args_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->user_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_user_data_get(void * jarg1) { - void * jresult ; - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_input_args_t *)jarg1; - result = (void *) ((arg1)->user_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_dmachine_set(void * jarg1, void * jarg2) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - switch_ivr_dmachine_t *arg2 = (switch_ivr_dmachine_t *) 0 ; - - arg1 = (switch_input_args_t *)jarg1; - arg2 = (switch_ivr_dmachine_t *)jarg2; - if (arg1) (arg1)->dmachine = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_dmachine_get(void * jarg1) { - void * jresult ; - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - switch_ivr_dmachine_t *result = 0 ; - - arg1 = (switch_input_args_t *)jarg1; - result = (switch_ivr_dmachine_t *) ((arg1)->dmachine); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_loops_set(void * jarg1, int jarg2) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - int arg2 ; - - arg1 = (switch_input_args_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->loops = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_input_args_t_loops_get(void * jarg1) { - int jresult ; - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - int result; - - arg1 = (switch_input_args_t *)jarg1; - result = (int) ((arg1)->loops); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_input_args_t() { - void * jresult ; - switch_input_args_t *result = 0 ; - - result = (switch_input_args_t *)new switch_input_args_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_input_args_t(void * jarg1) { - switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; - - arg1 = (switch_input_args_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_type_set(void * jarg1, int jarg2) { - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - switch_say_type_t arg2 ; - - arg1 = (switch_say_args_t *)jarg1; - arg2 = (switch_say_type_t)jarg2; - if (arg1) (arg1)->type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_args_t_type_get(void * jarg1) { - int jresult ; - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - switch_say_type_t result; - - arg1 = (switch_say_args_t *)jarg1; - result = (switch_say_type_t) ((arg1)->type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_method_set(void * jarg1, int jarg2) { - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - switch_say_method_t arg2 ; - - arg1 = (switch_say_args_t *)jarg1; - arg2 = (switch_say_method_t)jarg2; - if (arg1) (arg1)->method = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_args_t_method_get(void * jarg1) { - int jresult ; - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - switch_say_method_t result; - - arg1 = (switch_say_args_t *)jarg1; - result = (switch_say_method_t) ((arg1)->method); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_gender_set(void * jarg1, int jarg2) { - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - switch_say_gender_t arg2 ; - - arg1 = (switch_say_args_t *)jarg1; - arg2 = (switch_say_gender_t)jarg2; - if (arg1) (arg1)->gender = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_args_t_gender_get(void * jarg1) { - int jresult ; - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - switch_say_gender_t result; - - arg1 = (switch_say_args_t *)jarg1; - result = (switch_say_gender_t) ((arg1)->gender); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_ext_set(void * jarg1, char * jarg2) { - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_say_args_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->ext = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->ext, (const char *)arg2); - } else { - arg1->ext = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_args_t_ext_get(void * jarg1) { - char * jresult ; - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_say_args_t *)jarg1; - result = (char *) ((arg1)->ext); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_say_args_t() { - void * jresult ; - switch_say_args_t *result = 0 ; - - result = (switch_say_args_t *)new switch_say_args_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_say_args_t(void * jarg1) { - switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; - - arg1 = (switch_say_args_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_API_VERSION_get() { - int jresult ; - int result; - - result = (int)(5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_switch_api_version_set(void * jarg1, int jarg2) { - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - int arg2 ; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->switch_api_version = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_switch_api_version_get(void * jarg1) { - int jresult ; - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - int result; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - result = (int) ((arg1)->switch_api_version); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_load_set(void * jarg1, void * jarg2) { - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_load_t arg2 = (switch_module_load_t) 0 ; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - arg2 = (switch_module_load_t)jarg2; - if (arg1) (arg1)->load = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_load_get(void * jarg1) { - void * jresult ; - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_load_t result; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - result = (switch_module_load_t) ((arg1)->load); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_shutdown_set(void * jarg1, void * jarg2) { - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_shutdown_t arg2 = (switch_module_shutdown_t) 0 ; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - arg2 = (switch_module_shutdown_t)jarg2; - if (arg1) (arg1)->shutdown = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_shutdown_get(void * jarg1) { - void * jresult ; - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_shutdown_t result; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - result = (switch_module_shutdown_t) ((arg1)->shutdown); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_runtime_set(void * jarg1, void * jarg2) { - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_runtime_t arg2 = (switch_module_runtime_t) 0 ; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - arg2 = (switch_module_runtime_t)jarg2; - if (arg1) (arg1)->runtime = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_runtime_get(void * jarg1) { - void * jresult ; - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_runtime_t result; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - result = (switch_module_runtime_t) ((arg1)->runtime); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_flags_set(void * jarg1, unsigned long jarg2) { - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_flag_t arg2 ; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - arg2 = (switch_module_flag_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_flags_get(void * jarg1) { - unsigned long jresult ; - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - switch_module_flag_t result; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - result = (switch_module_flag_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_loadable_module_function_table_t() { - void * jresult ; - switch_loadable_module_function_table_t *result = 0 ; - - result = (switch_loadable_module_function_table_t *)new switch_loadable_module_function_table_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_loadable_module_function_table_t(void * jarg1) { - switch_loadable_module_function_table_t *arg1 = (switch_loadable_module_function_table_t *) 0 ; - - arg1 = (switch_loadable_module_function_table_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_type_set(void * jarg1, int jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_media_type_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (switch_media_type_t)jarg2; - if (arg1) (arg1)->type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_type_get(void * jarg1) { - int jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_media_type_t result; - - arg1 = (payload_map_t *)jarg1; - result = (switch_media_type_t) ((arg1)->type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_sdp_type_set(void * jarg1, int jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_sdp_type_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (switch_sdp_type_t)jarg2; - if (arg1) (arg1)->sdp_type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_sdp_type_get(void * jarg1) { - int jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_sdp_type_t result; - - arg1 = (payload_map_t *)jarg1; - result = (switch_sdp_type_t) ((arg1)->sdp_type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_ptime_set(void * jarg1, unsigned long jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ptime = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_ptime_get(void * jarg1) { - unsigned long jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t result; - - arg1 = (payload_map_t *)jarg1; - result = (uint32_t) ((arg1)->ptime); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rate_set(void * jarg1, unsigned long jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_rate_get(void * jarg1) { - unsigned long jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t result; - - arg1 = (payload_map_t *)jarg1; - result = (uint32_t) ((arg1)->rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_allocated_set(void * jarg1, unsigned char jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint8_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->allocated = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_allocated_get(void * jarg1) { - unsigned char jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint8_t result; - - arg1 = (payload_map_t *)jarg1; - result = (uint8_t) ((arg1)->allocated); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_negotiated_set(void * jarg1, unsigned char jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint8_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->negotiated = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_negotiated_get(void * jarg1) { - unsigned char jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint8_t result; - - arg1 = (payload_map_t *)jarg1; - result = (uint8_t) ((arg1)->negotiated); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_current_set(void * jarg1, unsigned char jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint8_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->current = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_current_get(void * jarg1) { - unsigned char jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint8_t result; - - arg1 = (payload_map_t *)jarg1; - result = (uint8_t) ((arg1)->current); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_hash_set(void * jarg1, unsigned long jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - unsigned long arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (unsigned long)jarg2; - if (arg1) (arg1)->hash = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_hash_get(void * jarg1) { - unsigned long jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - unsigned long result; - - arg1 = (payload_map_t *)jarg1; - result = (unsigned long) ((arg1)->hash); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_encoding_set(void * jarg1, char * jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->rm_encoding) delete [] arg1->rm_encoding; - if (arg2) { - arg1->rm_encoding = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->rm_encoding, (const char *)arg2); - } else { - arg1->rm_encoding = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_rm_encoding_get(void * jarg1) { - char * jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *result = 0 ; - - arg1 = (payload_map_t *)jarg1; - result = (char *) ((arg1)->rm_encoding); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_iananame_set(void * jarg1, char * jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->iananame) delete [] arg1->iananame; - if (arg2) { - arg1->iananame = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->iananame, (const char *)arg2); - } else { - arg1->iananame = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_iananame_get(void * jarg1) { - char * jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *result = 0 ; - - arg1 = (payload_map_t *)jarg1; - result = (char *) ((arg1)->iananame); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_pt_set(void * jarg1, unsigned char jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_payload_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (switch_payload_t)jarg2; - if (arg1) (arg1)->pt = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_pt_get(void * jarg1) { - unsigned char jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_payload_t result; - - arg1 = (payload_map_t *)jarg1; - result = (switch_payload_t) ((arg1)->pt); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_rate_set(void * jarg1, unsigned long jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - unsigned long arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (unsigned long)jarg2; - if (arg1) (arg1)->rm_rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_rm_rate_get(void * jarg1) { - unsigned long jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - unsigned long result; - - arg1 = (payload_map_t *)jarg1; - result = (unsigned long) ((arg1)->rm_rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_adv_rm_rate_set(void * jarg1, unsigned long jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - unsigned long arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (unsigned long)jarg2; - if (arg1) (arg1)->adv_rm_rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_adv_rm_rate_get(void * jarg1) { - unsigned long jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - unsigned long result; - - arg1 = (payload_map_t *)jarg1; - result = (unsigned long) ((arg1)->adv_rm_rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_codec_ms_set(void * jarg1, unsigned long jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->codec_ms = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_codec_ms_get(void * jarg1) { - unsigned long jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t result; - - arg1 = (payload_map_t *)jarg1; - result = (uint32_t) ((arg1)->codec_ms); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_bitrate_set(void * jarg1, unsigned long jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->bitrate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_bitrate_get(void * jarg1) { - unsigned long jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - uint32_t result; - - arg1 = (payload_map_t *)jarg1; - result = (uint32_t) ((arg1)->bitrate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_fmtp_set(void * jarg1, char * jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->rm_fmtp) delete [] arg1->rm_fmtp; - if (arg2) { - arg1->rm_fmtp = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->rm_fmtp, (const char *)arg2); - } else { - arg1->rm_fmtp = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_rm_fmtp_get(void * jarg1) { - char * jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *result = 0 ; - - arg1 = (payload_map_t *)jarg1; - result = (char *) ((arg1)->rm_fmtp); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_agreed_pt_set(void * jarg1, unsigned char jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_payload_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (switch_payload_t)jarg2; - if (arg1) (arg1)->agreed_pt = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_agreed_pt_get(void * jarg1) { - unsigned char jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_payload_t result; - - arg1 = (payload_map_t *)jarg1; - result = (switch_payload_t) ((arg1)->agreed_pt); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_recv_pt_set(void * jarg1, unsigned char jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_payload_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (switch_payload_t)jarg2; - if (arg1) (arg1)->recv_pt = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_recv_pt_get(void * jarg1) { - unsigned char jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_payload_t result; - - arg1 = (payload_map_t *)jarg1; - result = (switch_payload_t) ((arg1)->recv_pt); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_fmtp_out_set(void * jarg1, char * jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->fmtp_out) delete [] arg1->fmtp_out; - if (arg2) { - arg1->fmtp_out = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->fmtp_out, (const char *)arg2); - } else { - arg1->fmtp_out = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_fmtp_out_get(void * jarg1) { - char * jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *result = 0 ; - - arg1 = (payload_map_t *)jarg1; - result = (char *) ((arg1)->fmtp_out); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_remote_sdp_ip_set(void * jarg1, char * jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->remote_sdp_ip) delete [] arg1->remote_sdp_ip; - if (arg2) { - arg1->remote_sdp_ip = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->remote_sdp_ip, (const char *)arg2); - } else { - arg1->remote_sdp_ip = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_remote_sdp_ip_get(void * jarg1) { - char * jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - char *result = 0 ; - - arg1 = (payload_map_t *)jarg1; - result = (char *) ((arg1)->remote_sdp_ip); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_remote_sdp_port_set(void * jarg1, unsigned short jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_port_t arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (switch_port_t)jarg2; - if (arg1) (arg1)->remote_sdp_port = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_payload_map_t_remote_sdp_port_get(void * jarg1) { - unsigned short jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - switch_port_t result; - - arg1 = (payload_map_t *)jarg1; - result = (switch_port_t) ((arg1)->remote_sdp_port); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_channels_set(void * jarg1, int jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - int arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->channels = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_channels_get(void * jarg1) { - int jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - int result; - - arg1 = (payload_map_t *)jarg1; - result = (int) ((arg1)->channels); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_adv_channels_set(void * jarg1, int jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - int arg2 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->adv_channels = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_adv_channels_get(void * jarg1) { - int jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - int result; - - arg1 = (payload_map_t *)jarg1; - result = (int) ((arg1)->adv_channels); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_next_set(void * jarg1, void * jarg2) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - payload_map_s *arg2 = (payload_map_s *) 0 ; - - arg1 = (payload_map_t *)jarg1; - arg2 = (payload_map_s *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_payload_map_t_next_get(void * jarg1) { - void * jresult ; - payload_map_t *arg1 = (payload_map_t *) 0 ; - payload_map_s *result = 0 ; - - arg1 = (payload_map_t *)jarg1; - result = (payload_map_s *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_payload_map_t() { - void * jresult ; - payload_map_t *result = 0 ; - - result = (payload_map_t *)new payload_map_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_payload_map_t(void * jarg1) { - payload_map_t *arg1 = (payload_map_t *) 0 ; - - arg1 = (payload_map_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_sock_set(void * jarg1, int jarg2) { - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - switch_os_socket_t arg2 ; - - arg1 = (switch_waitlist_t *)jarg1; - arg2 = (switch_os_socket_t)jarg2; - if (arg1) (arg1)->sock = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_waitlist_t_sock_get(void * jarg1) { - int jresult ; - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - switch_os_socket_t result; - - arg1 = (switch_waitlist_t *)jarg1; - result = (switch_os_socket_t) ((arg1)->sock); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_events_set(void * jarg1, unsigned long jarg2) { - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_waitlist_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->events = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_events_get(void * jarg1) { - unsigned long jresult ; - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - uint32_t result; - - arg1 = (switch_waitlist_t *)jarg1; - result = (uint32_t) ((arg1)->events); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_revents_set(void * jarg1, unsigned long jarg2) { - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_waitlist_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->revents = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_revents_get(void * jarg1) { - unsigned long jresult ; - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - uint32_t result; - - arg1 = (switch_waitlist_t *)jarg1; - result = (uint32_t) ((arg1)->revents); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_waitlist_t() { - void * jresult ; - switch_waitlist_t *result = 0 ; - - result = (switch_waitlist_t *)new switch_waitlist_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_waitlist_t(void * jarg1) { - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - - arg1 = (switch_waitlist_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_close(void * jarg1) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - int result; - - arg1 = (switch_core_db_t *)jarg1; - result = (int)switch_core_db_close(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_open(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_core_db_t **arg2 = (switch_core_db_t **) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (switch_core_db_t **)jarg2; - result = (int)switch_core_db_open((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_db_column_text(void * jarg1, int jarg2) { - void * jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int arg2 ; - unsigned char *result = 0 ; - - arg1 = (switch_core_db_stmt_t *)jarg1; - arg2 = (int)jarg2; - result = (unsigned char *)switch_core_db_column_text(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_db_column_name(void * jarg1, int jarg2) { - char * jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int arg2 ; - char *result = 0 ; - - arg1 = (switch_core_db_stmt_t *)jarg1; - arg2 = (int)jarg2; - result = (char *)switch_core_db_column_name(arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_column_count(void * jarg1) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - result = (int)switch_core_db_column_count(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_db_errmsg(void * jarg1) { - char * jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_core_db_t *)jarg1; - result = (char *)switch_core_db_errmsg(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_exec(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ; - void *arg4 = (void *) 0 ; - char **arg5 = (char **) 0 ; - int result; - - arg1 = (switch_core_db_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_callback_func_t)jarg3; - arg4 = (void *)jarg4; - arg5 = (char **)jarg5; - result = (int)switch_core_db_exec(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_finalize(void * jarg1) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - result = (int)switch_core_db_finalize(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_prepare(void * jarg1, char * jarg2, int jarg3, void * jarg4, void * jarg5) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - switch_core_db_stmt_t **arg4 = (switch_core_db_stmt_t **) 0 ; - char **arg5 = (char **) 0 ; - int result; - - arg1 = (switch_core_db_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (switch_core_db_stmt_t **)jarg4; - arg5 = (char **)jarg5; - result = (int)switch_core_db_prepare(arg1,(char const *)arg2,arg3,arg4,(char const **)arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_step(void * jarg1) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - result = (int)switch_core_db_step(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_reset(void * jarg1) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - result = (int)switch_core_db_reset(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_int(void * jarg1, int jarg2, int jarg3) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int arg2 ; - int arg3 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - result = (int)switch_core_db_bind_int(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_int64(void * jarg1, int jarg2, long long jarg3) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int arg2 ; - int64_t arg3 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - arg2 = (int)jarg2; - arg3 = (int64_t)jarg3; - result = (int)switch_core_db_bind_int64(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_text(void * jarg1, int jarg2, char * jarg3, int jarg4, void * jarg5) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_core_db_destructor_type_t arg5 = (switch_core_db_destructor_type_t) 0 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - arg2 = (int)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (switch_core_db_destructor_type_t)jarg5; - result = (int)switch_core_db_bind_text(arg1,arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_double(void * jarg1, int jarg2, double jarg3) { - int jresult ; - switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; - int arg2 ; - double arg3 ; - int result; - - arg1 = (switch_core_db_stmt_t *)jarg1; - arg2 = (int)jarg2; - arg3 = (double)jarg3; - result = (int)switch_core_db_bind_double(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_core_db_last_insert_rowid(void * jarg1) { - long long jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - int64_t result; - - arg1 = (switch_core_db_t *)jarg1; - result = (int64_t)switch_core_db_last_insert_rowid(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_get_table(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *arg2 = (char *) 0 ; - char ***arg3 = (char ***) 0 ; - int *arg4 = (int *) 0 ; - int *arg5 = (int *) 0 ; - char **arg6 = (char **) 0 ; - int result; - - arg1 = (switch_core_db_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char ***)jarg3; - arg4 = (int *)jarg4; - arg5 = (int *)jarg5; - arg6 = (char **)jarg6; - result = (int)switch_core_db_get_table(arg1,(char const *)arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_free_table(void * jarg1) { - char **arg1 = (char **) 0 ; - - arg1 = (char **)jarg1; - switch_core_db_free_table(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_free(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - switch_core_db_free(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_changes(void * jarg1) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - int result; - - arg1 = (switch_core_db_t *)jarg1; - result = (int)switch_core_db_changes(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_load_extension(void * jarg1, char * jarg2) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (switch_core_db_t *)jarg1; - arg2 = (char *)jarg2; - result = (int)switch_core_db_load_extension(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_OK_get() { - int jresult ; - int result; - - result = (int)(0); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ERROR_get() { - int jresult ; - int result; - - result = (int)(1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_INTERNAL_get() { - int jresult ; - int result; - - result = (int)(2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_PERM_get() { - int jresult ; - int result; - - result = (int)(3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ABORT_get() { - int jresult ; - int result; - - result = (int)(4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_BUSY_get() { - int jresult ; - int result; - - result = (int)(5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_LOCKED_get() { - int jresult ; - int result; - - result = (int)(6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOMEM_get() { - int jresult ; - int result; - - result = (int)(7); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_READONLY_get() { - int jresult ; - int result; - - result = (int)(8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_INTERRUPT_get() { - int jresult ; - int result; - - result = (int)(9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_IOERR_get() { - int jresult ; - int result; - - result = (int)(10); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CORRUPT_get() { - int jresult ; - int result; - - result = (int)(11); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOTFOUND_get() { - int jresult ; - int result; - - result = (int)(12); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_FULL_get() { - int jresult ; - int result; - - result = (int)(13); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CANTOPEN_get() { - int jresult ; - int result; - - result = (int)(14); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_PROTOCOL_get() { - int jresult ; - int result; - - result = (int)(15); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_EMPTY_get() { - int jresult ; - int result; - - result = (int)(16); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_SCHEMA_get() { - int jresult ; - int result; - - result = (int)(17); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_TOOBIG_get() { - int jresult ; - int result; - - result = (int)(18); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CONSTRAINT_get() { - int jresult ; - int result; - - result = (int)(19); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_MISMATCH_get() { - int jresult ; - int result; - - result = (int)(20); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_MISUSE_get() { - int jresult ; - int result; - - result = (int)(21); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOLFS_get() { - int jresult ; - int result; - - result = (int)(22); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_AUTH_get() { - int jresult ; - int result; - - result = (int)(23); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_FORMAT_get() { - int jresult ; - int result; - - result = (int)(24); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_RANGE_get() { - int jresult ; - int result; - - result = (int)(25); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOTADB_get() { - int jresult ; - int result; - - result = (int)(26); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ROW_get() { - int jresult ; - int result; - - result = (int)(100); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_DONE_get() { - int jresult ; - int result; - - result = (int)(101); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sql_concat() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_sql_concat(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_regex_compile(char * jarg1, int jarg2, void * jarg3, void * jarg4, void * jarg5) { - void * jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - char **arg3 = (char **) 0 ; - int *arg4 = (int *) 0 ; - unsigned char *arg5 = (unsigned char *) 0 ; - switch_regex_t *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - arg3 = (char **)jarg3; - arg4 = (int *)jarg4; - arg5 = (unsigned char *)jarg5; - result = (switch_regex_t *)switch_regex_compile((char const *)arg1,arg2,(char const **)arg3,arg4,(unsigned char const *)arg5); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_copy_substring(char * jarg1, void * jarg2, int jarg3, int jarg4, char * jarg5, int jarg6) { - int jresult ; - char *arg1 = (char *) 0 ; - int *arg2 = (int *) 0 ; - int arg3 ; - int arg4 ; - char *arg5 = (char *) 0 ; - int arg6 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (int *)jarg2; - arg3 = (int)jarg3; - arg4 = (int)jarg4; - arg5 = (char *)jarg5; - arg6 = (int)jarg6; - result = (int)switch_regex_copy_substring((char const *)arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_free(void * jarg1) { - void *arg1 = (void *) 0 ; - - arg1 = (void *)jarg1; - switch_regex_free(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_perform(char * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_regex_t **arg3 = (switch_regex_t **) 0 ; - int *arg4 = (int *) 0 ; - uint32_t arg5 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_regex_t **)jarg3; - arg4 = (int *)jarg4; - arg5 = (uint32_t)jarg5; - result = (int)switch_regex_perform((char const *)arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_perform_substitution(void * jarg1, int jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6, void * jarg7) { - switch_regex_t *arg1 = (switch_regex_t *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - switch_size_t arg6 ; - int *arg7 = (int *) 0 ; - switch_size_t *argp6 ; - - arg1 = (switch_regex_t *)jarg1; - arg2 = (int)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - argp6 = (switch_size_t *)jarg6; - if (!argp6) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg6 = *argp6; - arg7 = (int *)jarg7; - switch_perform_substitution(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_match(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_regex_match((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_match_partial(char * jarg1, char * jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int *arg3 = (int *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int *)jarg3; - result = (switch_status_t)switch_regex_match_partial((char const *)arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_capture_regex(void * jarg1, int jarg2, char * jarg3, void * jarg4, char * jarg5, void * jarg6, void * jarg7) { - switch_regex_t *arg1 = (switch_regex_t *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - int *arg4 = (int *) 0 ; - char *arg5 = (char *) 0 ; - switch_cap_callback_t arg6 = (switch_cap_callback_t) 0 ; - void *arg7 = (void *) 0 ; - - arg1 = (switch_regex_t *)jarg1; - arg2 = (int)jarg2; - arg3 = (char *)jarg3; - arg4 = (int *)jarg4; - arg5 = (char *)jarg5; - arg6 = (switch_cap_callback_t)jarg6; - arg7 = (void *)jarg7; - switch_capture_regex(arg1,arg2,(char const *)arg3,arg4,(char const *)arg5,arg6,arg7); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_var_callback(char * jarg1, char * jarg2, void * jarg3) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - switch_regex_set_var_callback((char const *)arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_event_header_callback(char * jarg1, char * jarg2, void * jarg3) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - switch_regex_set_event_header_callback((char const *)arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get() { - int jresult ; - int result; - - result = (int)(128); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STREAMS_get() { - int jresult ; - int result; - - result = (int)(128); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_mms_set(void * jarg1, unsigned long jarg2) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_time_duration *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->mms = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_mms_get(void * jarg1) { - unsigned long jresult ; - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t result; - - arg1 = (switch_core_time_duration *)jarg1; - result = (uint32_t) ((arg1)->mms); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_ms_set(void * jarg1, unsigned long jarg2) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_time_duration *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ms = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_ms_get(void * jarg1) { - unsigned long jresult ; - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t result; - - arg1 = (switch_core_time_duration *)jarg1; - result = (uint32_t) ((arg1)->ms); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_sec_set(void * jarg1, unsigned long jarg2) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_time_duration *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->sec = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_sec_get(void * jarg1) { - unsigned long jresult ; - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t result; - - arg1 = (switch_core_time_duration *)jarg1; - result = (uint32_t) ((arg1)->sec); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_min_set(void * jarg1, unsigned long jarg2) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_time_duration *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->min = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_min_get(void * jarg1) { - unsigned long jresult ; - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t result; - - arg1 = (switch_core_time_duration *)jarg1; - result = (uint32_t) ((arg1)->min); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_hr_set(void * jarg1, unsigned long jarg2) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_time_duration *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->hr = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_hr_get(void * jarg1) { - unsigned long jresult ; - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t result; - - arg1 = (switch_core_time_duration *)jarg1; - result = (uint32_t) ((arg1)->hr); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_day_set(void * jarg1, unsigned long jarg2) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_time_duration *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->day = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_day_get(void * jarg1) { - unsigned long jresult ; - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t result; - - arg1 = (switch_core_time_duration *)jarg1; - result = (uint32_t) ((arg1)->day); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_yr_set(void * jarg1, unsigned long jarg2) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_time_duration *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->yr = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_yr_get(void * jarg1) { - unsigned long jresult ; - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - uint32_t result; - - arg1 = (switch_core_time_duration *)jarg1; - result = (uint32_t) ((arg1)->yr); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_time_duration() { - void * jresult ; - switch_core_time_duration *result = 0 ; - - result = (switch_core_time_duration *)new switch_core_time_duration(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_time_duration(void * jarg1) { - switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; - - arg1 = (switch_core_time_duration *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_app_set(void * jarg1, char * jarg2) { - switch_app_log *arg1 = (switch_app_log *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_app_log *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->app) delete [] arg1->app; - if (arg2) { - arg1->app = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->app, (const char *)arg2); - } else { - arg1->app = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_app_log_app_get(void * jarg1) { - char * jresult ; - switch_app_log *arg1 = (switch_app_log *) 0 ; - char *result = 0 ; - - arg1 = (switch_app_log *)jarg1; - result = (char *) ((arg1)->app); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_arg_set(void * jarg1, char * jarg2) { - switch_app_log *arg1 = (switch_app_log *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_app_log *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->arg) delete [] arg1->arg; - if (arg2) { - arg1->arg = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->arg, (const char *)arg2); - } else { - arg1->arg = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_app_log_arg_get(void * jarg1) { - char * jresult ; - switch_app_log *arg1 = (switch_app_log *) 0 ; - char *result = 0 ; - - arg1 = (switch_app_log *)jarg1; - result = (char *) ((arg1)->arg); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_stamp_set(void * jarg1, void * jarg2) { - switch_app_log *arg1 = (switch_app_log *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_app_log *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->stamp = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_app_log_stamp_get(void * jarg1) { - void * jresult ; - switch_app_log *arg1 = (switch_app_log *) 0 ; - switch_time_t result; - - arg1 = (switch_app_log *)jarg1; - result = ((arg1)->stamp); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_next_set(void * jarg1, void * jarg2) { - switch_app_log *arg1 = (switch_app_log *) 0 ; - switch_app_log *arg2 = (switch_app_log *) 0 ; - - arg1 = (switch_app_log *)jarg1; - arg2 = (switch_app_log *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_app_log_next_get(void * jarg1) { - void * jresult ; - switch_app_log *arg1 = (switch_app_log *) 0 ; - switch_app_log *result = 0 ; - - arg1 = (switch_app_log *)jarg1; - result = (switch_app_log *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_app_log() { - void * jresult ; - switch_app_log *result = 0 ; - - result = (switch_app_log *)new switch_app_log(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_app_log(void * jarg1) { - switch_app_log *arg1 = (switch_app_log *) 0 ; - - arg1 = (switch_app_log *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_func_set(void * jarg1, void * jarg2) { - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - switch_thread_start_t arg2 ; - switch_thread_start_t *argp2 ; - - arg1 = (switch_thread_data_t *)jarg1; - argp2 = (switch_thread_start_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_thread_start_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->func = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_func_get(void * jarg1) { - void * jresult ; - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - switch_thread_start_t result; - - arg1 = (switch_thread_data_t *)jarg1; - result = ((arg1)->func); - jresult = new switch_thread_start_t((const switch_thread_start_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_obj_set(void * jarg1, void * jarg2) { - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_thread_data_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->obj = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_obj_get(void * jarg1) { - void * jresult ; - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_thread_data_t *)jarg1; - result = (void *) ((arg1)->obj); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_alloc_set(void * jarg1, int jarg2) { - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - int arg2 ; - - arg1 = (switch_thread_data_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->alloc = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_thread_data_t_alloc_get(void * jarg1) { - int jresult ; - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - int result; - - arg1 = (switch_thread_data_t *)jarg1; - result = (int) ((arg1)->alloc); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_pool_set(void * jarg1, void * jarg2) { - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_thread_data_t *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_pool_get(void * jarg1) { - void * jresult ; - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_thread_data_t *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_thread_data_t() { - void * jresult ; - switch_thread_data_t *result = 0 ; - - result = (switch_thread_data_t *)new switch_thread_data_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_thread_data_t(void * jarg1) { - switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ; - - arg1 = (switch_thread_data_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_on_set(void * jarg1, void * jarg2) { - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_hold_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->on = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_on_get(void * jarg1) { - void * jresult ; - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_hold_record_t *)jarg1; - result = ((arg1)->on); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_off_set(void * jarg1, void * jarg2) { - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_hold_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->off = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_off_get(void * jarg1) { - void * jresult ; - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_hold_record_t *)jarg1; - result = ((arg1)->off); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_uuid_set(void * jarg1, char * jarg2) { - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_hold_record_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->uuid) delete [] arg1->uuid; - if (arg2) { - arg1->uuid = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->uuid, (const char *)arg2); - } else { - arg1->uuid = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_hold_record_t_uuid_get(void * jarg1) { - char * jresult ; - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_hold_record_t *)jarg1; - result = (char *) ((arg1)->uuid); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_next_set(void * jarg1, void * jarg2) { - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - switch_hold_record_s *arg2 = (switch_hold_record_s *) 0 ; - - arg1 = (switch_hold_record_t *)jarg1; - arg2 = (switch_hold_record_s *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_next_get(void * jarg1) { - void * jresult ; - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - switch_hold_record_s *result = 0 ; - - arg1 = (switch_hold_record_t *)jarg1; - result = (switch_hold_record_s *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_hold_record_t() { - void * jresult ; - switch_hold_record_t *result = 0 ; - - result = (switch_hold_record_t *)new switch_hold_record_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_hold_record_t(void * jarg1) { - switch_hold_record_t *arg1 = (switch_hold_record_t *) 0 ; - - arg1 = (switch_hold_record_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_uuid_set(void * jarg1, char * jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->uuid) delete [] arg1->uuid; - if (arg2) { - arg1->uuid = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->uuid, (const char *)arg2); - } else { - arg1->uuid = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_node_t_uuid_get(void * jarg1) { - char * jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_device_node_t *)jarg1; - result = (char *) ((arg1)->uuid); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_xml_cdr_set(void * jarg1, void * jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (switch_xml_t)jarg2; - if (arg1) (arg1)->xml_cdr = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_xml_cdr_get(void * jarg1) { - void * jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_xml_t result; - - arg1 = (switch_device_node_t *)jarg1; - result = (switch_xml_t) ((arg1)->xml_cdr); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t__event_set(void * jarg1, void * jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - if (arg1) (arg1)->event = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t__event_get(void * jarg1) { - void * jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_event_t *result = 0 ; - - arg1 = (switch_device_node_t *)jarg1; - result = (switch_event_t *) ((arg1)->event); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_callstate_set(void * jarg1, int jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_channel_callstate_t arg2 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (switch_channel_callstate_t)jarg2; - if (arg1) (arg1)->callstate = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_node_t_callstate_get(void * jarg1) { - int jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_channel_callstate_t result; - - arg1 = (switch_device_node_t *)jarg1; - result = (switch_channel_callstate_t) ((arg1)->callstate); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_hold_record_set(void * jarg1, void * jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_hold_record_t *arg2 = (switch_hold_record_t *) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (switch_hold_record_t *)jarg2; - if (arg1) (arg1)->hold_record = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_hold_record_get(void * jarg1) { - void * jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_hold_record_t *result = 0 ; - - arg1 = (switch_device_node_t *)jarg1; - result = (switch_hold_record_t *) ((arg1)->hold_record); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_hup_profile_set(void * jarg1, void * jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - if (arg1) (arg1)->hup_profile = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_hup_profile_get(void * jarg1) { - void * jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_device_node_t *)jarg1; - result = (switch_caller_profile_t *) ((arg1)->hup_profile); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_direction_set(void * jarg1, int jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_call_direction_t arg2 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (switch_call_direction_t)jarg2; - if (arg1) (arg1)->direction = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_node_t_direction_get(void * jarg1) { - int jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_call_direction_t result; - - arg1 = (switch_device_node_t *)jarg1; - result = (switch_call_direction_t) ((arg1)->direction); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_parent_set(void * jarg1, void * jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_device_record_s *arg2 = (switch_device_record_s *) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (switch_device_record_s *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_parent_get(void * jarg1) { - void * jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - switch_device_record_s *result = 0 ; - - arg1 = (switch_device_node_t *)jarg1; - result = (switch_device_record_s *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_next_set(void * jarg1, void * jarg2) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - device_uuid_node_s *arg2 = (device_uuid_node_s *) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - arg2 = (device_uuid_node_s *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_next_get(void * jarg1) { - void * jresult ; - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - device_uuid_node_s *result = 0 ; - - arg1 = (switch_device_node_t *)jarg1; - result = (device_uuid_node_s *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_node_t() { - void * jresult ; - switch_device_node_t *result = 0 ; - - result = (switch_device_node_t *)new switch_device_node_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_node_t(void * jarg1) { - switch_device_node_t *arg1 = (switch_device_node_t *) 0 ; - - arg1 = (switch_device_node_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->total = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->total); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->total_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->total_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->total_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->total_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->offhook = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->offhook); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->offhook_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->offhook_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->offhook_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->offhook_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->active = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->active); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->active_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->active_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->active_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->active_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->held = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->held); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->held_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->held_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->held_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->held_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->unheld = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->unheld); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->unheld_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->unheld_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->unheld_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->unheld_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->hup = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->hup); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->hup_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->hup_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->hup_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->hup_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ringing = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->ringing); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ringing_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->ringing_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ringing_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->ringing_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->early = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->early); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_in_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->early_in = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_in_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->early_in); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_out_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->early_out = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_out_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->early_out); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_set(void * jarg1, unsigned long jarg2) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_device_stats_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ring_wait = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_get(void * jarg1) { - unsigned long jresult ; - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - uint32_t result; - - arg1 = (switch_device_stats_t *)jarg1; - result = (uint32_t) ((arg1)->ring_wait); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_stats_t() { - void * jresult ; - switch_device_stats_t *result = 0 ; - - result = (switch_device_stats_t *)new switch_device_stats_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_stats_t(void * jarg1) { - switch_device_stats_t *arg1 = (switch_device_stats_t *) 0 ; - - arg1 = (switch_device_stats_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_device_id_set(void * jarg1, char * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->device_id) delete [] arg1->device_id; - if (arg2) { - arg1->device_id = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->device_id, (const char *)arg2); - } else { - arg1->device_id = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_record_t_device_id_get(void * jarg1) { - char * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (char *) ((arg1)->device_id); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_set(void * jarg1, char * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->uuid) delete [] arg1->uuid; - if (arg2) { - arg1->uuid = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->uuid, (const char *)arg2); - } else { - arg1->uuid = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_record_t_uuid_get(void * jarg1) { - char * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (char *) ((arg1)->uuid); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_refs_set(void * jarg1, int jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - int arg2 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_refs_get(void * jarg1) { - int jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - int result; - - arg1 = (switch_device_record_t *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_stats_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_stats_t *arg2 = (switch_device_stats_t *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (switch_device_stats_t *)jarg2; - if (arg1) (arg1)->stats = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_stats_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_stats_t *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (switch_device_stats_t *)& ((arg1)->stats); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_stats_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_stats_t *arg2 = (switch_device_stats_t *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (switch_device_stats_t *)jarg2; - if (arg1) (arg1)->last_stats = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_stats_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_stats_t *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (switch_device_stats_t *)& ((arg1)->last_stats); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_state_set(void * jarg1, int jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_state_t arg2 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (switch_device_state_t)jarg2; - if (arg1) (arg1)->state = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_state_get(void * jarg1) { - int jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_state_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = (switch_device_state_t) ((arg1)->state); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_state_set(void * jarg1, int jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_state_t arg2 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (switch_device_state_t)jarg2; - if (arg1) (arg1)->last_state = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_last_state_get(void * jarg1) { - int jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_device_state_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = (switch_device_state_t) ((arg1)->last_state); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_start_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->active_start = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_start_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->active_start); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_stop_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->active_stop = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_stop_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->active_stop); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->last_call_time = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->last_call_time); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_start_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->ring_start = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_start_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->ring_start); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->ring_stop = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->ring_stop); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_start_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->hold_start = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_start_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->hold_start); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->hold_stop = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->hold_stop); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_call_start_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_device_record_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->call_start = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_call_start_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_time_t result; - - arg1 = (switch_device_record_t *)jarg1; - result = ((arg1)->call_start); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_list_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - device_uuid_node_s *arg2 = (device_uuid_node_s *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (device_uuid_node_s *)jarg2; - if (arg1) (arg1)->uuid_list = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_uuid_list_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - device_uuid_node_s *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (device_uuid_node_s *) ((arg1)->uuid_list); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_tail_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - device_uuid_node_s *arg2 = (device_uuid_node_s *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (device_uuid_node_s *)jarg2; - if (arg1) (arg1)->uuid_tail = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_uuid_tail_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - device_uuid_node_s *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (device_uuid_node_s *) ((arg1)->uuid_tail); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_mutex_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->mutex = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_mutex_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (switch_mutex_t *) ((arg1)->mutex); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_pool_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_pool_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_user_data_set(void * jarg1, void * jarg2) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->user_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_user_data_get(void * jarg1) { - void * jresult ; - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_device_record_t *)jarg1; - result = (void *) ((arg1)->user_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_record_t() { - void * jresult ; - switch_device_record_t *result = 0 ; - - result = (switch_device_record_t *)new switch_device_record_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_record_t(void * jarg1) { - switch_device_record_t *arg1 = (switch_device_record_t *) 0 ; - - arg1 = (switch_device_record_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_DTLS_SRTP_FNAME_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("dtls-srtp"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FPLEN_get() { - int jresult ; - int result; - - result = (int)(64); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FPSTRLEN_get() { - int jresult ; - int result; - - result = (int)(192); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_len_set(void * jarg1, unsigned long jarg2) { - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - uint32_t arg2 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->len = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_dtls_fingerprint_t_len_get(void * jarg1) { - unsigned long jresult ; - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - uint32_t result; - - arg1 = (dtls_fingerprint_t *)jarg1; - result = (uint32_t) ((arg1)->len); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_data_set(void * jarg1, void * jarg2) { - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - uint8_t *arg2 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - arg2 = (uint8_t *)jarg2; - { - size_t ii; - uint8_t *b = (uint8_t *) arg1->data; - for (ii = 0; ii < (size_t)64+1; ii++) b[ii] = *((uint8_t *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_dtls_fingerprint_t_data_get(void * jarg1) { - void * jresult ; - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - uint8_t *result = 0 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - result = (uint8_t *)(uint8_t *) ((arg1)->data); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_type_set(void * jarg1, char * jarg2) { - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->type) delete [] arg1->type; - if (arg2) { - arg1->type = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->type, (const char *)arg2); - } else { - arg1->type = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_dtls_fingerprint_t_type_get(void * jarg1) { - char * jresult ; - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - char *result = 0 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - result = (char *) ((arg1)->type); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_str_set(void * jarg1, char * jarg2) { - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - char *arg2 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->str, (const char *)arg2, 192-1); - arg1->str[192-1] = 0; - } else { - arg1->str[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_dtls_fingerprint_t_str_get(void * jarg1) { - char * jresult ; - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - char *result = 0 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - result = (char *)(char *) ((arg1)->str); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_dtls_fingerprint_t() { - void * jresult ; - dtls_fingerprint_t *result = 0 ; - - result = (dtls_fingerprint_t *)new dtls_fingerprint_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_dtls_fingerprint_t(void * jarg1) { - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - - arg1 = (dtls_fingerprint_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_MESSAGE_STRING_ARG_MAX_get() { - int jresult ; - int result; - - result = (int)(10); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_from_set(void * jarg1, char * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->from) delete [] arg1->from; - if (arg2) { - arg1->from = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->from, (const char *)arg2); - } else { - arg1->from = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_from_get(void * jarg1) { - char * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (char *) ((arg1)->from); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_message_id_set(void * jarg1, int jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_core_session_message_types_t arg2 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (switch_core_session_message_types_t)jarg2; - if (arg1) (arg1)->message_id = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_message_id_get(void * jarg1) { - int jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_core_session_message_types_t result; - - arg1 = (switch_core_session_message *)jarg1; - result = (switch_core_session_message_types_t) ((arg1)->message_id); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_numeric_arg_set(void * jarg1, int jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - int arg2 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->numeric_arg = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_numeric_arg_get(void * jarg1) { - int jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - int result; - - arg1 = (switch_core_session_message *)jarg1; - result = (int) ((arg1)->numeric_arg); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_arg_set(void * jarg1, char * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->string_arg = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->string_arg, (const char *)arg2); - } else { - arg1->string_arg = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_string_arg_get(void * jarg1) { - char * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (char *) ((arg1)->string_arg); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_arg_size_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_core_session_message *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->string_arg_size = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_arg_size_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t result; - - arg1 = (switch_core_session_message *)jarg1; - result = ((arg1)->string_arg_size); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->pointer_arg = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - void *result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (void *) ((arg1)->pointer_arg); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_size_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_core_session_message *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->pointer_arg_size = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_size_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t result; - - arg1 = (switch_core_session_message *)jarg1; - result = ((arg1)->pointer_arg_size); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_numeric_reply_set(void * jarg1, int jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - int arg2 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->numeric_reply = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_numeric_reply_get(void * jarg1) { - int jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - int result; - - arg1 = (switch_core_session_message *)jarg1; - result = (int) ((arg1)->numeric_reply); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_reply_set(void * jarg1, char * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->string_reply) delete [] arg1->string_reply; - if (arg2) { - arg1->string_reply = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->string_reply, (const char *)arg2); - } else { - arg1->string_reply = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_string_reply_get(void * jarg1) { - char * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (char *) ((arg1)->string_reply); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_reply_size_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_core_session_message *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->string_reply_size = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_reply_size_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t result; - - arg1 = (switch_core_session_message *)jarg1; - result = ((arg1)->string_reply_size); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->pointer_reply = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - void *result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (void *) ((arg1)->pointer_reply); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_size_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_core_session_message *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->pointer_reply_size = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_size_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_size_t result; - - arg1 = (switch_core_session_message *)jarg1; - result = ((arg1)->pointer_reply_size); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_flags_set(void * jarg1, unsigned long jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_core_session_message_flag_t arg2 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (switch_core_session_message_flag_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_message_flags_get(void * jarg1) { - unsigned long jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - switch_core_session_message_flag_t result; - - arg1 = (switch_core_session_message *)jarg1; - result = (switch_core_session_message_flag_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__file_set(void * jarg1, char * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->_file = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->_file, (const char *)arg2); - } else { - arg1->_file = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message__file_get(void * jarg1) { - char * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (char *) ((arg1)->_file); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__func_set(void * jarg1, char * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->_func = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->_func, (const char *)arg2); - } else { - arg1->_func = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message__func_get(void * jarg1) { - char * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char *result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (char *) ((arg1)->_func); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__line_set(void * jarg1, int jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - int arg2 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->_line = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message__line_get(void * jarg1) { - int jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - int result; - - arg1 = (switch_core_session_message *)jarg1; - result = (int) ((arg1)->_line); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_array_arg_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char **arg2 ; - - arg1 = (switch_core_session_message *)jarg1; - arg2 = (char **)jarg2; - { - size_t ii; - char const * *b = (char const * *) arg1->string_array_arg; - for (ii = 0; ii < (size_t)10; ii++) b[ii] = *((char const * *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_array_arg_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - char **result = 0 ; - - arg1 = (switch_core_session_message *)jarg1; - result = (char **)(char **) ((arg1)->string_array_arg); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_delivery_time_set(void * jarg1, void * jarg2) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - time_t arg2 ; - time_t *argp2 ; - - arg1 = (switch_core_session_message *)jarg1; - argp2 = (time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->delivery_time = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_delivery_time_get(void * jarg1) { - void * jresult ; - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - time_t result; - - arg1 = (switch_core_session_message *)jarg1; - result = ((arg1)->delivery_time); - jresult = new time_t((const time_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_session_message() { - void * jresult ; - switch_core_session_message *result = 0 ; - - result = (switch_core_session_message *)new switch_core_session_message(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_session_message(void * jarg1) { - switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; - - arg1 = (switch_core_session_message *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_running_set(void * jarg1, int jarg2) { - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - int arg2 ; - - arg1 = (switch_core_thread_session *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->running = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_thread_session_running_get(void * jarg1) { - int jresult ; - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - int result; - - arg1 = (switch_core_thread_session *)jarg1; - result = (int) ((arg1)->running); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_mutex_set(void * jarg1, void * jarg2) { - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_core_thread_session *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->mutex = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_mutex_get(void * jarg1) { - void * jresult ; - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_core_thread_session *)jarg1; - result = (switch_mutex_t *) ((arg1)->mutex); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_objs_set(void * jarg1, void * jarg2) { - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - void **arg2 ; - - arg1 = (switch_core_thread_session *)jarg1; - arg2 = (void **)jarg2; - { - size_t ii; - void * *b = (void * *) arg1->objs; - for (ii = 0; ii < (size_t)128; ii++) b[ii] = *((void * *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_objs_get(void * jarg1) { - void * jresult ; - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - void **result = 0 ; - - arg1 = (switch_core_thread_session *)jarg1; - result = (void **)(void **) ((arg1)->objs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_input_callback_set(void * jarg1, void * jarg2) { - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - switch_input_callback_function_t arg2 = (switch_input_callback_function_t) 0 ; - - arg1 = (switch_core_thread_session *)jarg1; - arg2 = (switch_input_callback_function_t)jarg2; - if (arg1) (arg1)->input_callback = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_input_callback_get(void * jarg1) { - void * jresult ; - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - switch_input_callback_function_t result; - - arg1 = (switch_core_thread_session *)jarg1; - result = (switch_input_callback_function_t) ((arg1)->input_callback); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_pool_set(void * jarg1, void * jarg2) { - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_core_thread_session *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_pool_get(void * jarg1) { - void * jresult ; - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_core_thread_session *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_thread_session() { - void * jresult ; - switch_core_thread_session *result = 0 ; - - result = (switch_core_thread_session *)new switch_core_thread_session(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_thread_session(void * jarg1) { - switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; - - arg1 = (switch_core_thread_session *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_screen_size(void * jarg1, void * jarg2) { - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - - arg1 = (int *)jarg1; - arg2 = (int *)jarg2; - switch_core_screen_size(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_sched_heartbeat(void * jarg1, unsigned long jarg2) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_core_session_sched_heartbeat(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unsched_heartbeat(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_unsched_heartbeat(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_enable_heartbeat(void * jarg1, unsigned long jarg2) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_core_session_enable_heartbeat(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_disable_heartbeat(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_disable_heartbeat(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_pop(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_media_bug_t **arg3 = (switch_media_bug_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_media_bug_t **)jarg3; - result = (switch_status_t)switch_core_media_bug_pop(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_exec_all(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_media_bug_exec_cb_t arg3 = (switch_media_bug_exec_cb_t) 0 ; - void *arg4 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_media_bug_exec_cb_t)jarg3; - arg4 = (void *)jarg4; - result = (switch_status_t)switch_core_media_bug_exec_all(arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_count(void * jarg1, char * jarg2) { - unsigned long jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (uint32_t)switch_core_media_bug_count(arg1,(char const *)arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, char * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_media_bug_callback_t arg4 = (switch_media_bug_callback_t) 0 ; - void *arg5 = (void *) 0 ; - time_t arg6 ; - switch_media_bug_flag_t arg7 ; - switch_media_bug_t **arg8 = (switch_media_bug_t **) 0 ; - time_t *argp6 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_media_bug_callback_t)jarg4; - arg5 = (void *)jarg5; - argp6 = (time_t *)jarg6; - if (!argp6) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0); - return 0; - } - arg6 = *argp6; - arg7 = (switch_media_bug_flag_t)jarg7; - arg8 = (switch_media_bug_t **)jarg8; - result = (switch_status_t)switch_core_media_bug_add(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_pause(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_media_bug_pause(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_resume(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_media_bug_resume(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_inuse(void * jarg1, void * jarg2, void * jarg3) { - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_size_t *arg2 = (switch_size_t *) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (switch_size_t *)jarg2; - arg3 = (switch_size_t *)jarg3; - switch_core_media_bug_inuse(arg1,arg2,arg3); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_user_data(void * jarg1) { - void * jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - result = (void *)switch_core_media_bug_get_user_data(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_write_replace_frame(void * jarg1) { - void * jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *result = 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - result = (switch_frame_t *)switch_core_media_bug_get_write_replace_frame(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_native_read_frame(void * jarg1) { - void * jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *result = 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - result = (switch_frame_t *)switch_core_media_bug_get_native_read_frame(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_native_write_frame(void * jarg1) { - void * jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *result = 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - result = (switch_frame_t *)switch_core_media_bug_get_native_write_frame(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_write_replace_frame(void * jarg1, void * jarg2) { - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - switch_core_media_bug_set_write_replace_frame(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_read_replace_frame(void * jarg1) { - void * jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *result = 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - result = (switch_frame_t *)switch_core_media_bug_get_read_replace_frame(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_demux_frame(void * jarg1, void * jarg2) { - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - switch_core_media_bug_set_read_demux_frame(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_session(void * jarg1) { - void * jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - result = (switch_core_session_t *)switch_core_media_bug_get_session(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_test_flag(void * jarg1, unsigned long jarg2) { - unsigned long jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - uint32_t arg2 ; - uint32_t result; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (uint32_t)switch_core_media_bug_test_flag(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_set_flag(void * jarg1, unsigned long jarg2) { - unsigned long jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - uint32_t arg2 ; - uint32_t result; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (uint32_t)switch_core_media_bug_set_flag(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_clear_flag(void * jarg1, unsigned long jarg2) { - unsigned long jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - uint32_t arg2 ; - uint32_t result; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (uint32_t)switch_core_media_bug_clear_flag(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_replace_frame(void * jarg1, void * jarg2) { - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - switch_core_media_bug_set_read_replace_frame(arg1,arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_cpu_count() { - unsigned long jresult ; - uint32_t result; - - result = (uint32_t)switch_core_cpu_count(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_media_bug_t **arg2 = (switch_media_bug_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_media_bug_t **)jarg2; - result = (switch_status_t)switch_core_media_bug_remove(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_prune(void * jarg1) { - unsigned long jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (uint32_t)switch_core_media_bug_prune(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_callback(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_media_bug_callback_t arg2 = (switch_media_bug_callback_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_media_bug_callback_t)jarg2; - result = (switch_status_t)switch_core_media_bug_remove_callback(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_close(void * jarg1) { - int jresult ; - switch_media_bug_t **arg1 = (switch_media_bug_t **) 0 ; - switch_status_t result; - - arg1 = (switch_media_bug_t **)jarg1; - result = (switch_status_t)switch_core_media_bug_close(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_all_function(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_media_bug_remove_all_function(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_enumerate(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_stream_handle_t *arg2 = (switch_stream_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_stream_handle_t *)jarg2; - result = (switch_status_t)switch_core_media_bug_enumerate(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_transfer_recordings(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - result = (switch_status_t)switch_core_media_bug_transfer_recordings(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_transfer_callback(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_media_bug_callback_t arg3 = (switch_media_bug_callback_t) 0 ; - void *(*arg4)(switch_core_session_t *,void *) = (void *(*)(switch_core_session_t *,void *)) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - arg3 = (switch_media_bug_callback_t)jarg3; - arg4 = (void *(*)(switch_core_session_t *,void *))jarg4; - result = (switch_status_t)switch_core_media_bug_transfer_callback(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_read(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_core_media_bug_read(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_flush(void * jarg1) { - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - - arg1 = (switch_media_bug_t *)jarg1; - switch_core_media_bug_flush(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_flush_all(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_media_bug_flush_all(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_set_pre_buffer_framecount(void * jarg1, unsigned long jarg2) { - int jresult ; - switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; - uint32_t arg2 ; - switch_status_t result; - - arg1 = (switch_media_bug_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (switch_status_t)switch_core_media_bug_set_pre_buffer_framecount(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(char * jarg1, unsigned short jarg2, unsigned short jarg3, unsigned long jarg4, void * jarg5) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_port_t arg2 ; - switch_port_t arg3 ; - switch_port_flag_t arg4 ; - switch_core_port_allocator_t **arg5 = (switch_core_port_allocator_t **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_port_t)jarg2; - arg3 = (switch_port_t)jarg3; - arg4 = (switch_port_flag_t)jarg4; - arg5 = (switch_core_port_allocator_t **)jarg5; - result = (switch_status_t)switch_core_port_allocator_new((char const *)arg1,arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_request_port(void * jarg1, void * jarg2) { - int jresult ; - switch_core_port_allocator_t *arg1 = (switch_core_port_allocator_t *) 0 ; - switch_port_t *arg2 = (switch_port_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_port_allocator_t *)jarg1; - arg2 = (switch_port_t *)jarg2; - result = (switch_status_t)switch_core_port_allocator_request_port(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_free_port(void * jarg1, unsigned short jarg2) { - int jresult ; - switch_core_port_allocator_t *arg1 = (switch_core_port_allocator_t *) 0 ; - switch_port_t arg2 ; - switch_status_t result; - - arg1 = (switch_core_port_allocator_t *)jarg1; - arg2 = (switch_port_t)jarg2; - result = (switch_status_t)switch_core_port_allocator_free_port(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_port_allocator_destroy(void * jarg1) { - switch_core_port_allocator_t **arg1 = (switch_core_port_allocator_t **) 0 ; - - arg1 = (switch_core_port_allocator_t **)jarg1; - switch_core_port_allocator_destroy(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_test_flag(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_core_test_flag(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(unsigned long jarg1, int jarg2, void * jarg3) { - int jresult ; - switch_core_flag_t arg1 ; - switch_bool_t arg2 ; - char **arg3 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_core_flag_t)jarg1; - arg2 = (switch_bool_t)jarg2; - arg3 = (char **)jarg3; - result = (switch_status_t)switch_core_init(arg1,arg2,(char const **)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init_and_modload(unsigned long jarg1, int jarg2, void * jarg3) { - int jresult ; - switch_core_flag_t arg1 ; - switch_bool_t arg2 ; - char **arg3 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_core_flag_t)jarg1; - arg2 = (switch_bool_t)jarg2; - arg3 = (char **)jarg3; - result = (switch_status_t)switch_core_init_and_modload(arg1,arg2,(char const **)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_limit(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_core_session_limit(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_sessions_per_second(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_core_sessions_per_second(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_destroy() { - int jresult ; - switch_status_t result; - - result = (switch_status_t)switch_core_destroy(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_io_read_lock(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_io_read_lock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_io_write_lock(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_io_write_lock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_io_rwunlock(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_io_rwunlock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_lock(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_read_lock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_lock_hangup(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_read_lock_hangup(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_write_lock(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_write_lock(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_rwunlock(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_rwunlock(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_add_state_handler(void * jarg1) { - int jresult ; - switch_state_handler_table_t *arg1 = (switch_state_handler_table_t *) 0 ; - int result; - - arg1 = (switch_state_handler_table_t *)jarg1; - result = (int)switch_core_add_state_handler((switch_state_handler_table const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_remove_state_handler(void * jarg1) { - switch_state_handler_table_t *arg1 = (switch_state_handler_table_t *) 0 ; - - arg1 = (switch_state_handler_table_t *)jarg1; - switch_core_remove_state_handler((switch_state_handler_table const *)arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_state_handler(int jarg1) { - void * jresult ; - int arg1 ; - switch_state_handler_table_t *result = 0 ; - - arg1 = (int)jarg1; - result = (switch_state_handler_table_t *)switch_core_get_state_handler(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_pool_tag(void * jarg1, char * jarg2) { - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - switch_core_memory_pool_tag(arg1,(char const *)arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_new_memory_pool(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_memory_pool_t **arg1 = (switch_memory_pool_t **) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_core_perform_new_memory_pool(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_sync_clock() { - int jresult ; - int result; - - result = (int)switch_core_session_sync_clock(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_destroy_memory_pool(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_memory_pool_t **arg1 = (switch_memory_pool_t **) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_core_perform_destroy_memory_pool(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_pool_set_data(void * jarg1, char * jarg2, void * jarg3) { - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - switch_core_memory_pool_set_data(arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_memory_pool_get_data(void * jarg1, char * jarg2) { - void * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - void *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - result = (void *)switch_core_memory_pool_get_data(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_run(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_run(arg1); -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_running(void * jarg1) { - unsigned int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - unsigned int result; - - arg1 = (switch_core_session_t *)jarg1; - result = (unsigned int)switch_core_session_running(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_started(void * jarg1) { - unsigned int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - unsigned int result; - - arg1 = (switch_core_session_t *)jarg1; - result = (unsigned int)switch_core_session_started(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_permanent_alloc(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - void * jresult ; - switch_size_t arg1 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_size_t *argp1 ; - void *result = 0 ; - - argp1 = (switch_size_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg1 = *argp1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (void *)switch_core_perform_permanent_alloc(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_alloc(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { - void * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_size_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_size_t *argp2 ; - void *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (void *)switch_core_perform_alloc(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_session_alloc(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_size_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_size_t *argp2 ; - void *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (void *)switch_core_perform_session_alloc(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_permanent_strdup(char * jarg1, char * jarg2, char * jarg3, int jarg4) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (char *)switch_core_perform_permanent_strdup((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_session_strdup(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { - char * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - char *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (char *)switch_core_perform_session_strdup(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_strdup(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { - char * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - char *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (char *)switch_core_perform_strdup(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_sprintf(void * jarg1, char * jarg2) { - char * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - char *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_core_session_sprintf(arg1,(char const *)arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_sprintf(void * jarg1, char * jarg2) { - char * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - char *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_core_sprintf(arg1,(char const *)arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_pool(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_memory_pool_t *)switch_core_session_get_pool(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_xml(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ; - switch_memory_pool_t **arg2 = (switch_memory_pool_t **) 0 ; - switch_xml_t arg3 = (switch_xml_t) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (switch_endpoint_interface_t *)jarg1; - arg2 = (switch_memory_pool_t **)jarg2; - arg3 = (switch_xml_t)jarg3; - result = (switch_core_session_t *)switch_core_session_request_xml(arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_uuid(void * jarg1, int jarg2, unsigned long jarg3, void * jarg4, char * jarg5) { - void * jresult ; - switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ; - switch_call_direction_t arg2 ; - switch_originate_flag_t arg3 ; - switch_memory_pool_t **arg4 = (switch_memory_pool_t **) 0 ; - char *arg5 = (char *) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (switch_endpoint_interface_t *)jarg1; - arg2 = (switch_call_direction_t)jarg2; - arg3 = (switch_originate_flag_t)jarg3; - arg4 = (switch_memory_pool_t **)jarg4; - arg5 = (char *)jarg5; - result = (switch_core_session_t *)switch_core_session_request_uuid(arg1,arg2,arg3,arg4,(char const *)arg5); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_uuid(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_session_set_uuid(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_perform_destroy(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - switch_core_session_t **arg1 = (switch_core_session_t **) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - - arg1 = (switch_core_session_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - switch_core_session_perform_destroy(arg1,(char const *)arg2,(char const *)arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_destroy_state(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_destroy_state(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_reporting_state(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_reporting_state(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hangup_state(void * jarg1, int jarg2) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - switch_core_session_hangup_state(arg1,arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_count() { - unsigned long jresult ; - uint32_t result; - - result = (uint32_t)switch_core_session_count(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_id(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_size_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = switch_core_session_get_id(arg1); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_id() { - void * jresult ; - switch_size_t result; - - result = switch_core_session_id(); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_id_dec() { - void * jresult ; - switch_size_t result; - - result = switch_core_session_id_dec(); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_by_name(char * jarg1, int jarg2, void * jarg3) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_call_direction_t arg2 ; - switch_memory_pool_t **arg3 = (switch_memory_pool_t **) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (switch_call_direction_t)jarg2; - arg3 = (switch_memory_pool_t **)jarg3; - result = (switch_core_session_t *)switch_core_session_request_by_name((char const *)arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_thread_launch(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_thread_launch(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_thread_pool_launch_thread(void * jarg1) { - int jresult ; - switch_thread_data_t **arg1 = (switch_thread_data_t **) 0 ; - switch_status_t result; - - arg1 = (switch_thread_data_t **)jarg1; - result = (switch_status_t)switch_thread_pool_launch_thread(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_thread_pool_launch(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_thread_pool_launch(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_channel(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_channel_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_channel_t *)switch_core_session_get_channel(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_mutex(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_mutex_t *)switch_core_session_get_mutex(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_wake_session_thread(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_wake_session_thread(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_signal_state_change(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_signal_state_change(arg1); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_get_uuid(void * jarg1) { - char * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (char *)switch_core_session_get_uuid(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_loglevel(void * jarg1, int jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_log_level_t arg2 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_log_level_t)jarg2; - result = (switch_status_t)switch_core_session_set_loglevel(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_loglevel(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_log_level_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_log_level_t)switch_core_session_get_loglevel(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_jb(void * jarg1, int jarg2) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_media_type_t arg2 ; - stfu_instance_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_media_type_t)jarg2; - result = (stfu_instance_t *)switch_core_session_get_jb(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_lock(void * jarg1, unsigned long jarg2) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_core_session_soft_lock(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_unlock(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_soft_unlock(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_set_dmachine(void * jarg1, void * jarg2, int jarg3) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_ivr_dmachine_t *arg2 = (switch_ivr_dmachine_t *) 0 ; - switch_digit_action_target_t arg3 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_ivr_dmachine_t *)jarg2; - arg3 = (switch_digit_action_target_t)jarg3; - switch_core_session_set_dmachine(arg1,arg2,arg3); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_dmachine(void * jarg1, int jarg2) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_digit_action_target_t arg2 ; - switch_ivr_dmachine_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_digit_action_target_t)jarg2; - result = (switch_ivr_dmachine_t *)switch_core_session_get_dmachine(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_get_target(void * jarg1) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_digit_action_target_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - result = (switch_digit_action_target_t)switch_ivr_dmachine_get_target(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_target(void * jarg1, int jarg2) { - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_digit_action_target_t arg2 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (switch_digit_action_target_t)jarg2; - switch_ivr_dmachine_set_target(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_set_terminators(void * jarg1, char * jarg2) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_dmachine_set_terminators(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_codec_slin(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_slin_data_t *arg2 = (switch_slin_data_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_slin_data_t *)jarg2; - result = (switch_status_t)switch_core_session_set_codec_slin(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_uuid() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_core_get_uuid(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_locate(char * jarg1, char * jarg2, char * jarg3, int jarg4) { - void * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_core_session_t *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_core_session_t *)switch_core_session_perform_locate((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_force_locate(char * jarg1, char * jarg2, char * jarg3, int jarg4) { - void * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_core_session_t *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_core_session_t *)switch_core_session_perform_force_locate((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_core_get_variable((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable_dup(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_core_get_variable_dup((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable_pdup(char * jarg1, void * jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - result = (char *)switch_core_get_variable_pdup((char const *)arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_hostname() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_core_get_hostname(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_switchname() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_core_get_switchname(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_domain(int jarg1) { - char * jresult ; - switch_bool_t arg1 ; - char *result = 0 ; - - arg1 = (switch_bool_t)jarg1; - result = (char *)switch_core_get_domain(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_variable(char * jarg1, char * jarg2) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - switch_core_set_variable((char const *)arg1,(char const *)arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_get_variables(void * jarg1) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - result = (switch_status_t)switch_core_get_variables(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_set_var_conditional(char * jarg1, char * jarg2, char * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_bool_t)switch_core_set_var_conditional((char const *)arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_dump_variables(void * jarg1) { - switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; - - arg1 = (switch_stream_handle_t *)jarg1; - switch_core_dump_variables(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall(int jarg1) { - switch_call_cause_t arg1 ; - - arg1 = (switch_call_cause_t)jarg1; - switch_core_session_hupall(arg1); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_hupall_matching_var_ans(char * jarg1, char * jarg2, int jarg3, int jarg4) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_call_cause_t arg3 ; - switch_hup_type_t arg4 ; - uint32_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_call_cause_t)jarg3; - arg4 = (switch_hup_type_t)jarg4; - result = (uint32_t)switch_core_session_hupall_matching_var_ans((char const *)arg1,(char const *)arg2,arg3,arg4); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_findall_matching_var(char * jarg1, char * jarg2) { - void * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_console_callback_match_t *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_console_callback_match_t *)switch_core_session_findall_matching_var((char const *)arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_findall() { - void * jresult ; - switch_console_callback_match_t *result = 0 ; - - result = (switch_console_callback_match_t *)switch_core_session_findall(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall_endpoint(void * jarg1, int jarg2) { - switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ; - switch_call_cause_t arg2 ; - - arg1 = (switch_endpoint_interface_t *)jarg1; - arg2 = (switch_call_cause_t)jarg2; - switch_core_session_hupall_endpoint((switch_endpoint_interface const *)arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_get_partner(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t **)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (switch_status_t)switch_core_session_perform_get_partner(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_send(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_core_session_message_t *)jarg2; - result = (switch_status_t)switch_core_session_message_send((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_message(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_message_t *)jarg2; - result = (switch_status_t)switch_core_session_queue_message(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_free_message(void * jarg1) { - switch_core_session_message_t **arg1 = (switch_core_session_message_t **) 0 ; - - arg1 = (switch_core_session_message_t **)jarg1; - switch_core_session_free_message(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_signal_data(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (void *)jarg2; - result = (switch_status_t)switch_core_session_queue_signal_data(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_signal_data(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - void **arg2 = (void **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (void **)jarg2; - result = (switch_status_t)switch_core_session_dequeue_signal_data(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_pass_indication(void * jarg1, int jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_message_types_t arg2 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_message_types_t)jarg2; - result = (switch_status_t)switch_core_session_pass_indication(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_indication(void * jarg1, int jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_message_types_t arg2 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_message_types_t)jarg2; - result = (switch_status_t)switch_core_session_queue_indication(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_message(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_message_t **arg2 = (switch_core_session_message_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_message_t **)jarg2; - result = (switch_status_t)switch_core_session_dequeue_message(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_flush_message(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_flush_message(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_event_send(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_core_session_event_send((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_app_log(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_app_log_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_app_log_t *)switch_core_session_get_app_log(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_exec(void * jarg1, void * jarg2, char * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_application_interface_t *arg2 = (switch_application_interface_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_application_interface_t *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_core_session_exec(arg1,(switch_application_interface const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_video_reset(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_video_reset(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_application_get_flags(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int32_t *arg4 = (int32_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int32_t *)jarg4; - result = (switch_status_t)switch_core_session_execute_application_get_flags(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_application_async(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_core_session_execute_application_async(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_app_flags(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - int32_t *arg2 = (int32_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (int32_t *)jarg2; - result = (switch_status_t)switch_core_session_get_app_flags((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_exten(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_core_session_execute_exten(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_receive_event(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_core_session_receive_event(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_private_class(void * jarg1, int jarg2) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_pvt_class_t arg2 ; - void *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_pvt_class_t)jarg2; - result = (void *)switch_core_session_get_private_class(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_private_class(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_pvt_class_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (switch_pvt_class_t)jarg3; - result = (switch_status_t)switch_core_session_set_private_class(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_add_stream(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - void *arg2 = (void *) 0 ; - int result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (void *)jarg2; - result = (int)switch_core_session_add_stream(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_stream(void * jarg1, int jarg2) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - int arg2 ; - void *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (int)jarg2; - result = (void *)switch_core_session_get_stream(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_stream_count(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - int result; - - arg1 = (switch_core_session_t *)jarg1; - result = (int)switch_core_session_get_stream_count(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_launch_thread(void * jarg1, void * jarg2, void * jarg3) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - void *(*arg2)(switch_thread_t *,void *) = (void *(*)(switch_thread_t *,void *)) 0 ; - void *arg3 = (void *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (void *(*)(switch_thread_t *,void *))jarg2; - arg3 = (void *)jarg3; - switch_core_session_launch_thread(arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_end(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_thread_session_end(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_service_session_av(void * jarg1, int jarg2, int jarg3) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_bool_t arg2 ; - switch_bool_t arg3 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - arg3 = (switch_bool_t)jarg3; - switch_core_service_session_av(arg1,arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_caller_profile_t *arg4 = (switch_caller_profile_t *) 0 ; - switch_core_session_t **arg5 = (switch_core_session_t **) 0 ; - switch_memory_pool_t **arg6 = (switch_memory_pool_t **) 0 ; - switch_originate_flag_t arg7 ; - switch_call_cause_t *arg8 = (switch_call_cause_t *) 0 ; - switch_call_cause_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_caller_profile_t *)jarg4; - arg5 = (switch_core_session_t **)jarg5; - arg6 = (switch_memory_pool_t **)jarg6; - arg7 = (switch_originate_flag_t)jarg7; - arg8 = (switch_call_cause_t *)jarg8; - result = (switch_call_cause_t)switch_core_session_outgoing_channel(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_receive_message(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_message_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (switch_status_t)switch_core_session_perform_receive_message(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_event(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_core_session_queue_event(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_event_count(void * jarg1) { - unsigned long jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (uint32_t)switch_core_session_event_count(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_messages_waiting(void * jarg1) { - unsigned long jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (uint32_t)switch_core_session_messages_waiting(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_event(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_core_session_dequeue_event(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_private_event(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_core_session_queue_private_event(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_private_event_count(void * jarg1) { - unsigned long jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (uint32_t)switch_core_session_private_event_count(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_private_event(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_core_session_dequeue_private_event(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_flush_private_events(void * jarg1) { - unsigned long jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (uint32_t)switch_core_session_flush_private_events(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_frame_t **arg2 = (switch_frame_t **) 0 ; - switch_io_flag_t arg3 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_frame_t **)jarg2; - arg3 = (switch_io_flag_t)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_core_session_read_frame(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_frame_t **arg2 = (switch_frame_t **) 0 ; - switch_io_flag_t arg3 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_frame_t **)jarg2; - arg3 = (switch_io_flag_t)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_core_session_read_video_frame(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - switch_io_flag_t arg3 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - arg3 = (switch_io_flag_t)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_core_session_write_video_frame(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_read_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_set_read_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_write_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_set_write_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_set_video_read_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_write_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_set_video_write_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_reset(void * jarg1, int jarg2, int jarg3) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_bool_t arg2 ; - switch_bool_t arg3 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - arg3 = (switch_bool_t)jarg3; - switch_core_session_reset(arg1,arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - switch_io_flag_t arg3 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - arg3 = (switch_io_flag_t)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_core_session_write_frame(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_kill_channel(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_signal_t arg5 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (switch_signal_t)jarg5; - result = (switch_status_t)switch_core_session_perform_kill_channel(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_send_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - result = (switch_status_t)switch_core_session_send_dtmf(arg1,(switch_dtmf_t const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_send_dtmf_string(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_session_send_dtmf_string(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_recv_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - result = (switch_status_t)switch_core_session_recv_dtmf(arg1,(switch_dtmf_t const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_init_case(void * jarg1, int jarg2) { - int jresult ; - switch_hash_t **arg1 = (switch_hash_t **) 0 ; - switch_bool_t arg2 ; - switch_status_t result; - - arg1 = (switch_hash_t **)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_status_t)switch_core_hash_init_case(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_destroy(void * jarg1) { - int jresult ; - switch_hash_t **arg1 = (switch_hash_t **) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t **)jarg1; - result = (switch_status_t)switch_core_hash_destroy(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_destructor(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - hashtable_destructor_t arg4 = (hashtable_destructor_t) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - arg4 = (hashtable_destructor_t)jarg4; - result = (switch_status_t)switch_core_hash_insert_destructor(arg1,(char const *)arg2,(void const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_locked(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - switch_mutex_t *arg4 = (switch_mutex_t *) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - arg4 = (switch_mutex_t *)jarg4; - result = (switch_status_t)switch_core_hash_insert_locked(arg1,(char const *)arg2,(void const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_wrlock(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - switch_thread_rwlock_t *arg4 = (switch_thread_rwlock_t *) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - arg4 = (switch_thread_rwlock_t *)jarg4; - result = (switch_status_t)switch_core_hash_insert_wrlock(arg1,(char const *)arg2,(void const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete(void * jarg1, char * jarg2) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_hash_delete(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_locked(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_mutex_t *arg3 = (switch_mutex_t *) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_mutex_t *)jarg3; - result = (switch_status_t)switch_core_hash_delete_locked(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_wrlock(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_thread_rwlock_t *arg3 = (switch_thread_rwlock_t *) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_thread_rwlock_t *)jarg3; - result = (switch_status_t)switch_core_hash_delete_wrlock(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_multi(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - switch_hash_delete_callback_t arg2 = (switch_hash_delete_callback_t) 0 ; - void *arg3 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (switch_hash_delete_callback_t)jarg2; - arg3 = (void *)jarg3; - result = (switch_status_t)switch_core_hash_delete_multi(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find(void * jarg1, char * jarg2) { - void * jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - void *result = 0 ; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - result = (void *)switch_core_hash_find(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_locked(void * jarg1, char * jarg2, void * jarg3) { - void * jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_mutex_t *arg3 = (switch_mutex_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_mutex_t *)jarg3; - result = (void *)switch_core_hash_find_locked(arg1,(char const *)arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_rdlock(void * jarg1, char * jarg2, void * jarg3) { - void * jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_thread_rwlock_t *arg3 = (switch_thread_rwlock_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_thread_rwlock_t *)jarg3; - result = (void *)switch_core_hash_find_rdlock(arg1,(char const *)arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_first_iter(void * jarg1, void * jarg2) { - void * jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - switch_hash_index_t *arg2 = (switch_hash_index_t *) 0 ; - switch_hash_index_t *result = 0 ; - - arg1 = (switch_hash_t *)jarg1; - arg2 = (switch_hash_index_t *)jarg2; - result = (switch_hash_index_t *)switch_core_hash_first_iter(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_empty(void * jarg1) { - int jresult ; - switch_hash_t *arg1 = (switch_hash_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_hash_t *)jarg1; - result = (switch_bool_t)switch_core_hash_empty(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_next(void * jarg1) { - void * jresult ; - switch_hash_index_t **arg1 = (switch_hash_index_t **) 0 ; - switch_hash_index_t *result = 0 ; - - arg1 = (switch_hash_index_t **)jarg1; - result = (switch_hash_index_t *)switch_core_hash_next(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_hash_this(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - switch_hash_index_t *arg1 = (switch_hash_index_t *) 0 ; - void **arg2 = (void **) 0 ; - switch_ssize_t *arg3 = (switch_ssize_t *) 0 ; - void **arg4 = (void **) 0 ; - - arg1 = (switch_hash_index_t *)jarg1; - arg2 = (void **)jarg2; - arg3 = (switch_ssize_t *)jarg3; - arg4 = (void **)jarg4; - switch_core_hash_this(arg1,(void const **)arg2,arg3,arg4); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_init(void * jarg1, char * jarg2, int jarg3, int jarg4, void * jarg5) { - int jresult ; - switch_timer_t *arg1 = (switch_timer_t *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - int arg4 ; - switch_memory_pool_t *arg5 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_timer_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (int)jarg4; - arg5 = (switch_memory_pool_t *)jarg5; - result = (switch_status_t)switch_core_timer_init(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_calibrate_clock() { - switch_time_calibrate_clock(); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_next(void * jarg1) { - int jresult ; - switch_timer_t *arg1 = (switch_timer_t *) 0 ; - switch_status_t result; - - arg1 = (switch_timer_t *)jarg1; - result = (switch_status_t)switch_core_timer_next(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_step(void * jarg1) { - int jresult ; - switch_timer_t *arg1 = (switch_timer_t *) 0 ; - switch_status_t result; - - arg1 = (switch_timer_t *)jarg1; - result = (switch_status_t)switch_core_timer_step(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_sync(void * jarg1) { - int jresult ; - switch_timer_t *arg1 = (switch_timer_t *) 0 ; - switch_status_t result; - - arg1 = (switch_timer_t *)jarg1; - result = (switch_status_t)switch_core_timer_sync(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_check(void * jarg1, int jarg2) { - int jresult ; - switch_timer_t *arg1 = (switch_timer_t *) 0 ; - switch_bool_t arg2 ; - switch_status_t result; - - arg1 = (switch_timer_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_status_t)switch_core_timer_check(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_destroy(void * jarg1) { - int jresult ; - switch_timer_t *arg1 = (switch_timer_t *) 0 ; - switch_status_t result; - - arg1 = (switch_timer_t *)jarg1; - result = (switch_status_t)switch_core_timer_destroy(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_init_with_bitrate(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, int jarg5, int jarg6, unsigned long jarg7, unsigned long jarg8, void * jarg9, void * jarg10) { - int jresult ; - switch_codec_t *arg1 = (switch_codec_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - uint32_t arg4 ; - int arg5 ; - int arg6 ; - uint32_t arg7 ; - uint32_t arg8 ; - switch_codec_settings_t *arg9 = (switch_codec_settings_t *) 0 ; - switch_memory_pool_t *arg10 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_codec_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (int)jarg5; - arg6 = (int)jarg6; - arg7 = (uint32_t)jarg7; - arg8 = (uint32_t)jarg8; - arg9 = (switch_codec_settings_t *)jarg9; - arg10 = (switch_memory_pool_t *)jarg10; - result = (switch_status_t)switch_core_codec_init_with_bitrate(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,(switch_codec_settings const *)arg9,arg10); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_copy(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_codec_t *arg1 = (switch_codec_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - switch_codec_settings_t *arg3 = (switch_codec_settings_t *) 0 ; - switch_memory_pool_t *arg4 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_codec_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - arg3 = (switch_codec_settings_t *)jarg3; - arg4 = (switch_memory_pool_t *)jarg4; - result = (switch_status_t)switch_core_codec_copy(arg1,arg2,(switch_codec_settings const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_parse_fmtp(char * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - switch_codec_fmtp_t *arg4 = (switch_codec_fmtp_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (switch_codec_fmtp_t *)jarg4; - result = (switch_status_t)switch_core_codec_parse_fmtp((char const *)arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_reset(void * jarg1) { - int jresult ; - switch_codec_t *arg1 = (switch_codec_t *) 0 ; - switch_status_t result; - - arg1 = (switch_codec_t *)jarg1; - result = (switch_status_t)switch_core_codec_reset(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_encode(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { - int jresult ; - switch_codec_t *arg1 = (switch_codec_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - void *arg3 = (void *) 0 ; - uint32_t arg4 ; - uint32_t arg5 ; - void *arg6 = (void *) 0 ; - uint32_t *arg7 = (uint32_t *) 0 ; - uint32_t *arg8 = (uint32_t *) 0 ; - unsigned int *arg9 = (unsigned int *) 0 ; - switch_status_t result; - - arg1 = (switch_codec_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - arg3 = (void *)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (void *)jarg6; - arg7 = (uint32_t *)jarg7; - arg8 = (uint32_t *)jarg8; - arg9 = (unsigned int *)jarg9; - result = (switch_status_t)switch_core_codec_encode(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_decode(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { - int jresult ; - switch_codec_t *arg1 = (switch_codec_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - void *arg3 = (void *) 0 ; - uint32_t arg4 ; - uint32_t arg5 ; - void *arg6 = (void *) 0 ; - uint32_t *arg7 = (uint32_t *) 0 ; - uint32_t *arg8 = (uint32_t *) 0 ; - unsigned int *arg9 = (unsigned int *) 0 ; - switch_status_t result; - - arg1 = (switch_codec_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - arg3 = (void *)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (void *)jarg6; - arg7 = (uint32_t *)jarg7; - arg8 = (uint32_t *)jarg8; - arg9 = (unsigned int *)jarg9; - result = (switch_status_t)switch_core_codec_decode(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_destroy(void * jarg1) { - int jresult ; - switch_codec_t *arg1 = (switch_codec_t *) 0 ; - switch_status_t result; - - arg1 = (switch_codec_t *)jarg1; - result = (switch_status_t)switch_core_codec_destroy(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_read_codec(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - result = (switch_status_t)switch_core_session_set_read_codec(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_real_read_codec(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - result = (switch_status_t)switch_core_session_set_real_read_codec(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unset_read_codec(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_unset_read_codec(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unset_write_codec(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_unset_write_codec(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_lock_codec_write(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_lock_codec_write(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unlock_codec_write(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_unlock_codec_write(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_lock_codec_read(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_lock_codec_read(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unlock_codec_read(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_session_unlock_codec_read(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_read_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_get_read_impl(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_real_read_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_get_real_read_impl(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_write_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_get_write_impl(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_read_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_get_video_read_impl(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_write_impl(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - result = (switch_status_t)switch_core_session_get_video_write_impl(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_read_codec(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_codec_t *)switch_core_session_get_read_codec(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_effective_read_codec(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_codec_t *)switch_core_session_get_effective_read_codec(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_write_codec(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - result = (switch_status_t)switch_core_session_set_write_codec(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_write_codec(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_codec_t *)switch_core_session_get_write_codec(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_effective_write_codec(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_codec_t *)switch_core_session_get_effective_write_codec(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_codec(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - result = (switch_status_t)switch_core_session_set_video_read_codec(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_video_read_codec(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_codec_t *)switch_core_session_get_video_read_codec(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_write_codec(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_codec_t *)jarg2; - result = (switch_status_t)switch_core_session_set_video_write_codec(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_video_write_codec(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_codec_t *)switch_core_session_get_video_write_codec(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_db_open_file(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_core_db_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_core_db_t *)switch_core_db_open_file((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute(void * jarg1, char * jarg2, unsigned long jarg3) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_db_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - result = (switch_status_t)switch_core_db_persistant_execute(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute_trans(void * jarg1, char * jarg2, unsigned long jarg3) { - int jresult ; - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_db_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - result = (switch_status_t)switch_core_db_persistant_execute_trans(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - - arg1 = (switch_core_db_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - switch_core_db_test_reactive(arg1,arg2,arg3,arg4); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_file_open(char * jarg1, char * jarg2, int jarg3, void * jarg4, char * jarg5, unsigned long jarg6, unsigned long jarg7, unsigned int jarg8, void * jarg9) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - switch_file_handle_t *arg4 = (switch_file_handle_t *) 0 ; - char *arg5 = (char *) 0 ; - uint32_t arg6 ; - uint32_t arg7 ; - unsigned int arg8 ; - switch_memory_pool_t *arg9 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (switch_file_handle_t *)jarg4; - arg5 = (char *)jarg5; - arg6 = (uint32_t)jarg6; - arg7 = (uint32_t)jarg7; - arg8 = (unsigned int)jarg8; - arg9 = (switch_memory_pool_t *)jarg9; - result = (switch_status_t)switch_core_perform_file_open((char const *)arg1,(char const *)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_read(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (switch_size_t *)jarg3; - result = (switch_status_t)switch_core_file_read(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_write(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (switch_size_t *)jarg3; - result = (switch_status_t)switch_core_file_write(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_write_video(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (switch_size_t *)jarg3; - result = (switch_status_t)switch_core_file_write_video(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_seek(void * jarg1, void * jarg2, long long jarg3, int jarg4) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - unsigned int *arg2 = (unsigned int *) 0 ; - int64_t arg3 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - arg2 = (unsigned int *)jarg2; - arg3 = (int64_t)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_core_file_seek(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_set_string(void * jarg1, int jarg2, char * jarg3) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - switch_audio_col_t arg2 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - arg2 = (switch_audio_col_t)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_core_file_set_string(arg1,arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_get_string(void * jarg1, int jarg2, void * jarg3) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - switch_audio_col_t arg2 ; - char **arg3 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - arg2 = (switch_audio_col_t)jarg2; - arg3 = (char **)jarg3; - result = (switch_status_t)switch_core_file_get_string(arg1,arg2,(char const **)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_close(void * jarg1) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - result = (switch_status_t)switch_core_file_close(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_truncate(void * jarg1, long long jarg2) { - int jresult ; - switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; - int64_t arg2 ; - switch_status_t result; - - arg1 = (switch_file_handle_t *)jarg1; - arg2 = (int64_t)jarg2; - result = (switch_status_t)switch_core_file_truncate(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_open(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4, unsigned int jarg5, unsigned int jarg6, void * jarg7, void * jarg8) { - int jresult ; - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - switch_speech_flag_t *arg7 = (switch_speech_flag_t *) 0 ; - switch_memory_pool_t *arg8 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_speech_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (unsigned int)jarg4; - arg5 = (unsigned int)jarg5; - arg6 = (unsigned int)jarg6; - arg7 = (switch_speech_flag_t *)jarg7; - arg8 = (switch_memory_pool_t *)jarg8; - result = (switch_status_t)switch_core_speech_open(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_feed_tts(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_speech_flag_t *arg3 = (switch_speech_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_speech_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_speech_flag_t *)jarg3; - result = (switch_status_t)switch_core_speech_feed_tts(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_flush_tts(void * jarg1) { - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - - arg1 = (switch_speech_handle_t *)jarg1; - switch_core_speech_flush_tts(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_text_param_tts(void * jarg1, char * jarg2, char * jarg3) { - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (switch_speech_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - switch_core_speech_text_param_tts(arg1,arg2,(char const *)arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_numeric_param_tts(void * jarg1, char * jarg2, int jarg3) { - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - - arg1 = (switch_speech_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - switch_core_speech_numeric_param_tts(arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_float_param_tts(void * jarg1, char * jarg2, double jarg3) { - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - double arg3 ; - - arg1 = (switch_speech_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (double)jarg3; - switch_core_speech_float_param_tts(arg1,arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_read_tts(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - switch_speech_flag_t *arg4 = (switch_speech_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_speech_handle_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (switch_size_t *)jarg3; - arg4 = (switch_speech_flag_t *)jarg4; - result = (switch_status_t)switch_core_speech_read_tts(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_close(void * jarg1, void * jarg2) { - int jresult ; - switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; - switch_speech_flag_t *arg2 = (switch_speech_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_speech_handle_t *)jarg1; - arg2 = (switch_speech_flag_t *)jarg2; - result = (switch_status_t)switch_core_speech_close(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_open(void * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5, void * jarg6, void * jarg7) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - char *arg5 = (char *) 0 ; - switch_asr_flag_t *arg6 = (switch_asr_flag_t *) 0 ; - switch_memory_pool_t *arg7 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (char *)jarg5; - arg6 = (switch_asr_flag_t *)jarg6; - arg7 = (switch_memory_pool_t *)jarg7; - result = (switch_status_t)switch_core_asr_open(arg1,(char const *)arg2,(char const *)arg3,arg4,(char const *)arg5,arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_close(void * jarg1, void * jarg2) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_asr_flag_t *arg2 = (switch_asr_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (switch_asr_flag_t *)jarg2; - result = (switch_status_t)switch_core_asr_close(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_feed(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - void *arg2 = (void *) 0 ; - unsigned int arg3 ; - switch_asr_flag_t *arg4 = (switch_asr_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (unsigned int)jarg3; - arg4 = (switch_asr_flag_t *)jarg4; - result = (switch_status_t)switch_core_asr_feed(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_feed_dtmf(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_asr_flag_t *arg3 = (switch_asr_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - arg3 = (switch_asr_flag_t *)jarg3; - result = (switch_status_t)switch_core_asr_feed_dtmf(arg1,(switch_dtmf_t const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_check_results(void * jarg1, void * jarg2) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_asr_flag_t *arg2 = (switch_asr_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (switch_asr_flag_t *)jarg2; - result = (switch_status_t)switch_core_asr_check_results(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_get_results(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char **arg2 = (char **) 0 ; - switch_asr_flag_t *arg3 = (switch_asr_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char **)jarg2; - arg3 = (switch_asr_flag_t *)jarg3; - result = (switch_status_t)switch_core_asr_get_results(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_get_result_headers(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_asr_flag_t *arg3 = (switch_asr_flag_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - arg3 = (switch_asr_flag_t *)jarg3; - result = (switch_status_t)switch_core_asr_get_result_headers(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_load_grammar(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_core_asr_load_grammar(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_unload_grammar(void * jarg1, char * jarg2) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_asr_unload_grammar(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_enable_grammar(void * jarg1, char * jarg2) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_asr_enable_grammar(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_disable_grammar(void * jarg1, char * jarg2) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_asr_disable_grammar(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_disable_all_grammars(void * jarg1) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - result = (switch_status_t)switch_core_asr_disable_all_grammars(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_pause(void * jarg1) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - result = (switch_status_t)switch_core_asr_pause(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_resume(void * jarg1) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - result = (switch_status_t)switch_core_asr_resume(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_start_input_timers(void * jarg1) { - int jresult ; - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_asr_handle_t *)jarg1; - result = (switch_status_t)switch_core_asr_start_input_timers(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_text_param(void * jarg1, char * jarg2, char * jarg3) { - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - switch_core_asr_text_param(arg1,arg2,(char const *)arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_numeric_param(void * jarg1, char * jarg2, int jarg3) { - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - switch_core_asr_numeric_param(arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_float_param(void * jarg1, char * jarg2, double jarg3) { - switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - double arg3 ; - - arg1 = (switch_asr_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (double)jarg3; - switch_core_asr_float_param(arg1,arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_open(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6) { - int jresult ; - switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - switch_memory_pool_t *arg6 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_directory_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (switch_memory_pool_t *)jarg6; - result = (switch_status_t)switch_core_directory_open(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_query(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_directory_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_core_directory_query(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_next(void * jarg1) { - int jresult ; - switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_directory_handle_t *)jarg1; - result = (switch_status_t)switch_core_directory_next(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_next_pair(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; - char **arg2 = (char **) 0 ; - char **arg3 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_directory_handle_t *)jarg1; - arg2 = (char **)jarg2; - arg3 = (char **)jarg3; - result = (switch_status_t)switch_core_directory_next_pair(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_close(void * jarg1) { - int jresult ; - switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_directory_handle_t *)jarg1; - result = (switch_status_t)switch_core_directory_close(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_data_channel(int jarg1) { - void * jresult ; - switch_text_channel_t arg1 ; - FILE *result = 0 ; - - arg1 = (switch_text_channel_t)jarg1; - result = (FILE *)switch_core_data_channel(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_ready() { - int jresult ; - switch_bool_t result; - - result = (switch_bool_t)switch_core_ready(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_running() { - int jresult ; - switch_bool_t result; - - result = (switch_bool_t)switch_core_running(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_ready_inbound() { - int jresult ; - switch_bool_t result; - - result = (switch_bool_t)switch_core_ready_inbound(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_ready_outbound() { - int jresult ; - switch_bool_t result; - - result = (switch_bool_t)switch_core_ready_outbound(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_flags() { - unsigned long jresult ; - switch_core_flag_t result; - - result = (switch_core_flag_t)switch_core_flags(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_management_exec(char * jarg1, int jarg2, char * jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_management_action_t arg2 ; - char *arg3 = (char *) 0 ; - switch_size_t arg4 ; - switch_size_t *argp4 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_management_action_t)jarg2; - arg3 = (char *)jarg3; - argp4 = (switch_size_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg4 = *argp4; - result = (switch_status_t)switch_core_management_exec(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_set_normal_priority() { - int jresult ; - int32_t result; - - result = (int32_t)set_normal_priority(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_set_auto_priority() { - int jresult ; - int32_t result; - - result = (int32_t)set_auto_priority(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_set_realtime_priority() { - int jresult ; - int32_t result; - - result = (int32_t)set_realtime_priority(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_set_low_priority() { - int jresult ; - int32_t result; - - result = (int32_t)set_low_priority(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_change_user_group(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int32_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (int32_t)change_user_group((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_runtime_loop(int jarg1) { - int arg1 ; - - arg1 = (int)jarg1; - switch_core_runtime_loop(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_set_console(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - result = (switch_status_t)switch_core_set_console((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_measure_time(void * jarg1, void * jarg2) { - switch_time_t arg1 ; - switch_core_time_duration_t *arg2 = (switch_core_time_duration_t *) 0 ; - switch_time_t *argp1 ; - - argp1 = (switch_time_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg1 = *argp1; - arg2 = (switch_core_time_duration_t *)jarg2; - switch_core_measure_time(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_uptime() { - void * jresult ; - switch_time_t result; - - result = switch_core_uptime(); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_ctl(int jarg1, void * jarg2) { - int jresult ; - switch_session_ctl_t arg1 ; - void *arg2 = (void *) 0 ; - int32_t result; - - arg1 = (switch_session_ctl_t)jarg1; - arg2 = (void *)jarg2; - result = (int32_t)switch_core_session_ctl(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_console() { - void * jresult ; - FILE *result = 0 ; - - result = (FILE *)switch_core_get_console(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_globals() { - switch_core_set_globals(); -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_core_session_compare(void * jarg1, void * jarg2) { - unsigned char jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - uint8_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - result = (uint8_t)switch_core_session_compare(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_core_session_check_interface(void * jarg1, void * jarg2) { - unsigned char jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_endpoint_interface_t *arg2 = (switch_endpoint_interface_t *) 0 ; - uint8_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_endpoint_interface_t *)jarg2; - result = (uint8_t)switch_core_session_check_interface(arg1,(switch_endpoint_interface const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_mime_index() { - void * jresult ; - switch_hash_index_t *result = 0 ; - - result = (switch_hash_index_t *)switch_core_mime_index(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_ext2type(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_core_mime_ext2type((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_type2ext(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_core_mime_type2ext((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_mime_add_type(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_core_mime_add_type((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_create_module_interface(void * jarg1, char * jarg2) { - void * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_loadable_module_interface_t *)switch_loadable_module_create_module_interface(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_create_interface(void * jarg1, int jarg2) { - void * jresult ; - switch_loadable_module_interface_t *arg1 = (switch_loadable_module_interface_t *) 0 ; - switch_module_interface_name_t arg2 ; - void *result = 0 ; - - arg1 = (switch_loadable_module_interface_t *)jarg1; - arg2 = (switch_module_interface_name_t)jarg2; - result = (void *)switch_loadable_module_create_interface(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_micro_time_now() { - void * jresult ; - switch_time_t result; - - result = switch_micro_time_now(); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mono_micro_time_now() { - void * jresult ; - switch_time_t result; - - result = switch_mono_micro_time_now(); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim() { - switch_core_memory_reclaim(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim_events() { - switch_core_memory_reclaim_events(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim_logger() { - switch_core_memory_reclaim_logger(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim_all() { - switch_core_memory_reclaim_all(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_setrlimits() { - switch_core_setrlimits(); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_time_ref() { - void * jresult ; - switch_time_t result; - - result = switch_time_ref(); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_sync() { - switch_time_sync(); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_epoch_time_now(void * jarg1) { - void * jresult ; - time_t *arg1 = (time_t *) 0 ; - time_t result; - - arg1 = (time_t *)jarg1; - result = switch_epoch_time_now(arg1); - jresult = new time_t((const time_t &)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_lookup_timezone(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_lookup_timezone((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_strftime_tz(char * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - size_t arg4 ; - switch_time_t arg5 ; - switch_time_t *argp5 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (size_t)jarg4; - argp5 = (switch_time_t *)jarg5; - if (!argp5) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return 0; - } - arg5 = *argp5; - result = (switch_status_t)switch_strftime_tz((char const *)arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_time_exp_tz_name(char * jarg1, void * jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_time_exp_t *arg2 = (switch_time_exp_t *) 0 ; - switch_time_t arg3 ; - switch_time_t *argp3 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_time_exp_t *)jarg2; - argp3 = (switch_time_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return 0; - } - arg3 = *argp3; - result = (switch_status_t)switch_time_exp_tz_name((char const *)arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_load_network_lists(int jarg1) { - switch_bool_t arg1 ; - - arg1 = (switch_bool_t)jarg1; - switch_load_network_lists(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_check_network_list_ip_token(char * jarg1, char * jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char **arg3 = (char **) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char **)jarg3; - result = (switch_bool_t)switch_check_network_list_ip_token((char const *)arg1,(char const *)arg2,(char const **)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_monotonic(int jarg1) { - switch_bool_t arg1 ; - - arg1 = (switch_bool_t)jarg1; - switch_time_set_monotonic(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_timerfd(int jarg1) { - int arg1 ; - - arg1 = (int)jarg1; - switch_time_set_timerfd(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_nanosleep(int jarg1) { - switch_bool_t arg1 ; - - arg1 = (switch_bool_t)jarg1; - switch_time_set_nanosleep(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_matrix(int jarg1) { - switch_bool_t arg1 ; - - arg1 = (switch_bool_t)jarg1; - switch_time_set_matrix(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_cond_yield(int jarg1) { - switch_bool_t arg1 ; - - arg1 = (switch_bool_t)jarg1; - switch_time_set_cond_yield(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_use_system_time(int jarg1) { - switch_bool_t arg1 ; - - arg1 = (switch_bool_t)jarg1; - switch_time_set_use_system_time(arg1); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_min_dtmf_duration(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_core_min_dtmf_duration(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_max_dtmf_duration(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_core_max_dtmf_duration(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_min_idle_cpu(double jarg1) { - double jresult ; - double arg1 ; - double result; - - arg1 = (double)jarg1; - result = (double)switch_core_min_idle_cpu(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_idle_cpu() { - double jresult ; - double result; - - result = (double)switch_core_idle_cpu(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_default_dtmf_duration(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_core_default_dtmf_duration(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_set_complete(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - result = (switch_status_t)switch_console_set_complete((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_set_alias(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - result = (switch_status_t)switch_console_set_alias((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_system(char * jarg1, int jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t arg2 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (int)switch_system((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_system(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_stream_handle_t *arg2 = (switch_stream_handle_t *) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (switch_stream_handle_t *)jarg2; - result = (int)switch_stream_system((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_yield(void * jarg1) { - switch_interval_time_t arg1 ; - switch_interval_time_t *argp1 ; - - argp1 = (switch_interval_time_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_interval_time_t", 0); - return ; - } - arg1 = *argp1; - switch_cond_yield(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_next() { - switch_cond_next(); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send_args(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, int jarg9) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - switch_bool_t arg9 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (switch_bool_t)jarg9; - result = (switch_status_t)switch_core_chat_send_args((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_t *)jarg2; - result = (switch_status_t)switch_core_chat_send((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_deliver(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_core_chat_deliver((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_preprocess_session(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_preprocess_session(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_pause() { - switch_core_sqldb_pause(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_resume() { - switch_core_sqldb_resume(); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CACHE_DB_LEN_get() { - int jresult ; - int result; - - result = (int)(256); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh_set(void * jarg1, void * jarg2) { - switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; - switch_core_db_t *arg2 = (switch_core_db_t *) 0 ; - - arg1 = (switch_cache_db_native_handle_t *)jarg1; - arg2 = (switch_core_db_t *)jarg2; - if (arg1) (arg1)->core_db_dbh = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh_get(void * jarg1) { - void * jresult ; - switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; - switch_core_db_t *result = 0 ; - - arg1 = (switch_cache_db_native_handle_t *)jarg1; - result = (switch_core_db_t *) ((arg1)->core_db_dbh); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_set(void * jarg1, void * jarg2) { - switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; - switch_odbc_handle_t *arg2 = (switch_odbc_handle_t *) 0 ; - - arg1 = (switch_cache_db_native_handle_t *)jarg1; - arg2 = (switch_odbc_handle_t *)jarg2; - if (arg1) (arg1)->odbc_dbh = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_get(void * jarg1) { - void * jresult ; - switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; - switch_odbc_handle_t *result = 0 ; - - arg1 = (switch_cache_db_native_handle_t *)jarg1; - result = (switch_odbc_handle_t *) ((arg1)->odbc_dbh); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_pgsql_dbh_set(void * jarg1, void * jarg2) { - switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; - switch_pgsql_handle_t *arg2 = (switch_pgsql_handle_t *) 0 ; - - arg1 = (switch_cache_db_native_handle_t *)jarg1; - arg2 = (switch_pgsql_handle_t *)jarg2; - if (arg1) (arg1)->pgsql_dbh = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_pgsql_dbh_get(void * jarg1) { - void * jresult ; - switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; - switch_pgsql_handle_t *result = 0 ; - - arg1 = (switch_cache_db_native_handle_t *)jarg1; - result = (switch_pgsql_handle_t *) ((arg1)->pgsql_dbh); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_native_handle_t() { - void * jresult ; - switch_cache_db_native_handle_t *result = 0 ; - - result = (switch_cache_db_native_handle_t *)new switch_cache_db_native_handle_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_native_handle_t(void * jarg1) { - switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; - - arg1 = (switch_cache_db_native_handle_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_set(void * jarg1, char * jarg2) { - switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_cache_db_core_db_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->db_path) delete [] arg1->db_path; - if (arg2) { - arg1->db_path = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->db_path, (const char *)arg2); - } else { - arg1->db_path = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_get(void * jarg1) { - char * jresult ; - switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_cache_db_core_db_options_t *)jarg1; - result = (char *) ((arg1)->db_path); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_core_db_options_t() { - void * jresult ; - switch_cache_db_core_db_options_t *result = 0 ; - - result = (switch_cache_db_core_db_options_t *)new switch_cache_db_core_db_options_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_core_db_options_t(void * jarg1) { - switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ; - - arg1 = (switch_cache_db_core_db_options_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_set(void * jarg1, char * jarg2) { - switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_cache_db_odbc_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->dsn) delete [] arg1->dsn; - if (arg2) { - arg1->dsn = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->dsn, (const char *)arg2); - } else { - arg1->dsn = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_get(void * jarg1) { - char * jresult ; - switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_cache_db_odbc_options_t *)jarg1; - result = (char *) ((arg1)->dsn); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_set(void * jarg1, char * jarg2) { - switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_cache_db_odbc_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->user) delete [] arg1->user; - if (arg2) { - arg1->user = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->user, (const char *)arg2); - } else { - arg1->user = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_get(void * jarg1) { - char * jresult ; - switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_cache_db_odbc_options_t *)jarg1; - result = (char *) ((arg1)->user); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_set(void * jarg1, char * jarg2) { - switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_cache_db_odbc_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->pass) delete [] arg1->pass; - if (arg2) { - arg1->pass = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->pass, (const char *)arg2); - } else { - arg1->pass = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_get(void * jarg1) { - char * jresult ; - switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_cache_db_odbc_options_t *)jarg1; - result = (char *) ((arg1)->pass); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_odbc_options_t() { - void * jresult ; - switch_cache_db_odbc_options_t *result = 0 ; - - result = (switch_cache_db_odbc_options_t *)new switch_cache_db_odbc_options_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_odbc_options_t(void * jarg1) { - switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; - - arg1 = (switch_cache_db_odbc_options_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_pgsql_options_t_dsn_set(void * jarg1, char * jarg2) { - switch_cache_db_pgsql_options_t *arg1 = (switch_cache_db_pgsql_options_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_cache_db_pgsql_options_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->dsn) delete [] arg1->dsn; - if (arg2) { - arg1->dsn = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->dsn, (const char *)arg2); - } else { - arg1->dsn = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_pgsql_options_t_dsn_get(void * jarg1) { - char * jresult ; - switch_cache_db_pgsql_options_t *arg1 = (switch_cache_db_pgsql_options_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_cache_db_pgsql_options_t *)jarg1; - result = (char *) ((arg1)->dsn); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_pgsql_options_t() { - void * jresult ; - switch_cache_db_pgsql_options_t *result = 0 ; - - result = (switch_cache_db_pgsql_options_t *)new switch_cache_db_pgsql_options_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_pgsql_options_t(void * jarg1) { - switch_cache_db_pgsql_options_t *arg1 = (switch_cache_db_pgsql_options_t *) 0 ; - - arg1 = (switch_cache_db_pgsql_options_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_db_options_set(void * jarg1, void * jarg2) { - switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; - switch_cache_db_core_db_options_t *arg2 = (switch_cache_db_core_db_options_t *) 0 ; - - arg1 = (switch_cache_db_connection_options_t *)jarg1; - arg2 = (switch_cache_db_core_db_options_t *)jarg2; - if (arg1) (arg1)->core_db_options = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_db_options_get(void * jarg1) { - void * jresult ; - switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; - switch_cache_db_core_db_options_t *result = 0 ; - - arg1 = (switch_cache_db_connection_options_t *)jarg1; - result = (switch_cache_db_core_db_options_t *)& ((arg1)->core_db_options); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_options_set(void * jarg1, void * jarg2) { - switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; - switch_cache_db_odbc_options_t *arg2 = (switch_cache_db_odbc_options_t *) 0 ; - - arg1 = (switch_cache_db_connection_options_t *)jarg1; - arg2 = (switch_cache_db_odbc_options_t *)jarg2; - if (arg1) (arg1)->odbc_options = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_options_get(void * jarg1) { - void * jresult ; - switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; - switch_cache_db_odbc_options_t *result = 0 ; - - arg1 = (switch_cache_db_connection_options_t *)jarg1; - result = (switch_cache_db_odbc_options_t *)& ((arg1)->odbc_options); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_pgsql_options_set(void * jarg1, void * jarg2) { - switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; - switch_cache_db_pgsql_options_t *arg2 = (switch_cache_db_pgsql_options_t *) 0 ; - - arg1 = (switch_cache_db_connection_options_t *)jarg1; - arg2 = (switch_cache_db_pgsql_options_t *)jarg2; - if (arg1) (arg1)->pgsql_options = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_pgsql_options_get(void * jarg1) { - void * jresult ; - switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; - switch_cache_db_pgsql_options_t *result = 0 ; - - arg1 = (switch_cache_db_connection_options_t *)jarg1; - result = (switch_cache_db_pgsql_options_t *)& ((arg1)->pgsql_options); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_connection_options_t() { - void * jresult ; - switch_cache_db_connection_options_t *result = 0 ; - - result = (switch_cache_db_connection_options_t *)new switch_cache_db_connection_options_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_connection_options_t(void * jarg1) { - switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; - - arg1 = (switch_cache_db_connection_options_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_type_name(int jarg1) { - char * jresult ; - switch_cache_db_handle_type_t arg1 ; - char *result = 0 ; - - arg1 = (switch_cache_db_handle_type_t)jarg1; - result = (char *)switch_cache_db_type_name(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_get_type(void * jarg1) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - switch_cache_db_handle_type_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - result = (switch_cache_db_handle_type_t)switch_cache_db_get_type(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_dismiss_db_handle(void * jarg1) { - switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; - - arg1 = (switch_cache_db_handle_t **)jarg1; - switch_cache_db_dismiss_db_handle(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_release_db_handle(void * jarg1) { - switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; - - arg1 = (switch_cache_db_handle_t **)jarg1; - switch_cache_db_release_db_handle(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp__switch_cache_db_get_db_handle(void * jarg1, int jarg2, void * jarg3, char * jarg4, char * jarg5, int jarg6) { - int jresult ; - switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; - switch_cache_db_handle_type_t arg2 ; - switch_cache_db_connection_options_t *arg3 = (switch_cache_db_connection_options_t *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - int arg6 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t **)jarg1; - arg2 = (switch_cache_db_handle_type_t)jarg2; - arg3 = (switch_cache_db_connection_options_t *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (int)jarg6; - result = (switch_status_t)_switch_cache_db_get_db_handle(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp__switch_cache_db_get_db_handle_dsn(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { - int jresult ; - switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (switch_status_t)_switch_cache_db_get_db_handle_dsn(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_create_schema(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char **arg3 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char **)jarg3; - result = (switch_status_t)switch_cache_db_create_schema(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_execute_sql2str(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) { - char * jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - size_t arg4 ; - char **arg5 = (char **) 0 ; - char *result = 0 ; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (size_t)jarg4; - arg5 = (char **)jarg5; - result = (char *)switch_cache_db_execute_sql2str(arg1,arg2,arg3,arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char **arg3 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char **)jarg3; - result = (switch_status_t)switch_cache_db_execute_sql(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ; - void *arg4 = (void *) 0 ; - char **arg5 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_callback_func_t)jarg3; - arg4 = (void *)jarg4; - arg5 = (char **)jarg5; - result = (switch_status_t)switch_cache_db_execute_sql_callback(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_callback_err(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ; - switch_core_db_err_callback_func_t arg4 = (switch_core_db_err_callback_func_t) 0 ; - void *arg5 = (void *) 0 ; - char **arg6 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_callback_func_t)jarg3; - arg4 = (switch_core_db_err_callback_func_t)jarg4; - arg5 = (void *)jarg5; - arg6 = (char **)jarg6; - result = (switch_status_t)switch_cache_db_execute_sql_callback_err(arg1,(char const *)arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_affected_rows(void * jarg1) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - int result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - result = (int)switch_cache_db_affected_rows(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_load_extension(void * jarg1, char * jarg2) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - result = (int)switch_cache_db_load_extension(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_status(void * jarg1) { - switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; - - arg1 = (switch_stream_handle_t *)jarg1; - switch_cache_db_status(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp__switch_core_db_handle(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)_switch_core_db_handle(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_bool_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_bool_t)switch_cache_db_test_reactive(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute(void * jarg1, char * jarg2, unsigned long jarg3) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - result = (switch_status_t)switch_cache_db_persistant_execute(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute_trans_full(void * jarg1, char * jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - result = (switch_status_t)switch_cache_db_persistant_execute_trans_full(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_signal_handlers() { - switch_core_set_signal_handlers(); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_debug_level() { - unsigned long jresult ; - uint32_t result; - - result = (uint32_t)switch_core_debug_level(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_flush_handles() { - switch_cache_db_flush_handles(); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_banner() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_core_banner(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_in_thread(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_bool_t)switch_core_session_in_thread(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_default_ptime(char * jarg1, unsigned long jarg2) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - uint32_t result; - - arg1 = (char *)jarg1; - arg2 = (uint32_t)jarg2; - result = (uint32_t)switch_default_ptime((char const *)arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_default_rate(char * jarg1, unsigned long jarg2) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - uint32_t result; - - arg1 = (char *)jarg1; - arg2 = (uint32_t)jarg2; - result = (uint32_t)switch_default_rate((char const *)arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_add_registration(char * jarg1, char * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - uint32_t arg5 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - result = (switch_status_t)switch_core_add_registration((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_del_registration(char * jarg1, char * jarg2, char * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_core_del_registration((char const *)arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_expire_registration(int jarg1) { - int jresult ; - int arg1 ; - switch_status_t result; - - arg1 = (int)jarg1; - result = (switch_status_t)switch_core_expire_registration(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_get_variable(void * jarg1, char * jarg2) { - char * jresult ; - switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (switch_say_file_handle_t *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_say_file_handle_get_variable(arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_get_path(void * jarg1) { - char * jresult ; - switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_say_file_handle_t *)jarg1; - result = (char *)switch_say_file_handle_get_path(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_detach_path(void * jarg1) { - char * jresult ; - switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_say_file_handle_t *)jarg1; - result = (char *)switch_say_file_handle_detach_path(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_file_handle_destroy(void * jarg1) { - switch_say_file_handle_t **arg1 = (switch_say_file_handle_t **) 0 ; - - arg1 = (switch_say_file_handle_t **)jarg1; - switch_say_file_handle_destroy(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_file_handle_create(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_say_file_handle_t **arg1 = (switch_say_file_handle_t **) 0 ; - char *arg2 = (char *) 0 ; - switch_event_t **arg3 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (switch_say_file_handle_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_event_t **)jarg3; - result = (switch_status_t)switch_say_file_handle_create(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_file(void * jarg1, char * jarg2) { - switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - - arg1 = (switch_say_file_handle_t *)jarg1; - arg2 = (char *)jarg2; - switch_say_file(arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_max_file_desc() { - int jresult ; - int result; - - result = (int)switch_max_file_desc(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_close_extra_files(void * jarg1, int jarg2) { - int *arg1 = (int *) 0 ; - int arg2 ; - - arg1 = (int *)jarg1; - arg2 = (int)jarg2; - switch_close_extra_files(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_thread_set_cpu_affinity(int jarg1) { - int jresult ; - int arg1 ; - switch_status_t result; - - arg1 = (int)jarg1; - result = (switch_status_t)switch_core_thread_set_cpu_affinity(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_os_yield() { - switch_os_yield(); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_get_stacksizes(void * jarg1, void * jarg2) { - int jresult ; - switch_size_t *arg1 = (switch_size_t *) 0 ; - switch_size_t *arg2 = (switch_size_t *) 0 ; - switch_status_t result; - - arg1 = (switch_size_t *)jarg1; - arg2 = (switch_size_t *)jarg2; - result = (switch_status_t)switch_core_get_stacksizes(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_gen_encoded_silence(void * jarg1, void * jarg2, void * jarg3) { - unsigned char *arg1 = (unsigned char *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - - arg1 = (unsigned char *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg3 = *argp3; - switch_core_gen_encoded_silence(arg1,(switch_codec_implementation const *)arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_dbtype() { - int jresult ; - switch_cache_db_handle_type_t result; - - result = (switch_cache_db_handle_type_t)switch_core_dbtype(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sql_exec(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - switch_core_sql_exec((char const *)arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_recovery_recover(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (int)switch_core_recovery_recover((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_untrack(void * jarg1, int jarg2) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - switch_core_recovery_untrack(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_track(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_core_recovery_track(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_flush(char * jarg1, char * jarg2) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - switch_core_recovery_flush((char const *)arg1,(char const *)arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_pause(void * jarg1, int jarg2) { - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - switch_sql_queue_manager_pause(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_resume(void * jarg1) { - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - switch_sql_queue_manager_resume(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_size(void * jarg1, unsigned long jarg2) { - int jresult ; - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - uint32_t arg2 ; - int result; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (int)switch_sql_queue_manager_size(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_push_confirm(void * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { - int jresult ; - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - switch_bool_t arg4 ; - switch_status_t result; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (switch_status_t)switch_sql_queue_manager_push_confirm(arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_push(void * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { - int jresult ; - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - switch_bool_t arg4 ; - switch_status_t result; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (switch_status_t)switch_sql_queue_manager_push(arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_destroy(void * jarg1) { - int jresult ; - switch_sql_queue_manager_t **arg1 = (switch_sql_queue_manager_t **) 0 ; - switch_status_t result; - - arg1 = (switch_sql_queue_manager_t **)jarg1; - result = (switch_status_t)switch_sql_queue_manager_destroy(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_init_name(char * jarg1, void * jarg2, unsigned long jarg3, char * jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_sql_queue_manager_t **arg2 = (switch_sql_queue_manager_t **) 0 ; - uint32_t arg3 ; - char *arg4 = (char *) 0 ; - uint32_t arg5 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_sql_queue_manager_t **)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (char *)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - result = (switch_status_t)switch_sql_queue_manager_init_name((char const *)arg1,arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_start(void * jarg1) { - int jresult ; - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - switch_status_t result; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - result = (switch_status_t)switch_sql_queue_manager_start(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_stop(void * jarg1) { - int jresult ; - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - switch_status_t result; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - result = (switch_status_t)switch_sql_queue_manager_stop(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_event_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { - int jresult ; - switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_event_callback_func_t arg3 = (switch_core_db_event_callback_func_t) 0 ; - void *arg4 = (void *) 0 ; - char **arg5 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_cache_db_handle_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_event_callback_func_t)jarg3; - arg4 = (void *)jarg4; - arg5 = (char **)jarg5; - result = (switch_status_t)switch_cache_db_execute_sql_event_callback(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ; - void *arg4 = (void *) 0 ; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_callback_func_t)jarg3; - arg4 = (void *)jarg4; - switch_sql_queue_manager_execute_sql_callback(arg1,(char const *)arg2,arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_callback_err(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ; - switch_core_db_err_callback_func_t arg4 = (switch_core_db_err_callback_func_t) 0 ; - void *arg5 = (void *) 0 ; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_callback_func_t)jarg3; - arg4 = (switch_core_db_err_callback_func_t)jarg4; - arg5 = (void *)jarg5; - switch_sql_queue_manager_execute_sql_callback_err(arg1,(char const *)arg2,arg3,arg4,arg5); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_event_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_event_callback_func_t arg3 = (switch_core_db_event_callback_func_t) 0 ; - void *arg4 = (void *) 0 ; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_event_callback_func_t)jarg3; - arg4 = (void *)jarg4; - switch_sql_queue_manager_execute_sql_event_callback(arg1,(char const *)arg2,arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_event_callback_err(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { - switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_db_event_callback_func_t arg3 = (switch_core_db_event_callback_func_t) 0 ; - switch_core_db_err_callback_func_t arg4 = (switch_core_db_err_callback_func_t) 0 ; - void *arg5 = (void *) 0 ; - - arg1 = (switch_sql_queue_manager_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_db_event_callback_func_t)jarg3; - arg4 = (switch_core_db_err_callback_func_t)jarg4; - arg5 = (void *)jarg5; - switch_sql_queue_manager_execute_sql_event_callback_err(arg1,(char const *)arg2,arg3,arg4,arg5); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fork() { - void * jresult ; - pid_t result; - - result = switch_fork(); - jresult = new pid_t((const pid_t &)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_gen_certs(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_core_gen_certs((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_gen_fingerprint(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - dtls_fingerprint_t *arg2 = (dtls_fingerprint_t *) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (dtls_fingerprint_t *)jarg2; - result = (int)switch_core_cert_gen_fingerprint((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_expand_fingerprint(void * jarg1, char * jarg2) { - int jresult ; - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (dtls_fingerprint_t *)jarg1; - arg2 = (char *)jarg2; - result = (int)switch_core_cert_expand_fingerprint(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_verify(void * jarg1) { - int jresult ; - dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; - int result; - - arg1 = (dtls_fingerprint_t *)jarg1; - result = (int)switch_core_cert_verify(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_refresh_video(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_core_session_refresh_video(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_system_fork(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_stream_handle_t *arg2 = (switch_stream_handle_t *) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (switch_stream_handle_t *)jarg2; - result = (int)switch_stream_system_fork((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ice_direction(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_call_direction_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_call_direction_t)switch_ice_direction(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_debug_pool(void * jarg1) { - switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; - - arg1 = (switch_stream_handle_t *)jarg1; - switch_core_session_debug_pool(arg1); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_major() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_version_major(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_minor() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_version_minor(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_micro() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_version_micro(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_revision() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_version_revision(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_revision_human() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_version_revision_human(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_full() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_version_full(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_full_human() { - char * jresult ; - char *result = 0 ; - - result = (char *)switch_version_full_human(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_module_name_set(void * jarg1, char * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->module_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->module_name, (const char *)arg2); - } else { - arg1->module_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_loadable_module_interface_module_name_get(void * jarg1) { - char * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (char *) ((arg1)->module_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_endpoint_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_endpoint_interface_t *arg2 = (switch_endpoint_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_endpoint_interface_t *)jarg2; - if (arg1) (arg1)->endpoint_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_endpoint_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_endpoint_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_endpoint_interface_t *) ((arg1)->endpoint_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_timer_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_timer_interface_t *arg2 = (switch_timer_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_timer_interface_t *)jarg2; - if (arg1) (arg1)->timer_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_timer_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_timer_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_timer_interface_t *) ((arg1)->timer_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_dialplan_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_dialplan_interface_t *arg2 = (switch_dialplan_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_dialplan_interface_t *)jarg2; - if (arg1) (arg1)->dialplan_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_dialplan_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_dialplan_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_dialplan_interface_t *) ((arg1)->dialplan_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_codec_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_codec_interface_t *)jarg2; - if (arg1) (arg1)->codec_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_codec_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_codec_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_codec_interface_t *) ((arg1)->codec_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_application_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_application_interface_t *arg2 = (switch_application_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_application_interface_t *)jarg2; - if (arg1) (arg1)->application_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_application_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_application_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_application_interface_t *) ((arg1)->application_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_application_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_chat_application_interface_t *arg2 = (switch_chat_application_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_chat_application_interface_t *)jarg2; - if (arg1) (arg1)->chat_application_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_application_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_chat_application_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_chat_application_interface_t *) ((arg1)->chat_application_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_api_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_api_interface_t *arg2 = (switch_api_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_api_interface_t *)jarg2; - if (arg1) (arg1)->api_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_api_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_api_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_api_interface_t *) ((arg1)->api_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_json_api_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_json_api_interface_t *arg2 = (switch_json_api_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_json_api_interface_t *)jarg2; - if (arg1) (arg1)->json_api_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_json_api_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_json_api_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_json_api_interface_t *) ((arg1)->json_api_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_file_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_file_interface_t *arg2 = (switch_file_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_file_interface_t *)jarg2; - if (arg1) (arg1)->file_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_file_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_file_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_file_interface_t *) ((arg1)->file_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_speech_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_speech_interface_t *arg2 = (switch_speech_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_speech_interface_t *)jarg2; - if (arg1) (arg1)->speech_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_speech_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_speech_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_speech_interface_t *) ((arg1)->speech_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_directory_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_directory_interface_t *arg2 = (switch_directory_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_directory_interface_t *)jarg2; - if (arg1) (arg1)->directory_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_directory_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_directory_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_directory_interface_t *) ((arg1)->directory_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_chat_interface_t *arg2 = (switch_chat_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_chat_interface_t *)jarg2; - if (arg1) (arg1)->chat_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_chat_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_chat_interface_t *) ((arg1)->chat_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_say_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_say_interface_t *arg2 = (switch_say_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_say_interface_t *)jarg2; - if (arg1) (arg1)->say_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_say_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_say_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_say_interface_t *) ((arg1)->say_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_asr_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_asr_interface_t *arg2 = (switch_asr_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_asr_interface_t *)jarg2; - if (arg1) (arg1)->asr_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_asr_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_asr_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_asr_interface_t *) ((arg1)->asr_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_management_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_management_interface_t *arg2 = (switch_management_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_management_interface_t *)jarg2; - if (arg1) (arg1)->management_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_management_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_management_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_management_interface_t *) ((arg1)->management_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_limit_interface_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_limit_interface_t *arg2 = (switch_limit_interface_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_limit_interface_t *)jarg2; - if (arg1) (arg1)->limit_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_limit_interface_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_limit_interface_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_limit_interface_t *) ((arg1)->limit_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_refs_set(void * jarg1, int jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - int arg2 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_interface_refs_get(void * jarg1) { - int jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - int result; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_pool_set(void * jarg1, void * jarg2) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_pool_get(void * jarg1) { - void * jresult ; - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_loadable_module_interface() { - void * jresult ; - switch_loadable_module_interface *result = 0 ; - - result = (switch_loadable_module_interface *)new switch_loadable_module_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_loadable_module_interface(void * jarg1) { - switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; - - arg1 = (switch_loadable_module_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_init(int jarg1) { - int jresult ; - switch_bool_t arg1 ; - switch_status_t result; - - arg1 = (switch_bool_t)jarg1; - result = (switch_status_t)switch_loadable_module_init(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_shutdown() { - switch_loadable_module_shutdown(); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_endpoint_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_endpoint_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_endpoint_interface_t *)switch_loadable_module_get_endpoint_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_codec_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_codec_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_codec_interface_t *)switch_loadable_module_get_codec_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_codec_buf(char * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) { - char * jresult ; - char *arg1 = (char *) 0 ; - uint32_t *arg2 = (uint32_t *) 0 ; - uint32_t *arg3 = (uint32_t *) 0 ; - uint32_t *arg4 = (uint32_t *) 0 ; - uint32_t *arg5 = (uint32_t *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (uint32_t *)jarg2; - arg3 = (uint32_t *)jarg3; - arg4 = (uint32_t *)jarg4; - arg5 = (uint32_t *)jarg5; - result = (char *)switch_parse_codec_buf(arg1,arg2,arg3,arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_dialplan_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_dialplan_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_dialplan_interface_t *)switch_loadable_module_get_dialplan_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_enumerate_available(char * jarg1, void * jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_modulename_callback_func_t arg2 = (switch_modulename_callback_func_t) 0 ; - void *arg3 = (void *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_modulename_callback_func_t)jarg2; - arg3 = (void *)jarg3; - result = (switch_status_t)switch_loadable_module_enumerate_available((char const *)arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_enumerate_loaded(void * jarg1, void * jarg2) { - int jresult ; - switch_modulename_callback_func_t arg1 = (switch_modulename_callback_func_t) 0 ; - void *arg2 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_modulename_callback_func_t)jarg1; - arg2 = (void *)jarg2; - result = (switch_status_t)switch_loadable_module_enumerate_loaded(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_build_dynamic(char * jarg1, void * jarg2, void * jarg3, void * jarg4, int jarg5) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_module_load_t arg2 = (switch_module_load_t) 0 ; - switch_module_runtime_t arg3 = (switch_module_runtime_t) 0 ; - switch_module_shutdown_t arg4 = (switch_module_shutdown_t) 0 ; - switch_bool_t arg5 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_module_load_t)jarg2; - arg3 = (switch_module_runtime_t)jarg3; - arg4 = (switch_module_shutdown_t)jarg4; - arg5 = (switch_bool_t)jarg5; - result = (switch_status_t)switch_loadable_module_build_dynamic(arg1,arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_timer_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_timer_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_timer_interface_t *)switch_loadable_module_get_timer_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_application_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_application_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_application_interface_t *)switch_loadable_module_get_application_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_chat_application_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_chat_application_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_chat_application_interface_t *)switch_loadable_module_get_chat_application_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_execute_chat_app(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_core_execute_chat_app(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_api_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_api_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_api_interface_t *)switch_loadable_module_get_api_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_json_api_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_json_api_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_json_api_interface_t *)switch_loadable_module_get_json_api_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_file_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_file_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_file_interface_t *)switch_loadable_module_get_file_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_speech_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_speech_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_speech_interface_t *)switch_loadable_module_get_speech_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_asr_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_asr_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_asr_interface_t *)switch_loadable_module_get_asr_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_directory_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_directory_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_directory_interface_t *)switch_loadable_module_get_directory_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_chat_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_chat_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_chat_interface_t *)switch_loadable_module_get_chat_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_say_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_say_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_say_interface_t *)switch_loadable_module_get_say_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_management_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_management_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_management_interface_t *)switch_loadable_module_get_management_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_limit_interface(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_limit_interface_t *result = 0 ; - - arg1 = (char *)jarg1; - result = (switch_limit_interface_t *)switch_loadable_module_get_limit_interface((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_get_codecs(void * jarg1, int jarg2) { - int jresult ; - switch_codec_implementation_t **arg1 = (switch_codec_implementation_t **) 0 ; - int arg2 ; - int result; - - arg1 = (switch_codec_implementation_t **)jarg1; - arg2 = (int)jarg2; - result = (int)switch_loadable_module_get_codecs((switch_codec_implementation const **)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_get_codecs_sorted(void * jarg1, int jarg2, void * jarg3, int jarg4) { - int jresult ; - switch_codec_implementation_t **arg1 = (switch_codec_implementation_t **) 0 ; - int arg2 ; - char **arg3 = (char **) 0 ; - int arg4 ; - int result; - - arg1 = (switch_codec_implementation_t **)jarg1; - arg2 = (int)jarg2; - arg3 = (char **)jarg3; - arg4 = (int)jarg4; - result = (int)switch_loadable_module_get_codecs_sorted((switch_codec_implementation const **)arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_api_execute(char * jarg1, char * jarg2, void * jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_core_session_t *arg3 = (switch_core_session_t *) 0 ; - switch_stream_handle_t *arg4 = (switch_stream_handle_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_core_session_t *)jarg3; - arg4 = (switch_stream_handle_t *)jarg4; - result = (switch_status_t)switch_api_execute((char const *)arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_json_api_execute(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - cJSON *arg1 = (cJSON *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - cJSON **arg3 = (cJSON **) 0 ; - switch_status_t result; - - arg1 = (cJSON *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - arg3 = (cJSON **)jarg3; - result = (switch_status_t)switch_json_api_execute(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_load_module(char * jarg1, char * jarg2, int jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - char **arg4 = (char **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - arg4 = (char **)jarg4; - result = (switch_status_t)switch_loadable_module_load_module(arg1,arg2,arg3,(char const **)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_exists(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - result = (switch_status_t)switch_loadable_module_exists((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_unload_module(char * jarg1, char * jarg2, int jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - char **arg4 = (char **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - arg4 = (char **)jarg4; - result = (switch_status_t)switch_loadable_module_unload_module(arg1,arg2,arg3,(char const **)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_codec_next_id() { - unsigned long jresult ; - uint32_t result; - - result = (uint32_t)switch_core_codec_next_id(); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_check_interval(unsigned long jarg1, unsigned long jarg2) { - int jresult ; - uint32_t arg1 ; - uint32_t arg2 ; - int result; - - arg1 = (uint32_t)jarg1; - arg2 = (uint32_t)jarg2; - result = (int)switch_check_interval(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_codec_add_implementation(void * jarg1, void * jarg2, int jarg3, unsigned char jarg4, char * jarg5, char * jarg6, unsigned long jarg7, unsigned long jarg8, int jarg9, int jarg10, unsigned long jarg11, unsigned long jarg12, unsigned long jarg13, unsigned char jarg14, int jarg15, void * jarg16, void * jarg17, void * jarg18, void * jarg19) { - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ; - switch_codec_type_t arg3 ; - switch_payload_t arg4 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - uint32_t arg7 ; - uint32_t arg8 ; - int arg9 ; - int arg10 ; - uint32_t arg11 ; - uint32_t arg12 ; - uint32_t arg13 ; - uint8_t arg14 ; - int arg15 ; - switch_core_codec_init_func_t arg16 = (switch_core_codec_init_func_t) 0 ; - switch_core_codec_encode_func_t arg17 = (switch_core_codec_encode_func_t) 0 ; - switch_core_codec_decode_func_t arg18 = (switch_core_codec_decode_func_t) 0 ; - switch_core_codec_destroy_func_t arg19 = (switch_core_codec_destroy_func_t) 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (switch_codec_interface_t *)jarg2; - arg3 = (switch_codec_type_t)jarg3; - arg4 = (switch_payload_t)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (uint32_t)jarg7; - arg8 = (uint32_t)jarg8; - arg9 = (int)jarg9; - arg10 = (int)jarg10; - arg11 = (uint32_t)jarg11; - arg12 = (uint32_t)jarg12; - arg13 = (uint32_t)jarg13; - arg14 = (uint8_t)jarg14; - arg15 = (int)jarg15; - arg16 = (switch_core_codec_init_func_t)jarg16; - arg17 = (switch_core_codec_encode_func_t)jarg17; - arg18 = (switch_core_codec_decode_func_t)jarg18; - arg19 = (switch_core_codec_destroy_func_t)jarg19; - switch_core_codec_add_implementation(arg1,arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_ready(void * jarg1) { - int jresult ; - switch_codec_t *arg1 = (switch_codec_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_codec_t *)jarg1; - result = (switch_bool_t)switch_core_codec_ready(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_secondary_recover_callback(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_core_recover_callback_t result; - - arg1 = (char *)jarg1; - result = (switch_core_recover_callback_t)switch_core_get_secondary_recover_callback((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_register_secondary_recover_callback(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_core_recover_callback_t arg2 = (switch_core_recover_callback_t) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_core_recover_callback_t)jarg2; - result = (switch_status_t)switch_core_register_secondary_recover_callback((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_unregister_secondary_recover_callback(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - switch_core_unregister_secondary_recover_callback((char const *)arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() { - int jresult ; - int result; - - result = (int)(1024); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_loop() { - switch_console_loop(); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_stream_raw_write(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; - uint8_t *arg2 = (uint8_t *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_status_t result; - - arg1 = (switch_stream_handle_t *)jarg1; - arg2 = (uint8_t *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (switch_status_t)switch_console_stream_raw_write(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_write_file_contents(void * jarg1, char * jarg2) { - int jresult ; - switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_stream_handle_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_stream_write_file_contents(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_init(void * jarg1) { - int jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t *)jarg1; - result = (switch_status_t)switch_console_init(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_shutdown() { - int jresult ; - switch_status_t result; - - result = (switch_status_t)switch_console_shutdown(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_add_complete_func(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_console_complete_callback_t arg2 = (switch_console_complete_callback_t) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_console_complete_callback_t)jarg2; - result = (switch_status_t)switch_console_add_complete_func((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_del_complete_func(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - result = (switch_status_t)switch_console_del_complete_func((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_run_complete_func(char * jarg1, char * jarg2, char * jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_console_callback_match_t **arg4 = (switch_console_callback_match_t **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_console_callback_match_t **)jarg4; - result = (switch_status_t)switch_console_run_complete_func((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_push_match_unique(void * jarg1, char * jarg2) { - switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_console_callback_match_t **)jarg1; - arg2 = (char *)jarg2; - switch_console_push_match_unique(arg1,(char const *)arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_push_match(void * jarg1, char * jarg2) { - switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_console_callback_match_t **)jarg1; - arg2 = (char *)jarg2; - switch_console_push_match(arg1,(char const *)arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_free_matches(void * jarg1) { - switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; - - arg1 = (switch_console_callback_match_t **)jarg1; - switch_console_free_matches(arg1); -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_console_complete(char * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { - unsigned char jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - FILE *arg3 = (FILE *) 0 ; - switch_stream_handle_t *arg4 = (switch_stream_handle_t *) 0 ; - switch_xml_t arg5 = (switch_xml_t) 0 ; - unsigned char result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (FILE *)jarg3; - arg4 = (switch_stream_handle_t *)jarg4; - arg5 = (switch_xml_t)jarg5; - result = (unsigned char)switch_console_complete((char const *)arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_sort_matches(void * jarg1) { - switch_console_callback_match_t *arg1 = (switch_console_callback_match_t *) 0 ; - - arg1 = (switch_console_callback_match_t *)jarg1; - switch_console_sort_matches(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_save_history() { - switch_console_save_history(); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_expand_alias(char * jarg1, char * jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_console_expand_alias(arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_execute(char * jarg1, int jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - switch_stream_handle_t *arg3 = (switch_stream_handle_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - arg3 = (switch_stream_handle_t *)jarg3; - result = (switch_status_t)switch_console_execute(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_UNSAFE_get() { - char * jresult ; - char *result = 0 ; - -result = (char *)("\r\n #%&+:;<=>?@[\\]^`{|}\""); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_toupper(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_toupper(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_tolower(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_tolower(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_toupper_max(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - switch_toupper_max(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_tolower_max(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - switch_tolower_max(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_old_switch_toupper(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)old_switch_toupper(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_old_switch_tolower(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)old_switch_tolower(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isalnum(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isalnum(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isalpha(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isalpha(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_iscntrl(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_iscntrl(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isdigit(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isdigit(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isgraph(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isgraph(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_islower(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_islower(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isprint(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isprint(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ispunct(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_ispunct(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isspace(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isspace(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isupper(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isupper(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isxdigit(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_isxdigit(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ip_t_v4_set(void * jarg1, unsigned long jarg2) { - ip_t *arg1 = (ip_t *) 0 ; - uint32_t arg2 ; - - arg1 = (ip_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->v4 = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_ip_t_v4_get(void * jarg1) { - unsigned long jresult ; - ip_t *arg1 = (ip_t *) 0 ; - uint32_t result; - - arg1 = (ip_t *)jarg1; - result = (uint32_t) ((arg1)->v4); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ip_t_v6_set(void * jarg1, void * jarg2) { - ip_t *arg1 = (ip_t *) 0 ; - in6_addr arg2 ; - in6_addr *argp2 ; - - arg1 = (ip_t *)jarg1; - argp2 = (in6_addr *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null in6_addr", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->v6 = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_ip_t_v6_get(void * jarg1) { - void * jresult ; - ip_t *arg1 = (ip_t *) 0 ; - in6_addr result; - - arg1 = (ip_t *)jarg1; - result = ((arg1)->v6); - jresult = new in6_addr((const in6_addr &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ip_t() { - void * jresult ; - ip_t *result = 0 ; - - result = (ip_t *)new ip_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_ip_t(void * jarg1) { - ip_t *arg1 = (ip_t *) 0 ; - - arg1 = (ip_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_testv6_subnet(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - ip_t arg1 ; - ip_t arg2 ; - ip_t arg3 ; - ip_t *argp1 ; - ip_t *argp2 ; - ip_t *argp3 ; - switch_bool_t result; - - argp1 = (ip_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null ip_t", 0); - return 0; - } - arg1 = *argp1; - argp2 = (ip_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null ip_t", 0); - return 0; - } - arg2 = *argp2; - argp3 = (ip_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null ip_t", 0); - return 0; - } - arg3 = *argp3; - result = (switch_bool_t)switch_testv6_subnet(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_print_host(void * jarg1, char * jarg2, void * jarg3) { - char * jresult ; - switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - char *result = 0 ; - - arg1 = (switch_sockaddr_t *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (char *)switch_print_host(arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMAX_get() { - int jresult ; - int result; - - result = (int)(32767); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMIN_get() { - int jresult ; - int result; - - result = (int)(-32768); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp__zstr(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)_zstr((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_moh(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_is_moh((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strchr_strict(char * jarg1, char jarg2, char * jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char arg2 ; - char *arg3 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char)jarg2; - arg3 = (char *)jarg3; - result = (char *)switch_strchr_strict((char const *)arg1,arg2,(char const *)arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_has_escaped_data(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_string_has_escaped_data((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_b64_encode(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - unsigned char *arg1 = (unsigned char *) 0 ; - switch_size_t arg2 ; - unsigned char *arg3 = (unsigned char *) 0 ; - switch_size_t arg4 ; - switch_size_t *argp2 ; - switch_size_t *argp4 ; - switch_status_t result; - - arg1 = (unsigned char *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - arg3 = (unsigned char *)jarg3; - argp4 = (switch_size_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg4 = *argp4; - result = (switch_status_t)switch_b64_encode(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_b64_decode(char * jarg1, char * jarg2, void * jarg3) { - void * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_b64_decode(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_amp_encode(char * jarg1, char * jarg2, void * jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (char *)switch_amp_encode(arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_digit_string(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_is_digit_string((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_switch_itodtmf(char jarg1) { - char jresult ; - char arg1 ; - char result; - - arg1 = (char)jarg1; - result = (char)switch_itodtmf(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmftoi(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_dtmftoi(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_known_bitrate(unsigned char jarg1) { - unsigned long jresult ; - switch_payload_t arg1 ; - uint32_t result; - - arg1 = (switch_payload_t)jarg1; - result = (uint32_t)switch_known_bitrate(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fd_read_line(int jarg1, char * jarg2, void * jarg3) { - void * jresult ; - int arg1 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (int)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_fd_read_line(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fd_read_dline(int jarg1, void * jarg2, void * jarg3) { - void * jresult ; - int arg1 ; - char **arg2 = (char **) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - switch_size_t result; - - arg1 = (int)jarg1; - arg2 = (char **)jarg2; - arg3 = (switch_size_t *)jarg3; - result = switch_fd_read_dline(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fp_read_dline(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - FILE *arg1 = (FILE *) 0 ; - char **arg2 = (char **) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - switch_size_t result; - - arg1 = (FILE *)jarg1; - arg2 = (char **)jarg2; - arg3 = (switch_size_t *)jarg3; - result = switch_fp_read_dline(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_alloc(void * jarg1, void * jarg2) { - int jresult ; - switch_frame_t **arg1 = (switch_frame_t **) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - switch_status_t result; - - arg1 = (switch_frame_t **)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - result = (switch_status_t)switch_frame_alloc(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_dup(void * jarg1, void * jarg2) { - int jresult ; - switch_frame_t *arg1 = (switch_frame_t *) 0 ; - switch_frame_t **arg2 = (switch_frame_t **) 0 ; - switch_status_t result; - - arg1 = (switch_frame_t *)jarg1; - arg2 = (switch_frame_t **)jarg2; - result = (switch_status_t)switch_frame_dup(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_free(void * jarg1) { - int jresult ; - switch_frame_t **arg1 = (switch_frame_t **) 0 ; - switch_status_t result; - - arg1 = (switch_frame_t **)jarg1; - result = (switch_status_t)switch_frame_free(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_number(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_is_number((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_leading_number(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_is_leading_number((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_parameter(char * jarg1, char * jarg2, void * jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_memory_pool_t *arg3 = (switch_memory_pool_t *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_memory_pool_t *)jarg3; - result = (char *)switch_find_parameter((char const *)arg1,(char const *)arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_true(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_true((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_true_byte(char * jarg1) { - unsigned char jresult ; - char *arg1 = (char *) 0 ; - switch_byte_t result; - - arg1 = (char *)jarg1; - result = (switch_byte_t)switch_true_byte((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_false(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_false((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_resolve_host(char * jarg1, char * jarg2, unsigned long jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (size_t)jarg3; - result = (switch_status_t)switch_resolve_host((char const *)arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_find_local_ip(char * jarg1, int jarg2, void * jarg3, int jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - arg3 = (int *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_find_local_ip(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_find_interface_ip(char * jarg1, int jarg2, void * jarg3, char * jarg4, int jarg5) { - int jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - int *arg3 = (int *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - arg3 = (int *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (switch_status_t)switch_find_interface_ip(arg1,arg2,arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { - char * jresult ; - char *arg1 = (char *) 0 ; - switch_size_t arg2 ; - sockaddr *arg3 = (sockaddr *) 0 ; - socklen_t arg4 ; - switch_size_t *argp2 ; - socklen_t *argp4 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - arg3 = (sockaddr *)jarg3; - argp4 = (socklen_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null socklen_t", 0); - return 0; - } - arg4 = *argp4; - result = (char *)get_addr(arg1,arg2,arg3,arg4); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr6(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { - char * jresult ; - char *arg1 = (char *) 0 ; - switch_size_t arg2 ; - sockaddr_in6 *arg3 = (sockaddr_in6 *) 0 ; - socklen_t arg4 ; - switch_size_t *argp2 ; - socklen_t *argp4 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - arg3 = (sockaddr_in6 *)jarg3; - argp4 = (socklen_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null socklen_t", 0); - return 0; - } - arg4 = *argp4; - result = (char *)get_addr6(arg1,arg2,arg3,arg4); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_get_addr_int(void * jarg1) { - int jresult ; - switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; - int result; - - arg1 = (switch_sockaddr_t *)jarg1; - result = (int)get_addr_int(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cmp_addr(void * jarg1, void * jarg2) { - int jresult ; - switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; - switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; - int result; - - arg1 = (switch_sockaddr_t *)jarg1; - arg2 = (switch_sockaddr_t *)jarg2; - result = (int)switch_cmp_addr(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_get_port(void * jarg1) { - unsigned short jresult ; - sockaddr *arg1 = (sockaddr *) 0 ; - unsigned short result; - - arg1 = (sockaddr *)jarg1; - result = (unsigned short)get_port(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_build_uri(char * jarg1, void * jarg2, char * jarg3, char * jarg4, void * jarg5, int jarg6) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_size_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_sockaddr_t *arg5 = (switch_sockaddr_t *) 0 ; - int arg6 ; - switch_size_t *argp2 ; - int result; - - arg1 = (char *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_sockaddr_t *)jarg5; - arg6 = (int)jarg6; - result = (int)switch_build_uri(arg1,arg2,(char const *)arg3,(char const *)arg4,(switch_sockaddr_t const *)arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_errno_is_break(int jarg1) { - int jresult ; - int arg1 ; - int result; - - arg1 = (int)jarg1; - result = (int)switch_errno_is_break(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_priority_name(int jarg1) { - char * jresult ; - switch_priority_t arg1 ; - char *result = 0 ; - - arg1 = (switch_priority_t)jarg1; - result = (char *)switch_priority_name(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_switch_rfc2833_to_char(int jarg1) { - char jresult ; - int arg1 ; - char result; - - arg1 = (int)jarg1; - result = (char)switch_rfc2833_to_char(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_char_to_rfc2833(char jarg1) { - unsigned char jresult ; - char arg1 ; - unsigned char result; - - arg1 = (char)jarg1; - result = (unsigned char)switch_char_to_rfc2833(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sanitize_number(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_sanitize_number(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check(char * jarg1, int jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t arg2 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_bool_t)switch_string_var_check(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check_const(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_string_var_check_const((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_var_clean_string(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_var_clean_string(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_string(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_clean_string(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_name_string(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_clean_name_string(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_safe_atoi(char * jarg1, int jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - result = (int)switch_safe_atoi((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_safe_strdup(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_safe_strdup((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_lc_strdup(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_lc_strdup((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_uc_strdup(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_uc_strdup((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_strstr(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_bool_t)switch_strstr(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_str_time(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_time_t result; - - arg1 = (char *)jarg1; - result = switch_str_time((char const *)arg1); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string(char * jarg1, char jarg2, void * jarg3, unsigned int jarg4) { - unsigned int jresult ; - char *arg1 = (char *) 0 ; - char arg2 ; - char **arg3 = (char **) 0 ; - unsigned int arg4 ; - unsigned int result; - - arg1 = (char *)jarg1; - arg2 = (char)jarg2; - arg3 = (char **)jarg3; - arg4 = (unsigned int)jarg4; - result = (unsigned int)switch_separate_string(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string_string(char * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) { - unsigned int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char **arg3 = (char **) 0 ; - unsigned int arg4 ; - unsigned int result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char **)jarg3; - arg4 = (unsigned int)jarg4; - result = (unsigned int)switch_separate_string_string(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_spaces(char * jarg1, int jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t arg2 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (char *)switch_strip_spaces(arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_whitespace(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_strip_whitespace((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_commas(char * jarg1, char * jarg2, void * jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (char *)switch_strip_commas(arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_nonnumerics(char * jarg1, char * jarg2, void * jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (char *)switch_strip_nonnumerics(arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_separate_paren_args(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_separate_paren_args(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_stristr(char * jarg1, char * jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_stristr((char const *)arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_lan_addr(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_is_lan_addr((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_replace_char(char * jarg1, char jarg2, char jarg3, int jarg4) { - char * jresult ; - char *arg1 = (char *) 0 ; - char arg2 ; - char arg3 ; - switch_bool_t arg4 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char)jarg2; - arg3 = (char)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (char *)switch_replace_char(arg1,arg2,arg3,arg4); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ast2regex(char * jarg1, char * jarg2, unsigned long jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (size_t)jarg3; - result = (switch_bool_t)switch_ast2regex((char const *)arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_char(void * jarg1, char * jarg2, char * jarg3, char jarg4) { - char * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char arg4 ; - char *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char)jarg4; - result = (char *)switch_escape_char(arg1,arg2,(char const *)arg3,arg4); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_string(char * jarg1, char * jarg2, void * jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (char *)switch_escape_string((char const *)arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_string_pool(char * jarg1, void * jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - result = (char *)switch_escape_string_pool((char const *)arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_socket_waitfor(void * jarg1, int jarg2) { - int jresult ; - switch_pollfd_t *arg1 = (switch_pollfd_t *) 0 ; - int arg2 ; - int result; - - arg1 = (switch_pollfd_t *)jarg1; - arg2 = (int)jarg2; - result = (int)switch_socket_waitfor(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cut_path(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_cut_path((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_string_replace(char * jarg1, char * jarg2, char * jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (char *)switch_string_replace((char const *)arg1,(char const *)arg2,(char const *)arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_match(char * jarg1, unsigned long jarg2, char * jarg3, unsigned long jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - size_t arg2 ; - char *arg3 = (char *) 0 ; - size_t arg4 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (size_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (size_t)jarg4; - result = (switch_status_t)switch_string_match((char const *)arg1,arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_strcasecmp_any(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - void *arg2 = 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_strcasecmp_any((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_util_quote_shell_arg((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg_pool(char * jarg1, void * jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - result = (char *)switch_util_quote_shell_arg_pool((char const *)arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_needs_url_encode(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_needs_url_encode((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (size_t)jarg3; - result = (char *)switch_url_encode((char const *)arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_decode(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_url_decode(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_simple_email(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - result = (switch_bool_t)switch_simple_email((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_end_paren(char * jarg1, char jarg2, char jarg3) { - char * jresult ; - char *arg1 = (char *) 0 ; - char arg2 ; - char arg3 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char)jarg2; - arg3 = (char)jarg3; - result = (char *)switch_find_end_paren((char const *)arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_separate_file_params(char * jarg1, void * jarg2, void * jarg3) { - char *arg1 = (char *) 0 ; - char **arg2 = (char **) 0 ; - char **arg3 = (char **) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char **)jarg2; - arg3 = (char **)jarg3; - switch_separate_file_params((char const *)arg1,arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_file_path(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_is_file_path((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_cidr(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - ip_t *arg2 = (ip_t *) 0 ; - ip_t *arg3 = (ip_t *) 0 ; - uint32_t *arg4 = (uint32_t *) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (ip_t *)jarg2; - arg3 = (ip_t *)jarg3; - arg4 = (uint32_t *)jarg4; - result = (int)switch_parse_cidr((char const *)arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_create(void * jarg1, char * jarg2, int jarg3, void * jarg4) { - int jresult ; - switch_network_list_t **arg1 = (switch_network_list_t **) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - switch_memory_pool_t *arg4 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_network_list_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - arg4 = (switch_memory_pool_t *)jarg4; - result = (switch_status_t)switch_network_list_create(arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_cidr_token(void * jarg1, char * jarg2, int jarg3, char * jarg4) { - int jresult ; - switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_network_list_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_network_list_add_cidr_token(arg1,(char const *)arg2,arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_host_mask(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_bool_t arg4 ; - switch_status_t result; - - arg1 = (switch_network_list_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (switch_status_t)switch_network_list_add_host_mask(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_validate_ip_token(void * jarg1, unsigned long jarg2, void * jarg3) { - int jresult ; - switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; - uint32_t arg2 ; - char **arg3 = (char **) 0 ; - switch_bool_t result; - - arg1 = (switch_network_list_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (char **)jarg3; - result = (switch_bool_t)switch_network_list_validate_ip_token(arg1,arg2,(char const **)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_validate_ip6_token(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; - ip_t arg2 ; - char **arg3 = (char **) 0 ; - ip_t *argp2 ; - switch_bool_t result; - - arg1 = (switch_network_list_t *)jarg1; - argp2 = (ip_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null ip_t", 0); - return 0; - } - arg2 = *argp2; - arg3 = (char **)jarg3; - result = (switch_bool_t)switch_network_list_validate_ip6_token(arg1,arg2,(char const **)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_dow_int2str(int jarg1) { - char * jresult ; - int arg1 ; - char *result = 0 ; - - arg1 = (int)jarg1; - result = (char *)switch_dow_int2str(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_str2int(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - int result; - - arg1 = (char *)jarg1; - result = (int)switch_dow_str2int((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_cmp(char * jarg1, int jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - result = (switch_bool_t)switch_dow_cmp((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_number_cmp(char * jarg1, int jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - result = (int)switch_number_cmp((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_tod_cmp(char * jarg1, int jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - int arg2 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (int)jarg2; - result = (int)switch_tod_cmp((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_fulldate_cmp(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_time_t *arg2 = (switch_time_t *) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (switch_time_t *)jarg2; - result = (int)switch_fulldate_cmp((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_date(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { - char *arg1 = (char *) 0 ; - int *arg2 = (int *) 0 ; - int *arg3 = (int *) 0 ; - int *arg4 = (int *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (int *)jarg2; - arg3 = (int *)jarg3; - arg4 = (int *)jarg4; - switch_split_date((char const *)arg1,arg2,arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_time(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { - char *arg1 = (char *) 0 ; - int *arg2 = (int *) 0 ; - int *arg3 = (int *) 0 ; - int *arg4 = (int *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (int *)jarg2; - arg3 = (int *)jarg3; - arg4 = (int *)jarg4; - switch_split_time((char const *)arg1,arg2,arg3,arg4); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_split_user_domain(char * jarg1, void * jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char **arg2 = (char **) 0 ; - char **arg3 = (char **) 0 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (char **)jarg2; - arg3 = (char **)jarg3; - result = (int)switch_split_user_domain(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_uuid_str(char * jarg1, void * jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - result = (char *)switch_uuid_str(arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_format_number(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)switch_format_number((char const *)arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_atoui(char * jarg1) { - unsigned int jresult ; - char *arg1 = (char *) 0 ; - unsigned int result; - - arg1 = (char *)jarg1; - result = (unsigned int)switch_atoui((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_atoul(char * jarg1) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - unsigned long result; - - arg1 = (char *)jarg1; - result = (unsigned long)switch_atoul((char const *)arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strerror_r(int jarg1, char * jarg2, void * jarg3) { - char * jresult ; - int arg1 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - char *result = 0 ; - - arg1 = (int)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (char *)switch_strerror_r(arg1,arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_sock(int jarg1, unsigned long jarg2, int jarg3) { - int jresult ; - switch_os_socket_t arg1 ; - uint32_t arg2 ; - switch_poll_t arg3 ; - int result; - - arg1 = (switch_os_socket_t)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (switch_poll_t)jarg3; - result = (int)switch_wait_sock(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_socklist(void * jarg1, unsigned long jarg2, unsigned long jarg3) { - int jresult ; - switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - int result; - - arg1 = (switch_waitlist_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - result = (int)switch_wait_socklist(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_method_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->method = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->method, (const char *)arg2); - } else { - arg1->method = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_method_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->method); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_uri_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->uri = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->uri, (const char *)arg2); - } else { - arg1->uri = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_uri_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->uri); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_qs_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->qs = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->qs, (const char *)arg2); - } else { - arg1->qs = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_qs_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->qs); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_host_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->host = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->host, (const char *)arg2); - } else { - arg1->host = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_host_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->host); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_port_set(void * jarg1, unsigned short jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_port_t arg2 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (switch_port_t)jarg2; - if (arg1) (arg1)->port = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_http_request_t_port_get(void * jarg1) { - unsigned short jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_port_t result; - - arg1 = (switch_http_request_t *)jarg1; - result = (switch_port_t) ((arg1)->port); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_from_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->from = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->from, (const char *)arg2); - } else { - arg1->from = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_from_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->from); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_agent_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->user_agent = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->user_agent, (const char *)arg2); - } else { - arg1->user_agent = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_agent_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->user_agent); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_referer_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->referer = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->referer, (const char *)arg2); - } else { - arg1->referer = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_referer_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->referer); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->user = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->user, (const char *)arg2); - } else { - arg1->user = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->user); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_keepalive_set(void * jarg1, int jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - if (arg1) (arg1)->keepalive = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_request_t_keepalive_get(void * jarg1) { - int jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_http_request_t *)jarg1; - result = (switch_bool_t) ((arg1)->keepalive); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_type_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->content_type = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->content_type, (const char *)arg2); - } else { - arg1->content_type = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_content_type_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->content_type); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_length_set(void * jarg1, void * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_http_request_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->content_length = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_content_length_get(void * jarg1) { - void * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t result; - - arg1 = (switch_http_request_t *)jarg1; - result = ((arg1)->content_length); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_set(void * jarg1, void * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_http_request_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->bytes_header = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_get(void * jarg1) { - void * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t result; - - arg1 = (switch_http_request_t *)jarg1; - result = ((arg1)->bytes_header); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_set(void * jarg1, void * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_http_request_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->bytes_read = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_get(void * jarg1) { - void * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t result; - - arg1 = (switch_http_request_t *)jarg1; - result = ((arg1)->bytes_read); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_set(void * jarg1, void * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_http_request_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->bytes_buffered = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_get(void * jarg1) { - void * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_size_t result; - - arg1 = (switch_http_request_t *)jarg1; - result = ((arg1)->bytes_buffered); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_headers_set(void * jarg1, void * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - if (arg1) (arg1)->headers = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_headers_get(void * jarg1) { - void * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_event_t *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (switch_event_t *) ((arg1)->headers); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_data_set(void * jarg1, void * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->user_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_user_data_get(void * jarg1) { - void * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (void *) ((arg1)->user_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__buffer_set(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->_buffer) delete [] arg1->_buffer; - if (arg2) { - arg1->_buffer = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->_buffer, (const char *)arg2); - } else { - arg1->_buffer = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t__buffer_get(void * jarg1) { - char * jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_http_request_t *)jarg1; - result = (char *) ((arg1)->_buffer); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_set(void * jarg1, int jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - if (arg1) (arg1)->_destroy_headers = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_get(void * jarg1) { - int jresult ; - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_http_request_t *)jarg1; - result = (switch_bool_t) ((arg1)->_destroy_headers); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_http_request_t() { - void * jresult ; - switch_http_request_t *result = 0 ; - - result = (switch_http_request_t *)new switch_http_request_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_http_request_t(void * jarg1) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_parse_header(char * jarg1, unsigned long jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - uint32_t arg2 ; - switch_http_request_t *arg3 = (switch_http_request_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (switch_http_request_t *)jarg3; - result = (switch_status_t)switch_http_parse_header(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_free_request(void * jarg1) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - switch_http_free_request(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_dump_request(void * jarg1) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - switch_http_dump_request(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_parse_qs(void * jarg1, char * jarg2) { - switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_http_request_t *)jarg1; - arg2 = (char *)jarg2; - switch_http_parse_qs(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * jarg2) { - profile_node_t *arg1 = (profile_node_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (profile_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->var) delete [] arg1->var; - if (arg2) { - arg1->var = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->var, (const char *)arg2); - } else { - arg1->var = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_profile_node_t_var_get(void * jarg1) { - char * jresult ; - profile_node_t *arg1 = (profile_node_t *) 0 ; - char *result = 0 ; - - arg1 = (profile_node_t *)jarg1; - result = (char *) ((arg1)->var); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_val_set(void * jarg1, char * jarg2) { - profile_node_t *arg1 = (profile_node_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (profile_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->val) delete [] arg1->val; - if (arg2) { - arg1->val = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->val, (const char *)arg2); - } else { - arg1->val = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_profile_node_t_val_get(void * jarg1) { - char * jresult ; - profile_node_t *arg1 = (profile_node_t *) 0 ; - char *result = 0 ; - - arg1 = (profile_node_t *)jarg1; - result = (char *) ((arg1)->val); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_next_set(void * jarg1, void * jarg2) { - profile_node_t *arg1 = (profile_node_t *) 0 ; - profile_node_s *arg2 = (profile_node_s *) 0 ; - - arg1 = (profile_node_t *)jarg1; - arg2 = (profile_node_s *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_profile_node_t_next_get(void * jarg1) { - void * jresult ; - profile_node_t *arg1 = (profile_node_t *) 0 ; - profile_node_s *result = 0 ; - - arg1 = (profile_node_t *)jarg1; - result = (profile_node_s *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_profile_node_t() { - void * jresult ; - profile_node_t *result = 0 ; - - result = (profile_node_t *)new profile_node_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_profile_node_t(void * jarg1) { - profile_node_t *arg1 = (profile_node_t *) 0 ; - - arg1 = (profile_node_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_username_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->username = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->username, (const char *)arg2); - } else { - arg1->username = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_username_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->username); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_dialplan_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->dialplan = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->dialplan, (const char *)arg2); - } else { - arg1->dialplan = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_dialplan_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->dialplan); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_id_name_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->caller_id_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->caller_id_name, (const char *)arg2); - } else { - arg1->caller_id_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_caller_id_name_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->caller_id_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_id_number_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->caller_id_number = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->caller_id_number, (const char *)arg2); - } else { - arg1->caller_id_number = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_caller_id_number_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->caller_id_number); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_name_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->orig_caller_id_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->orig_caller_id_name, (const char *)arg2); - } else { - arg1->orig_caller_id_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_name_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->orig_caller_id_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_number_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->orig_caller_id_number = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->orig_caller_id_number, (const char *)arg2); - } else { - arg1->orig_caller_id_number = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_number_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->orig_caller_id_number); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_callee_id_name_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->callee_id_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->callee_id_name, (const char *)arg2); - } else { - arg1->callee_id_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_callee_id_name_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->callee_id_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_callee_id_number_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->callee_id_number = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->callee_id_number, (const char *)arg2); - } else { - arg1->callee_id_number = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_callee_id_number_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->callee_id_number); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_ton_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->caller_ton = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_caller_ton_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->caller_ton); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_numplan_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->caller_numplan = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_caller_numplan_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->caller_numplan); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_network_addr_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->network_addr = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->network_addr, (const char *)arg2); - } else { - arg1->network_addr = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_network_addr_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->network_addr); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->ani = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->ani, (const char *)arg2); - } else { - arg1->ani = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_ani_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->ani); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_ton_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->ani_ton = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_ani_ton_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->ani_ton); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_numplan_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->ani_numplan = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_ani_numplan_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->ani_numplan); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_aniii_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->aniii = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->aniii, (const char *)arg2); - } else { - arg1->aniii = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_aniii_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->aniii); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->rdnis = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->rdnis, (const char *)arg2); - } else { - arg1->rdnis = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_rdnis_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->rdnis); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_ton_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->rdnis_ton = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_rdnis_ton_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->rdnis_ton); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_numplan_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->rdnis_numplan = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_rdnis_numplan_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->rdnis_numplan); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->destination_number) delete [] arg1->destination_number; - if (arg2) { - arg1->destination_number = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->destination_number, (const char *)arg2); - } else { - arg1->destination_number = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_destination_number_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->destination_number); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_ton_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->destination_number_ton = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_destination_number_ton_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->destination_number_ton); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_numplan_set(void * jarg1, unsigned char jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->destination_number_numplan = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_destination_number_numplan_get(void * jarg1) { - unsigned char jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - uint8_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (uint8_t) ((arg1)->destination_number_numplan); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_source_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->source = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->source, (const char *)arg2); - } else { - arg1->source = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_source_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->source); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_chan_name_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->chan_name) delete [] arg1->chan_name; - if (arg2) { - arg1->chan_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->chan_name, (const char *)arg2); - } else { - arg1->chan_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_chan_name_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->chan_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_uuid_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->uuid) delete [] arg1->uuid; - if (arg2) { - arg1->uuid = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->uuid, (const char *)arg2); - } else { - arg1->uuid = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_uuid_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->uuid); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_context_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->context = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->context, (const char *)arg2); - } else { - arg1->context = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_context_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->context); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_profile_index_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->profile_index = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->profile_index, (const char *)arg2); - } else { - arg1->profile_index = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_profile_index_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->profile_index); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_flags_set(void * jarg1, unsigned long jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile_flag_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_caller_profile_flag_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_caller_profile_flags_get(void * jarg1) { - unsigned long jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile_flag_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_caller_profile_flag_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_originator_caller_profile_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_caller_profile *)jarg2; - if (arg1) (arg1)->originator_caller_profile = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_originator_caller_profile_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_caller_profile *) ((arg1)->originator_caller_profile); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_originatee_caller_profile_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_caller_profile *)jarg2; - if (arg1) (arg1)->originatee_caller_profile = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_originatee_caller_profile_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_caller_profile *) ((arg1)->originatee_caller_profile); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_profile_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_caller_profile *)jarg2; - if (arg1) (arg1)->origination_caller_profile = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_profile_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_caller_profile *) ((arg1)->origination_caller_profile); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_hunt_caller_profile_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_caller_profile *)jarg2; - if (arg1) (arg1)->hunt_caller_profile = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_hunt_caller_profile_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_caller_profile *) ((arg1)->hunt_caller_profile); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_times_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_channel_timetable *)jarg2; - if (arg1) (arg1)->times = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_times_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_channel_timetable *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_channel_timetable *) ((arg1)->times); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_old_times_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_channel_timetable *)jarg2; - if (arg1) (arg1)->old_times = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_old_times_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_channel_timetable *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_channel_timetable *) ((arg1)->old_times); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_extension_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_extension *arg2 = (switch_caller_extension *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_caller_extension *)jarg2; - if (arg1) (arg1)->caller_extension = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_caller_extension_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_extension *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_caller_extension *) ((arg1)->caller_extension); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_pool_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_pool_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_next_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_caller_profile *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_next_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_caller_profile *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_caller_profile *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_direction_set(void * jarg1, int jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_call_direction_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_call_direction_t)jarg2; - if (arg1) (arg1)->direction = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_direction_get(void * jarg1) { - int jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_call_direction_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_call_direction_t) ((arg1)->direction); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_logical_direction_set(void * jarg1, int jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_call_direction_t arg2 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (switch_call_direction_t)jarg2; - if (arg1) (arg1)->logical_direction = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_logical_direction_get(void * jarg1) { - int jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - switch_call_direction_t result; - - arg1 = (switch_caller_profile *)jarg1; - result = (switch_call_direction_t) ((arg1)->logical_direction); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_soft_set(void * jarg1, void * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - profile_node_t *arg2 = (profile_node_t *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (profile_node_t *)jarg2; - if (arg1) (arg1)->soft = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_soft_get(void * jarg1) { - void * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - profile_node_t *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (profile_node_t *) ((arg1)->soft); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->uuid_str) delete [] arg1->uuid_str; - if (arg2) { - arg1->uuid_str = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->uuid_str, (const char *)arg2); - } else { - arg1->uuid_str = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->uuid_str); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_clone_of_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->clone_of) delete [] arg1->clone_of; - if (arg2) { - arg1->clone_of = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->clone_of, (const char *)arg2); - } else { - arg1->clone_of = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_clone_of_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->clone_of); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_set(void * jarg1, char * jarg2) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->transfer_source) delete [] arg1->transfer_source; - if (arg2) { - arg1->transfer_source = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->transfer_source, (const char *)arg2); - } else { - arg1->transfer_source = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_get(void * jarg1) { - char * jresult ; - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile *)jarg1; - result = (char *) ((arg1)->transfer_source); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_profile() { - void * jresult ; - switch_caller_profile *result = 0 ; - - result = (switch_caller_profile *)new switch_caller_profile(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_profile(void * jarg1) { - switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; - - arg1 = (switch_caller_profile *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_name_set(void * jarg1, char * jarg2) { - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_application *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->application_name) delete [] arg1->application_name; - if (arg2) { - arg1->application_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->application_name, (const char *)arg2); - } else { - arg1->application_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_application_application_name_get(void * jarg1) { - char * jresult ; - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_application *)jarg1; - result = (char *) ((arg1)->application_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_data_set(void * jarg1, char * jarg2) { - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_application *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->application_data) delete [] arg1->application_data; - if (arg2) { - arg1->application_data = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->application_data, (const char *)arg2); - } else { - arg1->application_data = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_application_application_data_get(void * jarg1) { - char * jresult ; - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_application *)jarg1; - result = (char *) ((arg1)->application_data); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_function_set(void * jarg1, void * jarg2) { - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - switch_application_function_t arg2 = (switch_application_function_t) 0 ; - - arg1 = (switch_caller_application *)jarg1; - arg2 = (switch_application_function_t)jarg2; - if (arg1) (arg1)->application_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_application_application_function_get(void * jarg1) { - void * jresult ; - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - switch_application_function_t result; - - arg1 = (switch_caller_application *)jarg1; - result = (switch_application_function_t) ((arg1)->application_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_next_set(void * jarg1, void * jarg2) { - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - switch_caller_application *arg2 = (switch_caller_application *) 0 ; - - arg1 = (switch_caller_application *)jarg1; - arg2 = (switch_caller_application *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_application_next_get(void * jarg1) { - void * jresult ; - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - switch_caller_application *result = 0 ; - - arg1 = (switch_caller_application *)jarg1; - result = (switch_caller_application *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_application() { - void * jresult ; - switch_caller_application *result = 0 ; - - result = (switch_caller_application *)new switch_caller_application(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_application(void * jarg1) { - switch_caller_application *arg1 = (switch_caller_application *) 0 ; - - arg1 = (switch_caller_application *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_extension_name_set(void * jarg1, char * jarg2) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->extension_name) delete [] arg1->extension_name; - if (arg2) { - arg1->extension_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->extension_name, (const char *)arg2); - } else { - arg1->extension_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_extension_extension_name_get(void * jarg1) { - char * jresult ; - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_extension *)jarg1; - result = (char *) ((arg1)->extension_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_extension_number_set(void * jarg1, char * jarg2) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->extension_number) delete [] arg1->extension_number; - if (arg2) { - arg1->extension_number = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->extension_number, (const char *)arg2); - } else { - arg1->extension_number = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_extension_extension_number_get(void * jarg1) { - char * jresult ; - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_extension *)jarg1; - result = (char *) ((arg1)->extension_number); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_current_application_set(void * jarg1, void * jarg2) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_application_t *arg2 = (switch_caller_application_t *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - arg2 = (switch_caller_application_t *)jarg2; - if (arg1) (arg1)->current_application = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_current_application_get(void * jarg1) { - void * jresult ; - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_application_t *result = 0 ; - - arg1 = (switch_caller_extension *)jarg1; - result = (switch_caller_application_t *) ((arg1)->current_application); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_last_application_set(void * jarg1, void * jarg2) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_application_t *arg2 = (switch_caller_application_t *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - arg2 = (switch_caller_application_t *)jarg2; - if (arg1) (arg1)->last_application = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_last_application_get(void * jarg1) { - void * jresult ; - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_application_t *result = 0 ; - - arg1 = (switch_caller_extension *)jarg1; - result = (switch_caller_application_t *) ((arg1)->last_application); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_applications_set(void * jarg1, void * jarg2) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_application_t *arg2 = (switch_caller_application_t *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - arg2 = (switch_caller_application_t *)jarg2; - if (arg1) (arg1)->applications = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_applications_get(void * jarg1) { - void * jresult ; - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_application_t *result = 0 ; - - arg1 = (switch_caller_extension *)jarg1; - result = (switch_caller_application_t *) ((arg1)->applications); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_children_set(void * jarg1, void * jarg2) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - arg2 = (switch_caller_profile *)jarg2; - if (arg1) (arg1)->children = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_children_get(void * jarg1) { - void * jresult ; - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_profile *result = 0 ; - - arg1 = (switch_caller_extension *)jarg1; - result = (switch_caller_profile *) ((arg1)->children); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_next_set(void * jarg1, void * jarg2) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_extension *arg2 = (switch_caller_extension *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - arg2 = (switch_caller_extension *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_next_get(void * jarg1) { - void * jresult ; - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - switch_caller_extension *result = 0 ; - - arg1 = (switch_caller_extension *)jarg1; - result = (switch_caller_extension *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_extension() { - void * jresult ; - switch_caller_extension *result = 0 ; - - result = (switch_caller_extension *)new switch_caller_extension(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_extension(void * jarg1) { - switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; - - arg1 = (switch_caller_extension *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_new(void * jarg1, char * jarg2, char * jarg3) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_caller_extension_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_caller_extension_t *)switch_caller_extension_new(arg1,(char const *)arg2,(char const *)arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_extension_clone(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_caller_extension_t **arg1 = (switch_caller_extension_t **) 0 ; - switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; - switch_memory_pool_t *arg3 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_caller_extension_t **)jarg1; - arg2 = (switch_caller_extension_t *)jarg2; - arg3 = (switch_memory_pool_t *)jarg3; - result = (switch_status_t)switch_caller_extension_clone(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_add_application(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_caller_extension_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - switch_caller_extension_add_application(arg1,arg2,(char const *)arg3,(char const *)arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_add_application_printf(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - void *arg5 = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_caller_extension_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - switch_caller_extension_add_application_printf(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_get_field_by_name(void * jarg1, char * jarg2) { - char * jresult ; - switch_caller_profile_t *arg1 = (switch_caller_profile_t *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (switch_caller_profile_t *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_caller_get_field_by_name(arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_new(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, char * jarg12) { - void * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - char *arg10 = (char *) 0 ; - char *arg11 = (char *) 0 ; - char *arg12 = (char *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - arg10 = (char *)jarg10; - arg11 = (char *)jarg11; - arg12 = (char *)jarg12; - result = (switch_caller_profile_t *)switch_caller_profile_new(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,(char const *)arg11,(char const *)arg12); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_clone(void * jarg1, void * jarg2) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - result = (switch_caller_profile_t *)switch_caller_profile_clone(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_dup(void * jarg1, void * jarg2) { - void * jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - result = (switch_caller_profile_t *)switch_caller_profile_dup(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_event_set_data(void * jarg1, char * jarg2, void * jarg3) { - switch_caller_profile_t *arg1 = (switch_caller_profile_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_event_t *arg3 = (switch_event_t *) 0 ; - - arg1 = (switch_caller_profile_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_event_t *)jarg3; - switch_caller_profile_event_set_data(arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_codec_set(void * jarg1, void * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (switch_codec_t *)jarg2; - if (arg1) (arg1)->codec = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_codec_get(void * jarg1) { - void * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_frame *)jarg1; - result = (switch_codec_t *) ((arg1)->codec); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_source_set(void * jarg1, char * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->source = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->source, (const char *)arg2); - } else { - arg1->source = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_frame_source_get(void * jarg1) { - char * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - char *result = 0 ; - - arg1 = (switch_frame *)jarg1; - result = (char *) ((arg1)->source); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_packet_set(void * jarg1, void * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->packet = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_packet_get(void * jarg1) { - void * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - void *result = 0 ; - - arg1 = (switch_frame *)jarg1; - result = (void *) ((arg1)->packet); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_packetlen_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->packetlen = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_packetlen_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint32_t) ((arg1)->packetlen); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_extra_data_set(void * jarg1, void * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->extra_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_extra_data_get(void * jarg1) { - void * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - void *result = 0 ; - - arg1 = (switch_frame *)jarg1; - result = (void *) ((arg1)->extra_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_data_set(void * jarg1, void * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_data_get(void * jarg1) { - void * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - void *result = 0 ; - - arg1 = (switch_frame *)jarg1; - result = (void *) ((arg1)->data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_datalen_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->datalen = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_datalen_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint32_t) ((arg1)->datalen); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_buflen_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->buflen = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_buflen_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint32_t) ((arg1)->buflen); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_samples_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samples = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_samples_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint32_t) ((arg1)->samples); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_rate_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_rate_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint32_t) ((arg1)->rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_channels_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->channels = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_channels_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint32_t) ((arg1)->channels); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_payload_set(void * jarg1, unsigned char jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - switch_payload_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (switch_payload_t)jarg2; - if (arg1) (arg1)->payload = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_frame_payload_get(void * jarg1) { - unsigned char jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - switch_payload_t result; - - arg1 = (switch_frame *)jarg1; - result = (switch_payload_t) ((arg1)->payload); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_timestamp_set(void * jarg1, void * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_frame *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->timestamp = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_timestamp_get(void * jarg1) { - void * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - switch_size_t result; - - arg1 = (switch_frame *)jarg1; - result = ((arg1)->timestamp); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_seq_set(void * jarg1, unsigned short jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint16_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint16_t)jarg2; - if (arg1) (arg1)->seq = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_frame_seq_get(void * jarg1) { - unsigned short jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint16_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint16_t) ((arg1)->seq); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_ssrc_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->ssrc = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_ssrc_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - uint32_t result; - - arg1 = (switch_frame *)jarg1; - result = (uint32_t) ((arg1)->ssrc); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_m_set(void * jarg1, int jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (switch_bool_t)jarg2; - if (arg1) (arg1)->m = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_m_get(void * jarg1) { - int jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - switch_bool_t result; - - arg1 = (switch_frame *)jarg1; - result = (switch_bool_t) ((arg1)->m); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_flags_set(void * jarg1, unsigned long jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - switch_frame_flag_t arg2 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (switch_frame_flag_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_flags_get(void * jarg1) { - unsigned long jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - switch_frame_flag_t result; - - arg1 = (switch_frame *)jarg1; - result = (switch_frame_flag_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_user_data_set(void * jarg1, void * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->user_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_user_data_get(void * jarg1) { - void * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - void *result = 0 ; - - arg1 = (switch_frame *)jarg1; - result = (void *) ((arg1)->user_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_pmap_set(void * jarg1, void * jarg2) { - switch_frame *arg1 = (switch_frame *) 0 ; - payload_map_t *arg2 = (payload_map_t *) 0 ; - - arg1 = (switch_frame *)jarg1; - arg2 = (payload_map_t *)jarg2; - if (arg1) (arg1)->pmap = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_pmap_get(void * jarg1) { - void * jresult ; - switch_frame *arg1 = (switch_frame *) 0 ; - payload_map_t *result = 0 ; - - arg1 = (switch_frame *)jarg1; - result = (payload_map_t *) ((arg1)->pmap); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_frame() { - void * jresult ; - switch_frame *result = 0 ; - - result = (switch_frame *)new switch_frame(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_frame(void * jarg1) { - switch_frame *arg1 = (switch_frame *) 0 ; - - arg1 = (switch_frame *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_init_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_init = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_init_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_init); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_routing_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_routing = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_routing_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_routing); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_execute_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_execute = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_execute_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_execute); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_hangup_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_hangup = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_hangup_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_hangup); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_exchange_media_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_exchange_media = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_exchange_media_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_exchange_media); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_soft_execute_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_soft_execute = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_soft_execute_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_soft_execute); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_consume_media_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_consume_media = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_consume_media_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_consume_media); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_hibernate_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_hibernate = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_hibernate_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_hibernate); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_reset_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_reset = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_reset_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_reset); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_park_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_park = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_park_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_park); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_reporting_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_reporting = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_reporting_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_reporting); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_destroy_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (switch_state_handler_t)jarg2; - if (arg1) (arg1)->on_destroy = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_destroy_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - switch_state_handler_t result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (switch_state_handler_t) ((arg1)->on_destroy); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_flags_set(void * jarg1, int jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - int arg2 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_state_handler_table_flags_get(void * jarg1) { - int jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - int result; - - arg1 = (switch_state_handler_table *)jarg1; - result = (int) ((arg1)->flags); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_padding_set(void * jarg1, void * jarg2) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - void **arg2 ; - - arg1 = (switch_state_handler_table *)jarg1; - arg2 = (void **)jarg2; - { - size_t ii; - void * *b = (void * *) arg1->padding; - for (ii = 0; ii < (size_t)10; ii++) b[ii] = *((void * *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_padding_get(void * jarg1) { - void * jresult ; - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - void **result = 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - result = (void **)(void **) ((arg1)->padding); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_state_handler_table() { - void * jresult ; - switch_state_handler_table *result = 0 ; - - result = (switch_state_handler_table *)new switch_state_handler_table(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_state_handler_table(void * jarg1) { - switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; - - arg1 = (switch_state_handler_table *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_read_function_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_stream_handle_read_function_t arg2 = (switch_stream_handle_read_function_t) 0 ; - - arg1 = (switch_stream_handle *)jarg1; - arg2 = (switch_stream_handle_read_function_t)jarg2; - if (arg1) (arg1)->read_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_read_function_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_stream_handle_read_function_t result; - - arg1 = (switch_stream_handle *)jarg1; - result = (switch_stream_handle_read_function_t) ((arg1)->read_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_write_function_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_stream_handle_write_function_t arg2 = (switch_stream_handle_write_function_t) 0 ; - - arg1 = (switch_stream_handle *)jarg1; - arg2 = (switch_stream_handle_write_function_t)jarg2; - if (arg1) (arg1)->write_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_write_function_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_stream_handle_write_function_t result; - - arg1 = (switch_stream_handle *)jarg1; - result = (switch_stream_handle_write_function_t) ((arg1)->write_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_raw_write_function_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_stream_handle_raw_write_function_t arg2 = (switch_stream_handle_raw_write_function_t) 0 ; - - arg1 = (switch_stream_handle *)jarg1; - arg2 = (switch_stream_handle_raw_write_function_t)jarg2; - if (arg1) (arg1)->raw_write_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_raw_write_function_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_stream_handle_raw_write_function_t result; - - arg1 = (switch_stream_handle *)jarg1; - result = (switch_stream_handle_raw_write_function_t) ((arg1)->raw_write_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_stream_handle *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - void *result = 0 ; - - arg1 = (switch_stream_handle *)jarg1; - result = (void *) ((arg1)->data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_end_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_stream_handle *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->end = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_end_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - void *result = 0 ; - - arg1 = (switch_stream_handle *)jarg1; - result = (void *) ((arg1)->end); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_size_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_stream_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->data_size = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_size_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_stream_handle *)jarg1; - result = ((arg1)->data_size); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_len_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_stream_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->data_len = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_len_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_stream_handle *)jarg1; - result = ((arg1)->data_len); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_alloc_len_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_stream_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->alloc_len = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_alloc_len_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_stream_handle *)jarg1; - result = ((arg1)->alloc_len); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_alloc_chunk_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_stream_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->alloc_chunk = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_alloc_chunk_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_stream_handle *)jarg1; - result = ((arg1)->alloc_chunk); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_param_event_set(void * jarg1, void * jarg2) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_stream_handle *)jarg1; - arg2 = (switch_event_t *)jarg2; - if (arg1) (arg1)->param_event = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_param_event_get(void * jarg1) { - void * jresult ; - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - switch_event_t *result = 0 ; - - arg1 = (switch_stream_handle *)jarg1; - result = (switch_event_t *) ((arg1)->param_event); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_stream_handle() { - void * jresult ; - switch_stream_handle *result = 0 ; - - result = (switch_stream_handle *)new switch_stream_handle(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_stream_handle(void * jarg1) { - switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; - - arg1 = (switch_stream_handle *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_outgoing_channel_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_outgoing_channel_t arg2 = (switch_io_outgoing_channel_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_outgoing_channel_t)jarg2; - if (arg1) (arg1)->outgoing_channel = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_outgoing_channel_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_outgoing_channel_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_outgoing_channel_t) ((arg1)->outgoing_channel); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_frame_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_read_frame_t arg2 = (switch_io_read_frame_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_read_frame_t)jarg2; - if (arg1) (arg1)->read_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_frame_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_read_frame_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_read_frame_t) ((arg1)->read_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_frame_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_write_frame_t arg2 = (switch_io_write_frame_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_write_frame_t)jarg2; - if (arg1) (arg1)->write_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_frame_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_write_frame_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_write_frame_t) ((arg1)->write_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_kill_channel_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_kill_channel_t arg2 = (switch_io_kill_channel_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_kill_channel_t)jarg2; - if (arg1) (arg1)->kill_channel = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_kill_channel_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_kill_channel_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_kill_channel_t) ((arg1)->kill_channel); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_send_dtmf_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_send_dtmf_t arg2 = (switch_io_send_dtmf_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_send_dtmf_t)jarg2; - if (arg1) (arg1)->send_dtmf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_send_dtmf_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_send_dtmf_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_send_dtmf_t) ((arg1)->send_dtmf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_receive_message_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_receive_message_t arg2 = (switch_io_receive_message_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_receive_message_t)jarg2; - if (arg1) (arg1)->receive_message = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_receive_message_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_receive_message_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_receive_message_t) ((arg1)->receive_message); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_receive_event_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_receive_event_t arg2 = (switch_io_receive_event_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_receive_event_t)jarg2; - if (arg1) (arg1)->receive_event = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_receive_event_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_receive_event_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_receive_event_t) ((arg1)->receive_event); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_change_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_state_change_t arg2 = (switch_io_state_change_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_state_change_t)jarg2; - if (arg1) (arg1)->state_change = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_change_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_state_change_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_state_change_t) ((arg1)->state_change); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_video_frame_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_read_video_frame_t arg2 = (switch_io_read_video_frame_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_read_video_frame_t)jarg2; - if (arg1) (arg1)->read_video_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_video_frame_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_read_video_frame_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_read_video_frame_t) ((arg1)->read_video_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_write_video_frame_t arg2 = (switch_io_write_video_frame_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_write_video_frame_t)jarg2; - if (arg1) (arg1)->write_video_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_write_video_frame_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_write_video_frame_t) ((arg1)->write_video_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_run_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_state_run_t arg2 = (switch_io_state_run_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_state_run_t)jarg2; - if (arg1) (arg1)->state_run = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_run_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_state_run_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_state_run_t) ((arg1)->state_run); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_get_jb_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_get_jb_t arg2 = (switch_io_get_jb_t) 0 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (switch_io_get_jb_t)jarg2; - if (arg1) (arg1)->get_jb = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_get_jb_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - switch_io_get_jb_t result; - - arg1 = (switch_io_routines *)jarg1; - result = (switch_io_get_jb_t) ((arg1)->get_jb); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_padding_set(void * jarg1, void * jarg2) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - void **arg2 ; - - arg1 = (switch_io_routines *)jarg1; - arg2 = (void **)jarg2; - { - size_t ii; - void * *b = (void * *) arg1->padding; - for (ii = 0; ii < (size_t)10; ii++) b[ii] = *((void * *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_padding_get(void * jarg1) { - void * jresult ; - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - void **result = 0 ; - - arg1 = (switch_io_routines *)jarg1; - result = (void **)(void **) ((arg1)->padding); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_routines() { - void * jresult ; - switch_io_routines *result = 0 ; - - result = (switch_io_routines *)new switch_io_routines(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_routines(void * jarg1) { - switch_io_routines *arg1 = (switch_io_routines *) 0 ; - - arg1 = (switch_io_routines *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_endpoint_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_io_routines_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_io_routines_t *arg2 = (switch_io_routines_t *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (switch_io_routines_t *)jarg2; - if (arg1) (arg1)->io_routines = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_io_routines_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_io_routines_t *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (switch_io_routines_t *) ((arg1)->io_routines); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_state_handler_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_state_handler_table_t *arg2 = (switch_state_handler_table_t *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (switch_state_handler_table_t *)jarg2; - if (arg1) (arg1)->state_handler = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_state_handler_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_state_handler_table_t *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (switch_state_handler_table_t *) ((arg1)->state_handler); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_private_info_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_private_info_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - void *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_refs_set(void * jarg1, int jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - int arg2 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_endpoint_interface_refs_get(void * jarg1) { - int jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - int result; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_reflock_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_parent_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_parent_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_next_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_endpoint_interface *arg2 = (switch_endpoint_interface *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (switch_endpoint_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_next_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_endpoint_interface *result = 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (switch_endpoint_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_set(void * jarg1, void * jarg2) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_core_recover_callback_t arg2 = (switch_core_recover_callback_t) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - arg2 = (switch_core_recover_callback_t)jarg2; - if (arg1) (arg1)->recover_callback = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_get(void * jarg1) { - void * jresult ; - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - switch_core_recover_callback_t result; - - arg1 = (switch_endpoint_interface *)jarg1; - result = (switch_core_recover_callback_t) ((arg1)->recover_callback); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_endpoint_interface() { - void * jresult ; - switch_endpoint_interface *result = 0 ; - - result = (switch_endpoint_interface *)new switch_endpoint_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_endpoint_interface(void * jarg1) { - switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; - - arg1 = (switch_endpoint_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interval_set(void * jarg1, int jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - int arg2 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->interval = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_timer_interval_get(void * jarg1) { - int jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - int result; - - arg1 = (switch_timer *)jarg1; - result = (int) ((arg1)->interval); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_flags_set(void * jarg1, unsigned long jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_flags_get(void * jarg1) { - unsigned long jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - uint32_t result; - - arg1 = (switch_timer *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_samples_set(void * jarg1, unsigned int jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->samples = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_timer_samples_get(void * jarg1) { - unsigned int jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - unsigned int result; - - arg1 = (switch_timer *)jarg1; - result = (unsigned int) ((arg1)->samples); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_samplecount_set(void * jarg1, unsigned long jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samplecount = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_samplecount_get(void * jarg1) { - unsigned long jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - uint32_t result; - - arg1 = (switch_timer *)jarg1; - result = (uint32_t) ((arg1)->samplecount); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_timer_interface_set(void * jarg1, void * jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - switch_timer_interface_t *arg2 = (switch_timer_interface_t *) 0 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (switch_timer_interface_t *)jarg2; - if (arg1) (arg1)->timer_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_timer_interface_get(void * jarg1) { - void * jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - switch_timer_interface_t *result = 0 ; - - arg1 = (switch_timer *)jarg1; - result = (switch_timer_interface_t *) ((arg1)->timer_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_memory_pool_set(void * jarg1, void * jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->memory_pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_memory_pool_get(void * jarg1) { - void * jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_timer *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->memory_pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_private_info_set(void * jarg1, void * jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_private_info_get(void * jarg1) { - void * jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - void *result = 0 ; - - arg1 = (switch_timer *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_diff_set(void * jarg1, void * jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_timer *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->diff = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_diff_get(void * jarg1) { - void * jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - switch_size_t result; - - arg1 = (switch_timer *)jarg1; - result = ((arg1)->diff); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_start_set(void * jarg1, void * jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_timer *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->start = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_start_get(void * jarg1) { - void * jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - switch_time_t result; - - arg1 = (switch_timer *)jarg1; - result = ((arg1)->start); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_tick_set(void * jarg1, unsigned long long jarg2) { - switch_timer *arg1 = (switch_timer *) 0 ; - uint64_t arg2 ; - - arg1 = (switch_timer *)jarg1; - arg2 = (uint64_t)jarg2; - if (arg1) (arg1)->tick = arg2; -} - - -SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_switch_timer_tick_get(void * jarg1) { - unsigned long long jresult ; - switch_timer *arg1 = (switch_timer *) 0 ; - uint64_t result; - - arg1 = (switch_timer *)jarg1; - result = (uint64_t) ((arg1)->tick); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_timer() { - void * jresult ; - switch_timer *result = 0 ; - - result = (switch_timer *)new switch_timer(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_timer(void * jarg1) { - switch_timer *arg1 = (switch_timer *) 0 ; - - arg1 = (switch_timer *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_timer_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_init_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_timer_t *))jarg2; - if (arg1) (arg1)->timer_init = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_init_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*result)(switch_timer_t *) = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_status_t (*)(switch_timer_t *)) ((arg1)->timer_init); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_next_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_timer_t *))jarg2; - if (arg1) (arg1)->timer_next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_next_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*result)(switch_timer_t *) = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_status_t (*)(switch_timer_t *)) ((arg1)->timer_next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_step_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_timer_t *))jarg2; - if (arg1) (arg1)->timer_step = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_step_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*result)(switch_timer_t *) = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_status_t (*)(switch_timer_t *)) ((arg1)->timer_step); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_sync_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_timer_t *))jarg2; - if (arg1) (arg1)->timer_sync = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_sync_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*result)(switch_timer_t *) = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_status_t (*)(switch_timer_t *)) ((arg1)->timer_sync); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_check_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*arg2)(switch_timer_t *,switch_bool_t) = (switch_status_t (*)(switch_timer_t *,switch_bool_t)) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_timer_t *,switch_bool_t))jarg2; - if (arg1) (arg1)->timer_check = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_check_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*result)(switch_timer_t *,switch_bool_t) = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_status_t (*)(switch_timer_t *,switch_bool_t)) ((arg1)->timer_check); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_destroy_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_timer_t *))jarg2; - if (arg1) (arg1)->timer_destroy = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_destroy_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_status_t (*result)(switch_timer_t *) = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_status_t (*)(switch_timer_t *)) ((arg1)->timer_destroy); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_refs_set(void * jarg1, int jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - int arg2 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_timer_interface_refs_get(void * jarg1) { - int jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - int result; - - arg1 = (switch_timer_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_reflock_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_parent_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_parent_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_next_set(void * jarg1, void * jarg2) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_timer_interface *arg2 = (switch_timer_interface *) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - arg2 = (switch_timer_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_next_get(void * jarg1) { - void * jresult ; - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - switch_timer_interface *result = 0 ; - - arg1 = (switch_timer_interface *)jarg1; - result = (switch_timer_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_timer_interface() { - void * jresult ; - switch_timer_interface *result = 0 ; - - result = (switch_timer_interface *)new switch_timer_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_timer_interface(void * jarg1) { - switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; - - arg1 = (switch_timer_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_dialplan_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_hunt_function_set(void * jarg1, void * jarg2) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_dialplan_hunt_function_t arg2 = (switch_dialplan_hunt_function_t) 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - arg2 = (switch_dialplan_hunt_function_t)jarg2; - if (arg1) (arg1)->hunt_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_hunt_function_get(void * jarg1) { - void * jresult ; - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_dialplan_hunt_function_t result; - - arg1 = (switch_dialplan_interface *)jarg1; - result = (switch_dialplan_hunt_function_t) ((arg1)->hunt_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_refs_set(void * jarg1, int jarg2) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - int arg2 ; - - arg1 = (switch_dialplan_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dialplan_interface_refs_get(void * jarg1) { - int jresult ; - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - int result; - - arg1 = (switch_dialplan_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_reflock_set(void * jarg1, void * jarg2) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_parent_set(void * jarg1, void * jarg2) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_parent_get(void * jarg1) { - void * jresult ; - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_next_set(void * jarg1, void * jarg2) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_dialplan_interface *arg2 = (switch_dialplan_interface *) 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - arg2 = (switch_dialplan_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_next_get(void * jarg1) { - void * jresult ; - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - switch_dialplan_interface *result = 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - result = (switch_dialplan_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_dialplan_interface() { - void * jresult ; - switch_dialplan_interface *result = 0 ; - - result = (switch_dialplan_interface *)new switch_dialplan_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_dialplan_interface(void * jarg1) { - switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; - - arg1 = (switch_dialplan_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_open_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,char const *) = (switch_status_t (*)(switch_file_handle_t *,char const *)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,char const *))jarg2; - if (arg1) (arg1)->file_open = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_open_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,char const *) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,char const *)) ((arg1)->file_open); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_close_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *) = (switch_status_t (*)(switch_file_handle_t *)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *))jarg2; - if (arg1) (arg1)->file_close = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_close_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *)) ((arg1)->file_close); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_truncate_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,int64_t) = (switch_status_t (*)(switch_file_handle_t *,int64_t)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,int64_t))jarg2; - if (arg1) (arg1)->file_truncate = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_truncate_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,int64_t) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,int64_t)) ((arg1)->file_truncate); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_read_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,void *,switch_size_t *) = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *))jarg2; - if (arg1) (arg1)->file_read = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_read_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,void *,switch_size_t *) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) ((arg1)->file_read); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_write_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,void *,switch_size_t *) = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *))jarg2; - if (arg1) (arg1)->file_write = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_write_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,void *,switch_size_t *) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) ((arg1)->file_write); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_read_video_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,void *,switch_size_t *) = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *))jarg2; - if (arg1) (arg1)->file_read_video = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_read_video_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,void *,switch_size_t *) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) ((arg1)->file_read_video); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_write_video_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,void *,switch_size_t *) = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *))jarg2; - if (arg1) (arg1)->file_write_video = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_write_video_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,void *,switch_size_t *) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) ((arg1)->file_write_video); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_seek_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,unsigned int *,int64_t,int) = (switch_status_t (*)(switch_file_handle_t *,unsigned int *,int64_t,int)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,unsigned int *,int64_t,int))jarg2; - if (arg1) (arg1)->file_seek = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_seek_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,unsigned int *,int64_t,int) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,unsigned int *,int64_t,int)) ((arg1)->file_seek); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_set_string_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,switch_audio_col_t,char const *) = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const *)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const *))jarg2; - if (arg1) (arg1)->file_set_string = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_set_string_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,switch_audio_col_t,char const *) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const *)) ((arg1)->file_set_string); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_get_string_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*arg2)(switch_file_handle_t *,switch_audio_col_t,char const **) = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const **)) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const **))jarg2; - if (arg1) (arg1)->file_get_string = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_get_string_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_status_t (*result)(switch_file_handle_t *,switch_audio_col_t,char const **) = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const **)) ((arg1)->file_get_string); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_extens_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - char **arg2 = (char **) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (char **)jarg2; - if (arg1) (arg1)->extens = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_extens_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - char **result = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (char **) ((arg1)->extens); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_refs_set(void * jarg1, int jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - int arg2 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_interface_refs_get(void * jarg1) { - int jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - int result; - - arg1 = (switch_file_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_reflock_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_parent_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_parent_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_next_set(void * jarg1, void * jarg2) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_file_interface *arg2 = (switch_file_interface *) 0 ; - - arg1 = (switch_file_interface *)jarg1; - arg2 = (switch_file_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_next_get(void * jarg1) { - void * jresult ; - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - switch_file_interface *result = 0 ; - - arg1 = (switch_file_interface *)jarg1; - result = (switch_file_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_file_interface() { - void * jresult ; - switch_file_interface *result = 0 ; - - result = (switch_file_interface *)new switch_file_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_file_interface(void * jarg1) { - switch_file_interface *arg1 = (switch_file_interface *) 0 ; - - arg1 = (switch_file_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_interface_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_file_interface_t *arg2 = (switch_file_interface_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_file_interface_t *)jarg2; - if (arg1) (arg1)->file_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_file_interface_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_file_interface_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_file_interface_t *) ((arg1)->file_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_flags_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_flags_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_fd_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_file_t *arg2 = (switch_file_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_file_t *)jarg2; - if (arg1) (arg1)->fd = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_fd_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_file_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_file_t *) ((arg1)->fd); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_set(void * jarg1, unsigned int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->samples = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_samples_get(void * jarg1) { - unsigned int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned int result; - - arg1 = (switch_file_handle *)jarg1; - result = (unsigned int) ((arg1)->samples); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samplerate_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samplerate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_samplerate_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->samplerate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_native_rate_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->native_rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_native_rate_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->native_rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_channels_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->channels = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_channels_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->channels); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_real_channels_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->real_channels = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_real_channels_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->real_channels); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_format_set(void * jarg1, unsigned int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->format = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_format_get(void * jarg1) { - unsigned int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned int result; - - arg1 = (switch_file_handle *)jarg1; - result = (unsigned int) ((arg1)->format); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sections_set(void * jarg1, unsigned int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned int arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->sections = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_sections_get(void * jarg1) { - unsigned int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned int result; - - arg1 = (switch_file_handle *)jarg1; - result = (unsigned int) ((arg1)->sections); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_seekable_set(void * jarg1, int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->seekable = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_seekable_get(void * jarg1) { - int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int result; - - arg1 = (switch_file_handle *)jarg1; - result = (int) ((arg1)->seekable); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sample_count_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_file_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->sample_count = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_sample_count_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_file_handle *)jarg1; - result = ((arg1)->sample_count); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_speed_set(void * jarg1, int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->speed = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_speed_get(void * jarg1) { - int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int result; - - arg1 = (switch_file_handle *)jarg1; - result = (int) ((arg1)->speed); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_memory_pool_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->memory_pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_memory_pool_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->memory_pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_prebuf_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->prebuf = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_prebuf_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->prebuf); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_interval_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->interval = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_interval_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->interval); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_private_info_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_private_info_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - void *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_handler_set(void * jarg1, char * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->handler) delete [] arg1->handler; - if (arg2) { - arg1->handler = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->handler, (const char *)arg2); - } else { - arg1->handler = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_handler_get(void * jarg1) { - char * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (char *) ((arg1)->handler); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pos_set(void * jarg1, long long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int64_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (int64_t)jarg2; - if (arg1) (arg1)->pos = arg2; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_file_handle_pos_get(void * jarg1) { - long long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int64_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (int64_t) ((arg1)->pos); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_audio_buffer_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_buffer_t *)jarg2; - if (arg1) (arg1)->audio_buffer = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_audio_buffer_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_buffer_t *) ((arg1)->audio_buffer); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sp_audio_buffer_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_buffer_t *)jarg2; - if (arg1) (arg1)->sp_audio_buffer = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_sp_audio_buffer_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_buffer_t *) ((arg1)->sp_audio_buffer); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_thresh_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->thresh = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_thresh_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->thresh); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_silence_hits_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->silence_hits = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_silence_hits_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->silence_hits); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_offset_pos_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->offset_pos = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_offset_pos_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->offset_pos); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_in_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_file_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->samples_in = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_samples_in_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_file_handle *)jarg1; - result = ((arg1)->samples_in); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_out_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_file_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->samples_out = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_samples_out_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_file_handle *)jarg1; - result = ((arg1)->samples_out); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_vol_set(void * jarg1, int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (int32_t)jarg2; - if (arg1) (arg1)->vol = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_vol_get(void * jarg1) { - int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (int32_t) ((arg1)->vol); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_resampler_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_audio_resampler_t *arg2 = (switch_audio_resampler_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_audio_resampler_t *)jarg2; - if (arg1) (arg1)->resampler = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_resampler_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_audio_resampler_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_audio_resampler_t *) ((arg1)->resampler); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_buffer_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_buffer_t *)jarg2; - if (arg1) (arg1)->buffer = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_buffer_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_buffer_t *) ((arg1)->buffer); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_dbuf_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_byte_t *arg2 = (switch_byte_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_byte_t *)jarg2; - if (arg1) (arg1)->dbuf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_dbuf_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_byte_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_byte_t *) ((arg1)->dbuf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_dbuflen_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_file_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->dbuflen = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_dbuflen_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_file_handle *)jarg1; - result = ((arg1)->dbuflen); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_buffer_t *)jarg2; - if (arg1) (arg1)->pre_buffer = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_buffer_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_buffer_t *) ((arg1)->pre_buffer); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_data_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (unsigned char *)jarg2; - if (arg1) (arg1)->pre_buffer_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_data_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - unsigned char *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (unsigned char *) ((arg1)->pre_buffer_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_datalen_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_file_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->pre_buffer_datalen = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_datalen_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_file_handle *)jarg1; - result = ((arg1)->pre_buffer_datalen); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_set(void * jarg1, char * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->file = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->file, (const char *)arg2); - } else { - arg1->file = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_file_get(void * jarg1) { - char * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (char *) ((arg1)->file); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_func_set(void * jarg1, char * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->func = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->func, (const char *)arg2); - } else { - arg1->func = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_func_get(void * jarg1) { - char * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (char *) ((arg1)->func); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_line_set(void * jarg1, int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->line = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_line_get(void * jarg1) { - int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int result; - - arg1 = (switch_file_handle *)jarg1; - result = (int) ((arg1)->line); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_path_set(void * jarg1, char * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->file_path) delete [] arg1->file_path; - if (arg2) { - arg1->file_path = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->file_path, (const char *)arg2); - } else { - arg1->file_path = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_file_path_get(void * jarg1) { - char * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (char *) ((arg1)->file_path); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_spool_path_set(void * jarg1, char * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->spool_path) delete [] arg1->spool_path; - if (arg2) { - arg1->spool_path = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->spool_path, (const char *)arg2); - } else { - arg1->spool_path = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_spool_path_get(void * jarg1) { - char * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (char *) ((arg1)->spool_path); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_prefix_set(void * jarg1, char * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->prefix = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->prefix, (const char *)arg2); - } else { - arg1->prefix = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_prefix_get(void * jarg1) { - char * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (char *) ((arg1)->prefix); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_max_samples_set(void * jarg1, int jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->max_samples = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_max_samples_get(void * jarg1) { - int jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - int result; - - arg1 = (switch_file_handle *)jarg1; - result = (int) ((arg1)->max_samples); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle__params_set(void * jarg1, void * jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (switch_event_t *)jarg2; - if (arg1) (arg1)->params = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle__params_get(void * jarg1) { - void * jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - switch_event_t *result = 0 ; - - arg1 = (switch_file_handle *)jarg1; - result = (switch_event_t *) ((arg1)->params); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_cur_channels_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->cur_channels = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_cur_channels_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->cur_channels); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_cur_samplerate_set(void * jarg1, unsigned long jarg2) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_file_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->cur_samplerate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_cur_samplerate_get(void * jarg1) { - unsigned long jresult ; - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - uint32_t result; - - arg1 = (switch_file_handle *)jarg1; - result = (uint32_t) ((arg1)->cur_samplerate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_file_handle() { - void * jresult ; - switch_file_handle *result = 0 ; - - result = (switch_file_handle *)new switch_file_handle(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_file_handle(void * jarg1) { - switch_file_handle *arg1 = (switch_file_handle *) 0 ; - - arg1 = (switch_file_handle *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_open_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *))jarg2; - if (arg1) (arg1)->asr_open = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_open_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *)) ((arg1)->asr_open); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_load_grammar_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,char const *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *,char const *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,char const *,char const *))jarg2; - if (arg1) (arg1)->asr_load_grammar = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_load_grammar_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,char const *,char const *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,char const *,char const *)) ((arg1)->asr_load_grammar); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_unload_grammar_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,char const *))jarg2; - if (arg1) (arg1)->asr_unload_grammar = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_unload_grammar_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,char const *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,char const *)) ((arg1)->asr_unload_grammar); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_close_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *))jarg2; - if (arg1) (arg1)->asr_close = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_close_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,switch_asr_flag_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *)) ((arg1)->asr_close); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *))jarg2; - if (arg1) (arg1)->asr_feed = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *)) ((arg1)->asr_feed); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_resume_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *))jarg2; - if (arg1) (arg1)->asr_resume = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_resume_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *)) ((arg1)->asr_resume); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_pause_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *))jarg2; - if (arg1) (arg1)->asr_pause = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_pause_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *)) ((arg1)->asr_pause); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_check_results_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *))jarg2; - if (arg1) (arg1)->asr_check_results = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_check_results_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,switch_asr_flag_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *)) ((arg1)->asr_check_results); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_get_results_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,char **,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,char **,switch_asr_flag_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,char **,switch_asr_flag_t *))jarg2; - if (arg1) (arg1)->asr_get_results = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_get_results_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,char **,switch_asr_flag_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,char **,switch_asr_flag_t *)) ((arg1)->asr_get_results); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_get_result_headers_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *))jarg2; - if (arg1) (arg1)->asr_get_result_headers = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_get_result_headers_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *)) ((arg1)->asr_get_result_headers); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_start_input_timers_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *))jarg2; - if (arg1) (arg1)->asr_start_input_timers = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_start_input_timers_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *)) ((arg1)->asr_start_input_timers); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_text_param_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - void (*arg2)(switch_asr_handle_t *,char *,char const *) = (void (*)(switch_asr_handle_t *,char *,char const *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (void (*)(switch_asr_handle_t *,char *,char const *))jarg2; - if (arg1) (arg1)->asr_text_param = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_text_param_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - void (*result)(switch_asr_handle_t *,char *,char const *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (void (*)(switch_asr_handle_t *,char *,char const *)) ((arg1)->asr_text_param); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_numeric_param_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - void (*arg2)(switch_asr_handle_t *,char *,int) = (void (*)(switch_asr_handle_t *,char *,int)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (void (*)(switch_asr_handle_t *,char *,int))jarg2; - if (arg1) (arg1)->asr_numeric_param = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_numeric_param_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - void (*result)(switch_asr_handle_t *,char *,int) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (void (*)(switch_asr_handle_t *,char *,int)) ((arg1)->asr_numeric_param); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_float_param_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - void (*arg2)(switch_asr_handle_t *,char *,double) = (void (*)(switch_asr_handle_t *,char *,double)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (void (*)(switch_asr_handle_t *,char *,double))jarg2; - if (arg1) (arg1)->asr_float_param = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_float_param_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - void (*result)(switch_asr_handle_t *,char *,double) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (void (*)(switch_asr_handle_t *,char *,double)) ((arg1)->asr_float_param); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_refs_set(void * jarg1, int jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - int arg2 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_asr_interface_refs_get(void * jarg1) { - int jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - int result; - - arg1 = (switch_asr_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_reflock_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_parent_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_parent_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_next_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_asr_interface *arg2 = (switch_asr_interface *) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_asr_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_next_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_asr_interface *result = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_asr_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_enable_grammar_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,char const *))jarg2; - if (arg1) (arg1)->asr_enable_grammar = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_enable_grammar_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,char const *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,char const *)) ((arg1)->asr_enable_grammar); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_grammar_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,char const *))jarg2; - if (arg1) (arg1)->asr_disable_grammar = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_grammar_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,char const *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,char const *)) ((arg1)->asr_disable_grammar); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_all_grammars_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *))jarg2; - if (arg1) (arg1)->asr_disable_all_grammars = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_all_grammars_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *)) ((arg1)->asr_disable_all_grammars); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_dtmf_set(void * jarg1, void * jarg2) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*arg2)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *)) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *))jarg2; - if (arg1) (arg1)->asr_feed_dtmf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_dtmf_get(void * jarg1) { - void * jresult ; - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - switch_status_t (*result)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *) = 0 ; - - arg1 = (switch_asr_interface *)jarg1; - result = (switch_status_t (*)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *)) ((arg1)->asr_feed_dtmf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_asr_interface() { - void * jresult ; - switch_asr_interface *result = 0 ; - - result = (switch_asr_interface *)new switch_asr_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_asr_interface(void * jarg1) { - switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; - - arg1 = (switch_asr_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_asr_interface_set(void * jarg1, void * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_asr_interface_t *arg2 = (switch_asr_interface_t *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (switch_asr_interface_t *)jarg2; - if (arg1) (arg1)->asr_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_asr_interface_get(void * jarg1) { - void * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_asr_interface_t *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (switch_asr_interface_t *) ((arg1)->asr_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_flags_set(void * jarg1, unsigned long jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_flags_get(void * jarg1) { - unsigned long jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t result; - - arg1 = (switch_asr_handle *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_name_set(void * jarg1, char * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->name) delete [] arg1->name; - if (arg2) { - arg1->name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->name, (const char *)arg2); - } else { - arg1->name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_name_get(void * jarg1) { - char * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (char *) ((arg1)->name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_codec_set(void * jarg1, char * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->codec) delete [] arg1->codec; - if (arg2) { - arg1->codec = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->codec, (const char *)arg2); - } else { - arg1->codec = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_codec_get(void * jarg1) { - char * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (char *) ((arg1)->codec); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_rate_set(void * jarg1, unsigned long jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_rate_get(void * jarg1) { - unsigned long jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t result; - - arg1 = (switch_asr_handle *)jarg1; - result = (uint32_t) ((arg1)->rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_grammar_set(void * jarg1, char * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->grammar) delete [] arg1->grammar; - if (arg2) { - arg1->grammar = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->grammar, (const char *)arg2); - } else { - arg1->grammar = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_grammar_get(void * jarg1) { - char * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (char *) ((arg1)->grammar); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_param_set(void * jarg1, char * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->param) delete [] arg1->param; - if (arg2) { - arg1->param = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->param, (const char *)arg2); - } else { - arg1->param = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_param_get(void * jarg1) { - char * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (char *) ((arg1)->param); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_memory_pool_set(void * jarg1, void * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->memory_pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_memory_pool_get(void * jarg1) { - void * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->memory_pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_buffer_set(void * jarg1, void * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (switch_buffer_t *)jarg2; - if (arg1) (arg1)->buffer = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_buffer_get(void * jarg1) { - void * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_buffer_t *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (switch_buffer_t *) ((arg1)->buffer); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_dbuf_set(void * jarg1, void * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_byte_t *arg2 = (switch_byte_t *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (switch_byte_t *)jarg2; - if (arg1) (arg1)->dbuf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_dbuf_get(void * jarg1) { - void * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_byte_t *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (switch_byte_t *) ((arg1)->dbuf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_dbuflen_set(void * jarg1, void * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_asr_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->dbuflen = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_dbuflen_get(void * jarg1) { - void * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_asr_handle *)jarg1; - result = ((arg1)->dbuflen); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_resampler_set(void * jarg1, void * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_audio_resampler_t *arg2 = (switch_audio_resampler_t *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (switch_audio_resampler_t *)jarg2; - if (arg1) (arg1)->resampler = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_resampler_get(void * jarg1) { - void * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - switch_audio_resampler_t *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (switch_audio_resampler_t *) ((arg1)->resampler); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_samplerate_set(void * jarg1, unsigned long jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samplerate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_samplerate_get(void * jarg1) { - unsigned long jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t result; - - arg1 = (switch_asr_handle *)jarg1; - result = (uint32_t) ((arg1)->samplerate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_native_rate_set(void * jarg1, unsigned long jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->native_rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_native_rate_get(void * jarg1) { - unsigned long jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - uint32_t result; - - arg1 = (switch_asr_handle *)jarg1; - result = (uint32_t) ((arg1)->native_rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_private_info_set(void * jarg1, void * jarg2) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_private_info_get(void * jarg1) { - void * jresult ; - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - void *result = 0 ; - - arg1 = (switch_asr_handle *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_asr_handle() { - void * jresult ; - switch_asr_handle *result = 0 ; - - result = (switch_asr_handle *)new switch_asr_handle(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_asr_handle(void * jarg1) { - switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; - - arg1 = (switch_asr_handle *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_open_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*arg2)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *))jarg2; - if (arg1) (arg1)->speech_open = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_open_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*result)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *)) ((arg1)->speech_open); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_close_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*arg2)(switch_speech_handle_t *,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,switch_speech_flag_t *)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_speech_handle_t *,switch_speech_flag_t *))jarg2; - if (arg1) (arg1)->speech_close = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_close_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*result)(switch_speech_handle_t *,switch_speech_flag_t *) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_status_t (*)(switch_speech_handle_t *,switch_speech_flag_t *)) ((arg1)->speech_close); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_feed_tts_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*arg2)(switch_speech_handle_t *,char *,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,char *,switch_speech_flag_t *)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_speech_handle_t *,char *,switch_speech_flag_t *))jarg2; - if (arg1) (arg1)->speech_feed_tts = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_feed_tts_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*result)(switch_speech_handle_t *,char *,switch_speech_flag_t *) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_status_t (*)(switch_speech_handle_t *,char *,switch_speech_flag_t *)) ((arg1)->speech_feed_tts); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_read_tts_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*arg2)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *))jarg2; - if (arg1) (arg1)->speech_read_tts = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_read_tts_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_status_t (*result)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_status_t (*)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *)) ((arg1)->speech_read_tts); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_flush_tts_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*arg2)(switch_speech_handle_t *) = (void (*)(switch_speech_handle_t *)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (void (*)(switch_speech_handle_t *))jarg2; - if (arg1) (arg1)->speech_flush_tts = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_flush_tts_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*result)(switch_speech_handle_t *) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (void (*)(switch_speech_handle_t *)) ((arg1)->speech_flush_tts); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_text_param_tts_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*arg2)(switch_speech_handle_t *,char *,char const *) = (void (*)(switch_speech_handle_t *,char *,char const *)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (void (*)(switch_speech_handle_t *,char *,char const *))jarg2; - if (arg1) (arg1)->speech_text_param_tts = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_text_param_tts_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*result)(switch_speech_handle_t *,char *,char const *) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (void (*)(switch_speech_handle_t *,char *,char const *)) ((arg1)->speech_text_param_tts); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_numeric_param_tts_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*arg2)(switch_speech_handle_t *,char *,int) = (void (*)(switch_speech_handle_t *,char *,int)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (void (*)(switch_speech_handle_t *,char *,int))jarg2; - if (arg1) (arg1)->speech_numeric_param_tts = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_numeric_param_tts_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*result)(switch_speech_handle_t *,char *,int) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (void (*)(switch_speech_handle_t *,char *,int)) ((arg1)->speech_numeric_param_tts); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_float_param_tts_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*arg2)(switch_speech_handle_t *,char *,double) = (void (*)(switch_speech_handle_t *,char *,double)) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (void (*)(switch_speech_handle_t *,char *,double))jarg2; - if (arg1) (arg1)->speech_float_param_tts = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_float_param_tts_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - void (*result)(switch_speech_handle_t *,char *,double) = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (void (*)(switch_speech_handle_t *,char *,double)) ((arg1)->speech_float_param_tts); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_refs_set(void * jarg1, int jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - int arg2 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_speech_interface_refs_get(void * jarg1) { - int jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - int result; - - arg1 = (switch_speech_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_reflock_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_parent_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_parent_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_next_set(void * jarg1, void * jarg2) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_speech_interface *arg2 = (switch_speech_interface *) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - arg2 = (switch_speech_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_next_get(void * jarg1) { - void * jresult ; - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - switch_speech_interface *result = 0 ; - - arg1 = (switch_speech_interface *)jarg1; - result = (switch_speech_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_speech_interface() { - void * jresult ; - switch_speech_interface *result = 0 ; - - result = (switch_speech_interface *)new switch_speech_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_speech_interface(void * jarg1) { - switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; - - arg1 = (switch_speech_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_speech_interface_set(void * jarg1, void * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_speech_interface_t *arg2 = (switch_speech_interface_t *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (switch_speech_interface_t *)jarg2; - if (arg1) (arg1)->speech_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_speech_interface_get(void * jarg1) { - void * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_speech_interface_t *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (switch_speech_interface_t *) ((arg1)->speech_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_flags_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_flags_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_name_set(void * jarg1, char * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->name) delete [] arg1->name; - if (arg2) { - arg1->name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->name, (const char *)arg2); - } else { - arg1->name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_name_get(void * jarg1) { - char * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (char *) ((arg1)->name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_rate_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_rate_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_speed_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->speed = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_speed_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->speed); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_samples_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samples = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_samples_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->samples); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_channels_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->channels = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_channels_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->channels); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_real_channels_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->real_channels = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_real_channels_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->real_channels); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_voice_set(void * jarg1, char * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->voice, (const char *)arg2, 80-1); - arg1->voice[80-1] = 0; - } else { - arg1->voice[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_voice_get(void * jarg1) { - char * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (char *)(char *) ((arg1)->voice); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_engine_set(void * jarg1, char * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->engine) delete [] arg1->engine; - if (arg2) { - arg1->engine = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->engine, (const char *)arg2); - } else { - arg1->engine = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_engine_get(void * jarg1) { - char * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (char *) ((arg1)->engine); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_param_set(void * jarg1, char * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->param) delete [] arg1->param; - if (arg2) { - arg1->param = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->param, (const char *)arg2); - } else { - arg1->param = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_param_get(void * jarg1) { - char * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - char *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (char *) ((arg1)->param); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_memory_pool_set(void * jarg1, void * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->memory_pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_memory_pool_get(void * jarg1) { - void * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->memory_pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_resampler_set(void * jarg1, void * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_audio_resampler_t *arg2 = (switch_audio_resampler_t *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (switch_audio_resampler_t *)jarg2; - if (arg1) (arg1)->resampler = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_resampler_get(void * jarg1) { - void * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_audio_resampler_t *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (switch_audio_resampler_t *) ((arg1)->resampler); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_buffer_set(void * jarg1, void * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (switch_buffer_t *)jarg2; - if (arg1) (arg1)->buffer = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_buffer_get(void * jarg1) { - void * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_buffer_t *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (switch_buffer_t *) ((arg1)->buffer); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_dbuf_set(void * jarg1, void * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_byte_t *arg2 = (switch_byte_t *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (switch_byte_t *)jarg2; - if (arg1) (arg1)->dbuf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_dbuf_get(void * jarg1) { - void * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_byte_t *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (switch_byte_t *) ((arg1)->dbuf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_dbuflen_set(void * jarg1, void * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_speech_handle *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->dbuflen = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_dbuflen_get(void * jarg1) { - void * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - switch_size_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = ((arg1)->dbuflen); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_samplerate_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samplerate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_samplerate_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->samplerate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_native_rate_set(void * jarg1, unsigned long jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->native_rate = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_native_rate_get(void * jarg1) { - unsigned long jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - uint32_t result; - - arg1 = (switch_speech_handle *)jarg1; - result = (uint32_t) ((arg1)->native_rate); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_private_info_set(void * jarg1, void * jarg2) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_private_info_get(void * jarg1) { - void * jresult ; - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - void *result = 0 ; - - arg1 = (switch_speech_handle *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_speech_handle() { - void * jresult ; - switch_speech_handle *result = 0 ; - - result = (switch_speech_handle *)new switch_speech_handle(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_speech_handle(void * jarg1) { - switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; - - arg1 = (switch_speech_handle *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_say_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_say_function_set(void * jarg1, void * jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_say_callback_t arg2 = (switch_say_callback_t) 0 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (switch_say_callback_t)jarg2; - if (arg1) (arg1)->say_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_say_function_get(void * jarg1) { - void * jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_say_callback_t result; - - arg1 = (switch_say_interface *)jarg1; - result = (switch_say_callback_t) ((arg1)->say_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_say_string_function_set(void * jarg1, void * jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_say_string_callback_t arg2 = (switch_say_string_callback_t) 0 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (switch_say_string_callback_t)jarg2; - if (arg1) (arg1)->say_string_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_say_string_function_get(void * jarg1) { - void * jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_say_string_callback_t result; - - arg1 = (switch_say_interface *)jarg1; - result = (switch_say_string_callback_t) ((arg1)->say_string_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_say_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_refs_set(void * jarg1, int jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - int arg2 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_interface_refs_get(void * jarg1) { - int jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - int result; - - arg1 = (switch_say_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_reflock_set(void * jarg1, void * jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_say_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_parent_set(void * jarg1, void * jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_parent_get(void * jarg1) { - void * jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_say_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_next_set(void * jarg1, void * jarg2) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_say_interface *arg2 = (switch_say_interface *) 0 ; - - arg1 = (switch_say_interface *)jarg1; - arg2 = (switch_say_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_next_get(void * jarg1) { - void * jresult ; - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - switch_say_interface *result = 0 ; - - arg1 = (switch_say_interface *)jarg1; - result = (switch_say_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_say_interface() { - void * jresult ; - switch_say_interface *result = 0 ; - - result = (switch_say_interface *)new switch_say_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_say_interface(void * jarg1) { - switch_say_interface *arg1 = (switch_say_interface *) 0 ; - - arg1 = (switch_say_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_chat_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_chat_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * jarg1, void * jarg2) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_status_t (*arg2)(switch_event_t *) = (switch_status_t (*)(switch_event_t *)) 0 ; - - arg1 = (switch_chat_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_event_t *))jarg2; - if (arg1) (arg1)->chat_send = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_chat_send_get(void * jarg1) { - void * jresult ; - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_status_t (*result)(switch_event_t *) = 0 ; - - arg1 = (switch_chat_interface *)jarg1; - result = (switch_status_t (*)(switch_event_t *)) ((arg1)->chat_send); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_chat_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_chat_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_refs_set(void * jarg1, int jarg2) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - int arg2 ; - - arg1 = (switch_chat_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_interface_refs_get(void * jarg1) { - int jresult ; - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - int result; - - arg1 = (switch_chat_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_reflock_set(void * jarg1, void * jarg2) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_chat_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_chat_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_parent_set(void * jarg1, void * jarg2) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_chat_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_parent_get(void * jarg1) { - void * jresult ; - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_chat_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_next_set(void * jarg1, void * jarg2) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_chat_interface *arg2 = (switch_chat_interface *) 0 ; - - arg1 = (switch_chat_interface *)jarg1; - arg2 = (switch_chat_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_next_get(void * jarg1) { - void * jresult ; - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - switch_chat_interface *result = 0 ; - - arg1 = (switch_chat_interface *)jarg1; - result = (switch_chat_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_chat_interface() { - void * jresult ; - switch_chat_interface *result = 0 ; - - result = (switch_chat_interface *)new switch_chat_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_chat_interface(void * jarg1) { - switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; - - arg1 = (switch_chat_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_relative_oid_set(void * jarg1, char * jarg2) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_management_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->relative_oid = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->relative_oid, (const char *)arg2); - } else { - arg1->relative_oid = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_management_interface_relative_oid_get(void * jarg1) { - char * jresult ; - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_management_interface *)jarg1; - result = (char *) ((arg1)->relative_oid); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_management_function_set(void * jarg1, void * jarg2) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_status_t (*arg2)(char *,switch_management_action_t,char *,switch_size_t) = (switch_status_t (*)(char *,switch_management_action_t,char *,switch_size_t)) 0 ; - - arg1 = (switch_management_interface *)jarg1; - arg2 = (switch_status_t (*)(char *,switch_management_action_t,char *,switch_size_t))jarg2; - if (arg1) (arg1)->management_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_management_function_get(void * jarg1) { - void * jresult ; - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_status_t (*result)(char *,switch_management_action_t,char *,switch_size_t) = 0 ; - - arg1 = (switch_management_interface *)jarg1; - result = (switch_status_t (*)(char *,switch_management_action_t,char *,switch_size_t)) ((arg1)->management_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_management_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_management_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_refs_set(void * jarg1, int jarg2) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - int arg2 ; - - arg1 = (switch_management_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_management_interface_refs_get(void * jarg1) { - int jresult ; - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - int result; - - arg1 = (switch_management_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_reflock_set(void * jarg1, void * jarg2) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_management_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_management_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_parent_set(void * jarg1, void * jarg2) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_management_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_parent_get(void * jarg1) { - void * jresult ; - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_management_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_next_set(void * jarg1, void * jarg2) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_management_interface *arg2 = (switch_management_interface *) 0 ; - - arg1 = (switch_management_interface *)jarg1; - arg2 = (switch_management_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_next_get(void * jarg1) { - void * jresult ; - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - switch_management_interface *result = 0 ; - - arg1 = (switch_management_interface *)jarg1; - result = (switch_management_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_management_interface() { - void * jresult ; - switch_management_interface *result = 0 ; - - result = (switch_management_interface *)new switch_management_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_management_interface(void * jarg1) { - switch_management_interface *arg1 = (switch_management_interface *) 0 ; - - arg1 = (switch_management_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_limit_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_incr_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*arg2)(switch_core_session_t *,char const *,char const *,int const,int const) = (switch_status_t (*)(switch_core_session_t *,char const *,char const *,int const,int const)) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_core_session_t *,char const *,char const *,int const,int const))jarg2; - if (arg1) (arg1)->incr = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_incr_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*result)(switch_core_session_t *,char const *,char const *,int const,int const) = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_status_t (*)(switch_core_session_t *,char const *,char const *,int const,int const)) ((arg1)->incr); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_release_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*arg2)(switch_core_session_t *,char const *,char const *) = (switch_status_t (*)(switch_core_session_t *,char const *,char const *)) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_core_session_t *,char const *,char const *))jarg2; - if (arg1) (arg1)->release = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_release_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*result)(switch_core_session_t *,char const *,char const *) = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_status_t (*)(switch_core_session_t *,char const *,char const *)) ((arg1)->release); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_usage_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - int (*arg2)(char const *,char const *,uint32_t *) = (int (*)(char const *,char const *,uint32_t *)) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (int (*)(char const *,char const *,uint32_t *))jarg2; - if (arg1) (arg1)->usage = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_usage_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - int (*result)(char const *,char const *,uint32_t *) = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (int (*)(char const *,char const *,uint32_t *)) ((arg1)->usage); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_reset_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*arg2)(void) = (switch_status_t (*)(void)) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_status_t (*)(void))jarg2; - if (arg1) (arg1)->reset = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_reset_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*result)(void) = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_status_t (*)(void)) ((arg1)->reset); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_status_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - char *(*arg2)(void) = (char *(*)(void)) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (char *(*)(void))jarg2; - if (arg1) (arg1)->status = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_status_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - char *(*result)(void) = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (char *(*)(void)) ((arg1)->status); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*arg2)(char const *,char const *) = (switch_status_t (*)(char const *,char const *)) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_status_t (*)(char const *,char const *))jarg2; - if (arg1) (arg1)->interval_reset = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_status_t (*result)(char const *,char const *) = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_status_t (*)(char const *,char const *)) ((arg1)->interval_reset); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_refs_set(void * jarg1, int jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - int arg2 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_limit_interface_refs_get(void * jarg1) { - int jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - int result; - - arg1 = (switch_limit_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_reflock_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_parent_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_parent_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_next_set(void * jarg1, void * jarg2) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_limit_interface *arg2 = (switch_limit_interface *) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - arg2 = (switch_limit_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_next_get(void * jarg1) { - void * jresult ; - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - switch_limit_interface *result = 0 ; - - arg1 = (switch_limit_interface *)jarg1; - result = (switch_limit_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_limit_interface() { - void * jresult ; - switch_limit_interface *result = 0 ; - - result = (switch_limit_interface *)new switch_limit_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_limit_interface(void * jarg1) { - switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; - - arg1 = (switch_limit_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directory_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_open_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*arg2)(switch_directory_handle_t *,char *,char *,char *) = (switch_status_t (*)(switch_directory_handle_t *,char *,char *,char *)) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_directory_handle_t *,char *,char *,char *))jarg2; - if (arg1) (arg1)->directory_open = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_open_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*result)(switch_directory_handle_t *,char *,char *,char *) = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_status_t (*)(switch_directory_handle_t *,char *,char *,char *)) ((arg1)->directory_open); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_close_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*arg2)(switch_directory_handle_t *) = (switch_status_t (*)(switch_directory_handle_t *)) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_directory_handle_t *))jarg2; - if (arg1) (arg1)->directory_close = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_close_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*result)(switch_directory_handle_t *) = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_status_t (*)(switch_directory_handle_t *)) ((arg1)->directory_close); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_query_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*arg2)(switch_directory_handle_t *,char *,char *) = (switch_status_t (*)(switch_directory_handle_t *,char *,char *)) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_directory_handle_t *,char *,char *))jarg2; - if (arg1) (arg1)->directory_query = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_query_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*result)(switch_directory_handle_t *,char *,char *) = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_status_t (*)(switch_directory_handle_t *,char *,char *)) ((arg1)->directory_query); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_next_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*arg2)(switch_directory_handle_t *) = (switch_status_t (*)(switch_directory_handle_t *)) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_directory_handle_t *))jarg2; - if (arg1) (arg1)->directory_next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_next_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*result)(switch_directory_handle_t *) = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_status_t (*)(switch_directory_handle_t *)) ((arg1)->directory_next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_next_pair_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*arg2)(switch_directory_handle_t *,char **,char **) = (switch_status_t (*)(switch_directory_handle_t *,char **,char **)) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_status_t (*)(switch_directory_handle_t *,char **,char **))jarg2; - if (arg1) (arg1)->directory_next_pair = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_next_pair_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_status_t (*result)(switch_directory_handle_t *,char **,char **) = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_status_t (*)(switch_directory_handle_t *,char **,char **)) ((arg1)->directory_next_pair); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_refs_set(void * jarg1, int jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - int arg2 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_directory_interface_refs_get(void * jarg1) { - int jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - int result; - - arg1 = (switch_directory_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_reflock_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_parent_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_parent_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_next_set(void * jarg1, void * jarg2) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_directory_interface *arg2 = (switch_directory_interface *) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - arg2 = (switch_directory_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_next_get(void * jarg1) { - void * jresult ; - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - switch_directory_interface *result = 0 ; - - arg1 = (switch_directory_interface *)jarg1; - result = (switch_directory_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directory_interface() { - void * jresult ; - switch_directory_interface *result = 0 ; - - result = (switch_directory_interface *)new switch_directory_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directory_interface(void * jarg1) { - switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; - - arg1 = (switch_directory_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_directory_interface_set(void * jarg1, void * jarg2) { - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - switch_directory_interface_t *arg2 = (switch_directory_interface_t *) 0 ; - - arg1 = (switch_directory_handle *)jarg1; - arg2 = (switch_directory_interface_t *)jarg2; - if (arg1) (arg1)->directory_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_directory_interface_get(void * jarg1) { - void * jresult ; - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - switch_directory_interface_t *result = 0 ; - - arg1 = (switch_directory_handle *)jarg1; - result = (switch_directory_interface_t *) ((arg1)->directory_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_flags_set(void * jarg1, unsigned long jarg2) { - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_directory_handle *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_directory_handle_flags_get(void * jarg1) { - unsigned long jresult ; - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - uint32_t result; - - arg1 = (switch_directory_handle *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_memory_pool_set(void * jarg1, void * jarg2) { - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_directory_handle *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->memory_pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_memory_pool_get(void * jarg1) { - void * jresult ; - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_directory_handle *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->memory_pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_private_info_set(void * jarg1, void * jarg2) { - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_directory_handle *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_private_info_get(void * jarg1) { - void * jresult ; - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - void *result = 0 ; - - arg1 = (switch_directory_handle *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directory_handle() { - void * jresult ; - switch_directory_handle *result = 0 ; - - result = (switch_directory_handle *)new switch_directory_handle(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directory_handle(void * jarg1) { - switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; - - arg1 = (switch_directory_handle *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_unused_set(void * jarg1, int jarg2) { - switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; - int arg2 ; - - arg1 = (switch_codec_settings *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->unused = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_unused_get(void * jarg1) { - int jresult ; - switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; - int result; - - arg1 = (switch_codec_settings *)jarg1; - result = (int) ((arg1)->unused); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_settings() { - void * jresult ; - switch_codec_settings *result = 0 ; - - result = (switch_codec_settings *)new switch_codec_settings(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_settings(void * jarg1) { - switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; - - arg1 = (switch_codec_settings *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per_second_set(void * jarg1, unsigned long jarg2) { - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_fmtp *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->actual_samples_per_second = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per_second_get(void * jarg1) { - unsigned long jresult ; - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - uint32_t result; - - arg1 = (switch_codec_fmtp *)jarg1; - result = (uint32_t) ((arg1)->actual_samples_per_second); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_set(void * jarg1, int jarg2) { - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - int arg2 ; - - arg1 = (switch_codec_fmtp *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->bits_per_second = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_get(void * jarg1) { - int jresult ; - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - int result; - - arg1 = (switch_codec_fmtp *)jarg1; - result = (int) ((arg1)->bits_per_second); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_set(void * jarg1, int jarg2) { - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - int arg2 ; - - arg1 = (switch_codec_fmtp *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->microseconds_per_packet = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_get(void * jarg1) { - int jresult ; - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - int result; - - arg1 = (switch_codec_fmtp *)jarg1; - result = (int) ((arg1)->microseconds_per_packet); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_set(void * jarg1, int jarg2) { - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - int arg2 ; - - arg1 = (switch_codec_fmtp *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->stereo = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_get(void * jarg1) { - int jresult ; - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - int result; - - arg1 = (switch_codec_fmtp *)jarg1; - result = (int) ((arg1)->stereo); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_set(void * jarg1, void * jarg2) { - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_codec_fmtp *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_get(void * jarg1) { - void * jresult ; - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - void *result = 0 ; - - arg1 = (switch_codec_fmtp *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_fmtp() { - void * jresult ; - switch_codec_fmtp *result = 0 ; - - result = (switch_codec_fmtp *)new switch_codec_fmtp(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_fmtp(void * jarg1) { - switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; - - arg1 = (switch_codec_fmtp *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_codec_interface_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_codec_interface_t *)jarg2; - if (arg1) (arg1)->codec_interface = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_codec_interface_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_codec_interface_t *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (switch_codec_interface_t *) ((arg1)->codec_interface); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - if (arg1) (arg1)->implementation = (switch_codec_implementation_t const *)arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_codec_implementation_t *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (switch_codec_implementation_t *) ((arg1)->implementation); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_in_set(void * jarg1, char * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->fmtp_in) delete [] arg1->fmtp_in; - if (arg2) { - arg1->fmtp_in = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->fmtp_in, (const char *)arg2); - } else { - arg1->fmtp_in = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_fmtp_in_get(void * jarg1) { - char * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - char *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (char *) ((arg1)->fmtp_in); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_out_set(void * jarg1, char * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->fmtp_out) delete [] arg1->fmtp_out; - if (arg2) { - arg1->fmtp_out = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->fmtp_out, (const char *)arg2); - } else { - arg1->fmtp_out = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_fmtp_out_get(void * jarg1) { - char * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - char *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (char *) ((arg1)->fmtp_out); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_flags_set(void * jarg1, unsigned long jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_flags_get(void * jarg1) { - unsigned long jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - uint32_t result; - - arg1 = (switch_codec *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_memory_pool_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - if (arg1) (arg1)->memory_pool = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_memory_pool_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_memory_pool_t *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (switch_memory_pool_t *) ((arg1)->memory_pool); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_private_info_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->private_info = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_private_info_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - void *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (void *) ((arg1)->private_info); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_agreed_pt_set(void * jarg1, unsigned char jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_payload_t arg2 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_payload_t)jarg2; - if (arg1) (arg1)->agreed_pt = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_agreed_pt_get(void * jarg1) { - unsigned char jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_payload_t result; - - arg1 = (switch_codec *)jarg1; - result = (switch_payload_t) ((arg1)->agreed_pt); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_mutex_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->mutex = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_mutex_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (switch_mutex_t *) ((arg1)->mutex); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_next_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_codec *arg2 = (switch_codec *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_codec *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_next_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_codec *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (switch_codec *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_session_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - if (arg1) (arg1)->session = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_session_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (switch_core_session_t *) ((arg1)->session); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_cur_frame_set(void * jarg1, void * jarg2) { - switch_codec *arg1 = (switch_codec *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - - arg1 = (switch_codec *)jarg1; - arg2 = (switch_frame_t *)jarg2; - if (arg1) (arg1)->cur_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_cur_frame_get(void * jarg1) { - void * jresult ; - switch_codec *arg1 = (switch_codec *) 0 ; - switch_frame_t *result = 0 ; - - arg1 = (switch_codec *)jarg1; - result = (switch_frame_t *) ((arg1)->cur_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec() { - void * jresult ; - switch_codec *result = 0 ; - - result = (switch_codec *)new switch_codec(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec(void * jarg1) { - switch_codec *arg1 = (switch_codec *) 0 ; - - arg1 = (switch_codec *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_type_set(void * jarg1, int jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_codec_type_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (switch_codec_type_t)jarg2; - if (arg1) (arg1)->codec_type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_codec_type_get(void * jarg1) { - int jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_codec_type_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (switch_codec_type_t) ((arg1)->codec_type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_ianacode_set(void * jarg1, unsigned char jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_payload_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (switch_payload_t)jarg2; - if (arg1) (arg1)->ianacode = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_implementation_ianacode_get(void * jarg1) { - unsigned char jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_payload_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (switch_payload_t) ((arg1)->ianacode); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_iananame_set(void * jarg1, char * jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->iananame) delete [] arg1->iananame; - if (arg2) { - arg1->iananame = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->iananame, (const char *)arg2); - } else { - arg1->iananame = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_iananame_get(void * jarg1) { - char * jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - char *result = 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - result = (char *) ((arg1)->iananame); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_fmtp_set(void * jarg1, char * jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->fmtp) delete [] arg1->fmtp; - if (arg2) { - arg1->fmtp = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->fmtp, (const char *)arg2); - } else { - arg1->fmtp = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_fmtp_get(void * jarg1) { - char * jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - char *result = 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - result = (char *) ((arg1)->fmtp); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_second_set(void * jarg1, unsigned long jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samples_per_second = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_second_get(void * jarg1) { - unsigned long jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint32_t) ((arg1)->samples_per_second); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_actual_samples_per_second_set(void * jarg1, unsigned long jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->actual_samples_per_second = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_actual_samples_per_second_get(void * jarg1) { - unsigned long jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint32_t) ((arg1)->actual_samples_per_second); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_bits_per_second_set(void * jarg1, int jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - int arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->bits_per_second = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_bits_per_second_get(void * jarg1) { - int jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - int result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (int) ((arg1)->bits_per_second); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_packet_set(void * jarg1, int jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - int arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->microseconds_per_packet = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_packet_get(void * jarg1) { - int jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - int result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (int) ((arg1)->microseconds_per_packet); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_packet_set(void * jarg1, unsigned long jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->samples_per_packet = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_packet_get(void * jarg1) { - unsigned long jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint32_t) ((arg1)->samples_per_packet); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decoded_bytes_per_packet_set(void * jarg1, unsigned long jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->decoded_bytes_per_packet = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_decoded_bytes_per_packet_get(void * jarg1) { - unsigned long jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint32_t) ((arg1)->decoded_bytes_per_packet); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_packet_set(void * jarg1, unsigned long jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->encoded_bytes_per_packet = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_packet_get(void * jarg1) { - unsigned long jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint32_t) ((arg1)->encoded_bytes_per_packet); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_number_of_channels_set(void * jarg1, unsigned char jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->number_of_channels = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_implementation_number_of_channels_get(void * jarg1) { - unsigned char jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint8_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint8_t) ((arg1)->number_of_channels); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_packet_set(void * jarg1, int jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - int arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->codec_frames_per_packet = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_packet_get(void * jarg1) { - int jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - int result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (int) ((arg1)->codec_frames_per_packet); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_init_set(void * jarg1, void * jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_init_func_t arg2 = (switch_core_codec_init_func_t) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (switch_core_codec_init_func_t)jarg2; - if (arg1) (arg1)->init = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_init_get(void * jarg1) { - void * jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_init_func_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (switch_core_codec_init_func_t) ((arg1)->init); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encode_set(void * jarg1, void * jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_encode_func_t arg2 = (switch_core_codec_encode_func_t) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (switch_core_codec_encode_func_t)jarg2; - if (arg1) (arg1)->encode = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_encode_get(void * jarg1) { - void * jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_encode_func_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (switch_core_codec_encode_func_t) ((arg1)->encode); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decode_set(void * jarg1, void * jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_decode_func_t arg2 = (switch_core_codec_decode_func_t) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (switch_core_codec_decode_func_t)jarg2; - if (arg1) (arg1)->decode = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_decode_get(void * jarg1) { - void * jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_decode_func_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (switch_core_codec_decode_func_t) ((arg1)->decode); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_destroy_set(void * jarg1, void * jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_destroy_func_t arg2 = (switch_core_codec_destroy_func_t) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (switch_core_codec_destroy_func_t)jarg2; - if (arg1) (arg1)->destroy = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_destroy_get(void * jarg1) { - void * jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_core_codec_destroy_func_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (switch_core_codec_destroy_func_t) ((arg1)->destroy); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_id_set(void * jarg1, unsigned long jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->codec_id = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_codec_id_get(void * jarg1) { - unsigned long jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint32_t) ((arg1)->codec_id); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_impl_id_set(void * jarg1, unsigned long jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->impl_id = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_impl_id_get(void * jarg1) { - unsigned long jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - uint32_t result; - - arg1 = (switch_codec_implementation *)jarg1; - result = (uint32_t) ((arg1)->impl_id); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_next_set(void * jarg1, void * jarg2) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_codec_implementation *arg2 = (switch_codec_implementation *) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - arg2 = (switch_codec_implementation *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_next_get(void * jarg1) { - void * jresult ; - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - switch_codec_implementation *result = 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - result = (switch_codec_implementation *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_implementation() { - void * jresult ; - switch_codec_implementation *result = 0 ; - - result = (switch_codec_implementation *)new switch_codec_implementation(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_implementation(void * jarg1) { - switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; - - arg1 = (switch_codec_implementation *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_codec_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_implementations_set(void * jarg1, void * jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (switch_codec_implementation_t *)jarg2; - if (arg1) (arg1)->implementations = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_implementations_get(void * jarg1) { - void * jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_codec_implementation_t *result = 0 ; - - arg1 = (switch_codec_interface *)jarg1; - result = (switch_codec_implementation_t *) ((arg1)->implementations); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_set(void * jarg1, void * jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_core_codec_fmtp_parse_func_t arg2 = (switch_core_codec_fmtp_parse_func_t) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (switch_core_codec_fmtp_parse_func_t)jarg2; - if (arg1) (arg1)->parse_fmtp = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_get(void * jarg1) { - void * jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_core_codec_fmtp_parse_func_t result; - - arg1 = (switch_codec_interface *)jarg1; - result = (switch_core_codec_fmtp_parse_func_t) ((arg1)->parse_fmtp); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_codec_id_set(void * jarg1, unsigned long jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->codec_id = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_interface_codec_id_get(void * jarg1) { - unsigned long jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - uint32_t result; - - arg1 = (switch_codec_interface *)jarg1; - result = (uint32_t) ((arg1)->codec_id); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_codec_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_refs_set(void * jarg1, int jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - int arg2 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_interface_refs_get(void * jarg1) { - int jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - int result; - - arg1 = (switch_codec_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_reflock_set(void * jarg1, void * jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_codec_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parent_set(void * jarg1, void * jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parent_get(void * jarg1) { - void * jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_codec_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_next_set(void * jarg1, void * jarg2) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_codec_interface *arg2 = (switch_codec_interface *) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - arg2 = (switch_codec_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_next_get(void * jarg1) { - void * jresult ; - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - switch_codec_interface *result = 0 ; - - arg1 = (switch_codec_interface *)jarg1; - result = (switch_codec_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_interface() { - void * jresult ; - switch_codec_interface *result = 0 ; - - result = (switch_codec_interface *)new switch_codec_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_interface(void * jarg1) { - switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; - - arg1 = (switch_codec_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_application_function_set(void * jarg1, void * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_application_function_t arg2 = (switch_application_function_t) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (switch_application_function_t)jarg2; - if (arg1) (arg1)->application_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_application_function_get(void * jarg1) { - void * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_application_function_t result; - - arg1 = (switch_application_interface *)jarg1; - result = (switch_application_function_t) ((arg1)->application_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_long_desc_set(void * jarg1, char * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->long_desc = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->long_desc, (const char *)arg2); - } else { - arg1->long_desc = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_long_desc_get(void * jarg1) { - char * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (char *) ((arg1)->long_desc); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_short_desc_set(void * jarg1, char * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->short_desc = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->short_desc, (const char *)arg2); - } else { - arg1->short_desc = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_short_desc_get(void * jarg1) { - char * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (char *) ((arg1)->short_desc); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_syntax_set(void * jarg1, char * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->syntax = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->syntax, (const char *)arg2); - } else { - arg1->syntax = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_syntax_get(void * jarg1) { - char * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (char *) ((arg1)->syntax); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_flags_set(void * jarg1, unsigned long jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_application_interface_flags_get(void * jarg1) { - unsigned long jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - uint32_t result; - - arg1 = (switch_application_interface *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_refs_set(void * jarg1, int jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - int arg2 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_application_interface_refs_get(void * jarg1) { - int jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - int result; - - arg1 = (switch_application_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_reflock_set(void * jarg1, void * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_parent_set(void * jarg1, void * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_parent_get(void * jarg1) { - void * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_next_set(void * jarg1, void * jarg2) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_application_interface *arg2 = (switch_application_interface *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - arg2 = (switch_application_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_next_get(void * jarg1) { - void * jresult ; - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - switch_application_interface *result = 0 ; - - arg1 = (switch_application_interface *)jarg1; - result = (switch_application_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_application_interface() { - void * jresult ; - switch_application_interface *result = 0 ; - - result = (switch_application_interface *)new switch_application_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_application_interface(void * jarg1) { - switch_application_interface *arg1 = (switch_application_interface *) 0 ; - - arg1 = (switch_application_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_chat_application_function_set(void * jarg1, void * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_chat_application_function_t arg2 = (switch_chat_application_function_t) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (switch_chat_application_function_t)jarg2; - if (arg1) (arg1)->chat_application_function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_chat_application_function_get(void * jarg1) { - void * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_chat_application_function_t result; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (switch_chat_application_function_t) ((arg1)->chat_application_function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc_set(void * jarg1, char * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->long_desc = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->long_desc, (const char *)arg2); - } else { - arg1->long_desc = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc_get(void * jarg1) { - char * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (char *) ((arg1)->long_desc); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_short_desc_set(void * jarg1, char * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->short_desc = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->short_desc, (const char *)arg2); - } else { - arg1->short_desc = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_short_desc_get(void * jarg1) { - char * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (char *) ((arg1)->short_desc); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_set(void * jarg1, char * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->syntax = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->syntax, (const char *)arg2); - } else { - arg1->syntax = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_get(void * jarg1) { - char * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (char *) ((arg1)->syntax); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_flags_set(void * jarg1, unsigned long jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_chat_application_interface_flags_get(void * jarg1) { - unsigned long jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - uint32_t result; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_refs_set(void * jarg1, int jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - int arg2 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_application_interface_refs_get(void * jarg1) { - int jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - int result; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_set(void * jarg1, void * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_parent_set(void * jarg1, void * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_parent_get(void * jarg1) { - void * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_next_set(void * jarg1, void * jarg2) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_chat_application_interface *arg2 = (switch_chat_application_interface *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - arg2 = (switch_chat_application_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_next_get(void * jarg1) { - void * jresult ; - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - switch_chat_application_interface *result = 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - result = (switch_chat_application_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_chat_application_interface() { - void * jresult ; - switch_chat_application_interface *result = 0 ; - - result = (switch_chat_application_interface *)new switch_chat_application_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_chat_application_interface(void * jarg1) { - switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; - - arg1 = (switch_chat_application_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_api_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_desc_set(void * jarg1, char * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->desc = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->desc, (const char *)arg2); - } else { - arg1->desc = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_desc_get(void * jarg1) { - char * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_api_interface *)jarg1; - result = (char *) ((arg1)->desc); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_function_set(void * jarg1, void * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_api_function_t arg2 = (switch_api_function_t) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (switch_api_function_t)jarg2; - if (arg1) (arg1)->function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_function_get(void * jarg1) { - void * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_api_function_t result; - - arg1 = (switch_api_interface *)jarg1; - result = (switch_api_function_t) ((arg1)->function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_syntax_set(void * jarg1, char * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->syntax = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->syntax, (const char *)arg2); - } else { - arg1->syntax = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_syntax_get(void * jarg1) { - char * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_api_interface *)jarg1; - result = (char *) ((arg1)->syntax); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_api_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_refs_set(void * jarg1, int jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - int arg2 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_api_interface_refs_get(void * jarg1) { - int jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - int result; - - arg1 = (switch_api_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_reflock_set(void * jarg1, void * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_api_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_parent_set(void * jarg1, void * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_parent_get(void * jarg1) { - void * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_api_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_next_set(void * jarg1, void * jarg2) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_api_interface *arg2 = (switch_api_interface *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - arg2 = (switch_api_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_next_get(void * jarg1) { - void * jresult ; - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - switch_api_interface *result = 0 ; - - arg1 = (switch_api_interface *)jarg1; - result = (switch_api_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_api_interface() { - void * jresult ; - switch_api_interface *result = 0 ; - - result = (switch_api_interface *)new switch_api_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_api_interface(void * jarg1) { - switch_api_interface *arg1 = (switch_api_interface *) 0 ; - - arg1 = (switch_api_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_interface_name_set(void * jarg1, char * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->interface_name = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->interface_name, (const char *)arg2); - } else { - arg1->interface_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_interface_name_get(void * jarg1) { - char * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - result = (char *) ((arg1)->interface_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_desc_set(void * jarg1, char * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->desc = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->desc, (const char *)arg2); - } else { - arg1->desc = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_desc_get(void * jarg1) { - char * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - result = (char *) ((arg1)->desc); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_function_set(void * jarg1, void * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_json_api_function_t arg2 = (switch_json_api_function_t) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (switch_json_api_function_t)jarg2; - if (arg1) (arg1)->function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_function_get(void * jarg1) { - void * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_json_api_function_t result; - - arg1 = (switch_json_api_interface *)jarg1; - result = (switch_json_api_function_t) ((arg1)->function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_syntax_set(void * jarg1, char * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (char *)jarg2; - { - if (arg2) { - arg1->syntax = (char const *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->syntax, (const char *)arg2); - } else { - arg1->syntax = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_syntax_get(void * jarg1) { - char * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - char *result = 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - result = (char *) ((arg1)->syntax); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_rwlock_set(void * jarg1, void * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (switch_thread_rwlock_t *)jarg2; - if (arg1) (arg1)->rwlock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_rwlock_get(void * jarg1) { - void * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_thread_rwlock_t *result = 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - result = (switch_thread_rwlock_t *) ((arg1)->rwlock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_refs_set(void * jarg1, int jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - int arg2 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_json_api_interface_refs_get(void * jarg1) { - int jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - int result; - - arg1 = (switch_json_api_interface *)jarg1; - result = (int) ((arg1)->refs); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_reflock_set(void * jarg1, void * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->reflock = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_reflock_get(void * jarg1) { - void * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - result = (switch_mutex_t *) ((arg1)->reflock); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_parent_set(void * jarg1, void * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (switch_loadable_module_interface_t *)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_parent_get(void * jarg1) { - void * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_loadable_module_interface_t *result = 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - result = (switch_loadable_module_interface_t *) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_next_set(void * jarg1, void * jarg2) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_json_api_interface *arg2 = (switch_json_api_interface *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - arg2 = (switch_json_api_interface *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_next_get(void * jarg1) { - void * jresult ; - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - switch_json_api_interface *result = 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - result = (switch_json_api_interface *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_json_api_interface() { - void * jresult ; - switch_json_api_interface *result = 0 ; - - result = (switch_json_api_interface *)new switch_json_api_interface(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_json_api_interface(void * jarg1) { - switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; - - arg1 = (switch_json_api_interface *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_session_set(void * jarg1, void * jarg2) { - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - - arg1 = (switch_slin_data *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - if (arg1) (arg1)->session = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_session_get(void * jarg1) { - void * jresult ; - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (switch_slin_data *)jarg1; - result = (switch_core_session_t *) ((arg1)->session); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_write_frame_set(void * jarg1, void * jarg2) { - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - - arg1 = (switch_slin_data *)jarg1; - arg2 = (switch_frame_t *)jarg2; - if (arg1) (arg1)->write_frame = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_write_frame_get(void * jarg1) { - void * jresult ; - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - switch_frame_t *result = 0 ; - - arg1 = (switch_slin_data *)jarg1; - result = (switch_frame_t *)& ((arg1)->write_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_codec_set(void * jarg1, void * jarg2) { - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - - arg1 = (switch_slin_data *)jarg1; - arg2 = (switch_codec_t *)jarg2; - if (arg1) (arg1)->codec = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_codec_get(void * jarg1) { - void * jresult ; - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_slin_data *)jarg1; - result = (switch_codec_t *)& ((arg1)->codec); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_frame_data_set(void * jarg1, char * jarg2) { - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - char *arg2 ; - - arg1 = (switch_slin_data *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->frame_data, (const char *)arg2, 8192-1); - arg1->frame_data[8192-1] = 0; - } else { - arg1->frame_data[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_slin_data_frame_data_get(void * jarg1) { - char * jresult ; - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - char *result = 0 ; - - arg1 = (switch_slin_data *)jarg1; - result = (char *)(char *) ((arg1)->frame_data); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_slin_data() { - void * jresult ; - switch_slin_data *result = 0 ; - - result = (switch_slin_data *)new switch_slin_data(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_slin_data(void * jarg1) { - switch_slin_data *arg1 = (switch_slin_data *) 0 ; - - arg1 = (switch_slin_data *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_profile_created_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->profile_created = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_profile_created_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->profile_created); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_created_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->created = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_created_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->created); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_answered_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->answered = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_answered_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->answered); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_progress_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->progress = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_progress_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->progress); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_progress_media_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->progress_media = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_progress_media_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->progress_media); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_hungup_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->hungup = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_hungup_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->hungup); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_transferred_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->transferred = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_transferred_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->transferred); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_resurrected_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->resurrected = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_resurrected_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->resurrected); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_bridged_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->bridged = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_bridged_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->bridged); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->last_hold = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->last_hold); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_channel_timetable *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->hold_accum = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_time_t result; - - arg1 = (switch_channel_timetable *)jarg1; - result = ((arg1)->hold_accum); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_next_set(void * jarg1, void * jarg2) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ; - - arg1 = (switch_channel_timetable *)jarg1; - arg2 = (switch_channel_timetable *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_next_get(void * jarg1) { - void * jresult ; - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - switch_channel_timetable *result = 0 ; - - arg1 = (switch_channel_timetable *)jarg1; - result = (switch_channel_timetable *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_channel_timetable() { - void * jresult ; - switch_channel_timetable *result = 0 ; - - result = (switch_channel_timetable *)new switch_channel_timetable(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_channel_timetable(void * jarg1) { - switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; - - arg1 = (switch_channel_timetable *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_state(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_state_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_channel_state_t)switch_channel_get_state(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_running_state(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_state_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_channel_state_t)switch_channel_get_running_state(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_check_signal(void * jarg1, int jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_bool_t arg2 ; - int result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (int)switch_channel_check_signal(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_ready(void * jarg1, int jarg2, int jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_bool_t arg2 ; - switch_bool_t arg3 ; - int result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (int)switch_channel_test_ready(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_wait_for_state(void * jarg1, void * jarg2, int jarg3) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - switch_channel_state_t arg3 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (switch_channel_state_t)jarg3; - switch_channel_wait_for_state(arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_wait_for_state_timeout(void * jarg1, int jarg2, unsigned long jarg3) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_state_t arg2 ; - uint32_t arg3 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_state_t)jarg2; - arg3 = (uint32_t)jarg3; - switch_channel_wait_for_state_timeout(arg1,arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_wait_for_flag(void * jarg1, int jarg2, int jarg3, unsigned long jarg4, void * jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - switch_bool_t arg3 ; - uint32_t arg4 ; - switch_channel_t *arg5 = (switch_channel_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - arg3 = (switch_bool_t)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (switch_channel_t *)jarg5; - result = (switch_status_t)switch_channel_wait_for_flag(arg1,arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_set_state(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_channel_state_t arg5 ; - switch_channel_state_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (switch_channel_state_t)jarg5; - result = (switch_channel_state_t)switch_channel_perform_set_state(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_set_running_state(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_state_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_channel_state_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_state_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (switch_channel_state_t)switch_channel_perform_set_running_state(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_str2cause(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_call_cause_t result; - - arg1 = (char *)jarg1; - result = (switch_call_cause_t)switch_channel_str2cause((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_cause(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_call_cause_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_call_cause_t)switch_channel_get_cause(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_cause_q850(int jarg1) { - int jresult ; - switch_call_cause_t arg1 ; - switch_call_cause_t result; - - arg1 = (switch_call_cause_t)jarg1; - result = (switch_call_cause_t)switch_channel_cause_q850(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_cause_q850(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_call_cause_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_call_cause_t)switch_channel_get_cause_q850(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_cause_ptr(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_call_cause_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_call_cause_t *)switch_channel_get_cause_ptr(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_cause2str(int jarg1) { - char * jresult ; - switch_call_cause_t arg1 ; - char *result = 0 ; - - arg1 = (switch_call_cause_t)jarg1; - result = (char *)switch_channel_cause2str(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_timetable(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_timetable_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_channel_timetable_t *)switch_channel_get_timetable(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_alloc(void * jarg1, int jarg2, void * jarg3) { - int jresult ; - switch_channel_t **arg1 = (switch_channel_t **) 0 ; - switch_call_direction_t arg2 ; - switch_memory_pool_t *arg3 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t **)jarg1; - arg2 = (switch_call_direction_t)jarg2; - arg3 = (switch_memory_pool_t *)jarg3; - result = (switch_status_t)switch_channel_alloc(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_init(void * jarg1, void * jarg2, int jarg3, int jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_channel_state_t arg3 ; - switch_channel_flag_t arg4 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - arg3 = (switch_channel_state_t)jarg3; - arg4 = (switch_channel_flag_t)jarg4; - result = (switch_status_t)switch_channel_init(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_presence_data_vals(void * jarg1, char * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - switch_channel_set_presence_data_vals(arg1,(char const *)arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_presence(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, int jarg7) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - int arg7 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (int)jarg7; - switch_channel_perform_presence(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_uninit(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_uninit(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_caller_profile(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - switch_channel_set_caller_profile(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_step_caller_profile(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_step_caller_profile(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_caller_profile(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_caller_profile_t *)switch_channel_get_caller_profile(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_originator_caller_profile(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - switch_channel_set_originator_caller_profile(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hunt_caller_profile(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - switch_channel_set_hunt_caller_profile(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_originator_caller_profile(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_caller_profile_t *)switch_channel_get_originator_caller_profile(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_originatee_caller_profile(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - switch_channel_set_originatee_caller_profile(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_originatee_caller_profile(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_caller_profile_t *)switch_channel_get_originatee_caller_profile(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_origination_caller_profile(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - switch_channel_set_origination_caller_profile(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_origination_caller_profile(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_caller_profile_t *)switch_channel_get_origination_caller_profile(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_uuid(void * jarg1) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (char *)switch_channel_get_uuid(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_profile_var(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_channel_set_profile_var(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_var_check(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_bool_t arg4 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (switch_status_t)switch_channel_set_variable_var_check(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_add_variable_var_check(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_bool_t arg4 ; - switch_stack_t arg5 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_bool_t)jarg4; - arg5 = (switch_stack_t)jarg5; - result = (switch_status_t)switch_channel_add_variable_var_check(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_printf(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - void *arg4 = 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_channel_set_variable_printf(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_name_printf(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - void *arg4 = 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_channel_set_variable_name_printf(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_partner_var_check(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_bool_t arg4 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (switch_status_t)switch_channel_set_variable_partner_var_check(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_variable_partner(void * jarg1, char * jarg2) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_channel_get_variable_partner(arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_hold_music(void * jarg1) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (char *)switch_channel_get_hold_music(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_hold_music_partner(void * jarg1) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (char *)switch_channel_get_hold_music_partner(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_del_variable_prefix(void * jarg1, char * jarg2) { - unsigned long jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (uint32_t)switch_channel_del_variable_prefix(arg1,(char const *)arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_transfer_variable_prefix(void * jarg1, void * jarg2, char * jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_channel_transfer_variable_prefix(arg1,arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_export_variable_var_check(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_bool_t arg5 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_bool_t)jarg5; - result = (switch_status_t)switch_channel_export_variable_var_check(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_process_export(void * jarg1, void * jarg2, void * jarg3, char * jarg4) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - switch_event_t *arg3 = (switch_event_t *) 0 ; - char *arg4 = (char *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (switch_event_t *)jarg3; - arg4 = (char *)jarg4; - switch_channel_process_export(arg1,arg2,arg3,(char const *)arg4); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_export_variable_printf(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - void *arg5 = 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_channel_export_variable_printf(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_scope_variables(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - switch_channel_set_scope_variables(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_scope_variables(void * jarg1, void * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_channel_get_scope_variables(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_variable_dup(void * jarg1, char * jarg2, int jarg3, int jarg4) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - int arg4 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - arg4 = (int)jarg4; - result = (char *)switch_channel_get_variable_dup(arg1,(char const *)arg2,arg3,arg4); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_variables(void * jarg1, void * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_t **arg2 = (switch_event_t **) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_event_t **)jarg2; - result = (switch_status_t)switch_channel_get_variables(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_pass_callee_id(void * jarg1, void * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_t *)jarg2; - result = (switch_status_t)switch_channel_pass_callee_id(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_variable_first(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_header_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_event_header_t *)switch_channel_variable_first(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_variable_last(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_variable_last(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_restart(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_restart(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_caller_extension_masquerade(void * jarg1, void * jarg2, unsigned long jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - uint32_t arg3 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (uint32_t)jarg3; - result = (switch_status_t)switch_channel_caller_extension_masquerade(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_caller_extension(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_extension_t *)jarg2; - switch_channel_set_caller_extension(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_invert_cid(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_invert_cid(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_flip_cid(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_flip_cid(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_sort_cid(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_sort_cid(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_caller_extension(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_extension_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_caller_extension_t *)switch_channel_get_caller_extension(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag(void * jarg1, int jarg2) { - unsigned long jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - uint32_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - result = (uint32_t)switch_channel_test_flag(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag_value(void * jarg1, int jarg2, unsigned long jarg3) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - uint32_t arg3 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - arg3 = (uint32_t)jarg3; - switch_channel_set_flag_value(arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag_recursive(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - switch_channel_set_flag_recursive(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_cap_value(void * jarg1, int jarg2, unsigned long jarg3) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_cap_t arg2 ; - uint32_t arg3 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_cap_t)jarg2; - arg3 = (uint32_t)jarg3; - switch_channel_set_cap_value(arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_cap(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_cap_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_cap_t)jarg2; - switch_channel_clear_cap(arg1,arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_cap(void * jarg1, int jarg2) { - unsigned long jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_cap_t arg2 ; - uint32_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_cap_t)jarg2; - result = (uint32_t)switch_channel_test_cap(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_cap_partner(void * jarg1, int jarg2) { - unsigned long jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_cap_t arg2 ; - uint32_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_cap_t)jarg2; - result = (uint32_t)switch_channel_test_cap_partner(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_flag_partner(void * jarg1, int jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - switch_bool_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - result = (switch_bool_t)switch_channel_set_flag_partner(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_clear_flag_partner(void * jarg1, int jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - switch_bool_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - result = (switch_bool_t)switch_channel_clear_flag_partner(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag_partner(void * jarg1, int jarg2) { - unsigned long jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - uint32_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - result = (uint32_t)switch_channel_test_flag_partner(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_state_flag(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - switch_channel_set_state_flag(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_state_flag(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - switch_channel_clear_state_flag(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - switch_channel_clear_flag(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag_recursive(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_flag_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_flag_t)jarg2; - switch_channel_clear_flag_recursive(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_answer(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_channel_perform_answer(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_answered(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_channel_perform_mark_answered(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_check_zrtp(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_check_zrtp(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_ring_ready_value(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_ring_ready_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_ring_ready_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (switch_status_t)switch_channel_perform_ring_ready_value(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_pre_answer(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_channel_perform_pre_answer(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_pre_answered(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_channel_perform_mark_pre_answered(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_ring_ready_value(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_ring_ready_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_ring_ready_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - result = (switch_status_t)switch_channel_perform_mark_ring_ready_value(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_add_state_handler(void * jarg1, void * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_state_handler_table_t *arg2 = (switch_state_handler_table_t *) 0 ; - int result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_state_handler_table_t *)jarg2; - result = (int)switch_channel_add_state_handler(arg1,(switch_state_handler_table const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_state_handler(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_state_handler_table_t *arg2 = (switch_state_handler_table_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_state_handler_table_t *)jarg2; - switch_channel_clear_state_handler(arg1,(switch_state_handler_table const *)arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_state_handler(void * jarg1, int jarg2) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - int arg2 ; - switch_state_handler_table_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (int)jarg2; - result = (switch_state_handler_table_t *)switch_channel_get_state_handler(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_private(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - result = (switch_status_t)switch_channel_set_private(arg1,(char const *)arg2,(void const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_private(void * jarg1, char * jarg2) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - void *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (void *)switch_channel_get_private(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_private_partner(void * jarg1, char * jarg2) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - void *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (void *)switch_channel_get_private_partner(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_name(void * jarg1, char * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_channel_set_name(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_name(void * jarg1) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (char *)switch_channel_get_name(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_hangup(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_call_cause_t arg5 ; - switch_channel_state_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (switch_call_cause_t)jarg5; - result = (switch_channel_state_t)switch_channel_perform_hangup(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_has_dtmf(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_size_t result; - - arg1 = (switch_channel_t *)jarg1; - result = switch_channel_has_dtmf(arg1); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_dtmf_lock(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_status_t)switch_channel_dtmf_lock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_try_dtmf_lock(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_status_t)switch_channel_try_dtmf_lock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_dtmf_unlock(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_status_t)switch_channel_dtmf_unlock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_queue_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - result = (switch_status_t)switch_channel_queue_dtmf(arg1,(switch_dtmf_t const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_queue_dtmf_string(void * jarg1, char * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_channel_queue_dtmf_string(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_dequeue_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - result = (switch_status_t)switch_channel_dequeue_dtmf(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_flush_dtmf(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_flush_dtmf(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_dequeue_dtmf_string(void * jarg1, char * jarg2, void * jarg3) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_channel_dequeue_dtmf_string(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_state_name(int jarg1) { - char * jresult ; - switch_channel_state_t arg1 ; - char *result = 0 ; - - arg1 = (switch_channel_state_t)jarg1; - result = (char *)switch_channel_state_name(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_name_state(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_channel_state_t result; - - arg1 = (char *)jarg1; - result = (switch_channel_state_t)switch_channel_name_state((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_data(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - switch_channel_event_set_data(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_basic_data(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - switch_channel_event_set_basic_data(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_extended_data(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - switch_channel_event_set_extended_data(arg1,arg2); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_expand_variables_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_event_t *arg3 = (switch_event_t *) 0 ; - switch_event_t *arg4 = (switch_event_t *) 0 ; - uint32_t arg5 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_event_t *)jarg3; - arg4 = (switch_event_t *)jarg4; - arg5 = (uint32_t)jarg5; - result = (char *)switch_channel_expand_variables_check(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_build_param_string(void * jarg1, void * jarg2, char * jarg3) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - char *arg3 = (char *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - arg3 = (char *)jarg3; - result = (char *)switch_channel_build_param_string(arg1,arg2,(char const *)arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_timestamps(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_status_t)switch_channel_set_timestamps(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_audio_sync(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - switch_channel_perform_audio_sync(arg1,(char const *)arg2,(char const *)arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_private_flag(void * jarg1, unsigned long jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_channel_set_private_flag(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_private_flag(void * jarg1, unsigned long jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_channel_clear_private_flag(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_private_flag(void * jarg1, unsigned long jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - uint32_t arg2 ; - int result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (int)switch_channel_test_private_flag(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) { - char *arg1 = (char *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - uint32_t arg3 ; - - arg1 = (char *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (uint32_t)jarg3; - switch_channel_set_app_flag_key((char const *)arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) { - char *arg1 = (char *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - uint32_t arg3 ; - - arg1 = (char *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (uint32_t)jarg3; - switch_channel_clear_app_flag_key((char const *)arg1,arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - uint32_t arg3 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (uint32_t)jarg3; - result = (int)switch_channel_test_app_flag_key((char const *)arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_bridge_time(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_set_bridge_time(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hangup_time(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_set_hangup_time(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_direction(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_call_direction_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_call_direction_t)switch_channel_direction(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_logical_direction(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_call_direction_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_call_direction_t)switch_channel_logical_direction(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_direction(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_call_direction_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_call_direction_t)jarg2; - switch_channel_set_direction(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_session(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_core_session_t *)switch_channel_get_session(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_flag_string(void * jarg1) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (char *)switch_channel_get_flag_string(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_cap_string(void * jarg1) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (char *)switch_channel_get_cap_string(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_state_change_pending(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - int result; - - arg1 = (switch_channel_t *)jarg1; - result = (int)switch_channel_state_change_pending(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_set_callstate(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_callstate_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_callstate_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - switch_channel_perform_set_callstate(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_callstate(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_callstate_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_channel_callstate_t)switch_channel_get_callstate(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_callstate2str(int jarg1) { - char * jresult ; - switch_channel_callstate_t arg1 ; - char *result = 0 ; - - arg1 = (switch_channel_callstate_t)jarg1; - result = (char *)switch_channel_callstate2str(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_str2callstate(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_channel_callstate_t result; - - arg1 = (char *)jarg1; - result = (switch_channel_callstate_t)switch_channel_str2callstate((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_mark_hold(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - switch_channel_mark_hold(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_execute_on(void * jarg1, char * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_channel_execute_on(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_api_on(void * jarg1, char * jarg2) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_channel_api_on(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_process_device_hangup(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_process_device_hangup(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_queued_extension(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_extension_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_caller_extension_t *)switch_channel_get_queued_extension(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_transfer_to_extension(void * jarg1, void * jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_caller_extension_t *)jarg2; - switch_channel_transfer_to_extension(arg1,arg2); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_partner_uuid(void * jarg1) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (char *)switch_channel_get_partner_uuid(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_hold_record(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_hold_record_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_hold_record_t *)switch_channel_get_hold_record(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_state_thread_lock(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_state_thread_lock(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_state_thread_unlock(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_state_thread_unlock(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_state_thread_trylock(void * jarg1) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_status_t)switch_channel_state_thread_trylock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_handle_cause(void * jarg1, int jarg2) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_call_cause_t arg2 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_call_cause_t)jarg2; - switch_channel_handle_cause(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_global_init(void * jarg1) { - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - switch_channel_global_init(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_global_uninit() { - switch_channel_global_uninit(); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_set_device_id(void * jarg1, char * jarg2) { - char * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_channel_set_device_id(arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_device_record(void * jarg1) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - switch_channel_clear_device_record(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_device_record(void * jarg1) { - void * jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_device_record_t *result = 0 ; - - arg1 = (switch_channel_t *)jarg1; - result = (switch_device_record_t *)switch_channel_get_device_record(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_release_device_record(void * jarg1) { - switch_device_record_t **arg1 = (switch_device_record_t **) 0 ; - - arg1 = (switch_device_record_t **)jarg1; - switch_channel_release_device_record(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_bind_device_state_handler(void * jarg1, void * jarg2) { - int jresult ; - switch_device_state_function_t arg1 = (switch_device_state_function_t) 0 ; - void *arg2 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_device_state_function_t)jarg1; - arg2 = (void *)jarg2; - result = (switch_status_t)switch_channel_bind_device_state_handler(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_unbind_device_state_handler(void * jarg1) { - int jresult ; - switch_device_state_function_t arg1 = (switch_device_state_function_t) 0 ; - switch_status_t result; - - arg1 = (switch_device_state_function_t)jarg1; - result = (switch_status_t)switch_channel_unbind_device_state_handler(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_device_state2str(int jarg1) { - char * jresult ; - switch_device_state_t arg1 ; - char *result = 0 ; - - arg1 = (switch_device_state_t)jarg1; - result = (char *)switch_channel_device_state2str(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_pass_sdp(void * jarg1, void * jarg2, char * jarg3) { - int jresult ; - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_channel_pass_sdp(arg1,arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_buffer_t **arg2 = (switch_buffer_t **) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (switch_buffer_t **)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (switch_status_t)switch_buffer_create(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create_dynamic(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_buffer_t **arg1 = (switch_buffer_t **) 0 ; - switch_size_t arg2 ; - switch_size_t arg3 ; - switch_size_t arg4 ; - switch_size_t *argp2 ; - switch_size_t *argp3 ; - switch_size_t *argp4 ; - switch_status_t result; - - arg1 = (switch_buffer_t **)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - argp4 = (switch_size_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg4 = *argp4; - result = (switch_status_t)switch_buffer_create_dynamic(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_add_mutex(void * jarg1, void * jarg2) { - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - switch_buffer_add_mutex(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_lock(void * jarg1) { - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - - arg1 = (switch_buffer_t *)jarg1; - switch_buffer_lock(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_trylock(void * jarg1) { - int jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - switch_status_t result; - - arg1 = (switch_buffer_t *)jarg1; - result = (switch_status_t)switch_buffer_trylock(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_unlock(void * jarg1) { - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - - arg1 = (switch_buffer_t *)jarg1; - switch_buffer_unlock(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_len(void * jarg1) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - result = switch_buffer_len(arg1); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_freespace(void * jarg1) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - result = switch_buffer_freespace(arg1); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_inuse(void * jarg1) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - result = switch_buffer_inuse(arg1); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_read(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (void *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_buffer_read(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_peek(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (void *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_buffer_peek(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_peek_zerocopy(void * jarg1, void * jarg2) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - void **arg2 = (void **) 0 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (void **)jarg2; - result = switch_buffer_peek_zerocopy(arg1,(void const **)arg2); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_read_loop(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (void *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_buffer_read_loop(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_set_loops(void * jarg1, int jarg2) { - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - int32_t arg2 ; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (int32_t)jarg2; - switch_buffer_set_loops(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_write(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (void *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_buffer_write(arg1,(void const *)arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_toss(void * jarg1, void * jarg2) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - result = switch_buffer_toss(arg1,arg2); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_zero(void * jarg1) { - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - - arg1 = (switch_buffer_t *)jarg1; - switch_buffer_zero(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_slide_write(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (void *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_buffer_slide_write(arg1,(void const *)arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_destroy(void * jarg1) { - switch_buffer_t **arg1 = (switch_buffer_t **) 0 ; - - arg1 = (switch_buffer_t **)jarg1; - switch_buffer_destroy(arg1); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_zwrite(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (switch_buffer_t *)jarg1; - arg2 = (void *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_buffer_zwrite(arg1,(void const *)arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_name_set(void * jarg1, char * jarg2) { - switch_event_header *arg1 = (switch_event_header *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_event_header *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->name) delete [] arg1->name; - if (arg2) { - arg1->name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->name, (const char *)arg2); - } else { - arg1->name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_header_name_get(void * jarg1) { - char * jresult ; - switch_event_header *arg1 = (switch_event_header *) 0 ; - char *result = 0 ; - - arg1 = (switch_event_header *)jarg1; - result = (char *) ((arg1)->name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_value_set(void * jarg1, char * jarg2) { - switch_event_header *arg1 = (switch_event_header *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_event_header *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->value) delete [] arg1->value; - if (arg2) { - arg1->value = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->value, (const char *)arg2); - } else { - arg1->value = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_header_value_get(void * jarg1) { - char * jresult ; - switch_event_header *arg1 = (switch_event_header *) 0 ; - char *result = 0 ; - - arg1 = (switch_event_header *)jarg1; - result = (char *) ((arg1)->value); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_array_set(void * jarg1, void * jarg2) { - switch_event_header *arg1 = (switch_event_header *) 0 ; - char **arg2 = (char **) 0 ; - - arg1 = (switch_event_header *)jarg1; - arg2 = (char **)jarg2; - if (arg1) (arg1)->array = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_header_array_get(void * jarg1) { - void * jresult ; - switch_event_header *arg1 = (switch_event_header *) 0 ; - char **result = 0 ; - - arg1 = (switch_event_header *)jarg1; - result = (char **) ((arg1)->array); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_idx_set(void * jarg1, int jarg2) { - switch_event_header *arg1 = (switch_event_header *) 0 ; - int arg2 ; - - arg1 = (switch_event_header *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->idx = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_header_idx_get(void * jarg1) { - int jresult ; - switch_event_header *arg1 = (switch_event_header *) 0 ; - int result; - - arg1 = (switch_event_header *)jarg1; - result = (int) ((arg1)->idx); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_hash_set(void * jarg1, unsigned long jarg2) { - switch_event_header *arg1 = (switch_event_header *) 0 ; - unsigned long arg2 ; - - arg1 = (switch_event_header *)jarg1; - arg2 = (unsigned long)jarg2; - if (arg1) (arg1)->hash = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_header_hash_get(void * jarg1) { - unsigned long jresult ; - switch_event_header *arg1 = (switch_event_header *) 0 ; - unsigned long result; - - arg1 = (switch_event_header *)jarg1; - result = (unsigned long) ((arg1)->hash); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_next_set(void * jarg1, void * jarg2) { - switch_event_header *arg1 = (switch_event_header *) 0 ; - switch_event_header *arg2 = (switch_event_header *) 0 ; - - arg1 = (switch_event_header *)jarg1; - arg2 = (switch_event_header *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_header_next_get(void * jarg1) { - void * jresult ; - switch_event_header *arg1 = (switch_event_header *) 0 ; - switch_event_header *result = 0 ; - - arg1 = (switch_event_header *)jarg1; - result = (switch_event_header *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_event_header() { - void * jresult ; - switch_event_header *result = 0 ; - - result = (switch_event_header *)new switch_event_header(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_event_header(void * jarg1) { - switch_event_header *arg1 = (switch_event_header *) 0 ; - - arg1 = (switch_event_header *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_event_id_set(void * jarg1, int jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - switch_event_types_t arg2 ; - - arg1 = (switch_event *)jarg1; - arg2 = (switch_event_types_t)jarg2; - if (arg1) (arg1)->event_id = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_event_id_get(void * jarg1) { - int jresult ; - switch_event *arg1 = (switch_event *) 0 ; - switch_event_types_t result; - - arg1 = (switch_event *)jarg1; - result = (switch_event_types_t) ((arg1)->event_id); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_priority_set(void * jarg1, int jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - switch_priority_t arg2 ; - - arg1 = (switch_event *)jarg1; - arg2 = (switch_priority_t)jarg2; - if (arg1) (arg1)->priority = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_priority_get(void * jarg1) { - int jresult ; - switch_event *arg1 = (switch_event *) 0 ; - switch_priority_t result; - - arg1 = (switch_event *)jarg1; - result = (switch_priority_t) ((arg1)->priority); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_owner_set(void * jarg1, char * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->owner) delete [] arg1->owner; - if (arg2) { - arg1->owner = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->owner, (const char *)arg2); - } else { - arg1->owner = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_owner_get(void * jarg1) { - char * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - char *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (char *) ((arg1)->owner); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_subclass_name_set(void * jarg1, char * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->subclass_name) delete [] arg1->subclass_name; - if (arg2) { - arg1->subclass_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->subclass_name, (const char *)arg2); - } else { - arg1->subclass_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_subclass_name_get(void * jarg1) { - char * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - char *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (char *) ((arg1)->subclass_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_headers_set(void * jarg1, void * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - switch_event_header_t *arg2 = (switch_event_header_t *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (switch_event_header_t *)jarg2; - if (arg1) (arg1)->headers = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_headers_get(void * jarg1) { - void * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - switch_event_header_t *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (switch_event_header_t *) ((arg1)->headers); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_last_header_set(void * jarg1, void * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - switch_event_header_t *arg2 = (switch_event_header_t *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (switch_event_header_t *)jarg2; - if (arg1) (arg1)->last_header = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_last_header_get(void * jarg1) { - void * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - switch_event_header_t *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (switch_event_header_t *) ((arg1)->last_header); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_body_set(void * jarg1, char * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->body) delete [] arg1->body; - if (arg2) { - arg1->body = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->body, (const char *)arg2); - } else { - arg1->body = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_body_get(void * jarg1) { - char * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - char *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (char *) ((arg1)->body); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_bind_user_data_set(void * jarg1, void * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->bind_user_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_bind_user_data_get(void * jarg1) { - void * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - void *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (void *) ((arg1)->bind_user_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_event_user_data_set(void * jarg1, void * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->event_user_data = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_event_user_data_get(void * jarg1) { - void * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - void *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (void *) ((arg1)->event_user_data); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_key_set(void * jarg1, unsigned long jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - unsigned long arg2 ; - - arg1 = (switch_event *)jarg1; - arg2 = (unsigned long)jarg2; - if (arg1) (arg1)->key = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_key_get(void * jarg1) { - unsigned long jresult ; - switch_event *arg1 = (switch_event *) 0 ; - unsigned long result; - - arg1 = (switch_event *)jarg1; - result = (unsigned long) ((arg1)->key); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_next_set(void * jarg1, void * jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - switch_event *arg2 = (switch_event *) 0 ; - - arg1 = (switch_event *)jarg1; - arg2 = (switch_event *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_next_get(void * jarg1) { - void * jresult ; - switch_event *arg1 = (switch_event *) 0 ; - switch_event *result = 0 ; - - arg1 = (switch_event *)jarg1; - result = (switch_event *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_flags_set(void * jarg1, int jarg2) { - switch_event *arg1 = (switch_event *) 0 ; - int arg2 ; - - arg1 = (switch_event *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_flags_get(void * jarg1) { - int jresult ; - switch_event *arg1 = (switch_event *) 0 ; - int result; - - arg1 = (switch_event *)jarg1; - result = (int) ((arg1)->flags); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_event() { - void * jresult ; - switch_event *result = 0 ; - - result = (switch_event *)new switch_event(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_event(void * jarg1) { - switch_event *arg1 = (switch_event *) 0 ; - - arg1 = (switch_event *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_event_id_set(void * jarg1, int jarg2) { - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - int arg2 ; - - arg1 = (switch_serial_event_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->event_id = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_event_id_get(void * jarg1) { - int jresult ; - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - int result; - - arg1 = (switch_serial_event_t *)jarg1; - result = (int) ((arg1)->event_id); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_priority_set(void * jarg1, int jarg2) { - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - int arg2 ; - - arg1 = (switch_serial_event_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->priority = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_priority_get(void * jarg1) { - int jresult ; - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - int result; - - arg1 = (switch_serial_event_t *)jarg1; - result = (int) ((arg1)->priority); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_flags_set(void * jarg1, int jarg2) { - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - int arg2 ; - - arg1 = (switch_serial_event_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_flags_get(void * jarg1) { - int jresult ; - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - int result; - - arg1 = (switch_serial_event_t *)jarg1; - result = (int) ((arg1)->flags); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_owner_set(void * jarg1, char * jarg2) { - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_serial_event_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->owner) delete [] arg1->owner; - if (arg2) { - arg1->owner = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->owner, (const char *)arg2); - } else { - arg1->owner = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_owner_get(void * jarg1) { - char * jresult ; - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_serial_event_t *)jarg1; - result = (char *) ((arg1)->owner); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_subclass_name_set(void * jarg1, char * jarg2) { - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_serial_event_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->subclass_name) delete [] arg1->subclass_name; - if (arg2) { - arg1->subclass_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->subclass_name, (const char *)arg2); - } else { - arg1->subclass_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_subclass_name_get(void * jarg1) { - char * jresult ; - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_serial_event_t *)jarg1; - result = (char *) ((arg1)->subclass_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_body_set(void * jarg1, char * jarg2) { - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_serial_event_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->body) delete [] arg1->body; - if (arg2) { - arg1->body = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->body, (const char *)arg2); - } else { - arg1->body = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_body_get(void * jarg1) { - char * jresult ; - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_serial_event_t *)jarg1; - result = (char *) ((arg1)->body); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_serial_event_t() { - void * jresult ; - switch_serial_event_t *result = 0 ; - - result = (switch_serial_event_t *)new switch_serial_event_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_serial_event_t(void * jarg1) { - switch_serial_event_t *arg1 = (switch_serial_event_t *) 0 ; - - arg1 = (switch_serial_event_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_header_t_name_set(void * jarg1, char * jarg2) { - switch_serial_event_header_t *arg1 = (switch_serial_event_header_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_serial_event_header_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->name) delete [] arg1->name; - if (arg2) { - arg1->name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->name, (const char *)arg2); - } else { - arg1->name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_header_t_name_get(void * jarg1) { - char * jresult ; - switch_serial_event_header_t *arg1 = (switch_serial_event_header_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_serial_event_header_t *)jarg1; - result = (char *) ((arg1)->name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_header_t_value_set(void * jarg1, char * jarg2) { - switch_serial_event_header_t *arg1 = (switch_serial_event_header_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_serial_event_header_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->value) delete [] arg1->value; - if (arg2) { - arg1->value = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->value, (const char *)arg2); - } else { - arg1->value = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_header_t_value_get(void * jarg1) { - char * jresult ; - switch_serial_event_header_t *arg1 = (switch_serial_event_header_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_serial_event_header_t *)jarg1; - result = (char *) ((arg1)->value); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_serial_event_header_t() { - void * jresult ; - switch_serial_event_header_t *result = 0 ; - - result = (switch_serial_event_header_t *)new switch_serial_event_header_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_serial_event_header_t(void * jarg1) { - switch_serial_event_header_t *arg1 = (switch_serial_event_header_t *) 0 ; - - arg1 = (switch_serial_event_header_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_init(void * jarg1) { - int jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t *)jarg1; - result = (switch_status_t)switch_event_init(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_shutdown() { - int jresult ; - switch_status_t result; - - result = (switch_status_t)switch_event_shutdown(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_subclass_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4, int jarg5, char * jarg6) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - switch_event_t **arg4 = (switch_event_t **) 0 ; - switch_event_types_t arg5 ; - char *arg6 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (switch_event_t **)jarg4; - arg5 = (switch_event_types_t)jarg5; - arg6 = (char *)jarg6; - result = (switch_status_t)switch_event_create_subclass_detailed((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_priority(void * jarg1, int jarg2) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - switch_priority_t arg2 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (switch_priority_t)jarg2; - result = (switch_status_t)switch_event_set_priority(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_get_header_ptr(void * jarg1, char * jarg2) { - void * jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_event_header_t *result = 0 ; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_event_header_t *)switch_event_get_header_ptr(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_header_idx(void * jarg1, char * jarg2, int jarg3) { - char * jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - char *result = 0 ; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - result = (char *)switch_event_get_header_idx(arg1,(char const *)arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_rename_header(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_event_rename_header(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_body(void * jarg1) { - char * jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_event_t *)jarg1; - result = (char *)switch_event_get_body(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_subclass_name(void * jarg1, char * jarg2) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_event_set_subclass_name(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_add_header_string(void * jarg1, int jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - switch_stack_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (switch_stack_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_event_add_header_string(arg1,arg2,(char const *)arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_del_header_val(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_event_del_header_val(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_add_array(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (int)switch_event_add_array(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_destroy(void * jarg1) { - switch_event_t **arg1 = (switch_event_t **) 0 ; - - arg1 = (switch_event_t **)jarg1; - switch_event_destroy(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_dup(void * jarg1, void * jarg2) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - arg2 = (switch_event_t *)jarg2; - result = (switch_status_t)switch_event_dup(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_merge(void * jarg1, void * jarg2) { - switch_event_t *arg1 = (switch_event_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (switch_event_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - switch_event_merge(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_dup_reply(void * jarg1, void * jarg2) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - arg2 = (switch_event_t *)jarg2; - result = (switch_status_t)switch_event_dup_reply(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_fire_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4, void * jarg5) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - switch_event_t **arg4 = (switch_event_t **) 0 ; - void *arg5 = (void *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (switch_event_t **)jarg4; - arg5 = (void *)jarg5; - result = (switch_status_t)switch_event_fire_detailed((char const *)arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_prep_for_delivery_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - switch_event_t *arg4 = (switch_event_t *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (switch_event_t *)jarg4; - switch_event_prep_for_delivery_detailed((char const *)arg1,(char const *)arg2,arg3,arg4); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_bind(char * jarg1, int jarg2, char * jarg3, void * jarg4, void * jarg5) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_types_t arg2 ; - char *arg3 = (char *) 0 ; - switch_event_callback_t arg4 = (switch_event_callback_t) 0 ; - void *arg5 = (void *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_types_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_event_callback_t)jarg4; - arg5 = (void *)jarg5; - result = (switch_status_t)switch_event_bind((char const *)arg1,arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_bind_removable(char * jarg1, int jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_types_t arg2 ; - char *arg3 = (char *) 0 ; - switch_event_callback_t arg4 = (switch_event_callback_t) 0 ; - void *arg5 = (void *) 0 ; - switch_event_node_t **arg6 = (switch_event_node_t **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_types_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_event_callback_t)jarg4; - arg5 = (void *)jarg5; - arg6 = (switch_event_node_t **)jarg6; - result = (switch_status_t)switch_event_bind_removable((char const *)arg1,arg2,(char const *)arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_unbind(void * jarg1) { - int jresult ; - switch_event_node_t **arg1 = (switch_event_node_t **) 0 ; - switch_status_t result; - - arg1 = (switch_event_node_t **)jarg1; - result = (switch_status_t)switch_event_unbind(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_unbind_callback(void * jarg1) { - int jresult ; - switch_event_callback_t arg1 = (switch_event_callback_t) 0 ; - switch_status_t result; - - arg1 = (switch_event_callback_t)jarg1; - result = (switch_status_t)switch_event_unbind_callback(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_name(int jarg1) { - char * jresult ; - switch_event_types_t arg1 ; - char *result = 0 ; - - arg1 = (switch_event_types_t)jarg1; - result = (char *)switch_event_name(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_name_event(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_types_t *arg2 = (switch_event_types_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_types_t *)jarg2; - result = (switch_status_t)switch_name_event((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_reserve_subclass_detailed(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_event_reserve_subclass_detailed((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_free_subclass_detailed(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_event_free_subclass_detailed((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_binary_deserialize(void * jarg1, void * jarg2, void * jarg3, int jarg4) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - void **arg2 = (void **) 0 ; - switch_size_t arg3 ; - switch_bool_t arg4 ; - switch_size_t *argp3 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - arg2 = (void **)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - arg4 = (switch_bool_t)jarg4; - result = (switch_status_t)switch_event_binary_deserialize(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_binary_serialize(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - void **arg2 = (void **) 0 ; - switch_size_t *arg3 = (switch_size_t *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (void **)jarg2; - arg3 = (switch_size_t *)jarg3; - result = (switch_status_t)switch_event_binary_serialize(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char **arg2 = (char **) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char **)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_event_serialize(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize_json(void * jarg1, void * jarg2) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char **arg2 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char **)jarg2; - result = (switch_status_t)switch_event_serialize_json(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize_json_obj(void * jarg1, void * jarg2) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - cJSON **arg2 = (cJSON **) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (cJSON **)jarg2; - result = (switch_status_t)switch_event_serialize_json_obj(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_json(void * jarg1, char * jarg2) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_event_create_json(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_brackets(char * jarg1, char jarg2, char jarg3, char jarg4, void * jarg5, void * jarg6, int jarg7) { - int jresult ; - char *arg1 = (char *) 0 ; - char arg2 ; - char arg3 ; - char arg4 ; - switch_event_t **arg5 = (switch_event_t **) 0 ; - char **arg6 = (char **) 0 ; - switch_bool_t arg7 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char)jarg2; - arg3 = (char)jarg3; - arg4 = (char)jarg4; - arg5 = (switch_event_t **)jarg5; - arg6 = (char **)jarg6; - arg7 = (switch_bool_t)jarg7; - result = (switch_status_t)switch_event_create_brackets(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_array_pair(void * jarg1, void * jarg2, void * jarg3, int jarg4) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - char **arg2 = (char **) 0 ; - char **arg3 = (char **) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - arg2 = (char **)jarg2; - arg3 = (char **)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_event_create_array_pair(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_running() { - int jresult ; - switch_status_t result; - - result = (switch_status_t)switch_event_running(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_body(void * jarg1, char * jarg2) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_event_set_body(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_expand_headers_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { - char * jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_event_t *arg3 = (switch_event_t *) 0 ; - switch_event_t *arg4 = (switch_event_t *) 0 ; - uint32_t arg5 ; - char *result = 0 ; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_event_t *)jarg3; - arg4 = (switch_event_t *)jarg4; - arg5 = (uint32_t)jarg5; - result = (char *)switch_event_expand_headers_check(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_pres_in_detailed(char * jarg1, char * jarg2, int jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, int jarg11, char * jarg12, char * jarg13, char * jarg14, char * jarg15) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - char *arg10 = (char *) 0 ; - int arg11 ; - char *arg12 = (char *) 0 ; - char *arg13 = (char *) 0 ; - char *arg14 = (char *) 0 ; - char *arg15 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - arg10 = (char *)jarg10; - arg11 = (int)jarg11; - arg12 = (char *)jarg12; - arg13 = (char *)jarg13; - arg14 = (char *)jarg14; - arg15 = (char *)jarg15; - result = (switch_status_t)switch_event_create_pres_in_detailed(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,arg11,(char const *)arg12,(char const *)arg13,(char const *)arg14,(char const *)arg15); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_plain(void * jarg1, int jarg2) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - switch_event_types_t arg2 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - arg2 = (switch_event_types_t)jarg2; - result = (switch_status_t)switch_event_create_plain(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_deliver(void * jarg1) { - switch_event_t **arg1 = (switch_event_t **) 0 ; - - arg1 = (switch_event_t **)jarg1; - switch_event_deliver(arg1); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_build_param_string(void * jarg1, char * jarg2, void * jarg3) { - char * jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_hash_t *arg3 = (switch_hash_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_hash_t *)jarg3; - result = (char *)switch_event_build_param_string(arg1,(char const *)arg2,arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_check_permission_list(void * jarg1, char * jarg2) { - int jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (switch_event_t *)jarg1; - arg2 = (char *)jarg2; - result = (int)switch_event_check_permission_list(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_add_presence_data_cols(void * jarg1, void * jarg2, char * jarg3) { - switch_channel_t *arg1 = (switch_channel_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (switch_channel_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - arg3 = (char *)jarg3; - switch_event_add_presence_data_cols(arg1,arg2,(char const *)arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_add_presence_data_cols(void * jarg1, void * jarg2, char * jarg3) { - switch_event_t *arg1 = (switch_event_t *) 0 ; - cJSON *arg2 = (cJSON *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (switch_event_t *)jarg1; - arg2 = (cJSON *)jarg2; - arg3 = (char *)jarg3; - switch_json_add_presence_data_cols(arg1,arg2,(char const *)arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_launch_dispatch_threads(unsigned long jarg1) { - uint32_t arg1 ; - - arg1 = (uint32_t)jarg1; - switch_event_launch_dispatch_threads(arg1); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_channel_broadcast(char * jarg1, void * jarg2, char * jarg3, unsigned long jarg4) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - cJSON **arg2 = (cJSON **) 0 ; - char *arg3 = (char *) 0 ; - switch_event_channel_id_t arg4 ; - uint32_t result; - - arg1 = (char *)jarg1; - arg2 = (cJSON **)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_event_channel_id_t)jarg4; - result = (uint32_t)switch_event_channel_broadcast((char const *)arg1,arg2,(char const *)arg3,arg4); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_channel_unbind(char * jarg1, void * jarg2) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - switch_event_channel_func_t arg2 = (switch_event_channel_func_t) 0 ; - uint32_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_channel_func_t)jarg2; - result = (uint32_t)switch_event_channel_unbind((char const *)arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_bind(char * jarg1, void * jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_channel_func_t arg2 = (switch_event_channel_func_t) 0 ; - switch_event_channel_id_t *arg3 = (switch_event_channel_id_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_channel_func_t)jarg2; - arg3 = (switch_event_channel_id_t *)jarg3; - result = (switch_status_t)switch_event_channel_bind((char const *)arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_NO_EVENT_CHANNEL_ID_get() { - int jresult ; - int result; - - result = (int)(0); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EVENT_CHANNEL_GLOBAL_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("__global__"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_clear(void * jarg1) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - switch_status_t result; - - arg1 = (switch_live_array_t *)jarg1; - result = (switch_status_t)switch_live_array_clear(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_bootstrap(void * jarg1, char * jarg2, unsigned long jarg3) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_event_channel_id_t arg3 ; - switch_status_t result; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_event_channel_id_t)jarg3; - result = (switch_status_t)switch_live_array_bootstrap(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_destroy(void * jarg1) { - int jresult ; - switch_live_array_t **arg1 = (switch_live_array_t **) 0 ; - switch_status_t result; - - arg1 = (switch_live_array_t **)jarg1; - result = (switch_status_t)switch_live_array_destroy(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_create(char * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_event_channel_id_t arg3 ; - switch_live_array_t **arg4 = (switch_live_array_t **) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_event_channel_id_t)jarg3; - arg4 = (switch_live_array_t **)jarg4; - result = (switch_status_t)switch_live_array_create((char const *)arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_live_array_get(void * jarg1, char * jarg2) { - void * jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - char *arg2 = (char *) 0 ; - cJSON *result = 0 ; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (char *)jarg2; - result = (cJSON *)switch_live_array_get(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_live_array_get_idx(void * jarg1, int jarg2) { - void * jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - int arg2 ; - cJSON *result = 0 ; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (int)jarg2; - result = (cJSON *)switch_live_array_get_idx(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_del(void * jarg1, char * jarg2) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_live_array_del(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_add(void * jarg1, char * jarg2, int jarg3, void * jarg4, int jarg5) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - cJSON **arg4 = (cJSON **) 0 ; - switch_bool_t arg5 ; - switch_status_t result; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (cJSON **)jarg4; - arg5 = (switch_bool_t)jarg5; - result = (switch_status_t)switch_live_array_add(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_visible(void * jarg1, int jarg2, int jarg3) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - switch_bool_t arg2 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_live_array_visible(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_isnew(void * jarg1) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_live_array_t *)jarg1; - result = (switch_bool_t)switch_live_array_isnew(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_lock(void * jarg1) { - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - - arg1 = (switch_live_array_t *)jarg1; - switch_live_array_lock(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_unlock(void * jarg1) { - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - - arg1 = (switch_live_array_t *)jarg1; - switch_live_array_unlock(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_set_user_data(void * jarg1, void * jarg2) { - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (void *)jarg2; - switch_live_array_set_user_data(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_set_command_handler(void * jarg1, void * jarg2) { - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - switch_live_array_command_handler_t arg2 = (switch_live_array_command_handler_t) 0 ; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (switch_live_array_command_handler_t)jarg2; - switch_live_array_set_command_handler(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_parse_json(void * jarg1, unsigned long jarg2) { - cJSON *arg1 = (cJSON *) 0 ; - switch_event_channel_id_t arg2 ; - - arg1 = (cJSON *)jarg1; - arg2 = (switch_event_channel_id_t)jarg2; - switch_live_array_parse_json(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_add_alias(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_bool_t result; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_bool_t)switch_live_array_add_alias(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_clear_alias(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_bool_t result; - - arg1 = (switch_live_array_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_bool_t)switch_live_array_clear_alias(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_permission_verify(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_bool_t)switch_event_channel_permission_verify((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_modify(char * jarg1, char * jarg2, int jarg3) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - switch_event_channel_permission_modify((char const *)arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_clear(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - switch_event_channel_permission_clear((char const *)arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RESAMPLE_QUALITY_get() { - int jresult ; - int result; - - result = (int)(2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_resampler_set(void * jarg1, void * jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->resampler = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_audio_resampler_t_resampler_get(void * jarg1) { - void * jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (void *) ((arg1)->resampler); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_from_rate_set(void * jarg1, int jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int arg2 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->from_rate = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_from_rate_get(void * jarg1) { - int jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int result; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (int) ((arg1)->from_rate); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_rate_set(void * jarg1, int jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int arg2 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->to_rate = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_to_rate_get(void * jarg1) { - int jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int result; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (int) ((arg1)->to_rate); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_factor_set(void * jarg1, double jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - double arg2 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->factor = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_audio_resampler_t_factor_get(void * jarg1) { - double jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - double result; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (double) ((arg1)->factor); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_rfactor_set(void * jarg1, double jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - double arg2 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (double)jarg2; - if (arg1) (arg1)->rfactor = arg2; -} - - -SWIGEXPORT double SWIGSTDCALL CSharp_switch_audio_resampler_t_rfactor_get(void * jarg1) { - double jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - double result; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (double) ((arg1)->rfactor); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_set(void * jarg1, void * jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int16_t *arg2 = (int16_t *) 0 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (int16_t *)jarg2; - if (arg1) (arg1)->to = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_audio_resampler_t_to_get(void * jarg1) { - void * jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int16_t *result = 0 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (int16_t *) ((arg1)->to); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_len_set(void * jarg1, unsigned long jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->to_len = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_audio_resampler_t_to_len_get(void * jarg1) { - unsigned long jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - uint32_t result; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (uint32_t) ((arg1)->to_len); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_size_set(void * jarg1, unsigned long jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->to_size = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_audio_resampler_t_to_size_get(void * jarg1) { - unsigned long jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - uint32_t result; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (uint32_t) ((arg1)->to_size); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_set(void * jarg1, int jarg2) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int arg2 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->channels = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_get(void * jarg1) { - int jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int result; - - arg1 = (switch_audio_resampler_t *)jarg1; - result = (int) ((arg1)->channels); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_audio_resampler_t() { - void * jresult ; - switch_audio_resampler_t *result = 0 ; - - result = (switch_audio_resampler_t *)new switch_audio_resampler_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_audio_resampler_t(void * jarg1) { - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - - arg1 = (switch_audio_resampler_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_resample_perform_create(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, int jarg5, unsigned long jarg6, char * jarg7, char * jarg8, int jarg9) { - int jresult ; - switch_audio_resampler_t **arg1 = (switch_audio_resampler_t **) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - int arg5 ; - uint32_t arg6 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - int arg9 ; - switch_status_t result; - - arg1 = (switch_audio_resampler_t **)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (int)jarg5; - arg6 = (uint32_t)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (int)jarg9; - result = (switch_status_t)switch_resample_perform_create(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_resample_destroy(void * jarg1) { - switch_audio_resampler_t **arg1 = (switch_audio_resampler_t **) 0 ; - - arg1 = (switch_audio_resampler_t **)jarg1; - switch_resample_destroy(arg1); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_resample_process(void * jarg1, void * jarg2, unsigned long jarg3) { - unsigned long jresult ; - switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; - int16_t *arg2 = (int16_t *) 0 ; - uint32_t arg3 ; - uint32_t result; - - arg1 = (switch_audio_resampler_t *)jarg1; - arg2 = (int16_t *)jarg2; - arg3 = (uint32_t)jarg3; - result = (uint32_t)switch_resample_process(arg1,arg2,arg3); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_float_to_short(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - float *arg1 = (float *) 0 ; - short *arg2 = (short *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_size_t result; - - arg1 = (float *)jarg1; - arg2 = (short *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = switch_float_to_short(arg1,arg2,arg3); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_char_to_float(char * jarg1, void * jarg2, int jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - float *arg2 = (float *) 0 ; - int arg3 ; - int result; - - arg1 = (char *)jarg1; - arg2 = (float *)jarg2; - arg3 = (int)jarg3; - result = (int)switch_char_to_float(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_float_to_char(void * jarg1, char * jarg2, int jarg3) { - int jresult ; - float *arg1 = (float *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - int result; - - arg1 = (float *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - result = (int)switch_float_to_char(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_short_to_float(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - short *arg1 = (short *) 0 ; - float *arg2 = (float *) 0 ; - int arg3 ; - int result; - - arg1 = (short *)jarg1; - arg2 = (float *)jarg2; - arg3 = (int)jarg3; - result = (int)switch_short_to_float(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_swap_linear(void * jarg1, int jarg2) { - int16_t *arg1 = (int16_t *) 0 ; - int arg2 ; - - arg1 = (int16_t *)jarg1; - arg2 = (int)jarg2; - switch_swap_linear(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_generate_sln_silence(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4) { - int16_t *arg1 = (int16_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - - arg1 = (int16_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - switch_generate_sln_silence(arg1,arg2,arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume(void * jarg1, unsigned long jarg2, int jarg3) { - int16_t *arg1 = (int16_t *) 0 ; - uint32_t arg2 ; - int32_t arg3 ; - - arg1 = (int16_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (int32_t)jarg3; - switch_change_sln_volume(arg1,arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume_granular(void * jarg1, unsigned long jarg2, int jarg3) { - int16_t *arg1 = (int16_t *) 0 ; - uint32_t arg2 ; - int32_t arg3 ; - - arg1 = (int16_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (int32_t)jarg3; - switch_change_sln_volume_granular(arg1,arg2,arg3); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_merge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4) { - unsigned long jresult ; - int16_t *arg1 = (int16_t *) 0 ; - uint32_t arg2 ; - int16_t *arg3 = (int16_t *) 0 ; - uint32_t arg4 ; - uint32_t result; - - arg1 = (int16_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (int16_t *)jarg3; - arg4 = (uint32_t)jarg4; - result = (uint32_t)switch_merge_sln(arg1,arg2,arg3,arg4); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_unmerge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4) { - unsigned long jresult ; - int16_t *arg1 = (int16_t *) 0 ; - uint32_t arg2 ; - int16_t *arg3 = (int16_t *) 0 ; - uint32_t arg4 ; - uint32_t result; - - arg1 = (int16_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (int16_t *)jarg3; - arg4 = (uint32_t)jarg4; - result = (uint32_t)switch_unmerge_sln(arg1,arg2,arg3,arg4); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mux_channels(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { - int16_t *arg1 = (int16_t *) 0 ; - switch_size_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - switch_size_t *argp2 ; - - arg1 = (int16_t *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - switch_mux_channels(arg1,arg2,arg3,arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_session_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - if (arg1) (arg1)->session = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_session_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_core_session_t *) ((arg1)->session); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_read_codec_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_codec_t *arg2 = (switch_codec_t *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_codec_t *)jarg2; - if (arg1) (arg1)->read_codec = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_read_codec_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_codec_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_codec_t *)& ((arg1)->read_codec); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_frame_t *)jarg2; - if (arg1) (arg1)->write_frame = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_frame_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_frame_t *)& ((arg1)->write_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_byte_t *arg2 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_byte_t *)jarg2; - { - size_t ii; - switch_byte_t *b = (switch_byte_t *) arg1->write_frame_data; - for (ii = 0; ii < (size_t)8192; ii++) b[ii] = *((switch_byte_t *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_byte_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_byte_t *)(switch_byte_t *) ((arg1)->write_frame_data); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_socket_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_socket_t *arg2 = (switch_socket_t *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_socket_t *)jarg2; - if (arg1) (arg1)->socket = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_socket_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_socket_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_socket_t *) ((arg1)->socket); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_ip_set(void * jarg1, char * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->local_ip) delete [] arg1->local_ip; - if (arg2) { - arg1->local_ip = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->local_ip, (const char *)arg2); - } else { - arg1->local_ip = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_unicast_conninfo_local_ip_get(void * jarg1) { - char * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - char *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (char *) ((arg1)->local_ip); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_port_set(void * jarg1, unsigned short jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_port_t arg2 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_port_t)jarg2; - if (arg1) (arg1)->local_port = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_unicast_conninfo_local_port_get(void * jarg1) { - unsigned short jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_port_t result; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_port_t) ((arg1)->local_port); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_ip_set(void * jarg1, char * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->remote_ip) delete [] arg1->remote_ip; - if (arg2) { - arg1->remote_ip = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->remote_ip, (const char *)arg2); - } else { - arg1->remote_ip = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_ip_get(void * jarg1) { - char * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - char *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (char *) ((arg1)->remote_ip); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_port_set(void * jarg1, unsigned short jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_port_t arg2 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_port_t)jarg2; - if (arg1) (arg1)->remote_port = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_port_get(void * jarg1) { - unsigned short jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_port_t result; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_port_t) ((arg1)->remote_port); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_addr_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_sockaddr_t *)jarg2; - if (arg1) (arg1)->local_addr = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_local_addr_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_sockaddr_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_sockaddr_t *) ((arg1)->local_addr); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_addr_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_sockaddr_t *)jarg2; - if (arg1) (arg1)->remote_addr = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_addr_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_sockaddr_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_sockaddr_t *) ((arg1)->remote_addr); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_flag_mutex_set(void * jarg1, void * jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (switch_mutex_t *)jarg2; - if (arg1) (arg1)->flag_mutex = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_flag_mutex_get(void * jarg1) { - void * jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - switch_mutex_t *result = 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (switch_mutex_t *) ((arg1)->flag_mutex); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_flags_set(void * jarg1, int jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int32_t arg2 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (int32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_flags_get(void * jarg1) { - int jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int32_t result; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (int32_t) ((arg1)->flags); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_type_set(void * jarg1, int jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int arg2 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_type_get(void * jarg1) { - int jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int result; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (int) ((arg1)->type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_transport_set(void * jarg1, int jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int arg2 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->transport = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_transport_get(void * jarg1) { - int jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int result; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (int) ((arg1)->transport); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_set(void * jarg1, int jarg2) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int arg2 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->stream_id = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_get(void * jarg1) { - int jresult ; - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - int result; - - arg1 = (switch_unicast_conninfo *)jarg1; - result = (int) ((arg1)->stream_id); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_unicast_conninfo() { - void * jresult ; - switch_unicast_conninfo *result = 0 ; - - result = (switch_unicast_conninfo *)new switch_unicast_conninfo(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_unicast_conninfo(void * jarg1) { - switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; - - arg1 = (switch_unicast_conninfo *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_deactivate_unicast(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_deactivate_unicast(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_activate_unicast(void * jarg1, char * jarg2, unsigned short jarg3, char * jarg4, unsigned short jarg5, char * jarg6, char * jarg7) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_port_t arg3 ; - char *arg4 = (char *) 0 ; - switch_port_t arg5 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_port_t)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_port_t)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - result = (switch_status_t)switch_ivr_activate_unicast(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_generate_json_cdr(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - cJSON **arg2 = (cJSON **) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (cJSON **)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_ivr_generate_json_cdr(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_generate_xml_cdr(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_xml_t *arg2 = (switch_xml_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_xml_t *)jarg2; - result = (switch_status_t)switch_ivr_generate_xml_cdr(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_xml_profile_data(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; - int arg3 ; - int result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_caller_profile_t *)jarg2; - arg3 = (int)jarg3; - result = (int)switch_ivr_set_xml_profile_data(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_xml_chan_vars(void * jarg1, void * jarg2, int jarg3) { - int jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - int arg3 ; - int result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (int)jarg3; - result = (int)switch_ivr_set_xml_chan_vars(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_event(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_event_t *)jarg2; - result = (switch_status_t)switch_ivr_parse_event(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_events(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_parse_all_events(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_next_event(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_parse_next_event(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_messages(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_parse_all_messages(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_signal_data(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_parse_all_signal_data(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_process_indications(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_message_t *)jarg2; - result = (switch_status_t)switch_ivr_process_indications(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long jarg2, int jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - switch_bool_t arg3 ; - switch_input_args_t *arg4 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (switch_bool_t)jarg3; - arg4 = (switch_input_args_t *)jarg4; - result = (switch_status_t)switch_ivr_sleep(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_park(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_input_args_t *arg2 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_input_args_t *)jarg2; - result = (switch_status_t)switch_ivr_park(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_collect_digits_callback(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_input_args_t *arg2 = (switch_input_args_t *) 0 ; - uint32_t arg3 ; - uint32_t arg4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_input_args_t *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - result = (switch_status_t)switch_ivr_collect_digits_callback(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_collect_digits_count(void * jarg1, char * jarg2, void * jarg3, void * jarg4, char * jarg5, char * jarg6, unsigned long jarg7, unsigned long jarg8, unsigned long jarg9) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t arg4 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - uint32_t arg7 ; - uint32_t arg8 ; - uint32_t arg9 ; - switch_size_t *argp3 ; - switch_size_t *argp4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - argp4 = (switch_size_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg4 = *argp4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (uint32_t)jarg7; - arg8 = (uint32_t)jarg8; - arg9 = (uint32_t)jarg9; - result = (switch_status_t)switch_ivr_collect_digits_count(arg1,arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_play_and_detect_speech(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, unsigned long jarg6, void * jarg7) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char **arg5 = (char **) 0 ; - uint32_t arg6 ; - switch_input_args_t *arg7 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char **)jarg5; - arg6 = (uint32_t)jarg6; - arg7 = (switch_input_args_t *)jarg7; - result = (switch_status_t)switch_ivr_play_and_detect_speech(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_init(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_asr_handle_t *arg4 = (switch_asr_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_asr_handle_t *)jarg4; - result = (switch_status_t)switch_ivr_detect_speech_init(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - switch_asr_handle_t *arg6 = (switch_asr_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (switch_asr_handle_t *)jarg6; - result = (switch_status_t)switch_ivr_detect_speech(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_detect_speech(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_stop_detect_speech(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_pause_detect_speech(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_pause_detect_speech(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_resume_detect_speech(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_resume_detect_speech(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_load_grammar(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_ivr_detect_speech_load_grammar(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_unload_grammar(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_detect_speech_unload_grammar(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_enable_grammar(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_detect_speech_enable_grammar(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_disable_grammar(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_detect_speech_disable_grammar(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_disable_all_grammars(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_detect_speech_disable_all_grammars(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_param_detect_speech(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_ivr_set_param_detect_speech(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_start_input_timers(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_detect_speech_start_input_timers(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session(void * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - switch_file_handle_t *arg4 = (switch_file_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (switch_file_handle_t *)jarg4; - result = (switch_status_t)switch_ivr_record_session(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_transfer_recordings(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - result = (switch_status_t)switch_ivr_transfer_recordings(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_pop_eavesdropper(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t **)jarg2; - result = (switch_status_t)switch_ivr_eavesdrop_pop_eavesdropper(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_exec_all(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_ivr_eavesdrop_exec_all(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_update_display(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_ivr_eavesdrop_update_display(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_session(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_eavesdrop_flag_t arg4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_eavesdrop_flag_t)jarg4; - result = (switch_status_t)switch_ivr_eavesdrop_session(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_displace_session(void * jarg1, char * jarg2, unsigned long jarg3, char * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - uint32_t arg3 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_ivr_displace_session(arg1,(char const *)arg2,arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_displace_session(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_stop_displace_session(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_record_session(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_stop_record_session(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_audio(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (switch_status_t)switch_ivr_session_audio(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_session_audio(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_stop_session_audio(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_inband_dtmf_session(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_inband_dtmf_session(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_inband_dtmf_session(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_stop_inband_dtmf_session(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_inband_dtmf_generate_session(void * jarg1, int jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_bool_t arg2 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_status_t)switch_ivr_inband_dtmf_generate_session(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_inband_dtmf_generate_session(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_stop_inband_dtmf_generate_session(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_echo(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_input_args_t *arg2 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_input_args_t *)jarg2; - result = (switch_status_t)switch_ivr_session_echo(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_tone_detect_session(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_stop_tone_detect_session(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_tone_detect_session(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, int jarg6, char * jarg7, char * jarg8, void * jarg9) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - time_t arg5 ; - int arg6 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - switch_tone_detect_callback_t arg9 = (switch_tone_detect_callback_t) 0 ; - time_t *argp5 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - argp5 = (time_t *)jarg5; - if (!argp5) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0); - return 0; - } - arg5 = *argp5; - arg6 = (int)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (switch_tone_detect_callback_t)jarg9; - result = (switch_status_t)switch_ivr_tone_detect_session(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_play_file(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_file_handle_t *arg2 = (switch_file_handle_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_input_args_t *arg4 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_file_handle_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_input_args_t *)jarg4; - result = (switch_status_t)switch_ivr_play_file(arg1,arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_wait_for_silence(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - char *arg6 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (char *)jarg6; - result = (switch_status_t)switch_ivr_wait_for_silence(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_gentones(void * jarg1, char * jarg2, int jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - int32_t arg3 ; - switch_input_args_t *arg4 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int32_t)jarg3; - arg4 = (switch_input_args_t *)jarg4; - result = (switch_status_t)switch_ivr_gentones(arg1,(char const *)arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_file(void * jarg1, void * jarg2, char * jarg3, void * jarg4, unsigned long jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_file_handle_t *arg2 = (switch_file_handle_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_input_args_t *arg4 = (switch_input_args_t *) 0 ; - uint32_t arg5 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_file_handle_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_input_args_t *)jarg4; - arg5 = (uint32_t)jarg5; - result = (switch_status_t)switch_ivr_record_file(arg1,arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_play_and_get_digits(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, unsigned long jarg11, char * jarg12, unsigned long jarg13, char * jarg14) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - char *arg10 = (char *) 0 ; - uint32_t arg11 ; - char *arg12 = (char *) 0 ; - uint32_t arg13 ; - char *arg14 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - arg10 = (char *)jarg10; - arg11 = (uint32_t)jarg11; - arg12 = (char *)jarg12; - arg13 = (uint32_t)jarg13; - arg14 = (char *)jarg14; - result = (switch_status_t)switch_play_and_get_digits(arg1,arg2,arg3,arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,(char const *)arg12,arg13,(char const *)arg14); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_speak_text_handle(void * jarg1, void * jarg2, void * jarg3, void * jarg4, char * jarg5, void * jarg6) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_speech_handle_t *arg2 = (switch_speech_handle_t *) 0 ; - switch_codec_t *arg3 = (switch_codec_t *) 0 ; - switch_timer_t *arg4 = (switch_timer_t *) 0 ; - char *arg5 = (char *) 0 ; - switch_input_args_t *arg6 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_speech_handle_t *)jarg2; - arg3 = (switch_codec_t *)jarg3; - arg4 = (switch_timer_t *)jarg4; - arg5 = (char *)jarg5; - arg6 = (switch_input_args_t *)jarg6; - result = (switch_status_t)switch_ivr_speak_text_handle(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_clear_speech_cache(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_ivr_clear_speech_cache(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_speak_text(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_input_args_t *arg5 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_input_args_t *)jarg5; - result = (switch_status_t)switch_ivr_speak_text(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11, void * jarg12) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; - switch_call_cause_t *arg3 = (switch_call_cause_t *) 0 ; - char *arg4 = (char *) 0 ; - uint32_t arg5 ; - switch_state_handler_table_t *arg6 = (switch_state_handler_table_t *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - switch_caller_profile_t *arg9 = (switch_caller_profile_t *) 0 ; - switch_event_t *arg10 = (switch_event_t *) 0 ; - switch_originate_flag_t arg11 ; - switch_call_cause_t *arg12 = (switch_call_cause_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t **)jarg2; - arg3 = (switch_call_cause_t *)jarg3; - arg4 = (char *)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (switch_state_handler_table_t *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (switch_caller_profile_t *)jarg9; - arg10 = (switch_event_t *)jarg10; - arg11 = (switch_originate_flag_t)jarg11; - arg12 = (switch_call_cause_t *)jarg12; - result = (switch_status_t)switch_ivr_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11,arg12); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_enterprise_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11, void * jarg12) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; - switch_call_cause_t *arg3 = (switch_call_cause_t *) 0 ; - char *arg4 = (char *) 0 ; - uint32_t arg5 ; - switch_state_handler_table_t *arg6 = (switch_state_handler_table_t *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - switch_caller_profile_t *arg9 = (switch_caller_profile_t *) 0 ; - switch_event_t *arg10 = (switch_event_t *) 0 ; - switch_originate_flag_t arg11 ; - switch_call_cause_t *arg12 = (switch_call_cause_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t **)jarg2; - arg3 = (switch_call_cause_t *)jarg3; - arg4 = (char *)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (switch_state_handler_table_t *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (switch_caller_profile_t *)jarg9; - arg10 = (switch_event_t *)jarg10; - arg11 = (switch_originate_flag_t)jarg11; - arg12 = (switch_call_cause_t *)jarg12; - result = (switch_status_t)switch_ivr_enterprise_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11,arg12); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_bridge_display(void * jarg1, void * jarg2) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - switch_ivr_bridge_display(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_multi_threaded_bridge(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_input_callback_function_t arg3 = (switch_input_callback_function_t) 0 ; - void *arg4 = (void *) 0 ; - void *arg5 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - arg3 = (switch_input_callback_function_t)jarg3; - arg4 = (void *)jarg4; - arg5 = (void *)jarg5; - result = (switch_status_t)switch_ivr_multi_threaded_bridge(arg1,arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_signal_bridge(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - result = (switch_status_t)switch_ivr_signal_bridge(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_transfer(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_ivr_session_transfer(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_transfer(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5) { - unsigned long jresult ; - time_t arg1 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - time_t *argp1 ; - uint32_t result; - - argp1 = (time_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0); - return 0; - } - arg1 = *argp1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - result = (uint32_t)switch_ivr_schedule_transfer(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_hangup(void * jarg1, char * jarg2, int jarg3, int jarg4) { - unsigned long jresult ; - time_t arg1 ; - char *arg2 = (char *) 0 ; - switch_call_cause_t arg3 ; - switch_bool_t arg4 ; - time_t *argp1 ; - uint32_t result; - - argp1 = (time_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0); - return 0; - } - arg1 = *argp1; - arg2 = (char *)jarg2; - arg3 = (switch_call_cause_t)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (uint32_t)switch_ivr_schedule_hangup(arg1,(char const *)arg2,arg3,arg4); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_bridge(char * jarg1, char * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_uuid_bridge((char const *)arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_media(char * jarg1, unsigned long jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_media_flag_t arg2 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_media_flag_t)jarg2; - result = (switch_status_t)switch_ivr_media((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_nomedia(char * jarg1, unsigned long jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_media_flag_t arg2 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_media_flag_t)jarg2; - result = (switch_status_t)switch_ivr_nomedia((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold_uuid(char * jarg1, char * jarg2, int jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_ivr_hold_uuid((char const *)arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold_toggle_uuid(char * jarg1, char * jarg2, int jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_ivr_hold_toggle_uuid((char const *)arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unhold_uuid(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - result = (switch_status_t)switch_ivr_unhold_uuid((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold(void * jarg1, char * jarg2, int jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_ivr_hold(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unhold(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_unhold(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_broadcast(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) { - unsigned long jresult ; - time_t arg1 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_media_flag_t arg4 ; - time_t *argp1 ; - uint32_t result; - - argp1 = (time_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0); - return 0; - } - arg1 = *argp1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_media_flag_t)jarg4; - result = (uint32_t)switch_ivr_schedule_broadcast(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_broadcast(char * jarg1, char * jarg2, unsigned long jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_media_flag_t arg3 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_media_flag_t)jarg3; - result = (switch_status_t)switch_ivr_broadcast((char const *)arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_broadcast_in_thread(void * jarg1, char * jarg2, int jarg3) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - switch_ivr_broadcast_in_thread(arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_transfer_variable(void * jarg1, void * jarg2, char * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_ivr_transfer_variable(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_new(void * jarg1, void * jarg2) { - int jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_ivr_digit_stream_parser_t **arg2 = (switch_ivr_digit_stream_parser_t **) 0 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (switch_ivr_digit_stream_parser_t **)jarg2; - result = (switch_status_t)switch_ivr_digit_stream_parser_new(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_destroy(void * jarg1) { - int jresult ; - switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; - result = (switch_status_t)switch_ivr_digit_stream_parser_destroy(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_new(void * jarg1, void * jarg2) { - int jresult ; - switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; - switch_ivr_digit_stream_t **arg2 = (switch_ivr_digit_stream_t **) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; - arg2 = (switch_ivr_digit_stream_t **)jarg2; - result = (switch_status_t)switch_ivr_digit_stream_new(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_destroy(void * jarg1) { - int jresult ; - switch_ivr_digit_stream_t **arg1 = (switch_ivr_digit_stream_t **) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_digit_stream_t **)jarg1; - result = (switch_status_t)switch_ivr_digit_stream_destroy(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_set_event(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - result = (switch_status_t)switch_ivr_digit_stream_parser_set_event(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_del_event(void * jarg1, char * jarg2) { - int jresult ; - switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_digit_stream_parser_del_event(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_feed(void * jarg1, void * jarg2, char jarg3) { - void * jresult ; - switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; - switch_ivr_digit_stream_t *arg2 = (switch_ivr_digit_stream_t *) 0 ; - char arg3 ; - void *result = 0 ; - - arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; - arg2 = (switch_ivr_digit_stream_t *)jarg2; - arg3 = (char)jarg3; - result = (void *)switch_ivr_digit_stream_parser_feed(arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_reset(void * jarg1) { - int jresult ; - switch_ivr_digit_stream_t *arg1 = (switch_ivr_digit_stream_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_digit_stream_t *)jarg1; - result = (switch_status_t)switch_ivr_digit_stream_reset(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_set_terminator(void * jarg1, char jarg2) { - int jresult ; - switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; - char arg2 ; - switch_status_t result; - - arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; - arg2 = (char)jarg2; - result = (switch_status_t)switch_ivr_digit_stream_parser_set_terminator(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_init(void * jarg1, void * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, char * jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17, int jarg18, void * jarg19) { - int jresult ; - switch_ivr_menu_t **arg1 = (switch_ivr_menu_t **) 0 ; - switch_ivr_menu_t *arg2 = (switch_ivr_menu_t *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - char *arg10 = (char *) 0 ; - char *arg11 = (char *) 0 ; - char *arg12 = (char *) 0 ; - int arg13 ; - int arg14 ; - int arg15 ; - int arg16 ; - int arg17 ; - int arg18 ; - switch_memory_pool_t *arg19 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_menu_t **)jarg1; - arg2 = (switch_ivr_menu_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - arg10 = (char *)jarg10; - arg11 = (char *)jarg11; - arg12 = (char *)jarg12; - arg13 = (int)jarg13; - arg14 = (int)jarg14; - arg15 = (int)jarg15; - arg16 = (int)jarg16; - arg17 = (int)jarg17; - arg18 = (int)jarg18; - arg19 = (switch_memory_pool_t *)jarg19; - result = (switch_status_t)switch_ivr_menu_init(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,(char const *)arg11,(char const *)arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_bind_action(void * jarg1, int jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_ivr_menu_t *arg1 = (switch_ivr_menu_t *) 0 ; - switch_ivr_action_t arg2 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_menu_t *)jarg1; - arg2 = (switch_ivr_action_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_ivr_menu_bind_action(arg1,arg2,(char const *)arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_bind_function(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_ivr_menu_t *arg1 = (switch_ivr_menu_t *) 0 ; - switch_ivr_menu_action_function_t *arg2 = (switch_ivr_menu_action_function_t *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_menu_t *)jarg1; - arg2 = (switch_ivr_menu_action_function_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_ivr_menu_bind_function(arg1,arg2,(char const *)arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_execute(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_ivr_menu_t *arg2 = (switch_ivr_menu_t *) 0 ; - char *arg3 = (char *) 0 ; - void *arg4 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_ivr_menu_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (void *)jarg4; - result = (switch_status_t)switch_ivr_menu_execute(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_free(void * jarg1) { - int jresult ; - switch_ivr_menu_t *arg1 = (switch_ivr_menu_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_menu_t *)jarg1; - result = (switch_status_t)switch_ivr_menu_stack_free(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_build(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_ivr_menu_xml_ctx_t *arg1 = (switch_ivr_menu_xml_ctx_t *) 0 ; - switch_ivr_menu_t **arg2 = (switch_ivr_menu_t **) 0 ; - switch_xml_t arg3 = (switch_xml_t) 0 ; - switch_xml_t arg4 = (switch_xml_t) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_menu_xml_ctx_t *)jarg1; - arg2 = (switch_ivr_menu_t **)jarg2; - arg3 = (switch_xml_t)jarg3; - arg4 = (switch_xml_t)jarg4; - result = (switch_status_t)switch_ivr_menu_stack_xml_build(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_str2action(char * jarg1, void * jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_ivr_action_t *arg2 = (switch_ivr_action_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_ivr_action_t *)jarg2; - result = (switch_status_t)switch_ivr_menu_str2action((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_add_custom(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_ivr_menu_xml_ctx_t *arg1 = (switch_ivr_menu_xml_ctx_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_ivr_menu_action_function_t *arg3 = (switch_ivr_menu_action_function_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_menu_xml_ctx_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_ivr_menu_action_function_t *)jarg3; - result = (switch_status_t)switch_ivr_menu_stack_xml_add_custom(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_init(void * jarg1, void * jarg2) { - int jresult ; - switch_ivr_menu_xml_ctx_t **arg1 = (switch_ivr_menu_xml_ctx_t **) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_menu_xml_ctx_t **)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - result = (switch_status_t)switch_ivr_menu_stack_xml_init(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_phrase_macro_event(void * jarg1, char * jarg2, char * jarg3, void * jarg4, char * jarg5, void * jarg6) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_event_t *arg4 = (switch_event_t *) 0 ; - char *arg5 = (char *) 0 ; - switch_input_args_t *arg6 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_event_t *)jarg4; - arg5 = (char *)jarg5; - arg6 = (switch_input_args_t *)jarg6; - result = (switch_status_t)switch_ivr_phrase_macro_event(arg1,(char const *)arg2,(char const *)arg3,arg4,(char const *)arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_delay_echo(void * jarg1, unsigned long jarg2) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_ivr_delay_echo(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_find_bridged_uuid(char * jarg1, char * jarg2, void * jarg3) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (switch_status_t)switch_ivr_find_bridged_uuid((char const *)arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_intercept_session(void * jarg1, char * jarg2, int jarg3) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - switch_ivr_intercept_session(arg1,(char const *)arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_park_session(void * jarg1) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - switch_ivr_park_session(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_wait_for_answer(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - result = (switch_status_t)switch_ivr_wait_for_answer(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_read(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7, unsigned long jarg8, char * jarg9, unsigned long jarg10) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - switch_size_t arg7 ; - uint32_t arg8 ; - char *arg9 = (char *) 0 ; - uint32_t arg10 ; - switch_size_t *argp7 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - argp7 = (switch_size_t *)jarg7; - if (!argp7) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg7 = *argp7; - arg8 = (uint32_t)jarg8; - arg9 = (char *)jarg9; - arg10 = (uint32_t)jarg10; - result = (switch_status_t)switch_ivr_read(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8,(char const *)arg9,arg10); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_block_dtmf_session(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_block_dtmf_session(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unblock_dtmf_session(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_unblock_dtmf_session(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_bind_dtmf_meta_session(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - switch_bind_flag_t arg3 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (switch_bind_flag_t)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_ivr_bind_dtmf_meta_session(arg1,arg2,arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unbind_dtmf_meta_session(void * jarg1, unsigned long jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - uint32_t arg2 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (switch_status_t)switch_ivr_unbind_dtmf_meta_session(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_soft_hold(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_status_t)switch_ivr_soft_hold(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - switch_input_args_t *arg7 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (switch_input_args_t *)jarg7; - result = (switch_status_t)switch_ivr_say(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_string(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, void * jarg9) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char **arg9 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char **)jarg9; - result = (switch_status_t)switch_ivr_say_string(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_say_method_by_name(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_say_method_t result; - - arg1 = (char *)jarg1; - result = (switch_say_method_t)switch_ivr_get_say_method_by_name((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_say_gender_by_name(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_say_gender_t result; - - arg1 = (char *)jarg1; - result = (switch_say_gender_t)switch_ivr_get_say_gender_by_name((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_say_type_by_name(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_say_type_t result; - - arg1 = (char *)jarg1; - result = (switch_say_type_t)switch_ivr_get_say_type_by_name((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_spell(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_say_args_t *arg3 = (switch_say_args_t *) 0 ; - switch_input_args_t *arg4 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_say_args_t *)jarg3; - arg4 = (switch_input_args_t *)jarg4; - result = (switch_status_t)switch_ivr_say_spell(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_ip(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_say_callback_t arg3 = (switch_say_callback_t) 0 ; - switch_say_args_t *arg4 = (switch_say_args_t *) 0 ; - switch_input_args_t *arg5 = (switch_input_args_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_say_callback_t)jarg3; - arg4 = (switch_say_args_t *)jarg4; - arg5 = (switch_input_args_t *)jarg5; - result = (switch_status_t)switch_ivr_say_ip(arg1,arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user(void * jarg1, char * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_set_user(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user_xml(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_xml_t arg5 = (switch_xml_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_xml_t)jarg5; - result = (switch_status_t)switch_ivr_set_user_xml(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sound_test(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)switch_ivr_sound_test(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_process_import(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_channel_t *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - switch_process_import(arg1,arg2,(char const *)arg3,(char const *)arg4); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_exists(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_ivr_uuid_exists((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_force_exists(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t result; - - arg1 = (char *)jarg1; - result = (switch_bool_t)switch_ivr_uuid_force_exists((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_is_parsing(void * jarg1) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_bool_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - result = (switch_bool_t)switch_ivr_dmachine_is_parsing(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_last_ping(void * jarg1) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - result = (switch_status_t)switch_ivr_dmachine_last_ping(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_name(void * jarg1) { - char * jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - result = (char *)switch_ivr_dmachine_get_name(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_match_callback(void * jarg1, void * jarg2) { - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (switch_ivr_dmachine_callback_t)jarg2; - switch_ivr_dmachine_set_match_callback(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_nonmatch_callback(void * jarg1, void * jarg2) { - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (switch_ivr_dmachine_callback_t)jarg2; - switch_ivr_dmachine_set_nonmatch_callback(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_create(void * jarg1, char * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8) { - int jresult ; - switch_ivr_dmachine_t **arg1 = (switch_ivr_dmachine_t **) 0 ; - char *arg2 = (char *) 0 ; - switch_memory_pool_t *arg3 = (switch_memory_pool_t *) 0 ; - uint32_t arg4 ; - uint32_t arg5 ; - switch_ivr_dmachine_callback_t arg6 = (switch_ivr_dmachine_callback_t) 0 ; - switch_ivr_dmachine_callback_t arg7 = (switch_ivr_dmachine_callback_t) 0 ; - void *arg8 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t **)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_memory_pool_t *)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (switch_ivr_dmachine_callback_t)jarg6; - arg7 = (switch_ivr_dmachine_callback_t)jarg7; - arg8 = (void *)jarg8; - result = (switch_status_t)switch_ivr_dmachine_create(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_destroy(void * jarg1) { - switch_ivr_dmachine_t **arg1 = (switch_ivr_dmachine_t **) 0 ; - - arg1 = (switch_ivr_dmachine_t **)jarg1; - switch_ivr_dmachine_destroy(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_bind(void * jarg1, char * jarg2, char * jarg3, int jarg4, void * jarg5, void * jarg6) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int32_t arg4 ; - switch_ivr_dmachine_callback_t arg5 = (switch_ivr_dmachine_callback_t) 0 ; - void *arg6 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int32_t)jarg4; - arg5 = (switch_ivr_dmachine_callback_t)jarg5; - arg6 = (void *)jarg6; - result = (switch_status_t)switch_ivr_dmachine_bind(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_feed(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_ivr_dmachine_match_t **arg3 = (switch_ivr_dmachine_match_t **) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_ivr_dmachine_match_t **)jarg3; - result = (switch_status_t)switch_ivr_dmachine_feed(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_clear(void * jarg1) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - result = (switch_status_t)switch_ivr_dmachine_clear(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_ping(void * jarg1, void * jarg2) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_ivr_dmachine_match_t **arg2 = (switch_ivr_dmachine_match_t **) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (switch_ivr_dmachine_match_t **)jarg2; - result = (switch_status_t)switch_ivr_dmachine_ping(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_match(void * jarg1) { - void * jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - switch_ivr_dmachine_match_t *result = 0 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - result = (switch_ivr_dmachine_match_t *)switch_ivr_dmachine_get_match(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_failed_digits(void * jarg1) { - char * jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - result = (char *)switch_ivr_dmachine_get_failed_digits(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_digit_timeout_ms(void * jarg1, unsigned long jarg2) { - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_ivr_dmachine_set_digit_timeout_ms(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_input_timeout_ms(void * jarg1, unsigned long jarg2) { - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_ivr_dmachine_set_input_timeout_ms(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_clear_realm(void * jarg1, char * jarg2) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_dmachine_clear_realm(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_set_realm(void * jarg1, char * jarg2) { - int jresult ; - switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_ivr_dmachine_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_ivr_dmachine_set_realm(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_file_handle(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_file_handle_t **arg2 = (switch_file_handle_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_file_handle_t **)jarg2; - result = (switch_status_t)switch_ivr_get_file_handle(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_release_file_handle(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_file_handle_t **arg2 = (switch_file_handle_t **) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_file_handle_t **)jarg2; - result = (switch_status_t)switch_ivr_release_file_handle(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_process_fh(void * jarg1, char * jarg2, void * jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_file_handle_t *arg3 = (switch_file_handle_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_file_handle_t *)jarg3; - result = (switch_status_t)switch_ivr_process_fh(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_insert_file(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_size_t arg4 ; - switch_size_t *argp4 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - argp4 = (switch_size_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg4 = *argp4; - result = (switch_status_t)switch_ivr_insert_file(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_create_message_reply(void * jarg1, void * jarg2, char * jarg3) { - int jresult ; - switch_event_t **arg1 = (switch_event_t **) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - char *arg3 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_event_t **)jarg1; - arg2 = (switch_event_t *)jarg2; - arg3 = (char *)jarg3; - result = (switch_status_t)switch_ivr_create_message_reply(arg1,arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_check_presence_mapping(char * jarg1, char * jarg2) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_ivr_check_presence_mapping((char const *)arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_kill_uuid(char * jarg1, int jarg2) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_call_cause_t arg2 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_call_cause_t)jarg2; - result = (switch_status_t)switch_ivr_kill_uuid((char const *)arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_blind_transfer_ack(void * jarg1, int jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_bool_t arg2 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_status_t)switch_ivr_blind_transfer_ack(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session_mask(void * jarg1, char * jarg2, int jarg3) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_ivr_record_session_mask(arg1,(char const *)arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_get() { - int jresult ; - int result; - - result = (int)(16384); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTCP_MAX_BUF_LEN_get() { - int jresult ; - int result; - - result = (int)(16384); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_WORDS_get() { - int jresult ; - int result; - - result = (int)(4094); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_CRYPTO_LEN_get() { - int jresult ; - int result; - - result = (int)(64); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTP_CRYPTO_KEY_80_get() { - char * jresult ; - char *result = 0 ; - - result = (char *)("AES_CM_128_HMAC_SHA1_80"); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_name_set(void * jarg1, char * jarg2) { - switch_srtp_crypto_suite_t *arg1 = (switch_srtp_crypto_suite_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_srtp_crypto_suite_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->name) delete [] arg1->name; - if (arg2) { - arg1->name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->name, (const char *)arg2); - } else { - arg1->name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_name_get(void * jarg1) { - char * jresult ; - switch_srtp_crypto_suite_t *arg1 = (switch_srtp_crypto_suite_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_srtp_crypto_suite_t *)jarg1; - result = (char *) ((arg1)->name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_type_set(void * jarg1, int jarg2) { - switch_srtp_crypto_suite_t *arg1 = (switch_srtp_crypto_suite_t *) 0 ; - switch_rtp_crypto_key_type_t arg2 ; - - arg1 = (switch_srtp_crypto_suite_t *)jarg1; - arg2 = (switch_rtp_crypto_key_type_t)jarg2; - if (arg1) (arg1)->type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_type_get(void * jarg1) { - int jresult ; - switch_srtp_crypto_suite_t *arg1 = (switch_srtp_crypto_suite_t *) 0 ; - switch_rtp_crypto_key_type_t result; - - arg1 = (switch_srtp_crypto_suite_t *)jarg1; - result = (switch_rtp_crypto_key_type_t) ((arg1)->type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_keylen_set(void * jarg1, int jarg2) { - switch_srtp_crypto_suite_t *arg1 = (switch_srtp_crypto_suite_t *) 0 ; - int arg2 ; - - arg1 = (switch_srtp_crypto_suite_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->keylen = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_keylen_get(void * jarg1) { - int jresult ; - switch_srtp_crypto_suite_t *arg1 = (switch_srtp_crypto_suite_t *) 0 ; - int result; - - arg1 = (switch_srtp_crypto_suite_t *)jarg1; - result = (int) ((arg1)->keylen); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_srtp_crypto_suite_t() { - void * jresult ; - switch_srtp_crypto_suite_t *result = 0 ; - - result = (switch_srtp_crypto_suite_t *)new switch_srtp_crypto_suite_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_srtp_crypto_suite_t(void * jarg1) { - switch_srtp_crypto_suite_t *arg1 = (switch_srtp_crypto_suite_t *) 0 ; - - arg1 = (switch_srtp_crypto_suite_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_index_set(void * jarg1, unsigned long jarg2) { - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->index = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_crypto_key_index_get(void * jarg1) { - unsigned long jresult ; - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - uint32_t result; - - arg1 = (switch_rtp_crypto_key *)jarg1; - result = (uint32_t) ((arg1)->index); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_type_set(void * jarg1, int jarg2) { - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - switch_rtp_crypto_key_type_t arg2 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - arg2 = (switch_rtp_crypto_key_type_t)jarg2; - if (arg1) (arg1)->type = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_crypto_key_type_get(void * jarg1) { - int jresult ; - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - switch_rtp_crypto_key_type_t result; - - arg1 = (switch_rtp_crypto_key *)jarg1; - result = (switch_rtp_crypto_key_type_t) ((arg1)->type); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_key_set(void * jarg1, void * jarg2) { - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - unsigned char *arg2 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - arg2 = (unsigned char *)jarg2; - { - size_t ii; - unsigned char *b = (unsigned char *) arg1->key; - for (ii = 0; ii < (size_t)64; ii++) b[ii] = *((unsigned char *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_key_get(void * jarg1) { - void * jresult ; - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - unsigned char *result = 0 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - result = (unsigned char *)(unsigned char *) ((arg1)->key); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_keylen_set(void * jarg1, void * jarg2) { - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->keylen = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_keylen_get(void * jarg1) { - void * jresult ; - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_crypto_key *)jarg1; - result = ((arg1)->keylen); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_next_set(void * jarg1, void * jarg2) { - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - switch_rtp_crypto_key *arg2 = (switch_rtp_crypto_key *) 0 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - arg2 = (switch_rtp_crypto_key *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_next_get(void * jarg1) { - void * jresult ; - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - switch_rtp_crypto_key *result = 0 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - result = (switch_rtp_crypto_key *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_crypto_key() { - void * jresult ; - switch_rtp_crypto_key *result = 0 ; - - result = (switch_rtp_crypto_key *)new switch_rtp_crypto_key(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_crypto_key(void * jarg1) { - switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; - - arg1 = (switch_rtp_crypto_key *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_foundation_set(void * jarg1, char * jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (icand_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->foundation) delete [] arg1->foundation; - if (arg2) { - arg1->foundation = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->foundation, (const char *)arg2); - } else { - arg1->foundation = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_foundation_get(void * jarg1) { - char * jresult ; - icand_t *arg1 = (icand_t *) 0 ; - char *result = 0 ; - - arg1 = (icand_t *)jarg1; - result = (char *) ((arg1)->foundation); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_component_id_set(void * jarg1, int jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - int arg2 ; - - arg1 = (icand_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->component_id = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_icand_t_component_id_get(void * jarg1) { - int jresult ; - icand_t *arg1 = (icand_t *) 0 ; - int result; - - arg1 = (icand_t *)jarg1; - result = (int) ((arg1)->component_id); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_transport_set(void * jarg1, char * jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (icand_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->transport) delete [] arg1->transport; - if (arg2) { - arg1->transport = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->transport, (const char *)arg2); - } else { - arg1->transport = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_transport_get(void * jarg1) { - char * jresult ; - icand_t *arg1 = (icand_t *) 0 ; - char *result = 0 ; - - arg1 = (icand_t *)jarg1; - result = (char *) ((arg1)->transport); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_priority_set(void * jarg1, unsigned long jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - uint32_t arg2 ; - - arg1 = (icand_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->priority = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_icand_t_priority_get(void * jarg1) { - unsigned long jresult ; - icand_t *arg1 = (icand_t *) 0 ; - uint32_t result; - - arg1 = (icand_t *)jarg1; - result = (uint32_t) ((arg1)->priority); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_con_addr_set(void * jarg1, char * jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (icand_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->con_addr) delete [] arg1->con_addr; - if (arg2) { - arg1->con_addr = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->con_addr, (const char *)arg2); - } else { - arg1->con_addr = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_con_addr_get(void * jarg1) { - char * jresult ; - icand_t *arg1 = (icand_t *) 0 ; - char *result = 0 ; - - arg1 = (icand_t *)jarg1; - result = (char *) ((arg1)->con_addr); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_con_port_set(void * jarg1, unsigned short jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - switch_port_t arg2 ; - - arg1 = (icand_t *)jarg1; - arg2 = (switch_port_t)jarg2; - if (arg1) (arg1)->con_port = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_icand_t_con_port_get(void * jarg1) { - unsigned short jresult ; - icand_t *arg1 = (icand_t *) 0 ; - switch_port_t result; - - arg1 = (icand_t *)jarg1; - result = (switch_port_t) ((arg1)->con_port); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_cand_type_set(void * jarg1, char * jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (icand_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->cand_type) delete [] arg1->cand_type; - if (arg2) { - arg1->cand_type = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->cand_type, (const char *)arg2); - } else { - arg1->cand_type = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_cand_type_get(void * jarg1) { - char * jresult ; - icand_t *arg1 = (icand_t *) 0 ; - char *result = 0 ; - - arg1 = (icand_t *)jarg1; - result = (char *) ((arg1)->cand_type); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_raddr_set(void * jarg1, char * jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (icand_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->raddr) delete [] arg1->raddr; - if (arg2) { - arg1->raddr = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->raddr, (const char *)arg2); - } else { - arg1->raddr = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_raddr_get(void * jarg1) { - char * jresult ; - icand_t *arg1 = (icand_t *) 0 ; - char *result = 0 ; - - arg1 = (icand_t *)jarg1; - result = (char *) ((arg1)->raddr); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_rport_set(void * jarg1, unsigned short jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - switch_port_t arg2 ; - - arg1 = (icand_t *)jarg1; - arg2 = (switch_port_t)jarg2; - if (arg1) (arg1)->rport = arg2; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_icand_t_rport_get(void * jarg1) { - unsigned short jresult ; - icand_t *arg1 = (icand_t *) 0 ; - switch_port_t result; - - arg1 = (icand_t *)jarg1; - result = (switch_port_t) ((arg1)->rport); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_generation_set(void * jarg1, char * jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (icand_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->generation) delete [] arg1->generation; - if (arg2) { - arg1->generation = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->generation, (const char *)arg2); - } else { - arg1->generation = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_generation_get(void * jarg1) { - char * jresult ; - icand_t *arg1 = (icand_t *) 0 ; - char *result = 0 ; - - arg1 = (icand_t *)jarg1; - result = (char *) ((arg1)->generation); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_ready_set(void * jarg1, unsigned char jarg2) { - icand_t *arg1 = (icand_t *) 0 ; - uint8_t arg2 ; - - arg1 = (icand_t *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->ready = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_icand_t_ready_get(void * jarg1) { - unsigned char jresult ; - icand_t *arg1 = (icand_t *) 0 ; - uint8_t result; - - arg1 = (icand_t *)jarg1; - result = (uint8_t) ((arg1)->ready); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_icand_t() { - void * jresult ; - icand_t *result = 0 ; - - result = (icand_t *)new icand_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_icand_t(void * jarg1) { - icand_t *arg1 = (icand_t *) 0 ; - - arg1 = (icand_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_CAND_get() { - int jresult ; - int result; - - result = (int)(50); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cands_set(void * jarg1, void * jarg2) { - ice_t *arg1 = (ice_t *) 0 ; - icand_t (*arg2)[2] ; - - arg1 = (ice_t *)jarg1; - arg2 = (icand_t (*)[2])jarg2; - { - icand_t (*inp)[2] = (icand_t (*)[2])(arg2); - icand_t (*dest)[2] = (icand_t (*)[2])(arg1->cands); - size_t ii = 0; - for (; ii < 50; ++ii) { - icand_t *ip = inp[ii]; - icand_t *dp = dest[ii]; - size_t jj = 0; - for (; jj < 2; ++jj) dp[jj] = ip[jj]; - } - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cands_get(void * jarg1) { - void * jresult ; - ice_t *arg1 = (ice_t *) 0 ; - icand_t (*result)[2] = 0 ; - - arg1 = (ice_t *)jarg1; - result = (icand_t (*)[2])(icand_t (*)[2]) ((arg1)->cands); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cand_idx_set(void * jarg1, int jarg2) { - ice_t *arg1 = (ice_t *) 0 ; - int arg2 ; - - arg1 = (ice_t *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->cand_idx = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_ice_t_cand_idx_get(void * jarg1) { - int jresult ; - ice_t *arg1 = (ice_t *) 0 ; - int result; - - arg1 = (ice_t *)jarg1; - result = (int) ((arg1)->cand_idx); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_chosen_set(void * jarg1, void * jarg2) { - ice_t *arg1 = (ice_t *) 0 ; - int *arg2 ; - - arg1 = (ice_t *)jarg1; - arg2 = (int *)jarg2; - { - size_t ii; - int *b = (int *) arg1->chosen; - for (ii = 0; ii < (size_t)2; ii++) b[ii] = *((int *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_chosen_get(void * jarg1) { - void * jresult ; - ice_t *arg1 = (ice_t *) 0 ; - int *result = 0 ; - - arg1 = (ice_t *)jarg1; - result = (int *)(int *) ((arg1)->chosen); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_ufrag_set(void * jarg1, char * jarg2) { - ice_t *arg1 = (ice_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (ice_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->ufrag) delete [] arg1->ufrag; - if (arg2) { - arg1->ufrag = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->ufrag, (const char *)arg2); - } else { - arg1->ufrag = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_ufrag_get(void * jarg1) { - char * jresult ; - ice_t *arg1 = (ice_t *) 0 ; - char *result = 0 ; - - arg1 = (ice_t *)jarg1; - result = (char *) ((arg1)->ufrag); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_pwd_set(void * jarg1, char * jarg2) { - ice_t *arg1 = (ice_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (ice_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->pwd) delete [] arg1->pwd; - if (arg2) { - arg1->pwd = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->pwd, (const char *)arg2); - } else { - arg1->pwd = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_pwd_get(void * jarg1) { - char * jresult ; - ice_t *arg1 = (ice_t *) 0 ; - char *result = 0 ; - - arg1 = (ice_t *)jarg1; - result = (char *) ((arg1)->pwd); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_options_set(void * jarg1, char * jarg2) { - ice_t *arg1 = (ice_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (ice_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->options) delete [] arg1->options; - if (arg2) { - arg1->options = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->options, (const char *)arg2); - } else { - arg1->options = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_options_get(void * jarg1) { - char * jresult ; - ice_t *arg1 = (ice_t *) 0 ; - char *result = 0 ; - - arg1 = (ice_t *)jarg1; - result = (char *) ((arg1)->options); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ice_t() { - void * jresult ; - ice_t *result = 0 ; - - result = (ice_t *)new ice_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_ice_t(void * jarg1) { - ice_t *arg1 = (ice_t *) 0 ; - - arg1 = (ice_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_add_crypto_key(void * jarg1, int jarg2, unsigned long jarg3, int jarg4, void * jarg5, void * jarg6) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_crypto_direction_t arg2 ; - uint32_t arg3 ; - switch_rtp_crypto_key_type_t arg4 ; - unsigned char *arg5 = (unsigned char *) 0 ; - switch_size_t arg6 ; - switch_size_t *argp6 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_crypto_direction_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (switch_rtp_crypto_key_type_t)jarg4; - arg5 = (unsigned char *)jarg5; - argp6 = (switch_size_t *)jarg6; - if (!argp6) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg6 = *argp6; - result = (switch_status_t)switch_rtp_add_crypto_key(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_get_random(void * jarg1, unsigned long jarg2) { - void *arg1 = (void *) 0 ; - uint32_t arg2 ; - - arg1 = (void *)jarg1; - arg2 = (uint32_t)jarg2; - switch_rtp_get_random(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_init(void * jarg1) { - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - - arg1 = (switch_memory_pool_t *)jarg1; - switch_rtp_init(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_shutdown() { - switch_rtp_shutdown(); -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_set_start_port(unsigned short jarg1) { - unsigned short jresult ; - switch_port_t arg1 ; - switch_port_t result; - - arg1 = (switch_port_t)jarg1; - result = (switch_port_t)switch_rtp_set_start_port(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_ssrc(void * jarg1, unsigned long jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t arg2 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (switch_status_t)switch_rtp_set_ssrc(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_remote_ssrc(void * jarg1, unsigned long jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t arg2 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint32_t)jarg2; - result = (switch_status_t)switch_rtp_set_remote_ssrc(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_set_end_port(unsigned short jarg1) { - unsigned short jresult ; - switch_port_t arg1 ; - switch_port_t result; - - arg1 = (switch_port_t)jarg1; - result = (switch_port_t)switch_rtp_set_end_port(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_request_port(char * jarg1) { - unsigned short jresult ; - char *arg1 = (char *) 0 ; - switch_port_t result; - - arg1 = (char *)jarg1; - result = (switch_port_t)switch_rtp_request_port((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_release_port(char * jarg1, unsigned short jarg2) { - char *arg1 = (char *) 0 ; - switch_port_t arg2 ; - - arg1 = (char *)jarg1; - arg2 = (switch_port_t)jarg2; - switch_rtp_release_port((char const *)arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_interval(void * jarg1, unsigned long jarg2, unsigned long jarg3) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - result = (switch_status_t)switch_rtp_set_interval(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_change_interval(void * jarg1, unsigned long jarg2, unsigned long jarg3) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - result = (switch_status_t)switch_rtp_change_interval(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, void * jarg5, char * jarg6, void * jarg7, void * jarg8) { - int jresult ; - switch_rtp_t **arg1 = (switch_rtp_t **) 0 ; - switch_payload_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - switch_rtp_flag_t *arg5 ; - char *arg6 = (char *) 0 ; - char **arg7 = (char **) 0 ; - switch_memory_pool_t *arg8 = (switch_memory_pool_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t **)jarg1; - arg2 = (switch_payload_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (switch_rtp_flag_t *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char **)jarg7; - arg8 = (switch_memory_pool_t *)jarg8; - result = (switch_status_t)switch_rtp_create(arg1,arg2,arg3,arg4,arg5,arg6,(char const **)arg7,arg8); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_new(char * jarg1, unsigned short jarg2, char * jarg3, unsigned short jarg4, unsigned char jarg5, unsigned long jarg6, unsigned long jarg7, void * jarg8, char * jarg9, void * jarg10, void * jarg11) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_port_t arg2 ; - char *arg3 = (char *) 0 ; - switch_port_t arg4 ; - switch_payload_t arg5 ; - uint32_t arg6 ; - uint32_t arg7 ; - switch_rtp_flag_t *arg8 ; - char *arg9 = (char *) 0 ; - char **arg10 = (char **) 0 ; - switch_memory_pool_t *arg11 = (switch_memory_pool_t *) 0 ; - switch_rtp_t *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (switch_port_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (switch_port_t)jarg4; - arg5 = (switch_payload_t)jarg5; - arg6 = (uint32_t)jarg6; - arg7 = (uint32_t)jarg7; - arg8 = (switch_rtp_flag_t *)jarg8; - arg9 = (char *)jarg9; - arg10 = (char **)jarg10; - arg11 = (switch_memory_pool_t *)jarg11; - result = (switch_rtp_t *)switch_rtp_new((char const *)arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const **)arg10,arg11); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_remote_address(void * jarg1, char * jarg2, unsigned short jarg3, unsigned short jarg4, int jarg5, void * jarg6) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_port_t arg3 ; - switch_port_t arg4 ; - switch_bool_t arg5 ; - char **arg6 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_port_t)jarg3; - arg4 = (switch_port_t)jarg4; - arg5 = (switch_bool_t)jarg5; - arg6 = (char **)jarg6; - result = (switch_status_t)switch_rtp_set_remote_address(arg1,(char const *)arg2,arg3,arg4,arg5,(char const **)arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_get_remote_host(void * jarg1) { - char * jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_rtp_t *)jarg1; - result = (char *)switch_rtp_get_remote_host(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_get_remote_port(void * jarg1) { - unsigned short jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_port_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (switch_port_t)switch_rtp_get_remote_port(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset_media_timer(void * jarg1) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - switch_rtp_reset_media_timer(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_max_missed_packets(void * jarg1, unsigned long jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_rtp_set_max_missed_packets(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_udptl_mode(void * jarg1) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (switch_status_t)switch_rtp_udptl_mode(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset(void * jarg1) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - switch_rtp_reset(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_local_address(void * jarg1, char * jarg2, unsigned short jarg3, void * jarg4) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_port_t arg3 ; - char **arg4 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_port_t)jarg3; - arg4 = (char **)jarg4; - result = (switch_status_t)switch_rtp_set_local_address(arg1,(char const *)arg2,arg3,(char const **)arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_kill_socket(void * jarg1) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - switch_rtp_kill_socket(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_break(void * jarg1) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - switch_rtp_break(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_flush(void * jarg1) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - switch_rtp_flush(arg1); -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_ready(void * jarg1) { - unsigned char jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint8_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (uint8_t)switch_rtp_ready(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_destroy(void * jarg1) { - switch_rtp_t **arg1 = (switch_rtp_t **) 0 ; - - arg1 = (switch_rtp_t **)jarg1; - switch_rtp_destroy(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_ice(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, int jarg6, int jarg7, void * jarg8) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - ice_proto_t arg6 ; - switch_core_media_ice_type_t arg7 ; - ice_t *arg8 = (ice_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (ice_proto_t)jarg6; - arg7 = (switch_core_media_ice_type_t)jarg7; - arg8 = (ice_t *)jarg8; - result = (switch_status_t)switch_rtp_activate_ice(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_rtcp(void * jarg1, int jarg2, unsigned short jarg3, int jarg4) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - int arg2 ; - switch_port_t arg3 ; - switch_bool_t arg4 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (int)jarg2; - arg3 = (switch_port_t)jarg3; - arg4 = (switch_bool_t)jarg4; - result = (switch_status_t)switch_rtp_activate_rtcp(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_jitter_buffer(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, unsigned long jarg6) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t arg2 ; - uint32_t arg3 ; - uint32_t arg4 ; - uint32_t arg5 ; - uint32_t arg6 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint32_t)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint32_t)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (uint32_t)jarg6; - result = (switch_status_t)switch_rtp_activate_jitter_buffer(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_debug_jitter_buffer(void * jarg1, char * jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - char *arg2 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (char *)jarg2; - result = (switch_status_t)switch_rtp_debug_jitter_buffer(arg1,(char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_deactivate_jitter_buffer(void * jarg1) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (switch_status_t)switch_rtp_deactivate_jitter_buffer(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_pause_jitter_buffer(void * jarg1, int jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_bool_t arg2 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_status_t)switch_rtp_pause_jitter_buffer(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_jitter_buffer(void * jarg1) { - void * jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - stfu_instance_t *result = 0 ; - - arg1 = (switch_rtp_t *)jarg1; - result = (stfu_instance_t *)switch_rtp_get_jitter_buffer(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flag(void * jarg1, int jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_flag_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_flag_t)jarg2; - switch_rtp_set_flag(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flags(void * jarg1, void * jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_flag_t *arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_flag_t *)jarg2; - switch_rtp_set_flags(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flags(void * jarg1, void * jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_flag_t *arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_flag_t *)jarg2; - switch_rtp_clear_flags(arg1,arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_test_flag(void * jarg1, int jarg2) { - unsigned long jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_flag_t arg2 ; - uint32_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_flag_t)jarg2; - result = (uint32_t)switch_rtp_test_flag(arg1,arg2); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flag(void * jarg1, int jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_flag_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_flag_t)jarg2; - switch_rtp_clear_flag(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_rtp_socket(void * jarg1) { - void * jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_socket_t *result = 0 ; - - arg1 = (switch_rtp_t *)jarg1; - result = (switch_socket_t *)switch_rtp_get_rtp_socket(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_ping(void * jarg1) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - switch_rtp_ping(arg1); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_samples_per_interval(void * jarg1) { - unsigned long jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (uint32_t)switch_rtp_get_default_samples_per_interval(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_default_payload(void * jarg1, unsigned char jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_payload_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_payload_t)jarg2; - switch_rtp_set_default_payload(arg1,arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_payload(void * jarg1) { - unsigned long jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (uint32_t)switch_rtp_get_default_payload(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_invalid_handler(void * jarg1, void * jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_invalid_handler_t arg2 = (switch_rtp_invalid_handler_t) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_invalid_handler_t)jarg2; - switch_rtp_set_invalid_handler(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - void *arg2 = (void *) 0 ; - uint32_t *arg3 = (uint32_t *) 0 ; - switch_payload_t *arg4 = (switch_payload_t *) 0 ; - switch_frame_flag_t *arg5 = (switch_frame_flag_t *) 0 ; - switch_io_flag_t arg6 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (uint32_t *)jarg3; - arg4 = (switch_payload_t *)jarg4; - arg5 = (switch_frame_flag_t *)jarg5; - arg6 = (switch_io_flag_t)jarg6; - result = (switch_status_t)switch_rtp_read(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_queue_rfc2833(void * jarg1, void * jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - result = (switch_status_t)switch_rtp_queue_rfc2833(arg1,(switch_dtmf_t const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_queue_rfc2833_in(void * jarg1, void * jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - result = (switch_status_t)switch_rtp_queue_rfc2833_in(arg1,(switch_dtmf_t const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_has_dtmf(void * jarg1) { - void * jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = switch_rtp_has_dtmf(arg1); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_dequeue_dtmf(void * jarg1, void * jarg2) { - void * jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; - switch_size_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_dtmf_t *)jarg2; - result = switch_rtp_dequeue_dtmf(arg1,arg2); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - void **arg2 = (void **) 0 ; - uint32_t *arg3 = (uint32_t *) 0 ; - switch_payload_t *arg4 = (switch_payload_t *) 0 ; - switch_frame_flag_t *arg5 = (switch_frame_flag_t *) 0 ; - switch_io_flag_t arg6 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (void **)jarg2; - arg3 = (uint32_t *)jarg3; - arg4 = (switch_payload_t *)jarg4; - arg5 = (switch_frame_flag_t *)jarg5; - arg6 = (switch_io_flag_t)jarg6; - result = (switch_status_t)switch_rtp_zerocopy_read(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read_frame(void * jarg1, void * jarg2, unsigned long jarg3) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - switch_io_flag_t arg3 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - arg3 = (switch_io_flag_t)jarg3; - result = (switch_status_t)switch_rtp_zerocopy_read_frame(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtcp_zerocopy_read_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtcp_frame_t *arg2 = (switch_rtcp_frame_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtcp_frame_t *)jarg2; - result = (switch_status_t)switch_rtcp_zerocopy_read_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_rtp_flush_read_buffer(void * jarg1, int jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_flush_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_flush_t)jarg2; - rtp_flush_read_buffer(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_enable_vad(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_codec_t *arg3 = (switch_codec_t *) 0 ; - switch_vad_flag_t arg4 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - arg3 = (switch_codec_t *)jarg3; - arg4 = (switch_vad_flag_t)jarg4; - result = (switch_status_t)switch_rtp_enable_vad(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_disable_vad(void * jarg1) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (switch_status_t)switch_rtp_disable_vad(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_frame_t *arg2 = (switch_frame_t *) 0 ; - int result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_frame_t *)jarg2; - result = (int)switch_rtp_write_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_manual(void * jarg1, void * jarg2, unsigned long jarg3, unsigned char jarg4, unsigned char jarg5, unsigned long jarg6, void * jarg7) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - void *arg2 = (void *) 0 ; - uint32_t arg3 ; - uint8_t arg4 ; - switch_payload_t arg5 ; - uint32_t arg6 ; - switch_frame_flag_t *arg7 = (switch_frame_flag_t *) 0 ; - int result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (uint32_t)jarg3; - arg4 = (uint8_t)jarg4; - arg5 = (switch_payload_t)jarg5; - arg6 = (uint32_t)jarg6; - arg7 = (switch_frame_flag_t *)jarg7; - result = (int)switch_rtp_write_manual(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_ssrc(void * jarg1) { - unsigned long jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (uint32_t)switch_rtp_get_ssrc(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_private(void * jarg1, void * jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (void *)jarg2; - switch_rtp_set_private(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_event(void * jarg1, unsigned char jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_payload_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_payload_t)jarg2; - switch_rtp_set_telephony_event(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_recv_event(void * jarg1, unsigned char jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_payload_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_payload_t)jarg2; - switch_rtp_set_telephony_recv_event(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_cng_pt(void * jarg1, unsigned char jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_payload_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_payload_t)jarg2; - switch_rtp_set_cng_pt(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_private(void * jarg1) { - void * jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_rtp_t *)jarg1; - result = (void *)switch_rtp_get_private(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_payload_map(void * jarg1, void * jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - payload_map_t **arg2 = (payload_map_t **) 0 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (payload_map_t **)jarg2; - result = (switch_status_t)switch_rtp_set_payload_map(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_intentional_bugs(void * jarg1, int jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_rtp_bug_flag_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_rtp_bug_flag_t)jarg2; - switch_rtp_intentional_bugs(arg1,arg2); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_stats(void * jarg1, void * jarg2) { - void * jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; - switch_rtp_stats_t *result = 0 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (switch_memory_pool_t *)jarg2; - result = (switch_rtp_stats_t *)switch_rtp_get_stats(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_check_auto_adj(void * jarg1) { - unsigned char jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - switch_byte_t result; - - arg1 = (switch_rtp_t *)jarg1; - result = (switch_byte_t)switch_rtp_check_auto_adj(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_interdigit_delay(void * jarg1, unsigned long jarg2) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (uint32_t)jarg2; - switch_rtp_set_interdigit_delay(arg1,arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_add_dtls(void * jarg1, void * jarg2, void * jarg3, int jarg4) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - dtls_fingerprint_t *arg2 = (dtls_fingerprint_t *) 0 ; - dtls_fingerprint_t *arg3 = (dtls_fingerprint_t *) 0 ; - dtls_type_t arg4 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (dtls_fingerprint_t *)jarg2; - arg3 = (dtls_fingerprint_t *)jarg3; - arg4 = (dtls_type_t)jarg4; - result = (switch_status_t)switch_rtp_add_dtls(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_del_dtls(void * jarg1, int jarg2) { - int jresult ; - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - dtls_type_t arg2 ; - switch_status_t result; - - arg1 = (switch_rtp_t *)jarg1; - arg2 = (dtls_type_t)jarg2; - result = (switch_status_t)switch_rtp_del_dtls(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_has_dtls() { - int jresult ; - int result; - - result = (int)switch_rtp_has_dtls(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_video_refresh(void * jarg1) { - switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; - - arg1 = (switch_rtp_t *)jarg1; - switch_rtp_video_refresh(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_data_set(void * jarg1, char * jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->data) delete [] arg1->data; - if (arg2) { - arg1->data = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->data, (const char *)arg2); - } else { - arg1->data = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_data_get(void * jarg1) { - char * jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_log_node_t *)jarg1; - result = (char *) ((arg1)->data); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_file_set(void * jarg1, char * jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *arg2 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->file, (const char *)arg2, 80-1); - arg1->file[80-1] = 0; - } else { - arg1->file[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_file_get(void * jarg1) { - char * jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_log_node_t *)jarg1; - result = (char *)(char *) ((arg1)->file); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_line_set(void * jarg1, unsigned long jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->line = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_log_node_t_line_get(void * jarg1) { - unsigned long jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - uint32_t result; - - arg1 = (switch_log_node_t *)jarg1; - result = (uint32_t) ((arg1)->line); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_func_set(void * jarg1, char * jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *arg2 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->func, (const char *)arg2, 80-1); - arg1->func[80-1] = 0; - } else { - arg1->func[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_func_get(void * jarg1) { - char * jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_log_node_t *)jarg1; - result = (char *)(char *) ((arg1)->func); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_level_set(void * jarg1, int jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_log_level_t arg2 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (switch_log_level_t)jarg2; - if (arg1) (arg1)->level = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_node_t_level_get(void * jarg1) { - int jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_log_level_t result; - - arg1 = (switch_log_node_t *)jarg1; - result = (switch_log_level_t) ((arg1)->level); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_timestamp_set(void * jarg1, void * jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_time_t arg2 ; - switch_time_t *argp2 ; - - arg1 = (switch_log_node_t *)jarg1; - argp2 = (switch_time_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_time_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->timestamp = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_log_node_t_timestamp_get(void * jarg1) { - void * jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_time_t result; - - arg1 = (switch_log_node_t *)jarg1; - result = ((arg1)->timestamp); - jresult = new switch_time_t((const switch_time_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_content_set(void * jarg1, char * jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->content) delete [] arg1->content; - if (arg2) { - arg1->content = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->content, (const char *)arg2); - } else { - arg1->content = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_content_get(void * jarg1) { - char * jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_log_node_t *)jarg1; - result = (char *) ((arg1)->content); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_userdata_set(void * jarg1, char * jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->userdata) delete [] arg1->userdata; - if (arg2) { - arg1->userdata = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->userdata, (const char *)arg2); - } else { - arg1->userdata = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_userdata_get(void * jarg1) { - char * jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - char *result = 0 ; - - arg1 = (switch_log_node_t *)jarg1; - result = (char *) ((arg1)->userdata); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_channel_set(void * jarg1, int jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_text_channel_t arg2 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (switch_text_channel_t)jarg2; - if (arg1) (arg1)->channel = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_node_t_channel_get(void * jarg1) { - int jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_text_channel_t result; - - arg1 = (switch_log_node_t *)jarg1; - result = (switch_text_channel_t) ((arg1)->channel); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_slevel_set(void * jarg1, int jarg2) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_log_level_t arg2 ; - - arg1 = (switch_log_node_t *)jarg1; - arg2 = (switch_log_level_t)jarg2; - if (arg1) (arg1)->slevel = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_node_t_slevel_get(void * jarg1) { - int jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_log_level_t result; - - arg1 = (switch_log_node_t *)jarg1; - result = (switch_log_level_t) ((arg1)->slevel); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_log_node_t() { - void * jresult ; - switch_log_node_t *result = 0 ; - - result = (switch_log_node_t *)new switch_log_node_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_log_node_t(void * jarg1) { - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - - arg1 = (switch_log_node_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_init(void * jarg1, int jarg2) { - int jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - switch_bool_t arg2 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_status_t)switch_log_init(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_shutdown() { - int jresult ; - switch_status_t result; - - result = (switch_status_t)switch_log_shutdown(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_bind_logger(void * jarg1, int jarg2, int jarg3) { - int jresult ; - switch_log_function_t arg1 = (switch_log_function_t) 0 ; - switch_log_level_t arg2 ; - switch_bool_t arg3 ; - switch_status_t result; - - arg1 = (switch_log_function_t)jarg1; - arg2 = (switch_log_level_t)jarg2; - arg3 = (switch_bool_t)jarg3; - result = (switch_status_t)switch_log_bind_logger(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_unbind_logger(void * jarg1) { - int jresult ; - switch_log_function_t arg1 = (switch_log_function_t) 0 ; - switch_status_t result; - - arg1 = (switch_log_function_t)jarg1; - result = (switch_status_t)switch_log_unbind_logger(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_level2str(int jarg1) { - char * jresult ; - switch_log_level_t arg1 ; - char *result = 0 ; - - arg1 = (switch_log_level_t)jarg1; - result = (char *)switch_log_level2str(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_str2level(char * jarg1) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_log_level_t result; - - arg1 = (char *)jarg1; - result = (switch_log_level_t)switch_log_str2level((char const *)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_log_str2mask(char * jarg1) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - uint32_t result; - - arg1 = (char *)jarg1; - result = (uint32_t)switch_log_str2mask((char const *)arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_log_node_dup(void * jarg1) { - void * jresult ; - switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; - switch_log_node_t *result = 0 ; - - arg1 = (switch_log_node_t *)jarg1; - result = (switch_log_node_t *)switch_log_node_dup((switch_log_node_t const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_free(void * jarg1) { - switch_log_node_t **arg1 = (switch_log_node_t **) 0 ; - - arg1 = (switch_log_node_t **)jarg1; - switch_log_node_free(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_XML_BUFSIZE_get() { - int jresult ; - int result; - - result = (int)(1024); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_name_set(void * jarg1, char * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->name) delete [] arg1->name; - if (arg2) { - arg1->name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->name, (const char *)arg2); - } else { - arg1->name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_name_get(void * jarg1) { - char * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - char *result = 0 ; - - arg1 = (switch_xml *)jarg1; - result = (char *) ((arg1)->name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_attr_set(void * jarg1, void * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - char **arg2 = (char **) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (char **)jarg2; - if (arg1) (arg1)->attr = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_attr_get(void * jarg1) { - void * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - char **result = 0 ; - - arg1 = (switch_xml *)jarg1; - result = (char **) ((arg1)->attr); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_txt_set(void * jarg1, char * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->txt) delete [] arg1->txt; - if (arg2) { - arg1->txt = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->txt, (const char *)arg2); - } else { - arg1->txt = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_txt_get(void * jarg1) { - char * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - char *result = 0 ; - - arg1 = (switch_xml *)jarg1; - result = (char *) ((arg1)->txt); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free_path_set(void * jarg1, char * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->free_path) delete [] arg1->free_path; - if (arg2) { - arg1->free_path = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->free_path, (const char *)arg2); - } else { - arg1->free_path = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_free_path_get(void * jarg1) { - char * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - char *result = 0 ; - - arg1 = (switch_xml *)jarg1; - result = (char *) ((arg1)->free_path); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_off_set(void * jarg1, void * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - - arg1 = (switch_xml *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->off = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_off_get(void * jarg1) { - void * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - switch_size_t result; - - arg1 = (switch_xml *)jarg1; - result = ((arg1)->off); - jresult = new switch_size_t((const switch_size_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_next_set(void * jarg1, void * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (switch_xml_t)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_next_get(void * jarg1) { - void * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml *)jarg1; - result = (switch_xml_t) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_sibling_set(void * jarg1, void * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (switch_xml_t)jarg2; - if (arg1) (arg1)->sibling = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_sibling_get(void * jarg1) { - void * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml *)jarg1; - result = (switch_xml_t) ((arg1)->sibling); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_ordered_set(void * jarg1, void * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (switch_xml_t)jarg2; - if (arg1) (arg1)->ordered = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_ordered_get(void * jarg1) { - void * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml *)jarg1; - result = (switch_xml_t) ((arg1)->ordered); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_child_set(void * jarg1, void * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (switch_xml_t)jarg2; - if (arg1) (arg1)->child = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_child_get(void * jarg1) { - void * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml *)jarg1; - result = (switch_xml_t) ((arg1)->child); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_parent_set(void * jarg1, void * jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (switch_xml_t)jarg2; - if (arg1) (arg1)->parent = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parent_get(void * jarg1) { - void * jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml *)jarg1; - result = (switch_xml_t) ((arg1)->parent); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_flags_set(void * jarg1, unsigned long jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_flags_get(void * jarg1) { - unsigned long jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - uint32_t result; - - arg1 = (switch_xml *)jarg1; - result = (uint32_t) ((arg1)->flags); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_is_switch_xml_root_t_set(void * jarg1, int jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - switch_bool_t arg2 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (switch_bool_t)jarg2; - if (arg1) (arg1)->is_switch_xml_root_t = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_is_switch_xml_root_t_get(void * jarg1) { - int jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - switch_bool_t result; - - arg1 = (switch_xml *)jarg1; - result = (switch_bool_t) ((arg1)->is_switch_xml_root_t); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_refs_set(void * jarg1, unsigned long jarg2) { - switch_xml *arg1 = (switch_xml *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_xml *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->refs = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_refs_get(void * jarg1) { - unsigned long jresult ; - switch_xml *arg1 = (switch_xml *) 0 ; - uint32_t result; - - arg1 = (switch_xml *)jarg1; - result = (uint32_t) ((arg1)->refs); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_xml() { - void * jresult ; - switch_xml *result = 0 ; - - result = (switch_xml *)new switch_xml(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_xml(void * jarg1) { - switch_xml *arg1 = (switch_xml *) 0 ; - - arg1 = (switch_xml *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_str_dynamic(char * jarg1, int jarg2) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_bool_t arg2 ; - switch_xml_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (switch_xml_t)switch_xml_parse_str_dynamic(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_str(char * jarg1, void * jarg2) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_size_t arg2 ; - switch_size_t *argp2 ; - switch_xml_t result; - - arg1 = (char *)jarg1; - argp2 = (switch_size_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg2 = *argp2; - result = (switch_xml_t)switch_xml_parse_str(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_fd(int jarg1) { - void * jresult ; - int arg1 ; - switch_xml_t result; - - arg1 = (int)jarg1; - result = (switch_xml_t)switch_xml_parse_fd(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_file(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_xml_t result; - - arg1 = (char *)jarg1; - result = (switch_xml_t)switch_xml_parse_file((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_file_simple(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_xml_t result; - - arg1 = (char *)jarg1; - result = (switch_xml_t)switch_xml_parse_file_simple((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_fp(void * jarg1) { - void * jresult ; - FILE *arg1 = (FILE *) 0 ; - switch_xml_t result; - - arg1 = (FILE *)jarg1; - result = (switch_xml_t)switch_xml_parse_fp(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_child(void * jarg1, char * jarg2) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - result = (switch_xml_t)switch_xml_child(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_find_child(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (switch_xml_t)switch_xml_find_child(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_find_child_multi(void * jarg1, char * jarg2) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - result = (switch_xml_t)switch_xml_find_child_multi(arg1,(char const *)arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_attr(void * jarg1, char * jarg2) { - char * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_xml_attr(arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_attr_soft(void * jarg1, char * jarg2) { - char * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - result = (char *)switch_xml_attr_soft(arg1,(char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_get(void * jarg1) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - void *arg2 = 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - result = (switch_xml_t)switch_xml_get(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml(void * jarg1, int jarg2) { - char * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_bool_t arg2 ; - char *result = 0 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (char *)switch_xml_toxml(arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_nolock(void * jarg1, int jarg2) { - char * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_bool_t arg2 ; - char *result = 0 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (char *)switch_xml_toxml_nolock(arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_tohtml(void * jarg1, int jarg2) { - char * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_bool_t arg2 ; - char *result = 0 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_bool_t)jarg2; - result = (char *)switch_xml_tohtml(arg1,arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_buf(void * jarg1, char * jarg2, void * jarg3, void * jarg4, int jarg5) { - char * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t arg4 ; - switch_bool_t arg5 ; - switch_size_t *argp3 ; - switch_size_t *argp4 ; - char *result = 0 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - argp4 = (switch_size_t *)jarg4; - if (!argp4) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg4 = *argp4; - arg5 = (switch_bool_t)jarg5; - result = (char *)switch_xml_toxml_buf(arg1,arg2,arg3,arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free(void * jarg1) { - switch_xml_t arg1 = (switch_xml_t) 0 ; - - arg1 = (switch_xml_t)jarg1; - switch_xml_free(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free_in_thread(void * jarg1, int jarg2) { - switch_xml_t arg1 = (switch_xml_t) 0 ; - int arg2 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (int)jarg2; - switch_xml_free_in_thread(arg1,arg2); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_error(void * jarg1) { - char * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *result = 0 ; - - arg1 = (switch_xml_t)jarg1; - result = (char *)switch_xml_error(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_new(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_xml_t result; - - arg1 = (char *)jarg1; - result = (switch_xml_t)switch_xml_new((char const *)arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_add_child(void * jarg1, char * jarg2, void * jarg3) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (switch_xml_t)switch_xml_add_child(arg1,(char const *)arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_txt(void * jarg1, char * jarg2) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - result = (switch_xml_t)switch_xml_set_txt(arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_attr(void * jarg1, char * jarg2, char * jarg3) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (switch_xml_t)switch_xml_set_attr(arg1,(char const *)arg2,(char const *)arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_flag(void * jarg1, int jarg2) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_xml_flag_t arg2 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_xml_flag_t)jarg2; - result = (switch_xml_t)switch_xml_set_flag(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_cut(void * jarg1) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - result = (switch_xml_t)switch_xml_cut(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_insert(void * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - switch_size_t arg3 ; - switch_size_t *argp3 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_xml_t)jarg2; - argp3 = (switch_size_t *)jarg3; - if (!argp3) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0); - return 0; - } - arg3 = *argp3; - result = (switch_xml_t)switch_xml_insert(arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_set_root(void * jarg1) { - int jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_status_t result; - - arg1 = (switch_xml_t)jarg1; - result = (switch_status_t)switch_xml_set_root(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_set_open_root_function(void * jarg1, void * jarg2) { - int jresult ; - switch_xml_open_root_function_t arg1 = (switch_xml_open_root_function_t) 0 ; - void *arg2 = (void *) 0 ; - switch_status_t result; - - arg1 = (switch_xml_open_root_function_t)jarg1; - arg2 = (void *)jarg2; - result = (switch_status_t)switch_xml_set_open_root_function(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_root(unsigned char jarg1, void * jarg2) { - void * jresult ; - uint8_t arg1 ; - char **arg2 = (char **) 0 ; - switch_xml_t result; - - arg1 = (uint8_t)jarg1; - arg2 = (char **)jarg2; - result = (switch_xml_t)switch_xml_open_root(arg1,(char const **)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_init(void * jarg1, void * jarg2) { - int jresult ; - switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; - char **arg2 = (char **) 0 ; - switch_status_t result; - - arg1 = (switch_memory_pool_t *)jarg1; - arg2 = (char **)jarg2; - result = (switch_status_t)switch_xml_init(arg1,(char const **)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_reload(void * jarg1) { - int jresult ; - char **arg1 = (char **) 0 ; - switch_status_t result; - - arg1 = (char **)jarg1; - result = (switch_status_t)switch_xml_reload((char const **)arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_destroy() { - int jresult ; - switch_status_t result; - - result = (switch_status_t)switch_xml_destroy(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_root() { - void * jresult ; - switch_xml_t result; - - result = (switch_xml_t)switch_xml_root(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6, void * jarg7, int jarg8) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_xml_t *arg5 = (switch_xml_t *) 0 ; - switch_xml_t *arg6 = (switch_xml_t *) 0 ; - switch_event_t *arg7 = (switch_event_t *) 0 ; - switch_bool_t arg8 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_xml_t *)jarg5; - arg6 = (switch_xml_t *)jarg6; - arg7 = (switch_event_t *)jarg7; - arg8 = (switch_bool_t)jarg8; - result = (switch_status_t)switch_xml_locate((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_domain(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - switch_xml_t *arg3 = (switch_xml_t *) 0 ; - switch_xml_t *arg4 = (switch_xml_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_event_t *)jarg2; - arg3 = (switch_xml_t *)jarg3; - arg4 = (switch_xml_t *)jarg4; - result = (switch_status_t)switch_xml_locate_domain((char const *)arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_group(char * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - switch_xml_t *arg3 = (switch_xml_t *) 0 ; - switch_xml_t *arg4 = (switch_xml_t *) 0 ; - switch_xml_t *arg5 = (switch_xml_t *) 0 ; - switch_event_t *arg6 = (switch_event_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (switch_xml_t *)jarg3; - arg4 = (switch_xml_t *)jarg4; - arg5 = (switch_xml_t *)jarg5; - arg6 = (switch_event_t *)jarg6; - result = (switch_status_t)switch_xml_locate_group((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_xml_t *arg5 = (switch_xml_t *) 0 ; - switch_xml_t *arg6 = (switch_xml_t *) 0 ; - switch_xml_t *arg7 = (switch_xml_t *) 0 ; - switch_xml_t *arg8 = (switch_xml_t *) 0 ; - switch_event_t *arg9 = (switch_event_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_xml_t *)jarg5; - arg6 = (switch_xml_t *)jarg6; - arg7 = (switch_xml_t *)jarg7; - arg8 = (switch_xml_t *)jarg8; - arg9 = (switch_event_t *)jarg9; - result = (switch_status_t)switch_xml_locate_user((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_in_domain(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { - int jresult ; - char *arg1 = (char *) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - switch_xml_t *arg3 = (switch_xml_t *) 0 ; - switch_xml_t *arg4 = (switch_xml_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_xml_t)jarg2; - arg3 = (switch_xml_t *)jarg3; - arg4 = (switch_xml_t *)jarg4; - result = (switch_status_t)switch_xml_locate_user_in_domain((char const *)arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_merged(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6) { - int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - switch_xml_t *arg5 = (switch_xml_t *) 0 ; - switch_event_t *arg6 = (switch_event_t *) 0 ; - switch_status_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (switch_xml_t *)jarg5; - arg6 = (switch_event_t *)jarg6; - result = (switch_status_t)switch_xml_locate_user_merged((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_clear_user_cache(char * jarg1, char * jarg2, char * jarg3) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - uint32_t result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (uint32_t)switch_xml_clear_user_cache((char const *)arg1,(char const *)arg2,(char const *)arg3); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_merge_user(void * jarg1, void * jarg2, void * jarg3) { - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_xml_t arg2 = (switch_xml_t) 0 ; - switch_xml_t arg3 = (switch_xml_t) 0 ; - - arg1 = (switch_xml_t)jarg1; - arg2 = (switch_xml_t)jarg2; - arg3 = (switch_xml_t)jarg3; - switch_xml_merge_user(arg1,arg2,arg3); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_dup(void * jarg1) { - void * jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - switch_xml_t result; - - arg1 = (switch_xml_t)jarg1; - result = (switch_xml_t)switch_xml_dup(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_cfg(char * jarg1, void * jarg2, void * jarg3) { - void * jresult ; - char *arg1 = (char *) 0 ; - switch_xml_t *arg2 = (switch_xml_t *) 0 ; - switch_event_t *arg3 = (switch_event_t *) 0 ; - switch_xml_t result; - - arg1 = (char *)jarg1; - arg2 = (switch_xml_t *)jarg2; - arg3 = (switch_event_t *)jarg3; - result = (switch_xml_t)switch_xml_open_cfg((char const *)arg1,arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_sections(void * jarg1, unsigned long jarg2) { - switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; - switch_xml_section_t arg2 ; - - arg1 = (switch_xml_binding_t *)jarg1; - arg2 = (switch_xml_section_t)jarg2; - switch_xml_set_binding_sections(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_user_data(void * jarg1, void * jarg2) { - switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_xml_binding_t *)jarg1; - arg2 = (void *)jarg2; - switch_xml_set_binding_user_data(arg1,arg2); -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_get_binding_sections(void * jarg1) { - unsigned long jresult ; - switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; - switch_xml_section_t result; - - arg1 = (switch_xml_binding_t *)jarg1; - result = (switch_xml_section_t)switch_xml_get_binding_sections(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_get_binding_user_data(void * jarg1) { - void * jresult ; - switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; - void *result = 0 ; - - arg1 = (switch_xml_binding_t *)jarg1; - result = (void *)switch_xml_get_binding_user_data(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function_ret(void * jarg1, unsigned long jarg2, void * jarg3, void * jarg4) { - int jresult ; - switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ; - switch_xml_section_t arg2 ; - void *arg3 = (void *) 0 ; - switch_xml_binding_t **arg4 = (switch_xml_binding_t **) 0 ; - switch_status_t result; - - arg1 = (switch_xml_search_function_t)jarg1; - arg2 = (switch_xml_section_t)jarg2; - arg3 = (void *)jarg3; - arg4 = (switch_xml_binding_t **)jarg4; - result = (switch_status_t)switch_xml_bind_search_function_ret(arg1,arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_unbind_search_function(void * jarg1) { - int jresult ; - switch_xml_binding_t **arg1 = (switch_xml_binding_t **) 0 ; - switch_status_t result; - - arg1 = (switch_xml_binding_t **)jarg1; - result = (switch_status_t)switch_xml_unbind_search_function(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_unbind_search_function_ptr(void * jarg1) { - int jresult ; - switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ; - switch_status_t result; - - arg1 = (switch_xml_search_function_t)jarg1; - result = (switch_status_t)switch_xml_unbind_search_function_ptr(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_parse_section_string(char * jarg1) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - switch_xml_section_t result; - - arg1 = (char *)jarg1; - result = (switch_xml_section_t)switch_xml_parse_section_string((char const *)arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_std_datetime_check(void * jarg1, void * jarg2, char * jarg3) { - int jresult ; - switch_xml_t arg1 = (switch_xml_t) 0 ; - int *arg2 = (int *) 0 ; - char *arg3 = (char *) 0 ; - int result; - - arg1 = (switch_xml_t)jarg1; - arg2 = (int *)jarg2; - arg3 = (char *)jarg3; - result = (int)switch_xml_std_datetime_check(arg1,arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_language(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6, char * jarg7) { - int jresult ; - switch_xml_t *arg1 = (switch_xml_t *) 0 ; - switch_xml_t *arg2 = (switch_xml_t *) 0 ; - switch_event_t *arg3 = (switch_event_t *) 0 ; - switch_xml_t *arg4 = (switch_xml_t *) 0 ; - switch_xml_t *arg5 = (switch_xml_t *) 0 ; - switch_xml_t *arg6 = (switch_xml_t *) 0 ; - char *arg7 = (char *) 0 ; - switch_status_t result; - - arg1 = (switch_xml_t *)jarg1; - arg2 = (switch_xml_t *)jarg2; - arg3 = (switch_event_t *)jarg3; - arg4 = (switch_xml_t *)jarg4; - arg5 = (switch_xml_t *)jarg5; - arg6 = (switch_xml_t *)jarg6; - arg7 = (char *)jarg7; - result = (switch_status_t)switch_xml_locate_language(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set(void * jarg1, void * jarg2) { - switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; - switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ; - - arg1 = (switch_io_event_hook_outgoing_channel *)jarg1; - arg2 = (switch_outgoing_channel_hook_t)jarg2; - if (arg1) (arg1)->outgoing_channel = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; - switch_outgoing_channel_hook_t result; - - arg1 = (switch_io_event_hook_outgoing_channel *)jarg1; - result = (switch_outgoing_channel_hook_t) ((arg1)->outgoing_channel); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; - switch_io_event_hook_outgoing_channel *arg2 = (switch_io_event_hook_outgoing_channel *) 0 ; - - arg1 = (switch_io_event_hook_outgoing_channel *)jarg1; - arg2 = (switch_io_event_hook_outgoing_channel *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; - switch_io_event_hook_outgoing_channel *result = 0 ; - - arg1 = (switch_io_event_hook_outgoing_channel *)jarg1; - result = (switch_io_event_hook_outgoing_channel *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_outgoing_channel() { - void * jresult ; - switch_io_event_hook_outgoing_channel *result = 0 ; - - result = (switch_io_event_hook_outgoing_channel *)new switch_io_event_hook_outgoing_channel(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_outgoing_channel(void * jarg1) { - switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; - - arg1 = (switch_io_event_hook_outgoing_channel *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_receive_message_set(void * jarg1, void * jarg2) { - switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; - switch_receive_message_hook_t arg2 = (switch_receive_message_hook_t) 0 ; - - arg1 = (switch_io_event_hook_receive_message *)jarg1; - arg2 = (switch_receive_message_hook_t)jarg2; - if (arg1) (arg1)->receive_message = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_receive_message_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; - switch_receive_message_hook_t result; - - arg1 = (switch_io_event_hook_receive_message *)jarg1; - result = (switch_receive_message_hook_t) ((arg1)->receive_message); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; - switch_io_event_hook_receive_message *arg2 = (switch_io_event_hook_receive_message *) 0 ; - - arg1 = (switch_io_event_hook_receive_message *)jarg1; - arg2 = (switch_io_event_hook_receive_message *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; - switch_io_event_hook_receive_message *result = 0 ; - - arg1 = (switch_io_event_hook_receive_message *)jarg1; - result = (switch_io_event_hook_receive_message *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_receive_message() { - void * jresult ; - switch_io_event_hook_receive_message *result = 0 ; - - result = (switch_io_event_hook_receive_message *)new switch_io_event_hook_receive_message(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_receive_message(void * jarg1) { - switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; - - arg1 = (switch_io_event_hook_receive_message *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_receive_event_set(void * jarg1, void * jarg2) { - switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; - switch_receive_event_hook_t arg2 = (switch_receive_event_hook_t) 0 ; - - arg1 = (switch_io_event_hook_receive_event *)jarg1; - arg2 = (switch_receive_event_hook_t)jarg2; - if (arg1) (arg1)->receive_event = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_receive_event_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; - switch_receive_event_hook_t result; - - arg1 = (switch_io_event_hook_receive_event *)jarg1; - result = (switch_receive_event_hook_t) ((arg1)->receive_event); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; - switch_io_event_hook_receive_event *arg2 = (switch_io_event_hook_receive_event *) 0 ; - - arg1 = (switch_io_event_hook_receive_event *)jarg1; - arg2 = (switch_io_event_hook_receive_event *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; - switch_io_event_hook_receive_event *result = 0 ; - - arg1 = (switch_io_event_hook_receive_event *)jarg1; - result = (switch_io_event_hook_receive_event *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_receive_event() { - void * jresult ; - switch_io_event_hook_receive_event *result = 0 ; - - result = (switch_io_event_hook_receive_event *)new switch_io_event_hook_receive_event(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_receive_event(void * jarg1) { - switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; - - arg1 = (switch_io_event_hook_receive_event *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_read_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; - switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; - - arg1 = (switch_io_event_hook_read_frame *)jarg1; - arg2 = (switch_read_frame_hook_t)jarg2; - if (arg1) (arg1)->read_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_read_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; - switch_read_frame_hook_t result; - - arg1 = (switch_io_event_hook_read_frame *)jarg1; - result = (switch_read_frame_hook_t) ((arg1)->read_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; - switch_io_event_hook_read_frame *arg2 = (switch_io_event_hook_read_frame *) 0 ; - - arg1 = (switch_io_event_hook_read_frame *)jarg1; - arg2 = (switch_io_event_hook_read_frame *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; - switch_io_event_hook_read_frame *result = 0 ; - - arg1 = (switch_io_event_hook_read_frame *)jarg1; - result = (switch_io_event_hook_read_frame *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_read_frame() { - void * jresult ; - switch_io_event_hook_read_frame *result = 0 ; - - result = (switch_io_event_hook_read_frame *)new switch_io_event_hook_read_frame(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_read_frame(void * jarg1) { - switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; - - arg1 = (switch_io_event_hook_read_frame *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_video_read_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; - switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; - - arg1 = (switch_io_event_hook_video_read_frame *)jarg1; - arg2 = (switch_read_frame_hook_t)jarg2; - if (arg1) (arg1)->video_read_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_video_read_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; - switch_read_frame_hook_t result; - - arg1 = (switch_io_event_hook_video_read_frame *)jarg1; - result = (switch_read_frame_hook_t) ((arg1)->video_read_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; - switch_io_event_hook_video_read_frame *arg2 = (switch_io_event_hook_video_read_frame *) 0 ; - - arg1 = (switch_io_event_hook_video_read_frame *)jarg1; - arg2 = (switch_io_event_hook_video_read_frame *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; - switch_io_event_hook_video_read_frame *result = 0 ; - - arg1 = (switch_io_event_hook_video_read_frame *)jarg1; - result = (switch_io_event_hook_video_read_frame *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_video_read_frame() { - void * jresult ; - switch_io_event_hook_video_read_frame *result = 0 ; - - result = (switch_io_event_hook_video_read_frame *)new switch_io_event_hook_video_read_frame(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_video_read_frame(void * jarg1) { - switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; - - arg1 = (switch_io_event_hook_video_read_frame *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_write_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; - switch_write_frame_hook_t arg2 = (switch_write_frame_hook_t) 0 ; - - arg1 = (switch_io_event_hook_write_frame *)jarg1; - arg2 = (switch_write_frame_hook_t)jarg2; - if (arg1) (arg1)->write_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_write_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; - switch_write_frame_hook_t result; - - arg1 = (switch_io_event_hook_write_frame *)jarg1; - result = (switch_write_frame_hook_t) ((arg1)->write_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; - switch_io_event_hook_write_frame *arg2 = (switch_io_event_hook_write_frame *) 0 ; - - arg1 = (switch_io_event_hook_write_frame *)jarg1; - arg2 = (switch_io_event_hook_write_frame *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; - switch_io_event_hook_write_frame *result = 0 ; - - arg1 = (switch_io_event_hook_write_frame *)jarg1; - result = (switch_io_event_hook_write_frame *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_write_frame() { - void * jresult ; - switch_io_event_hook_write_frame *result = 0 ; - - result = (switch_io_event_hook_write_frame *)new switch_io_event_hook_write_frame(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_write_frame(void * jarg1) { - switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; - - arg1 = (switch_io_event_hook_write_frame *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_video_write_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; - switch_video_write_frame_hook_t arg2 = (switch_video_write_frame_hook_t) 0 ; - - arg1 = (switch_io_event_hook_video_write_frame *)jarg1; - arg2 = (switch_video_write_frame_hook_t)jarg2; - if (arg1) (arg1)->video_write_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_video_write_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; - switch_video_write_frame_hook_t result; - - arg1 = (switch_io_event_hook_video_write_frame *)jarg1; - result = (switch_video_write_frame_hook_t) ((arg1)->video_write_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; - switch_io_event_hook_video_write_frame *arg2 = (switch_io_event_hook_video_write_frame *) 0 ; - - arg1 = (switch_io_event_hook_video_write_frame *)jarg1; - arg2 = (switch_io_event_hook_video_write_frame *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; - switch_io_event_hook_video_write_frame *result = 0 ; - - arg1 = (switch_io_event_hook_video_write_frame *)jarg1; - result = (switch_io_event_hook_video_write_frame *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_video_write_frame() { - void * jresult ; - switch_io_event_hook_video_write_frame *result = 0 ; - - result = (switch_io_event_hook_video_write_frame *)new switch_io_event_hook_video_write_frame(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_video_write_frame(void * jarg1) { - switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; - - arg1 = (switch_io_event_hook_video_write_frame *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_kill_channel_set(void * jarg1, void * jarg2) { - switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; - switch_kill_channel_hook_t arg2 = (switch_kill_channel_hook_t) 0 ; - - arg1 = (switch_io_event_hook_kill_channel *)jarg1; - arg2 = (switch_kill_channel_hook_t)jarg2; - if (arg1) (arg1)->kill_channel = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_kill_channel_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; - switch_kill_channel_hook_t result; - - arg1 = (switch_io_event_hook_kill_channel *)jarg1; - result = (switch_kill_channel_hook_t) ((arg1)->kill_channel); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; - switch_io_event_hook_kill_channel *arg2 = (switch_io_event_hook_kill_channel *) 0 ; - - arg1 = (switch_io_event_hook_kill_channel *)jarg1; - arg2 = (switch_io_event_hook_kill_channel *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; - switch_io_event_hook_kill_channel *result = 0 ; - - arg1 = (switch_io_event_hook_kill_channel *)jarg1; - result = (switch_io_event_hook_kill_channel *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_kill_channel() { - void * jresult ; - switch_io_event_hook_kill_channel *result = 0 ; - - result = (switch_io_event_hook_kill_channel *)new switch_io_event_hook_kill_channel(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_kill_channel(void * jarg1) { - switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; - - arg1 = (switch_io_event_hook_kill_channel *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_send_dtmf_set(void * jarg1, void * jarg2) { - switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; - switch_send_dtmf_hook_t arg2 = (switch_send_dtmf_hook_t) 0 ; - - arg1 = (switch_io_event_hook_send_dtmf *)jarg1; - arg2 = (switch_send_dtmf_hook_t)jarg2; - if (arg1) (arg1)->send_dtmf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_send_dtmf_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; - switch_send_dtmf_hook_t result; - - arg1 = (switch_io_event_hook_send_dtmf *)jarg1; - result = (switch_send_dtmf_hook_t) ((arg1)->send_dtmf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; - switch_io_event_hook_send_dtmf *arg2 = (switch_io_event_hook_send_dtmf *) 0 ; - - arg1 = (switch_io_event_hook_send_dtmf *)jarg1; - arg2 = (switch_io_event_hook_send_dtmf *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; - switch_io_event_hook_send_dtmf *result = 0 ; - - arg1 = (switch_io_event_hook_send_dtmf *)jarg1; - result = (switch_io_event_hook_send_dtmf *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_send_dtmf() { - void * jresult ; - switch_io_event_hook_send_dtmf *result = 0 ; - - result = (switch_io_event_hook_send_dtmf *)new switch_io_event_hook_send_dtmf(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_send_dtmf(void * jarg1) { - switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; - - arg1 = (switch_io_event_hook_send_dtmf *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_set(void * jarg1, void * jarg2) { - switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; - switch_recv_dtmf_hook_t arg2 = (switch_recv_dtmf_hook_t) 0 ; - - arg1 = (switch_io_event_hook_recv_dtmf *)jarg1; - arg2 = (switch_recv_dtmf_hook_t)jarg2; - if (arg1) (arg1)->recv_dtmf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; - switch_recv_dtmf_hook_t result; - - arg1 = (switch_io_event_hook_recv_dtmf *)jarg1; - result = (switch_recv_dtmf_hook_t) ((arg1)->recv_dtmf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; - switch_io_event_hook_recv_dtmf *arg2 = (switch_io_event_hook_recv_dtmf *) 0 ; - - arg1 = (switch_io_event_hook_recv_dtmf *)jarg1; - arg2 = (switch_io_event_hook_recv_dtmf *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; - switch_io_event_hook_recv_dtmf *result = 0 ; - - arg1 = (switch_io_event_hook_recv_dtmf *)jarg1; - result = (switch_io_event_hook_recv_dtmf *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_recv_dtmf() { - void * jresult ; - switch_io_event_hook_recv_dtmf *result = 0 ; - - result = (switch_io_event_hook_recv_dtmf *)new switch_io_event_hook_recv_dtmf(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_recv_dtmf(void * jarg1) { - switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; - - arg1 = (switch_io_event_hook_recv_dtmf *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_change_state_change_set(void * jarg1, void * jarg2) { - switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; - switch_state_change_hook_t arg2 = (switch_state_change_hook_t) 0 ; - - arg1 = (switch_io_event_hook_state_change *)jarg1; - arg2 = (switch_state_change_hook_t)jarg2; - if (arg1) (arg1)->state_change = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_change_state_change_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; - switch_state_change_hook_t result; - - arg1 = (switch_io_event_hook_state_change *)jarg1; - result = (switch_state_change_hook_t) ((arg1)->state_change); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_change_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; - switch_io_event_hook_state_change *arg2 = (switch_io_event_hook_state_change *) 0 ; - - arg1 = (switch_io_event_hook_state_change *)jarg1; - arg2 = (switch_io_event_hook_state_change *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_change_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; - switch_io_event_hook_state_change *result = 0 ; - - arg1 = (switch_io_event_hook_state_change *)jarg1; - result = (switch_io_event_hook_state_change *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_change() { - void * jresult ; - switch_io_event_hook_state_change *result = 0 ; - - result = (switch_io_event_hook_state_change *)new switch_io_event_hook_state_change(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_change(void * jarg1) { - switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; - - arg1 = (switch_io_event_hook_state_change *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_set(void * jarg1, void * jarg2) { - switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; - switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ; - - arg1 = (switch_io_event_hook_state_run *)jarg1; - arg2 = (switch_state_run_hook_t)jarg2; - if (arg1) (arg1)->state_run = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; - switch_state_run_hook_t result; - - arg1 = (switch_io_event_hook_state_run *)jarg1; - result = (switch_state_run_hook_t) ((arg1)->state_run); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_set(void * jarg1, void * jarg2) { - switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; - switch_io_event_hook_state_run *arg2 = (switch_io_event_hook_state_run *) 0 ; - - arg1 = (switch_io_event_hook_state_run *)jarg1; - arg2 = (switch_io_event_hook_state_run *)jarg2; - if (arg1) (arg1)->next = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_get(void * jarg1) { - void * jresult ; - switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; - switch_io_event_hook_state_run *result = 0 ; - - arg1 = (switch_io_event_hook_state_run *)jarg1; - result = (switch_io_event_hook_state_run *) ((arg1)->next); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_run() { - void * jresult ; - switch_io_event_hook_state_run *result = 0 ; - - result = (switch_io_event_hook_state_run *)new switch_io_event_hook_state_run(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_run(void * jarg1) { - switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; - - arg1 = (switch_io_event_hook_state_run *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_outgoing_channel_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_outgoing_channel_t *arg2 = (switch_io_event_hook_outgoing_channel_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_outgoing_channel_t *)jarg2; - if (arg1) (arg1)->outgoing_channel = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_outgoing_channel_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_outgoing_channel_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_outgoing_channel_t *) ((arg1)->outgoing_channel); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_receive_message_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_receive_message_t *arg2 = (switch_io_event_hook_receive_message_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_receive_message_t *)jarg2; - if (arg1) (arg1)->receive_message = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_receive_message_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_receive_message_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_receive_message_t *) ((arg1)->receive_message); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_receive_event_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_receive_event_t *arg2 = (switch_io_event_hook_receive_event_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_receive_event_t *)jarg2; - if (arg1) (arg1)->receive_event = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_receive_event_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_receive_event_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_receive_event_t *) ((arg1)->receive_event); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_read_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_read_frame_t *arg2 = (switch_io_event_hook_read_frame_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_read_frame_t *)jarg2; - if (arg1) (arg1)->read_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_read_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_read_frame_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_read_frame_t *) ((arg1)->read_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_video_read_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_video_read_frame_t *arg2 = (switch_io_event_hook_video_read_frame_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_video_read_frame_t *)jarg2; - if (arg1) (arg1)->video_read_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_video_read_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_video_read_frame_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_video_read_frame_t *) ((arg1)->video_read_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_write_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_write_frame_t *arg2 = (switch_io_event_hook_write_frame_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_write_frame_t *)jarg2; - if (arg1) (arg1)->write_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_write_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_write_frame_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_write_frame_t *) ((arg1)->write_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_video_write_frame_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_video_write_frame_t *arg2 = (switch_io_event_hook_video_write_frame_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_video_write_frame_t *)jarg2; - if (arg1) (arg1)->video_write_frame = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_video_write_frame_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_video_write_frame_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_video_write_frame_t *) ((arg1)->video_write_frame); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_kill_channel_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_kill_channel_t *arg2 = (switch_io_event_hook_kill_channel_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_kill_channel_t *)jarg2; - if (arg1) (arg1)->kill_channel = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_kill_channel_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_kill_channel_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_kill_channel_t *) ((arg1)->kill_channel); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_send_dtmf_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_send_dtmf_t *arg2 = (switch_io_event_hook_send_dtmf_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_send_dtmf_t *)jarg2; - if (arg1) (arg1)->send_dtmf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_send_dtmf_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_send_dtmf_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_send_dtmf_t *) ((arg1)->send_dtmf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_recv_dtmf_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_recv_dtmf_t *arg2 = (switch_io_event_hook_recv_dtmf_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_recv_dtmf_t *)jarg2; - if (arg1) (arg1)->recv_dtmf = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_recv_dtmf_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_recv_dtmf_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_recv_dtmf_t *) ((arg1)->recv_dtmf); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_state_change_t *arg2 = (switch_io_event_hook_state_change_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_state_change_t *)jarg2; - if (arg1) (arg1)->state_change = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_state_change_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_state_change_t *) ((arg1)->state_change); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_set(void * jarg1, void * jarg2) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_state_run_t *arg2 = (switch_io_event_hook_state_run_t *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - arg2 = (switch_io_event_hook_state_run_t *)jarg2; - if (arg1) (arg1)->state_run = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_get(void * jarg1) { - void * jresult ; - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - switch_io_event_hook_state_run_t *result = 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - result = (switch_io_event_hook_state_run_t *) ((arg1)->state_run); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hooks() { - void * jresult ; - switch_io_event_hooks *result = 0 ; - - result = (switch_io_event_hooks *)new switch_io_event_hooks(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hooks(void * jarg1) { - switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; - - arg1 = (switch_io_event_hooks *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_outgoing_channel(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_outgoing_channel_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_outgoing_channel(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_receive_message(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_receive_message_hook_t arg2 = (switch_receive_message_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_receive_message_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_receive_message(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_receive_event(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_receive_event_hook_t arg2 = (switch_receive_event_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_receive_event_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_receive_event(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_change(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_state_change_hook_t arg2 = (switch_state_change_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_state_change_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_state_change(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_run(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_state_run_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_state_run(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_read_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_read_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_read_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_write_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_write_frame_hook_t arg2 = (switch_write_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_write_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_write_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_video_read_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_video_read_frame_hook_t arg2 = (switch_video_read_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_video_read_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_video_read_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_video_write_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_video_write_frame_hook_t arg2 = (switch_video_write_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_video_write_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_video_write_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_kill_channel(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_kill_channel_hook_t arg2 = (switch_kill_channel_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_kill_channel_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_kill_channel(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_send_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_send_dtmf_hook_t arg2 = (switch_send_dtmf_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_send_dtmf_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_send_dtmf(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_recv_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_recv_dtmf_hook_t arg2 = (switch_recv_dtmf_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_recv_dtmf_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_add_recv_dtmf(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_outgoing_channel(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_outgoing_channel_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_outgoing_channel(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_receive_message(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_receive_message_hook_t arg2 = (switch_receive_message_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_receive_message_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_receive_message(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_receive_event(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_receive_event_hook_t arg2 = (switch_receive_event_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_receive_event_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_receive_event(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_change(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_state_change_hook_t arg2 = (switch_state_change_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_state_change_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_state_change(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_run(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_state_run_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_state_run(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_read_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_read_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_read_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_write_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_write_frame_hook_t arg2 = (switch_write_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_write_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_write_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_video_read_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_video_read_frame_hook_t arg2 = (switch_video_read_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_video_read_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_video_read_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_video_write_frame(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_video_write_frame_hook_t arg2 = (switch_video_write_frame_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_video_write_frame_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_video_write_frame(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_kill_channel(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_kill_channel_hook_t arg2 = (switch_kill_channel_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_kill_channel_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_kill_channel(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_send_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_send_dtmf_hook_t arg2 = (switch_send_dtmf_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_send_dtmf_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_send_dtmf(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_recv_dtmf(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_recv_dtmf_hook_t arg2 = (switch_recv_dtmf_hook_t) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_recv_dtmf_hook_t)jarg2; - result = (switch_status_t)switch_core_event_hook_remove_recv_dtmf(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_created_set(void * jarg1, long long jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - int64_t arg2 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (int64_t)jarg2; - if (arg1) (arg1)->created = arg2; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_scheduler_task_created_get(void * jarg1) { - long long jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - int64_t result; - - arg1 = (switch_scheduler_task *)jarg1; - result = (int64_t) ((arg1)->created); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_runtime_set(void * jarg1, long long jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - int64_t arg2 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (int64_t)jarg2; - if (arg1) (arg1)->runtime = arg2; -} - - -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_scheduler_task_runtime_get(void * jarg1) { - long long jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - int64_t result; - - arg1 = (switch_scheduler_task *)jarg1; - result = (int64_t) ((arg1)->runtime); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_cmd_id_set(void * jarg1, unsigned long jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->cmd_id = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_cmd_id_get(void * jarg1) { - unsigned long jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - uint32_t result; - - arg1 = (switch_scheduler_task *)jarg1; - result = (uint32_t) ((arg1)->cmd_id); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_repeat_set(void * jarg1, unsigned long jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->repeat = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_repeat_get(void * jarg1) { - unsigned long jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - uint32_t result; - - arg1 = (switch_scheduler_task *)jarg1; - result = (uint32_t) ((arg1)->repeat); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_group_set(void * jarg1, char * jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->group) delete [] arg1->group; - if (arg2) { - arg1->group = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->group, (const char *)arg2); - } else { - arg1->group = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_scheduler_task_group_get(void * jarg1) { - char * jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - char *result = 0 ; - - arg1 = (switch_scheduler_task *)jarg1; - result = (char *) ((arg1)->group); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_cmd_arg_set(void * jarg1, void * jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->cmd_arg = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_scheduler_task_cmd_arg_get(void * jarg1) { - void * jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - void *result = 0 ; - - arg1 = (switch_scheduler_task *)jarg1; - result = (void *) ((arg1)->cmd_arg); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_task_id_set(void * jarg1, unsigned long jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - uint32_t arg2 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->task_id = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_task_id_get(void * jarg1) { - unsigned long jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - uint32_t result; - - arg1 = (switch_scheduler_task *)jarg1; - result = (uint32_t) ((arg1)->task_id); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_hash_set(void * jarg1, unsigned long jarg2) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - unsigned long arg2 ; - - arg1 = (switch_scheduler_task *)jarg1; - arg2 = (unsigned long)jarg2; - if (arg1) (arg1)->hash = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_hash_get(void * jarg1) { - unsigned long jresult ; - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - unsigned long result; - - arg1 = (switch_scheduler_task *)jarg1; - result = (unsigned long) ((arg1)->hash); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_scheduler_task() { - void * jresult ; - switch_scheduler_task *result = 0 ; - - result = (switch_scheduler_task *)new switch_scheduler_task(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_scheduler_task(void * jarg1) { - switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; - - arg1 = (switch_scheduler_task *)jarg1; - delete arg1; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_add_task(void * jarg1, void * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, unsigned long jarg7) { - unsigned long jresult ; - time_t arg1 ; - switch_scheduler_func_t arg2 = (switch_scheduler_func_t) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - uint32_t arg5 ; - void *arg6 = (void *) 0 ; - switch_scheduler_flag_t arg7 ; - time_t *argp1 ; - uint32_t result; - - argp1 = (time_t *)jarg1; - if (!argp1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null time_t", 0); - return 0; - } - arg1 = *argp1; - arg2 = (switch_scheduler_func_t)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (uint32_t)jarg5; - arg6 = (void *)jarg6; - arg7 = (switch_scheduler_flag_t)jarg7; - result = (uint32_t)switch_scheduler_add_task(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_del_task_id(unsigned long jarg1) { - unsigned long jresult ; - uint32_t arg1 ; - uint32_t result; - - arg1 = (uint32_t)jarg1; - result = (uint32_t)switch_scheduler_del_task_id(arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_del_task_group(char * jarg1) { - unsigned long jresult ; - char *arg1 = (char *) 0 ; - uint32_t result; - - arg1 = (char *)jarg1; - result = (uint32_t)switch_scheduler_del_task_group((char const *)arg1); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_thread_start() { - switch_scheduler_task_thread_start(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_thread_stop() { - switch_scheduler_task_thread_stop(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_file_set(void * jarg1, void * jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - FILE *arg2 = (FILE *) 0 ; - - arg1 = (switch_config *)jarg1; - arg2 = (FILE *)jarg2; - if (arg1) (arg1)->file = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_config_file_get(void * jarg1) { - void * jresult ; - switch_config *arg1 = (switch_config *) 0 ; - FILE *result = 0 ; - - arg1 = (switch_config *)jarg1; - result = (FILE *) ((arg1)->file); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_path_set(void * jarg1, char * jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - char *arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->path, (const char *)arg2, 512-1); - arg1->path[512-1] = 0; - } else { - arg1->path[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_path_get(void * jarg1) { - char * jresult ; - switch_config *arg1 = (switch_config *) 0 ; - char *result = 0 ; - - arg1 = (switch_config *)jarg1; - result = (char *)(char *) ((arg1)->path); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_category_set(void * jarg1, char * jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - char *arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->category, (const char *)arg2, 256-1); - arg1->category[256-1] = 0; - } else { - arg1->category[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_category_get(void * jarg1) { - char * jresult ; - switch_config *arg1 = (switch_config *) 0 ; - char *result = 0 ; - - arg1 = (switch_config *)jarg1; - result = (char *)(char *) ((arg1)->category); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_section_set(void * jarg1, char * jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - char *arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->section, (const char *)arg2, 256-1); - arg1->section[256-1] = 0; - } else { - arg1->section[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_section_get(void * jarg1) { - char * jresult ; - switch_config *arg1 = (switch_config *) 0 ; - char *result = 0 ; - - arg1 = (switch_config *)jarg1; - result = (char *)(char *) ((arg1)->section); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_buf_set(void * jarg1, char * jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - char *arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (char *)jarg2; - { - if(arg2) { - strncpy((char*)arg1->buf, (const char *)arg2, 1024-1); - arg1->buf[1024-1] = 0; - } else { - arg1->buf[0] = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_buf_get(void * jarg1) { - char * jresult ; - switch_config *arg1 = (switch_config *) 0 ; - char *result = 0 ; - - arg1 = (switch_config *)jarg1; - result = (char *)(char *) ((arg1)->buf); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_lineno_set(void * jarg1, int jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - int arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->lineno = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_lineno_get(void * jarg1) { - int jresult ; - switch_config *arg1 = (switch_config *) 0 ; - int result; - - arg1 = (switch_config *)jarg1; - result = (int) ((arg1)->lineno); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_catno_set(void * jarg1, int jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - int arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->catno = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_catno_get(void * jarg1) { - int jresult ; - switch_config *arg1 = (switch_config *) 0 ; - int result; - - arg1 = (switch_config *)jarg1; - result = (int) ((arg1)->catno); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_sectno_set(void * jarg1, int jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - int arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->sectno = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_sectno_get(void * jarg1) { - int jresult ; - switch_config *arg1 = (switch_config *) 0 ; - int result; - - arg1 = (switch_config *)jarg1; - result = (int) ((arg1)->sectno); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_lockto_set(void * jarg1, int jarg2) { - switch_config *arg1 = (switch_config *) 0 ; - int arg2 ; - - arg1 = (switch_config *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->lockto = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_lockto_get(void * jarg1) { - int jresult ; - switch_config *arg1 = (switch_config *) 0 ; - int result; - - arg1 = (switch_config *)jarg1; - result = (int) ((arg1)->lockto); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_config() { - void * jresult ; - switch_config *result = 0 ; - - result = (switch_config *)new switch_config(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_config(void * jarg1) { - switch_config *arg1 = (switch_config *) 0 ; - - arg1 = (switch_config *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_open_file(void * jarg1, char * jarg2) { - int jresult ; - switch_config_t *arg1 = (switch_config_t *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (switch_config_t *)jarg1; - arg2 = (char *)jarg2; - result = (int)switch_config_open_file(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_close_file(void * jarg1) { - switch_config_t *arg1 = (switch_config_t *) 0 ; - - arg1 = (switch_config_t *)jarg1; - switch_config_close_file(arg1); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_next_pair(void * jarg1, void * jarg2, void * jarg3) { - int jresult ; - switch_config_t *arg1 = (switch_config_t *) 0 ; - char **arg2 = (char **) 0 ; - char **arg3 = (char **) 0 ; - int result; - - arg1 = (switch_config_t *)jarg1; - arg2 = (char **)jarg2; - arg3 = (char **)jarg3; - result = (int)switch_config_next_pair(arg1,arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_setGlobalVariable(char * jarg1, char * jarg2) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - setGlobalVariable(arg1,arg2); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_getGlobalVariable(char * jarg1) { - char * jresult ; - char *arg1 = (char *) 0 ; - char *result = 0 ; - - arg1 = (char *)jarg1; - result = (char *)getGlobalVariable(arg1); - jresult = SWIG_csharp_string_callback((const char *)result); - free(result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog(char * jarg1, char * jarg2) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - consoleLog(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog2(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - char *arg5 = (char *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (char *)jarg5; - consoleLog2(arg1,arg2,arg3,arg4,arg5); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_consoleCleanLog(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - consoleCleanLog(arg1); -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_running() { - unsigned int jresult ; - bool result; - - result = (bool)running(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_email(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { - unsigned int jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) NULL ; - char *arg4 = (char *) NULL ; - char *arg5 = (char *) NULL ; - char *arg6 = (char *) NULL ; - char *arg7 = (char *) NULL ; - bool result; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - result = (bool)email(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_IvrMenu(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17) { - void * jresult ; - IVRMenu *arg1 = (IVRMenu *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - char *arg10 = (char *) 0 ; - char *arg11 = (char *) 0 ; - int arg12 ; - int arg13 ; - int arg14 ; - int arg15 ; - int arg16 ; - int arg17 ; - IVRMenu *result = 0 ; - - arg1 = (IVRMenu *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - arg10 = (char *)jarg10; - arg11 = (char *)jarg11; - arg12 = (int)jarg12; - arg13 = (int)jarg13; - arg14 = (int)jarg14; - arg15 = (int)jarg15; - arg16 = (int)jarg16; - arg17 = (int)jarg17; - result = (IVRMenu *)new IVRMenu(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,(char const *)arg11,arg12,arg13,arg14,arg15,arg16,arg17); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_IvrMenu(void * jarg1) { - IVRMenu *arg1 = (IVRMenu *) 0 ; - - arg1 = (IVRMenu *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_IvrMenu_bindAction(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - IVRMenu *arg1 = (IVRMenu *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - - arg1 = (IVRMenu *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - (arg1)->bindAction(arg2,(char const *)arg3,(char const *)arg4); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_IvrMenu_Execute(void * jarg1, void * jarg2, char * jarg3) { - IVRMenu *arg1 = (IVRMenu *) 0 ; - CoreSession *arg2 = (CoreSession *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (IVRMenu *)jarg1; - arg2 = (CoreSession *)jarg2; - arg3 = (char *)jarg3; - (arg1)->execute(arg2,(char const *)arg3); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Api(void * jarg1) { - void * jresult ; - CoreSession *arg1 = (CoreSession *) NULL ; - API *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (API *)new API(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_Api(void * jarg1) { - API *arg1 = (API *) 0 ; - - arg1 = (API *)jarg1; - delete arg1; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Api_Execute(void * jarg1, char * jarg2, char * jarg3) { - char * jresult ; - API *arg1 = (API *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) NULL ; - char *result = 0 ; - - arg1 = (API *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (char *)(arg1)->execute((char const *)arg2,(char const *)arg3); - jresult = SWIG_csharp_string_callback((const char *)result); - free(result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Api_ExecuteString(void * jarg1, char * jarg2) { - char * jresult ; - API *arg1 = (API *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (API *)jarg1; - arg2 = (char *)jarg2; - result = (char *)(arg1)->executeString((char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - free(result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Api_getTime(void * jarg1) { - char * jresult ; - API *arg1 = (API *) 0 ; - char *result = 0 ; - - arg1 = (API *)jarg1; - result = (char *)(arg1)->getTime(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_function_set(void * jarg1, void * jarg2) { - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (input_callback_state_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->function = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_function_get(void * jarg1) { - void * jresult ; - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - void *result = 0 ; - - arg1 = (input_callback_state_t *)jarg1; - result = (void *) ((arg1)->function); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_threadState_set(void * jarg1, void * jarg2) { - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (input_callback_state_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->threadState = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_threadState_get(void * jarg1) { - void * jresult ; - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - void *result = 0 ; - - arg1 = (input_callback_state_t *)jarg1; - result = (void *) ((arg1)->threadState); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_extra_set(void * jarg1, void * jarg2) { - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - void *arg2 = (void *) 0 ; - - arg1 = (input_callback_state_t *)jarg1; - arg2 = (void *)jarg2; - if (arg1) (arg1)->extra = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_extra_get(void * jarg1) { - void * jresult ; - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - void *result = 0 ; - - arg1 = (input_callback_state_t *)jarg1; - result = (void *) ((arg1)->extra); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_funcargs_set(void * jarg1, char * jarg2) { - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (input_callback_state_t *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->funcargs) delete [] arg1->funcargs; - if (arg2) { - arg1->funcargs = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->funcargs, (const char *)arg2); - } else { - arg1->funcargs = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_input_callback_state_t_funcargs_get(void * jarg1) { - char * jresult ; - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - char *result = 0 ; - - arg1 = (input_callback_state_t *)jarg1; - result = (char *) ((arg1)->funcargs); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_input_callback_state_t() { - void * jresult ; - input_callback_state_t *result = 0 ; - - result = (input_callback_state_t *)new input_callback_state_t(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_input_callback_state_t(void * jarg1) { - input_callback_state_t *arg1 = (input_callback_state_t *) 0 ; - - arg1 = (input_callback_state_t *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_DTMF_digit_set(void * jarg1, char jarg2) { - DTMF *arg1 = (DTMF *) 0 ; - char arg2 ; - - arg1 = (DTMF *)jarg1; - arg2 = (char)jarg2; - if (arg1) (arg1)->digit = arg2; -} - - -SWIGEXPORT char SWIGSTDCALL CSharp_DTMF_digit_get(void * jarg1) { - char jresult ; - DTMF *arg1 = (DTMF *) 0 ; - char result; - - arg1 = (DTMF *)jarg1; - result = (char) ((arg1)->digit); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_DTMF_duration_set(void * jarg1, unsigned long jarg2) { - DTMF *arg1 = (DTMF *) 0 ; - uint32_t arg2 ; - - arg1 = (DTMF *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->duration = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_DTMF_duration_get(void * jarg1) { - unsigned long jresult ; - DTMF *arg1 = (DTMF *) 0 ; - uint32_t result; - - arg1 = (DTMF *)jarg1; - result = (uint32_t) ((arg1)->duration); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_DTMF(char jarg1, unsigned long jarg2) { - void * jresult ; - char arg1 ; - uint32_t arg2 = (uint32_t) 2000 ; - DTMF *result = 0 ; - - arg1 = (char)jarg1; - arg2 = (uint32_t)jarg2; - result = (DTMF *)new DTMF(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_DTMF(void * jarg1) { - DTMF *arg1 = (DTMF *) 0 ; - - arg1 = (DTMF *)jarg1; - delete arg1; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Stream__SWIG_0() { - void * jresult ; - Stream *result = 0 ; - - result = (Stream *)new Stream(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Stream__SWIG_1(void * jarg1) { - void * jresult ; - switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; - Stream *result = 0 ; - - arg1 = (switch_stream_handle_t *)jarg1; - result = (Stream *)new Stream(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_Stream(void * jarg1) { - Stream *arg1 = (Stream *) 0 ; - - arg1 = (Stream *)jarg1; - delete arg1; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_read(void * jarg1, void * jarg2) { - char * jresult ; - Stream *arg1 = (Stream *) 0 ; - int *arg2 = (int *) 0 ; - char *result = 0 ; - - arg1 = (Stream *)jarg1; - arg2 = (int *)jarg2; - result = (char *)(arg1)->read(arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Stream_Write(void * jarg1, char * jarg2) { - Stream *arg1 = (Stream *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (Stream *)jarg1; - arg2 = (char *)jarg2; - (arg1)->write((char const *)arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Stream_raw_write(void * jarg1, char * jarg2, int jarg3) { - Stream *arg1 = (Stream *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 ; - - arg1 = (Stream *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - (arg1)->raw_write((char const *)arg2,arg3); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_get_data(void * jarg1) { - char * jresult ; - Stream *arg1 = (Stream *) 0 ; - char *result = 0 ; - - arg1 = (Stream *)jarg1; - result = (char *)(arg1)->get_data(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Event_InternalEvent_set(void * jarg1, void * jarg2) { - Event *arg1 = (Event *) 0 ; - switch_event_t *arg2 = (switch_event_t *) 0 ; - - arg1 = (Event *)jarg1; - arg2 = (switch_event_t *)jarg2; - if (arg1) (arg1)->event = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_Event_InternalEvent_get(void * jarg1) { - void * jresult ; - Event *arg1 = (Event *) 0 ; - switch_event_t *result = 0 ; - - arg1 = (Event *)jarg1; - result = (switch_event_t *) ((arg1)->event); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Event_serialized_string_set(void * jarg1, char * jarg2) { - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->serialized_string) delete [] arg1->serialized_string; - if (arg2) { - arg1->serialized_string = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->serialized_string, (const char *)arg2); - } else { - arg1->serialized_string = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_serialized_string_get(void * jarg1) { - char * jresult ; - Event *arg1 = (Event *) 0 ; - char *result = 0 ; - - arg1 = (Event *)jarg1; - result = (char *) ((arg1)->serialized_string); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_Event_mine_set(void * jarg1, int jarg2) { - Event *arg1 = (Event *) 0 ; - int arg2 ; - - arg1 = (Event *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->mine = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Event_mine_get(void * jarg1) { - int jresult ; - Event *arg1 = (Event *) 0 ; - int result; - - arg1 = (Event *)jarg1; - result = (int) ((arg1)->mine); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Event__SWIG_0(char * jarg1, char * jarg2) { - void * jresult ; - char *arg1 = (char *) 0 ; - char *arg2 = (char *) NULL ; - Event *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - result = (Event *)new Event((char const *)arg1,(char const *)arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Event__SWIG_1(void * jarg1, int jarg2) { - void * jresult ; - switch_event_t *arg1 = (switch_event_t *) 0 ; - int arg2 = (int) 0 ; - Event *result = 0 ; - - arg1 = (switch_event_t *)jarg1; - arg2 = (int)jarg2; - result = (Event *)new Event(arg1,arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_Event(void * jarg1) { - Event *arg1 = (Event *) 0 ; - - arg1 = (Event *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_execute(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) NULL ; - int result; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (int)(arg1)->chat_execute((char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_send(void * jarg1, char * jarg2) { - int jresult ; - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) NULL ; - int result; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - result = (int)(arg1)->chat_send((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_Serialize(void * jarg1, char * jarg2) { - char * jresult ; - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) NULL ; - char *result = 0 ; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - result = (char *)(arg1)->serialize((char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_SetPriority(void * jarg1, int jarg2) { - unsigned int jresult ; - Event *arg1 = (Event *) 0 ; - switch_priority_t arg2 = (switch_priority_t) SWITCH_PRIORITY_NORMAL ; - bool result; - - arg1 = (Event *)jarg1; - arg2 = (switch_priority_t)jarg2; - result = (bool)(arg1)->setPriority(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetHeader(void * jarg1, char * jarg2) { - char * jresult ; - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - result = (char *)(arg1)->getHeader((char const *)arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetBody(void * jarg1) { - char * jresult ; - Event *arg1 = (Event *) 0 ; - char *result = 0 ; - - arg1 = (Event *)jarg1; - result = (char *)(arg1)->getBody(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetEventType(void * jarg1) { - char * jresult ; - Event *arg1 = (Event *) 0 ; - char *result = 0 ; - - arg1 = (Event *)jarg1; - result = (char *)(arg1)->getType(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_AddBody(void * jarg1, char * jarg2) { - unsigned int jresult ; - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - result = (bool)(arg1)->addBody((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_AddHeader(void * jarg1, char * jarg2, char * jarg3) { - unsigned int jresult ; - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - bool result; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_DeleteHeader(void * jarg1, char * jarg2) { - unsigned int jresult ; - Event *arg1 = (Event *) 0 ; - char *arg2 = (char *) 0 ; - bool result; - - arg1 = (Event *)jarg1; - arg2 = (char *)jarg2; - result = (bool)(arg1)->delHeader((char const *)arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_Fire(void * jarg1) { - unsigned int jresult ; - Event *arg1 = (Event *) 0 ; - bool result; - - arg1 = (Event *)jarg1; - result = (bool)(arg1)->fire(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_events_set(void * jarg1, void * jarg2) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - switch_queue_t *arg2 = (switch_queue_t *) 0 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (switch_queue_t *)jarg2; - if (arg1) (arg1)->events = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_events_get(void * jarg1) { - void * jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - switch_queue_t *result = 0 ; - - arg1 = (EventConsumer *)jarg1; - result = (switch_queue_t *) ((arg1)->events); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_event_id_set(void * jarg1, int jarg2) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - switch_event_types_t arg2 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (switch_event_types_t)jarg2; - if (arg1) (arg1)->e_event_id = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_EventConsumer_e_event_id_get(void * jarg1) { - int jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - switch_event_types_t result; - - arg1 = (EventConsumer *)jarg1; - result = (switch_event_types_t) ((arg1)->e_event_id); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_callback_set(void * jarg1, char * jarg2) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->e_callback) delete [] arg1->e_callback; - if (arg2) { - arg1->e_callback = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->e_callback, (const char *)arg2); - } else { - arg1->e_callback = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_callback_get(void * jarg1) { - char * jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - char *result = 0 ; - - arg1 = (EventConsumer *)jarg1; - result = (char *) ((arg1)->e_callback); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_subclass_name_set(void * jarg1, char * jarg2) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->e_subclass_name) delete [] arg1->e_subclass_name; - if (arg2) { - arg1->e_subclass_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->e_subclass_name, (const char *)arg2); - } else { - arg1->e_subclass_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_subclass_name_get(void * jarg1) { - char * jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - char *result = 0 ; - - arg1 = (EventConsumer *)jarg1; - result = (char *) ((arg1)->e_subclass_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_cb_arg_set(void * jarg1, char * jarg2) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->e_cb_arg) delete [] arg1->e_cb_arg; - if (arg2) { - arg1->e_cb_arg = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->e_cb_arg, (const char *)arg2); - } else { - arg1->e_cb_arg = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_cb_arg_get(void * jarg1) { - char * jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - char *result = 0 ; - - arg1 = (EventConsumer *)jarg1; - result = (char *) ((arg1)->e_cb_arg); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_enodes_set(void * jarg1, void * jarg2) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - switch_event_node_t **arg2 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (switch_event_node_t **)jarg2; - { - size_t ii; - switch_event_node_t * *b = (switch_event_node_t * *) arg1->enodes; - for (ii = 0; ii < (size_t)SWITCH_EVENT_ALL+1; ii++) b[ii] = *((switch_event_node_t * *) arg2 + ii); - } -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_enodes_get(void * jarg1) { - void * jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - switch_event_node_t **result = 0 ; - - arg1 = (EventConsumer *)jarg1; - result = (switch_event_node_t **)(switch_event_node_t **) ((arg1)->enodes); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_node_index_set(void * jarg1, unsigned long jarg2) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - uint32_t arg2 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (uint32_t)jarg2; - if (arg1) (arg1)->node_index = arg2; -} - - -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_EventConsumer_node_index_get(void * jarg1) { - unsigned long jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - uint32_t result; - - arg1 = (EventConsumer *)jarg1; - result = (uint32_t) ((arg1)->node_index); - jresult = (unsigned long)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_EventConsumer(char * jarg1, char * jarg2, int jarg3) { - void * jresult ; - char *arg1 = (char *) NULL ; - char *arg2 = (char *) "" ; - int arg3 = (int) 5000 ; - EventConsumer *result = 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - result = (EventConsumer *)new EventConsumer((char const *)arg1,(char const *)arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_EventConsumer(void * jarg1) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - - arg1 = (EventConsumer *)jarg1; - delete arg1; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_EventConsumer_bind(void * jarg1, char * jarg2, char * jarg3) { - int jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) "" ; - int result; - - arg1 = (EventConsumer *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - result = (int)(arg1)->bind((char const *)arg2,(char const *)arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_pop(void * jarg1, int jarg2, int jarg3) { - void * jresult ; - EventConsumer *arg1 = (EventConsumer *) 0 ; - int arg2 = (int) 0 ; - int arg3 = (int) 0 ; - Event *result = 0 ; - - arg1 = (EventConsumer *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - result = (Event *)(arg1)->pop(arg2,arg3); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_cleanup(void * jarg1) { - EventConsumer *arg1 = (EventConsumer *) 0 ; - - arg1 = (EventConsumer *)jarg1; - (arg1)->cleanup(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_CoreSession(void * jarg1) { - CoreSession *arg1 = (CoreSession *) 0 ; - - arg1 = (CoreSession *)jarg1; - delete arg1; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_InternalSession_set(void * jarg1, void * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - if (arg1) (arg1)->session = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_InternalSession_get(void * jarg1) { - void * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - switch_core_session_t *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (switch_core_session_t *) ((arg1)->session); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_channel_set(void * jarg1, void * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - switch_channel_t *arg2 = (switch_channel_t *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (switch_channel_t *)jarg2; - if (arg1) (arg1)->channel = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_channel_get(void * jarg1) { - void * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - switch_channel_t *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (switch_channel_t *) ((arg1)->channel); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_flags_set(void * jarg1, unsigned int jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - unsigned int arg2 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (unsigned int)jarg2; - if (arg1) (arg1)->flags = arg2; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_flags_get(void * jarg1) { - unsigned int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - unsigned int result; - - arg1 = (CoreSession *)jarg1; - result = (unsigned int) ((arg1)->flags); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_allocated_set(void * jarg1, int jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->allocated = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_allocated_get(void * jarg1) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - result = (int) ((arg1)->allocated); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_cb_state_set(void * jarg1, void * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - input_callback_state *arg2 = (input_callback_state *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (input_callback_state *)jarg2; - if (arg1) (arg1)->cb_state = *arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_cb_state_get(void * jarg1) { - void * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - input_callback_state *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (input_callback_state *)& ((arg1)->cb_state); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_HookState_set(void * jarg1, int jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - switch_channel_state_t arg2 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (switch_channel_state_t)jarg2; - if (arg1) (arg1)->hook_state = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_HookState_get(void * jarg1) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - switch_channel_state_t result; - - arg1 = (CoreSession *)jarg1; - result = (switch_channel_state_t) ((arg1)->hook_state); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_cause_set(void * jarg1, int jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - switch_call_cause_t arg2 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (switch_call_cause_t)jarg2; - if (arg1) (arg1)->cause = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_cause_get(void * jarg1) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - switch_call_cause_t result; - - arg1 = (CoreSession *)jarg1; - result = (switch_call_cause_t) ((arg1)->cause); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_uuid_set(void * jarg1, char * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->uuid) delete [] arg1->uuid; - if (arg2) { - arg1->uuid = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->uuid, (const char *)arg2); - } else { - arg1->uuid = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_uuid_get(void * jarg1) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (char *) ((arg1)->uuid); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_tts_name_set(void * jarg1, char * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->tts_name) delete [] arg1->tts_name; - if (arg2) { - arg1->tts_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->tts_name, (const char *)arg2); - } else { - arg1->tts_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_tts_name_get(void * jarg1) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (char *) ((arg1)->tts_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_voice_name_set(void * jarg1, char * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - { - if (arg1->voice_name) delete [] arg1->voice_name; - if (arg2) { - arg1->voice_name = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->voice_name, (const char *)arg2); - } else { - arg1->voice_name = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_voice_name_get(void * jarg1) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (char *) ((arg1)->voice_name); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_insertFile(void * jarg1, char * jarg2, char * jarg3, int jarg4) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (int)(arg1)->insertFile((char const *)arg2,(char const *)arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Answer(void * jarg1) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - result = (int)(arg1)->answer(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_preAnswer(void * jarg1) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - result = (int)(arg1)->preAnswer(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Hangup(void * jarg1, char * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) "normal_clearing" ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - (arg1)->hangup((char const *)arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_hangupState(void * jarg1) { - CoreSession *arg1 = (CoreSession *) 0 ; - - arg1 = (CoreSession *)jarg1; - (arg1)->hangupState(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetVariable(void * jarg1, char * jarg2, char * jarg3) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - (arg1)->setVariable(arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetPrivate(void * jarg1, char * jarg2, void * jarg3) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - void *arg3 = (void *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (void *)jarg3; - (arg1)->setPrivate(arg2,arg3); -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_GetPrivate(void * jarg1, char * jarg2) { - void * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - void *result = 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - result = (void *)(arg1)->getPrivate(arg2); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetVariable(void * jarg1, char * jarg2) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - result = (char *)(arg1)->getVariable(arg2); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Say(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - char *arg5 = (char *) 0 ; - char *arg6 = (char *) NULL ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (char *)jarg5; - arg6 = (char *)jarg6; - (arg1)->say((char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SayPhrase(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) "" ; - char *arg4 = (char *) NULL ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - (arg1)->sayPhrase((char const *)arg2,(char const *)arg3,(char const *)arg4); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_hangupCause(void * jarg1) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (char *)(arg1)->hangupCause(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_getState(void * jarg1) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (char *)(arg1)->getState(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_RecordFile(void * jarg1, char * jarg2, int jarg3, int jarg4, int jarg5) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 = (int) 0 ; - int arg4 = (int) 0 ; - int arg5 = (int) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - arg4 = (int)jarg4; - arg5 = (int)jarg5; - result = (int)(arg1)->recordFile(arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_originate(void * jarg1, void * jarg2, char * jarg3, int jarg4, void * jarg5) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - CoreSession *arg2 = (CoreSession *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 = (int) 60 ; - switch_state_handler_table_t *arg5 = (switch_state_handler_table_t *) NULL ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (CoreSession *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (switch_state_handler_table_t *)jarg5; - result = (int)(arg1)->originate(arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_destroy(void * jarg1) { - CoreSession *arg1 = (CoreSession *) 0 ; - - arg1 = (CoreSession *)jarg1; - (arg1)->destroy(); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Speak(void * jarg1, char * jarg2) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - result = (int)(arg1)->speak(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetTtsParameters(void * jarg1, char * jarg2, char * jarg3) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - (arg1)->set_tts_parms(arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_set_tts_params(void * jarg1, char * jarg2, char * jarg3) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - (arg1)->set_tts_params(arg2,arg3); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_CollectDigits__SWIG_0(void * jarg1, int jarg2) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - result = (int)(arg1)->collectDigits(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_CollectDigits__SWIG_1(void * jarg1, int jarg2, int jarg3) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - int arg3 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - result = (int)(arg1)->collectDigits(arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_0(void * jarg1, int jarg2, char * jarg3, int jarg4) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - int arg4 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - result = (char *)(arg1)->getDigits(arg2,arg3,arg4); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_1(void * jarg1, int jarg2, char * jarg3, int jarg4, int jarg5) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - char *arg3 = (char *) 0 ; - int arg4 ; - int arg5 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (int)jarg5; - result = (char *)(arg1)->getDigits(arg2,arg3,arg4,arg5); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Transfer(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) NULL ; - char *arg4 = (char *) NULL ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - result = (int)(arg1)->transfer(arg2,arg3,arg4); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_read(void * jarg1, int jarg2, int jarg3, char * jarg4, int jarg5, char * jarg6, int jarg7) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - int arg3 ; - char *arg4 = (char *) 0 ; - int arg5 ; - char *arg6 = (char *) 0 ; - int arg7 = (int) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - arg6 = (char *)jarg6; - arg7 = (int)jarg7; - result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_PlayAndGetDigits(void * jarg1, int jarg2, int jarg3, int jarg4, int jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, int jarg11, char * jarg12) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - int arg3 ; - int arg4 ; - int arg5 ; - char *arg6 = (char *) 0 ; - char *arg7 = (char *) 0 ; - char *arg8 = (char *) 0 ; - char *arg9 = (char *) 0 ; - char *arg10 = (char *) NULL ; - int arg11 = (int) 0 ; - char *arg12 = (char *) NULL ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - arg4 = (int)jarg4; - arg5 = (int)jarg5; - arg6 = (char *)jarg6; - arg7 = (char *)jarg7; - arg8 = (char *)jarg8; - arg9 = (char *)jarg9; - arg10 = (char *)jarg10; - arg11 = (int)jarg11; - arg12 = (char *)jarg12; - result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11,(char const *)arg12); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_StreamFile(void * jarg1, char * jarg2, int jarg3) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - int arg3 = (int) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (int)jarg3; - result = (int)(arg1)->streamFile(arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_sleep(void * jarg1, int jarg2, int jarg3) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int arg2 ; - int arg3 = (int) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = (int)jarg2; - arg3 = (int)jarg3; - result = (int)(arg1)->sleep(arg2,arg3); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_flushEvents(void * jarg1) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - result = (int)(arg1)->flushEvents(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_flushDigits(void * jarg1) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - int result; - - arg1 = (CoreSession *)jarg1; - result = (int)(arg1)->flushDigits(); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_SetAutoHangup(void * jarg1, unsigned int jarg2) { - int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - bool arg2 ; - int result; - - arg1 = (CoreSession *)jarg1; - arg2 = jarg2 ? true : false; - result = (int)(arg1)->setAutoHangup(arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_Ready(void * jarg1) { - unsigned int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - bool result; - - arg1 = (CoreSession *)jarg1; - result = (bool)(arg1)->ready(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_bridged(void * jarg1) { - unsigned int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - bool result; - - arg1 = (CoreSession *)jarg1; - result = (bool)(arg1)->bridged(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_answered(void * jarg1) { - unsigned int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - bool result; - - arg1 = (CoreSession *)jarg1; - result = (bool)(arg1)->answered(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_mediaReady(void * jarg1) { - unsigned int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - bool result; - - arg1 = (CoreSession *)jarg1; - result = (bool)(arg1)->mediaReady(); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_waitForAnswer(void * jarg1, void * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - CoreSession *arg2 = (CoreSession *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (CoreSession *)jarg2; - (arg1)->waitForAnswer(arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Execute(void * jarg1, char * jarg2, char * jarg3) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) NULL ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - (arg1)->execute((char const *)arg2,(char const *)arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_sendEvent(void * jarg1, void * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - Event *arg2 = (Event *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (Event *)jarg2; - (arg1)->sendEvent(arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_setEventData(void * jarg1, void * jarg2) { - CoreSession *arg1 = (CoreSession *) 0 ; - Event *arg2 = (Event *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (Event *)jarg2; - (arg1)->setEventData(arg2); -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_getXMLCDR(void * jarg1) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (char *)(arg1)->getXMLCDR(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_begin_allow_threads(void * jarg1) { - unsigned int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - bool result; - - arg1 = (CoreSession *)jarg1; - result = (bool)(arg1)->begin_allow_threads(); - jresult = result; - return jresult; -} - - -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_end_allow_threads(void * jarg1) { - unsigned int jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - bool result; - - arg1 = (CoreSession *)jarg1; - result = (bool)(arg1)->end_allow_threads(); - jresult = result; - return jresult; -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetUuid(void * jarg1) { - char * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - char *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (char *)((CoreSession const *)arg1)->get_uuid(); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_get_cb_args(void * jarg1) { - void * jresult ; - CoreSession *arg1 = (CoreSession *) 0 ; - switch_input_args_t *result = 0 ; - - arg1 = (CoreSession *)jarg1; - result = (switch_input_args_t *) &((CoreSession const *)arg1)->get_cb_args(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_check_hangup_hook(void * jarg1) { - CoreSession *arg1 = (CoreSession *) 0 ; - - arg1 = (CoreSession *)jarg1; - (arg1)->check_hangup_hook(); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog(void * jarg1, char * jarg2, char * jarg3) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - (arg1)->consoleLog(arg2,arg3); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog2(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5, char * jarg6) { - CoreSession *arg1 = (CoreSession *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - int arg5 ; - char *arg6 = (char *) 0 ; - - arg1 = (CoreSession *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (char *)jarg4; - arg5 = (int)jarg5; - arg6 = (char *)jarg6; - (arg1)->consoleLog2(arg2,arg3,arg4,arg5,arg6); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_console_log(char * jarg1, char * jarg2) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - console_log(arg1,arg2); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_console_log2(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) { - char *arg1 = (char *) 0 ; - char *arg2 = (char *) 0 ; - char *arg3 = (char *) 0 ; - int arg4 ; - char *arg5 = (char *) 0 ; - - arg1 = (char *)jarg1; - arg2 = (char *)jarg2; - arg3 = (char *)jarg3; - arg4 = (int)jarg4; - arg5 = (char *)jarg5; - console_log2(arg1,arg2,arg3,arg4,arg5); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_console_clean_log(char * jarg1) { - char *arg1 = (char *) 0 ; - - arg1 = (char *)jarg1; - console_clean_log(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_msleep(unsigned int jarg1) { - unsigned int arg1 ; - - arg1 = (unsigned int)jarg1; - switch_msleep(arg1); -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_bridge(void * jarg1, void * jarg2) { - CoreSession *arg1 = 0 ; - CoreSession *arg2 = 0 ; - - arg1 = (CoreSession *)jarg1; - if (!arg1) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "CoreSession & type is null", 0); - return ; - } - arg2 = (CoreSession *)jarg2; - if (!arg2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "CoreSession & type is null", 0); - return ; - } - bridge(*arg1,*arg2); -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_hanguphook(void * jarg1) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - result = (switch_status_t)hanguphook(arg1); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_dtmf_callback(void * jarg1, void * jarg2, int jarg3, void * jarg4, unsigned int jarg5) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - void *arg2 = (void *) 0 ; - switch_input_type_t arg3 ; - void *arg4 = (void *) 0 ; - unsigned int arg5 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (void *)jarg2; - arg3 = (switch_input_type_t)jarg3; - arg4 = (void *)jarg4; - arg5 = (unsigned int)jarg5; - result = (switch_status_t)dtmf_callback(arg1,arg2,arg3,arg4,arg5); - jresult = result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_0() { - void * jresult ; - ManagedSession *result = 0 ; - - result = (ManagedSession *)new ManagedSession(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_1(char * jarg1) { - void * jresult ; - char *arg1 = (char *) 0 ; - ManagedSession *result = 0 ; - - arg1 = (char *)jarg1; - result = (ManagedSession *)new ManagedSession(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_2(void * jarg1) { - void * jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - ManagedSession *result = 0 ; - - arg1 = (switch_core_session_t *)jarg1; - result = (ManagedSession *)new ManagedSession(arg1); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_ManagedSession(void * jarg1) { - ManagedSession *arg1 = (ManagedSession *) 0 ; - - arg1 = (ManagedSession *)jarg1; - delete arg1; -} - - -SWIGEXPORT CoreSession * SWIGSTDCALL CSharp_ManagedSession_SWIGUpcast(ManagedSession *jarg1) { - return (CoreSession *)jarg1; -} - -#ifdef __cplusplus -} -#endif - diff --git a/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2010.csproj b/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2010.csproj index 4c1382b9a6..76040107fa 100644 --- a/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2010.csproj +++ b/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2010.csproj @@ -85,7 +85,7 @@ - + diff --git a/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2012.csproj b/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2012.csproj index efbb036847..527cf441bd 100644 --- a/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2012.csproj +++ b/src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2012.csproj @@ -85,7 +85,7 @@ - + diff --git a/src/mod/languages/mod_managed/managed/swig.2010.cs b/src/mod/languages/mod_managed/managed/swig.2010.cs deleted file mode 100644 index 7bef61ffbb..0000000000 --- a/src/mod/languages/mod_managed/managed/swig.2010.cs +++ /dev/null @@ -1,40848 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class Api : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Api(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(Api obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~Api() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_Api(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public Api(CoreSession s) : this(freeswitchPINVOKE.new_Api(CoreSession.getCPtr(s)), true) { - } - - public string Execute(string command, string data) { - string ret = freeswitchPINVOKE.Api_Execute(swigCPtr, command, data); - return ret; - } - - public string ExecuteString(string command) { - string ret = freeswitchPINVOKE.Api_ExecuteString(swigCPtr, command); - return ret; - } - - public string getTime() { - string ret = freeswitchPINVOKE.Api_getTime(swigCPtr); - return ret; - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class audio_buffer_header_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal audio_buffer_header_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(audio_buffer_header_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~audio_buffer_header_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_audio_buffer_header_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint ts { - set { - freeswitchPINVOKE.audio_buffer_header_t_ts_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.audio_buffer_header_t_ts_get(swigCPtr); - return ret; - } - } - - public uint len { - set { - freeswitchPINVOKE.audio_buffer_header_t_len_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.audio_buffer_header_t_len_get(swigCPtr); - return ret; - } - } - - public audio_buffer_header_t() : this(freeswitchPINVOKE.new_audio_buffer_header_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum cache_db_flag_t { - CDF_INUSE = (1 << 0), - CDF_PRUNE = (1 << 1) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class CoreSession : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal CoreSession(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(CoreSession obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~CoreSession() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_CoreSession(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_core_session InternalSession { - set { - freeswitchPINVOKE.CoreSession_InternalSession_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_InternalSession_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_channel channel { - set { - freeswitchPINVOKE.CoreSession_channel_set(swigCPtr, SWIGTYPE_p_switch_channel.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_channel_get(swigCPtr); - SWIGTYPE_p_switch_channel ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_channel(cPtr, false); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.CoreSession_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.CoreSession_flags_get(swigCPtr); - return ret; - } - } - - public int allocated { - set { - freeswitchPINVOKE.CoreSession_allocated_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.CoreSession_allocated_get(swigCPtr); - return ret; - } - } - - public input_callback_state_t cb_state { - set { - freeswitchPINVOKE.CoreSession_cb_state_set(swigCPtr, input_callback_state_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_cb_state_get(swigCPtr); - input_callback_state_t ret = (cPtr == IntPtr.Zero) ? null : new input_callback_state_t(cPtr, false); - return ret; - } - } - - public switch_channel_state_t HookState { - set { - freeswitchPINVOKE.CoreSession_HookState_set(swigCPtr, (int)value); - } - get { - switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.CoreSession_HookState_get(swigCPtr); - return ret; - } - } - - public switch_call_cause_t cause { - set { - freeswitchPINVOKE.CoreSession_cause_set(swigCPtr, (int)value); - } - get { - switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.CoreSession_cause_get(swigCPtr); - return ret; - } - } - - public string uuid { - set { - freeswitchPINVOKE.CoreSession_uuid_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.CoreSession_uuid_get(swigCPtr); - return ret; - } - } - - public string tts_name { - set { - freeswitchPINVOKE.CoreSession_tts_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.CoreSession_tts_name_get(swigCPtr); - return ret; - } - } - - public string voice_name { - set { - freeswitchPINVOKE.CoreSession_voice_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.CoreSession_voice_name_get(swigCPtr); - return ret; - } - } - - public int insertFile(string file, string insert_file, int sample_point) { - int ret = freeswitchPINVOKE.CoreSession_insertFile(swigCPtr, file, insert_file, sample_point); - return ret; - } - - public int Answer() { - int ret = freeswitchPINVOKE.CoreSession_Answer(swigCPtr); - return ret; - } - - public int preAnswer() { - int ret = freeswitchPINVOKE.CoreSession_preAnswer(swigCPtr); - return ret; - } - - public void Hangup(string cause) { - freeswitchPINVOKE.CoreSession_Hangup(swigCPtr, cause); - } - - public void hangupState() { - freeswitchPINVOKE.CoreSession_hangupState(swigCPtr); - } - - public void SetVariable(string var, string val) { - freeswitchPINVOKE.CoreSession_SetVariable(swigCPtr, var, val); - } - - public void SetPrivate(string var, SWIGTYPE_p_void val) { - freeswitchPINVOKE.CoreSession_SetPrivate(swigCPtr, var, SWIGTYPE_p_void.getCPtr(val)); - } - - public SWIGTYPE_p_void GetPrivate(string var) { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_GetPrivate(swigCPtr, var); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public string GetVariable(string var) { - string ret = freeswitchPINVOKE.CoreSession_GetVariable(swigCPtr, var); - return ret; - } - - public void Say(string tosay, string module_name, string say_type, string say_method, string say_gender) { - freeswitchPINVOKE.CoreSession_Say(swigCPtr, tosay, module_name, say_type, say_method, say_gender); - } - - public void SayPhrase(string phrase_name, string phrase_data, string phrase_lang) { - freeswitchPINVOKE.CoreSession_SayPhrase(swigCPtr, phrase_name, phrase_data, phrase_lang); - } - - public string hangupCause() { - string ret = freeswitchPINVOKE.CoreSession_hangupCause(swigCPtr); - return ret; - } - - public string getState() { - string ret = freeswitchPINVOKE.CoreSession_getState(swigCPtr); - return ret; - } - - public int RecordFile(string file_name, int time_limit, int silence_threshold, int silence_hits) { - int ret = freeswitchPINVOKE.CoreSession_RecordFile(swigCPtr, file_name, time_limit, silence_threshold, silence_hits); - return ret; - } - - protected int originate(CoreSession a_leg_session, string dest, int timeout, switch_state_handler_table handlers) { - int ret = freeswitchPINVOKE.CoreSession_originate(swigCPtr, CoreSession.getCPtr(a_leg_session), dest, timeout, switch_state_handler_table.getCPtr(handlers)); - return ret; - } - - public virtual void destroy() { - freeswitchPINVOKE.CoreSession_destroy(swigCPtr); - } - - public int Speak(string text) { - int ret = freeswitchPINVOKE.CoreSession_Speak(swigCPtr, text); - return ret; - } - - public void SetTtsParameters(string tts_name, string voice_name) { - freeswitchPINVOKE.CoreSession_SetTtsParameters(swigCPtr, tts_name, voice_name); - } - - public void set_tts_params(string tts_name, string voice_name) { - freeswitchPINVOKE.CoreSession_set_tts_params(swigCPtr, tts_name, voice_name); - } - - public int CollectDigits(int abs_timeout) { - int ret = freeswitchPINVOKE.CoreSession_CollectDigits__SWIG_0(swigCPtr, abs_timeout); - return ret; - } - - public int CollectDigits(int digit_timeout, int abs_timeout) { - int ret = freeswitchPINVOKE.CoreSession_CollectDigits__SWIG_1(swigCPtr, digit_timeout, abs_timeout); - return ret; - } - - public string GetDigits(int maxdigits, string terminators, int timeout) { - string ret = freeswitchPINVOKE.CoreSession_GetDigits__SWIG_0(swigCPtr, maxdigits, terminators, timeout); - return ret; - } - - public string GetDigits(int maxdigits, string terminators, int timeout, int interdigit) { - string ret = freeswitchPINVOKE.CoreSession_GetDigits__SWIG_1(swigCPtr, maxdigits, terminators, timeout, interdigit); - return ret; - } - - public int Transfer(string extension, string dialplan, string context) { - int ret = freeswitchPINVOKE.CoreSession_Transfer(swigCPtr, extension, dialplan, context); - return ret; - } - - public string read(int min_digits, int max_digits, string prompt_audio_file, int timeout, string valid_terminators, int digit_timeout) { - string ret = freeswitchPINVOKE.CoreSession_read(swigCPtr, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout); - return ret; - } - - public string PlayAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, string terminators, string audio_files, string bad_input_audio_files, string digits_regex, string var_name, int digit_timeout, string transfer_on_failure) { - string ret = freeswitchPINVOKE.CoreSession_PlayAndGetDigits(swigCPtr, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout, transfer_on_failure); - return ret; - } - - public int StreamFile(string file, int starting_sample_count) { - int ret = freeswitchPINVOKE.CoreSession_StreamFile(swigCPtr, file, starting_sample_count); - return ret; - } - - public int sleep(int ms, int sync) { - int ret = freeswitchPINVOKE.CoreSession_sleep(swigCPtr, ms, sync); - return ret; - } - - public int flushEvents() { - int ret = freeswitchPINVOKE.CoreSession_flushEvents(swigCPtr); - return ret; - } - - public int flushDigits() { - int ret = freeswitchPINVOKE.CoreSession_flushDigits(swigCPtr); - return ret; - } - - public int SetAutoHangup(bool val) { - int ret = freeswitchPINVOKE.CoreSession_SetAutoHangup(swigCPtr, val); - return ret; - } - - public bool Ready() { - bool ret = freeswitchPINVOKE.CoreSession_Ready(swigCPtr); - return ret; - } - - public bool bridged() { - bool ret = freeswitchPINVOKE.CoreSession_bridged(swigCPtr); - return ret; - } - - public bool answered() { - bool ret = freeswitchPINVOKE.CoreSession_answered(swigCPtr); - return ret; - } - - public bool mediaReady() { - bool ret = freeswitchPINVOKE.CoreSession_mediaReady(swigCPtr); - return ret; - } - - public void waitForAnswer(CoreSession calling_session) { - freeswitchPINVOKE.CoreSession_waitForAnswer(swigCPtr, CoreSession.getCPtr(calling_session)); - } - - public void Execute(string app, string data) { - freeswitchPINVOKE.CoreSession_Execute(swigCPtr, app, data); - } - - public void sendEvent(Event sendME) { - freeswitchPINVOKE.CoreSession_sendEvent(swigCPtr, Event.getCPtr(sendME)); - } - - public void setEventData(Event e) { - freeswitchPINVOKE.CoreSession_setEventData(swigCPtr, Event.getCPtr(e)); - } - - public string getXMLCDR() { - string ret = freeswitchPINVOKE.CoreSession_getXMLCDR(swigCPtr); - return ret; - } - - public virtual bool begin_allow_threads() { - bool ret = freeswitchPINVOKE.CoreSession_begin_allow_threads(swigCPtr); - return ret; - } - - public virtual bool end_allow_threads() { - bool ret = freeswitchPINVOKE.CoreSession_end_allow_threads(swigCPtr); - return ret; - } - - public string GetUuid() { - string ret = freeswitchPINVOKE.CoreSession_GetUuid(swigCPtr); - return ret; - } - - public switch_input_args_t get_cb_args() { - switch_input_args_t ret = new switch_input_args_t(freeswitchPINVOKE.CoreSession_get_cb_args(swigCPtr), false); - return ret; - } - - public virtual void check_hangup_hook() { - freeswitchPINVOKE.CoreSession_check_hangup_hook(swigCPtr); - } - - public void consoleLog(string level_str, string msg) { - freeswitchPINVOKE.CoreSession_consoleLog(swigCPtr, level_str, msg); - } - - public void consoleLog2(string level_str, string file, string func, int line, string msg) { - freeswitchPINVOKE.CoreSession_consoleLog2(swigCPtr, level_str, file, func, line, msg); - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum dm_match_type_t { - DM_MATCH_POSITIVE, - DM_MATCH_NEGATIVE -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class dtls_fingerprint_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal dtls_fingerprint_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(dtls_fingerprint_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~dtls_fingerprint_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_dtls_fingerprint_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint len { - set { - freeswitchPINVOKE.dtls_fingerprint_t_len_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.dtls_fingerprint_t_len_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char data { - set { - freeswitchPINVOKE.dtls_fingerprint_t_data_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.dtls_fingerprint_t_data_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public string type { - set { - freeswitchPINVOKE.dtls_fingerprint_t_type_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.dtls_fingerprint_t_type_get(swigCPtr); - return ret; - } - } - - public string str { - set { - freeswitchPINVOKE.dtls_fingerprint_t_str_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.dtls_fingerprint_t_str_get(swigCPtr); - return ret; - } - } - - public dtls_fingerprint_t() : this(freeswitchPINVOKE.new_dtls_fingerprint_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum dtls_state_t { - DS_HANDSHAKE, - DS_SETUP, - DS_READY, - DS_FAIL, - DS_INVALID -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum dtls_type_t { - DTLS_TYPE_CLIENT = (1 << 0), - DTLS_TYPE_SERVER = (1 << 1), - DTLS_TYPE_RTP = (1 << 2), - DTLS_TYPE_RTCP = (1 << 3) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class DTMF : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal DTMF(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(DTMF obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~DTMF() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_DTMF(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public char digit { - set { - freeswitchPINVOKE.DTMF_digit_set(swigCPtr, value); - } - get { - char ret = freeswitchPINVOKE.DTMF_digit_get(swigCPtr); - return ret; - } - } - - public uint duration { - set { - freeswitchPINVOKE.DTMF_duration_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.DTMF_duration_get(swigCPtr); - return ret; - } - } - - public DTMF(char idigit, uint iduration) : this(freeswitchPINVOKE.new_DTMF(idigit, iduration), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum dtmf_flag_t { - DTMF_FLAG_SKIP_PROCESS = (1 << 0), - DTMF_FLAG_SENSITIVE = (1 << 1) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public partial class Event : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Event(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(Event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~Event() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_Event(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_event InternalEvent { - set { - freeswitchPINVOKE.Event_InternalEvent_set(swigCPtr, switch_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.Event_InternalEvent_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); - return ret; - } - } - - public string serialized_string { - set { - freeswitchPINVOKE.Event_serialized_string_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.Event_serialized_string_get(swigCPtr); - return ret; - } - } - - public int mine { - set { - freeswitchPINVOKE.Event_mine_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.Event_mine_get(swigCPtr); - return ret; - } - } - - public Event(string type, string subclass_name) : this(freeswitchPINVOKE.new_Event__SWIG_0(type, subclass_name), true) { - } - - public Event(switch_event wrap_me, int free_me) : this(freeswitchPINVOKE.new_Event__SWIG_1(switch_event.getCPtr(wrap_me), free_me), true) { - } - - public int chat_execute(string app, string data) { - int ret = freeswitchPINVOKE.Event_chat_execute(swigCPtr, app, data); - return ret; - } - - public int chat_send(string dest_proto) { - int ret = freeswitchPINVOKE.Event_chat_send(swigCPtr, dest_proto); - return ret; - } - - public string Serialize(string format) { - string ret = freeswitchPINVOKE.Event_Serialize(swigCPtr, format); - return ret; - } - - public bool SetPriority(switch_priority_t priority) { - bool ret = freeswitchPINVOKE.Event_SetPriority(swigCPtr, (int)priority); - return ret; - } - - public string GetHeader(string header_name) { - string ret = freeswitchPINVOKE.Event_GetHeader(swigCPtr, header_name); - return ret; - } - - public string GetBody() { - string ret = freeswitchPINVOKE.Event_GetBody(swigCPtr); - return ret; - } - - public string GetEventType() { - string ret = freeswitchPINVOKE.Event_GetEventType(swigCPtr); - return ret; - } - - public bool AddBody(string value) { - bool ret = freeswitchPINVOKE.Event_AddBody(swigCPtr, value); - return ret; - } - - public bool AddHeader(string header_name, string value) { - bool ret = freeswitchPINVOKE.Event_AddHeader(swigCPtr, header_name, value); - return ret; - } - - public bool DeleteHeader(string header_name) { - bool ret = freeswitchPINVOKE.Event_DeleteHeader(swigCPtr, header_name); - return ret; - } - - public bool Fire() { - bool ret = freeswitchPINVOKE.Event_Fire(swigCPtr); - return ret; - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class EventConsumer : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal EventConsumer(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(EventConsumer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~EventConsumer() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_EventConsumer(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_queue_t events { - set { - freeswitchPINVOKE.EventConsumer_events_set(swigCPtr, SWIGTYPE_p_switch_queue_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.EventConsumer_events_get(swigCPtr); - SWIGTYPE_p_switch_queue_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_queue_t(cPtr, false); - return ret; - } - } - - public switch_event_types_t e_event_id { - set { - freeswitchPINVOKE.EventConsumer_e_event_id_set(swigCPtr, (int)value); - } - get { - switch_event_types_t ret = (switch_event_types_t)freeswitchPINVOKE.EventConsumer_e_event_id_get(swigCPtr); - return ret; - } - } - - public string e_callback { - set { - freeswitchPINVOKE.EventConsumer_e_callback_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.EventConsumer_e_callback_get(swigCPtr); - return ret; - } - } - - public string e_subclass_name { - set { - freeswitchPINVOKE.EventConsumer_e_subclass_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.EventConsumer_e_subclass_name_get(swigCPtr); - return ret; - } - } - - public string e_cb_arg { - set { - freeswitchPINVOKE.EventConsumer_e_cb_arg_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.EventConsumer_e_cb_arg_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_switch_event_node enodes { - set { - freeswitchPINVOKE.EventConsumer_enodes_set(swigCPtr, SWIGTYPE_p_p_switch_event_node.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.EventConsumer_enodes_get(swigCPtr); - SWIGTYPE_p_p_switch_event_node ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_switch_event_node(cPtr, false); - return ret; - } - } - - public uint node_index { - set { - freeswitchPINVOKE.EventConsumer_node_index_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.EventConsumer_node_index_get(swigCPtr); - return ret; - } - } - - public EventConsumer(string event_name, string subclass_name, int len) : this(freeswitchPINVOKE.new_EventConsumer(event_name, subclass_name, len), true) { - } - - public int bind(string event_name, string subclass_name) { - int ret = freeswitchPINVOKE.EventConsumer_bind(swigCPtr, event_name, subclass_name); - return ret; - } - - public Event pop(int block, int timeout) { - IntPtr cPtr = freeswitchPINVOKE.EventConsumer_pop(swigCPtr, block, timeout); - Event ret = (cPtr == IntPtr.Zero) ? null : new Event(cPtr, true); - return ret; - } - - public void cleanup() { - freeswitchPINVOKE.EventConsumer_cleanup(swigCPtr); - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class freeswitch { - public static switch_directories SWITCH_GLOBAL_dirs { - set { - freeswitchPINVOKE.SWITCH_GLOBAL_dirs_set(switch_directories.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.SWITCH_GLOBAL_dirs_get(); - switch_directories ret = (cPtr == IntPtr.Zero) ? null : new switch_directories(cPtr, false); - return ret; - } - } - - public static switch_filenames SWITCH_GLOBAL_filenames { - set { - freeswitchPINVOKE.SWITCH_GLOBAL_filenames_set(switch_filenames.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.SWITCH_GLOBAL_filenames_get(); - switch_filenames ret = (cPtr == IntPtr.Zero) ? null : new switch_filenames(cPtr, false); - return ret; - } - } - - public static int switch_core_db_close(SWIGTYPE_p_sqlite3 db) { - int ret = freeswitchPINVOKE.switch_core_db_close(SWIGTYPE_p_sqlite3.getCPtr(db)); - return ret; - } - - public static int switch_core_db_open(string filename, SWIGTYPE_p_p_sqlite3 ppDb) { - int ret = freeswitchPINVOKE.switch_core_db_open(filename, SWIGTYPE_p_p_sqlite3.getCPtr(ppDb)); - return ret; - } - - public static SWIGTYPE_p_unsigned_char switch_core_db_column_text(SWIGTYPE_p_sqlite3_stmt stmt, int iCol) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_db_column_text(SWIGTYPE_p_sqlite3_stmt.getCPtr(stmt), iCol); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - - public static string switch_core_db_column_name(SWIGTYPE_p_sqlite3_stmt stmt, int N) { - string ret = freeswitchPINVOKE.switch_core_db_column_name(SWIGTYPE_p_sqlite3_stmt.getCPtr(stmt), N); - return ret; - } - - public static int switch_core_db_column_count(SWIGTYPE_p_sqlite3_stmt pStmt) { - int ret = freeswitchPINVOKE.switch_core_db_column_count(SWIGTYPE_p_sqlite3_stmt.getCPtr(pStmt)); - return ret; - } - - public static string switch_core_db_errmsg(SWIGTYPE_p_sqlite3 db) { - string ret = freeswitchPINVOKE.switch_core_db_errmsg(SWIGTYPE_p_sqlite3.getCPtr(db)); - return ret; - } - - public static int switch_core_db_exec(SWIGTYPE_p_sqlite3 db, string sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int callback, SWIGTYPE_p_void data, ref string errmsg) { - int ret = freeswitchPINVOKE.switch_core_db_exec(SWIGTYPE_p_sqlite3.getCPtr(db), sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(data), ref errmsg); - return ret; - } - - public static int switch_core_db_finalize(SWIGTYPE_p_sqlite3_stmt pStmt) { - int ret = freeswitchPINVOKE.switch_core_db_finalize(SWIGTYPE_p_sqlite3_stmt.getCPtr(pStmt)); - return ret; - } - - public static int switch_core_db_prepare(SWIGTYPE_p_sqlite3 db, string zSql, int nBytes, SWIGTYPE_p_p_sqlite3_stmt ppStmt, ref string pzTail) { - int ret = freeswitchPINVOKE.switch_core_db_prepare(SWIGTYPE_p_sqlite3.getCPtr(db), zSql, nBytes, SWIGTYPE_p_p_sqlite3_stmt.getCPtr(ppStmt), ref pzTail); - return ret; - } - - public static int switch_core_db_step(SWIGTYPE_p_sqlite3_stmt stmt) { - int ret = freeswitchPINVOKE.switch_core_db_step(SWIGTYPE_p_sqlite3_stmt.getCPtr(stmt)); - return ret; - } - - public static int switch_core_db_reset(SWIGTYPE_p_sqlite3_stmt pStmt) { - int ret = freeswitchPINVOKE.switch_core_db_reset(SWIGTYPE_p_sqlite3_stmt.getCPtr(pStmt)); - return ret; - } - - public static int switch_core_db_bind_int(SWIGTYPE_p_sqlite3_stmt pStmt, int i, int iValue) { - int ret = freeswitchPINVOKE.switch_core_db_bind_int(SWIGTYPE_p_sqlite3_stmt.getCPtr(pStmt), i, iValue); - return ret; - } - - public static int switch_core_db_bind_int64(SWIGTYPE_p_sqlite3_stmt pStmt, int i, long iValue) { - int ret = freeswitchPINVOKE.switch_core_db_bind_int64(SWIGTYPE_p_sqlite3_stmt.getCPtr(pStmt), i, iValue); - return ret; - } - - public static int switch_core_db_bind_text(SWIGTYPE_p_sqlite3_stmt pStmt, int i, string zData, int nData, SWIGTYPE_p_f_p_void__void xDel) { - int ret = freeswitchPINVOKE.switch_core_db_bind_text(SWIGTYPE_p_sqlite3_stmt.getCPtr(pStmt), i, zData, nData, SWIGTYPE_p_f_p_void__void.getCPtr(xDel)); - return ret; - } - - public static int switch_core_db_bind_double(SWIGTYPE_p_sqlite3_stmt pStmt, int i, double dValue) { - int ret = freeswitchPINVOKE.switch_core_db_bind_double(SWIGTYPE_p_sqlite3_stmt.getCPtr(pStmt), i, dValue); - return ret; - } - - public static long switch_core_db_last_insert_rowid(SWIGTYPE_p_sqlite3 db) { - long ret = freeswitchPINVOKE.switch_core_db_last_insert_rowid(SWIGTYPE_p_sqlite3.getCPtr(db)); - return ret; - } - - public static int switch_core_db_get_table(SWIGTYPE_p_sqlite3 db, string sql, SWIGTYPE_p_p_p_char resultp, SWIGTYPE_p_int nrow, SWIGTYPE_p_int ncolumn, ref string errmsg) { - int ret = freeswitchPINVOKE.switch_core_db_get_table(SWIGTYPE_p_sqlite3.getCPtr(db), sql, SWIGTYPE_p_p_p_char.getCPtr(resultp), SWIGTYPE_p_int.getCPtr(nrow), SWIGTYPE_p_int.getCPtr(ncolumn), ref errmsg); - return ret; - } - - public static void switch_core_db_free_table(ref string result) { - freeswitchPINVOKE.switch_core_db_free_table(ref result); - } - - public static void switch_core_db_free(string z) { - freeswitchPINVOKE.switch_core_db_free(z); - } - - public static int switch_core_db_changes(SWIGTYPE_p_sqlite3 db) { - int ret = freeswitchPINVOKE.switch_core_db_changes(SWIGTYPE_p_sqlite3.getCPtr(db)); - return ret; - } - - public static int switch_core_db_load_extension(SWIGTYPE_p_sqlite3 db, string extension) { - int ret = freeswitchPINVOKE.switch_core_db_load_extension(SWIGTYPE_p_sqlite3.getCPtr(db), extension); - return ret; - } - - public static string switch_sql_concat() { - string ret = freeswitchPINVOKE.switch_sql_concat(); - return ret; - } - - public static SWIGTYPE_p_real_pcre switch_regex_compile(string pattern, int options, ref string errorptr, SWIGTYPE_p_int erroroffset, SWIGTYPE_p_unsigned_char tables) { - IntPtr cPtr = freeswitchPINVOKE.switch_regex_compile(pattern, options, ref errorptr, SWIGTYPE_p_int.getCPtr(erroroffset), SWIGTYPE_p_unsigned_char.getCPtr(tables)); - SWIGTYPE_p_real_pcre ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_real_pcre(cPtr, false); - return ret; - } - - public static int switch_regex_copy_substring(string subject, SWIGTYPE_p_int ovector, int stringcount, int stringnumber, string buffer, int size) { - int ret = freeswitchPINVOKE.switch_regex_copy_substring(subject, SWIGTYPE_p_int.getCPtr(ovector), stringcount, stringnumber, buffer, size); - return ret; - } - - public static void switch_regex_free(SWIGTYPE_p_void data) { - freeswitchPINVOKE.switch_regex_free(SWIGTYPE_p_void.getCPtr(data)); - } - - public static int switch_regex_perform(string field, string expression, SWIGTYPE_p_p_real_pcre new_re, SWIGTYPE_p_int ovector, uint olen) { - int ret = freeswitchPINVOKE.switch_regex_perform(field, expression, SWIGTYPE_p_p_real_pcre.getCPtr(new_re), SWIGTYPE_p_int.getCPtr(ovector), olen); - return ret; - } - - public static void switch_perform_substitution(SWIGTYPE_p_real_pcre re, int match_count, string data, string field_data, string substituted, SWIGTYPE_p_switch_size_t len, SWIGTYPE_p_int ovector) { - freeswitchPINVOKE.switch_perform_substitution(SWIGTYPE_p_real_pcre.getCPtr(re), match_count, data, field_data, substituted, SWIGTYPE_p_switch_size_t.getCPtr(len), SWIGTYPE_p_int.getCPtr(ovector)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - - public static switch_status_t switch_regex_match(string target, string expression) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_regex_match(target, expression); - return ret; - } - - public static switch_status_t switch_regex_match_partial(string target, string expression, SWIGTYPE_p_int partial_match) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_regex_match_partial(target, expression, SWIGTYPE_p_int.getCPtr(partial_match)); - return ret; - } - - public static void switch_capture_regex(SWIGTYPE_p_real_pcre re, int match_count, string field_data, SWIGTYPE_p_int ovector, string var, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void callback, SWIGTYPE_p_void user_data) { - freeswitchPINVOKE.switch_capture_regex(SWIGTYPE_p_real_pcre.getCPtr(re), match_count, field_data, SWIGTYPE_p_int.getCPtr(ovector), var, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data)); - } - - public static void switch_regex_set_var_callback(string var, string val, SWIGTYPE_p_void user_data) { - freeswitchPINVOKE.switch_regex_set_var_callback(var, val, SWIGTYPE_p_void.getCPtr(user_data)); - } - - public static void switch_regex_set_event_header_callback(string var, string val, SWIGTYPE_p_void user_data) { - freeswitchPINVOKE.switch_regex_set_event_header_callback(var, val, SWIGTYPE_p_void.getCPtr(user_data)); - } - - public static void switch_core_screen_size(SWIGTYPE_p_int x, SWIGTYPE_p_int y) { - freeswitchPINVOKE.switch_core_screen_size(SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y)); - } - - public static void switch_core_session_sched_heartbeat(SWIGTYPE_p_switch_core_session session, uint seconds) { - freeswitchPINVOKE.switch_core_session_sched_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session), seconds); - } - - public static void switch_core_session_unsched_heartbeat(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_unsched_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_enable_heartbeat(SWIGTYPE_p_switch_core_session session, uint seconds) { - freeswitchPINVOKE.switch_core_session_enable_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session), seconds); - } - - public static void switch_core_session_disable_heartbeat(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_disable_heartbeat(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static switch_status_t switch_core_media_bug_pop(SWIGTYPE_p_switch_core_session orig_session, string function, SWIGTYPE_p_p_switch_media_bug pop) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_pop(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), function, SWIGTYPE_p_p_switch_media_bug.getCPtr(pop)); - return ret; - } - - public static switch_status_t switch_core_media_bug_exec_all(SWIGTYPE_p_switch_core_session orig_session, string function, SWIGTYPE_p_f_p_switch_media_bug_p_void__void cb, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_exec_all(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), function, SWIGTYPE_p_f_p_switch_media_bug_p_void__void.getCPtr(cb), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static uint switch_core_media_bug_count(SWIGTYPE_p_switch_core_session orig_session, string function) { - uint ret = freeswitchPINVOKE.switch_core_media_bug_count(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), function); - return ret; - } - - public static switch_status_t switch_core_media_bug_add(SWIGTYPE_p_switch_core_session session, string function, string target, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_time_t stop_time, uint flags, SWIGTYPE_p_p_switch_media_bug new_bug) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_add(SWIGTYPE_p_switch_core_session.getCPtr(session), function, target, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_time_t.getCPtr(stop_time), flags, SWIGTYPE_p_p_switch_media_bug.getCPtr(new_bug)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_core_media_bug_pause(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_media_bug_pause(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_media_bug_resume(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_media_bug_resume(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_media_bug_inuse(SWIGTYPE_p_switch_media_bug bug, SWIGTYPE_p_switch_size_t readp, SWIGTYPE_p_switch_size_t writep) { - freeswitchPINVOKE.switch_core_media_bug_inuse(SWIGTYPE_p_switch_media_bug.getCPtr(bug), SWIGTYPE_p_switch_size_t.getCPtr(readp), SWIGTYPE_p_switch_size_t.getCPtr(writep)); - } - - public static SWIGTYPE_p_void switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static switch_frame switch_core_media_bug_get_write_replace_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_write_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); - return ret; - } - - public static switch_frame switch_core_media_bug_get_native_read_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_native_read_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); - return ret; - } - - public static switch_frame switch_core_media_bug_get_native_write_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_native_write_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); - return ret; - } - - public static void switch_core_media_bug_set_write_replace_frame(SWIGTYPE_p_switch_media_bug bug, switch_frame frame) { - freeswitchPINVOKE.switch_core_media_bug_set_write_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame)); - } - - public static switch_frame switch_core_media_bug_get_read_replace_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_read_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); - return ret; - } - - public static void switch_core_media_bug_set_read_demux_frame(SWIGTYPE_p_switch_media_bug bug, switch_frame frame) { - freeswitchPINVOKE.switch_core_media_bug_set_read_demux_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame)); - } - - public static SWIGTYPE_p_switch_core_session switch_core_media_bug_get_session(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_session(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - - public static uint switch_core_media_bug_test_flag(SWIGTYPE_p_switch_media_bug bug, uint flag) { - uint ret = freeswitchPINVOKE.switch_core_media_bug_test_flag(SWIGTYPE_p_switch_media_bug.getCPtr(bug), flag); - return ret; - } - - public static uint switch_core_media_bug_set_flag(SWIGTYPE_p_switch_media_bug bug, uint flag) { - uint ret = freeswitchPINVOKE.switch_core_media_bug_set_flag(SWIGTYPE_p_switch_media_bug.getCPtr(bug), flag); - return ret; - } - - public static uint switch_core_media_bug_clear_flag(SWIGTYPE_p_switch_media_bug bug, uint flag) { - uint ret = freeswitchPINVOKE.switch_core_media_bug_clear_flag(SWIGTYPE_p_switch_media_bug.getCPtr(bug), flag); - return ret; - } - - public static void switch_core_media_bug_set_read_replace_frame(SWIGTYPE_p_switch_media_bug bug, switch_frame frame) { - freeswitchPINVOKE.switch_core_media_bug_set_read_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame)); - } - - public static uint switch_core_cpu_count() { - uint ret = freeswitchPINVOKE.switch_core_cpu_count(); - return ret; - } - - public static switch_status_t switch_core_media_bug_remove(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_media_bug bug) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_remove(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_media_bug.getCPtr(bug)); - return ret; - } - - public static uint switch_core_media_bug_prune(SWIGTYPE_p_switch_core_session session) { - uint ret = freeswitchPINVOKE.switch_core_media_bug_prune(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_media_bug_remove_callback(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_remove_callback(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback)); - return ret; - } - - public static switch_status_t switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug bug) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug.getCPtr(bug)); - return ret; - } - - public static switch_status_t switch_core_media_bug_remove_all_function(SWIGTYPE_p_switch_core_session session, string function) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_remove_all_function(SWIGTYPE_p_switch_core_session.getCPtr(session), function); - return ret; - } - - public static switch_status_t switch_core_media_bug_enumerate(SWIGTYPE_p_switch_core_session session, switch_stream_handle stream) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_enumerate(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_stream_handle.getCPtr(stream)); - return ret; - } - - public static switch_status_t switch_core_media_bug_transfer_recordings(SWIGTYPE_p_switch_core_session orig_session, SWIGTYPE_p_switch_core_session new_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_transfer_recordings(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), SWIGTYPE_p_switch_core_session.getCPtr(new_session)); - return ret; - } - - public static switch_status_t switch_core_media_bug_transfer_callback(SWIGTYPE_p_switch_core_session orig_session, SWIGTYPE_p_switch_core_session new_session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_f_p_switch_core_session_p_void__p_void user_data_dup_func) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_transfer_callback(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), SWIGTYPE_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_f_p_switch_core_session_p_void__p_void.getCPtr(user_data_dup_func)); - return ret; - } - - public static switch_status_t switch_core_media_bug_read(SWIGTYPE_p_switch_media_bug bug, switch_frame frame, switch_bool_t fill) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_read(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame), (int)fill); - return ret; - } - - public static void switch_core_media_bug_flush(SWIGTYPE_p_switch_media_bug bug) { - freeswitchPINVOKE.switch_core_media_bug_flush(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - } - - public static switch_status_t switch_core_media_bug_flush_all(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_flush_all(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_media_bug_set_pre_buffer_framecount(SWIGTYPE_p_switch_media_bug bug, uint framecount) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_set_pre_buffer_framecount(SWIGTYPE_p_switch_media_bug.getCPtr(bug), framecount); - return ret; - } - - public static switch_status_t switch_core_port_allocator_new(string ip, ushort start, ushort end, uint flags, SWIGTYPE_p_p_switch_core_port_allocator new_allocator) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_new(ip, start, end, flags, SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(new_allocator)); - return ret; - } - - public static switch_status_t switch_core_port_allocator_request_port(SWIGTYPE_p_switch_core_port_allocator alloc, SWIGTYPE_p_unsigned_short port_ptr) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_request_port(SWIGTYPE_p_switch_core_port_allocator.getCPtr(alloc), SWIGTYPE_p_unsigned_short.getCPtr(port_ptr)); - return ret; - } - - public static switch_status_t switch_core_port_allocator_free_port(SWIGTYPE_p_switch_core_port_allocator alloc, ushort port) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_port_allocator_free_port(SWIGTYPE_p_switch_core_port_allocator.getCPtr(alloc), port); - return ret; - } - - public static void switch_core_port_allocator_destroy(SWIGTYPE_p_p_switch_core_port_allocator alloc) { - freeswitchPINVOKE.switch_core_port_allocator_destroy(SWIGTYPE_p_p_switch_core_port_allocator.getCPtr(alloc)); - } - - public static int switch_core_test_flag(int flag) { - int ret = freeswitchPINVOKE.switch_core_test_flag(flag); - return ret; - } - - public static switch_status_t switch_core_init(uint flags, switch_bool_t console, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init(flags, (int)console, ref err); - return ret; - } - - public static switch_status_t switch_core_init_and_modload(uint flags, switch_bool_t console, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_init_and_modload(flags, (int)console, ref err); - return ret; - } - - public static uint switch_core_session_limit(uint new_limit) { - uint ret = freeswitchPINVOKE.switch_core_session_limit(new_limit); - return ret; - } - - public static uint switch_core_sessions_per_second(uint new_limit) { - uint ret = freeswitchPINVOKE.switch_core_sessions_per_second(new_limit); - return ret; - } - - public static switch_status_t switch_core_destroy() { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_destroy(); - return ret; - } - - public static switch_status_t switch_core_session_io_read_lock(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_io_read_lock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_io_write_lock(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_io_write_lock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_io_rwunlock(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_io_rwunlock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_read_lock(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_lock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_read_lock_hangup(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_lock_hangup(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static void switch_core_session_write_lock(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_write_lock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_rwunlock(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_rwunlock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static int switch_core_add_state_handler(switch_state_handler_table state_handler) { - int ret = freeswitchPINVOKE.switch_core_add_state_handler(switch_state_handler_table.getCPtr(state_handler)); - return ret; - } - - public static void switch_core_remove_state_handler(switch_state_handler_table state_handler) { - freeswitchPINVOKE.switch_core_remove_state_handler(switch_state_handler_table.getCPtr(state_handler)); - } - - public static switch_state_handler_table switch_core_get_state_handler(int index) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_get_state_handler(index); - switch_state_handler_table ret = (cPtr == IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); - return ret; - } - - public static void switch_core_memory_pool_tag(SWIGTYPE_p_apr_pool_t pool, string tag) { - freeswitchPINVOKE.switch_core_memory_pool_tag(SWIGTYPE_p_apr_pool_t.getCPtr(pool), tag); - } - - public static switch_status_t switch_core_perform_new_memory_pool(SWIGTYPE_p_p_apr_pool_t pool, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_perform_new_memory_pool(SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), file, func, line); - return ret; - } - - public static int switch_core_session_sync_clock() { - int ret = freeswitchPINVOKE.switch_core_session_sync_clock(); - return ret; - } - - public static switch_status_t switch_core_perform_destroy_memory_pool(SWIGTYPE_p_p_apr_pool_t pool, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_perform_destroy_memory_pool(SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), file, func, line); - return ret; - } - - public static void switch_core_memory_pool_set_data(SWIGTYPE_p_apr_pool_t pool, string key, SWIGTYPE_p_void data) { - freeswitchPINVOKE.switch_core_memory_pool_set_data(SWIGTYPE_p_apr_pool_t.getCPtr(pool), key, SWIGTYPE_p_void.getCPtr(data)); - } - - public static SWIGTYPE_p_void switch_core_memory_pool_get_data(SWIGTYPE_p_apr_pool_t pool, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_memory_pool_get_data(SWIGTYPE_p_apr_pool_t.getCPtr(pool), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static void switch_core_session_run(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_run(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static uint switch_core_session_running(SWIGTYPE_p_switch_core_session session) { - uint ret = freeswitchPINVOKE.switch_core_session_running(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static uint switch_core_session_started(SWIGTYPE_p_switch_core_session session) { - uint ret = freeswitchPINVOKE.switch_core_session_started(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static SWIGTYPE_p_void switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t memory, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static SWIGTYPE_p_void switch_core_perform_alloc(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_switch_size_t memory, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_alloc(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static SWIGTYPE_p_void switch_core_perform_session_alloc(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_size_t memory, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_session_alloc(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_core_perform_permanent_strdup(string todup, string file, string func, int line) { - string ret = freeswitchPINVOKE.switch_core_perform_permanent_strdup(todup, file, func, line); - return ret; - } - - public static string switch_core_perform_session_strdup(SWIGTYPE_p_switch_core_session session, string todup, string file, string func, int line) { - string ret = freeswitchPINVOKE.switch_core_perform_session_strdup(SWIGTYPE_p_switch_core_session.getCPtr(session), todup, file, func, line); - return ret; - } - - public static string switch_core_perform_strdup(SWIGTYPE_p_apr_pool_t pool, string todup, string file, string func, int line) { - string ret = freeswitchPINVOKE.switch_core_perform_strdup(SWIGTYPE_p_apr_pool_t.getCPtr(pool), todup, file, func, line); - return ret; - } - - public static string switch_core_session_sprintf(SWIGTYPE_p_switch_core_session session, string fmt) { - string ret = freeswitchPINVOKE.switch_core_session_sprintf(SWIGTYPE_p_switch_core_session.getCPtr(session), fmt); - return ret; - } - - public static string switch_core_sprintf(SWIGTYPE_p_apr_pool_t pool, string fmt) { - string ret = freeswitchPINVOKE.switch_core_sprintf(SWIGTYPE_p_apr_pool_t.getCPtr(pool), fmt); - return ret; - } - - public static SWIGTYPE_p_apr_pool_t switch_core_session_get_pool(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_pool(SWIGTYPE_p_switch_core_session.getCPtr(session)); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_switch_core_session switch_core_session_request_xml(switch_endpoint_interface endpoint_interface, SWIGTYPE_p_p_apr_pool_t pool, switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_xml(switch_endpoint_interface.getCPtr(endpoint_interface), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), switch_xml.getCPtr(xml)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_switch_core_session switch_core_session_request_uuid(switch_endpoint_interface endpoint_interface, switch_call_direction_t direction, uint originate_flags, SWIGTYPE_p_p_apr_pool_t pool, string use_uuid) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_uuid(switch_endpoint_interface.getCPtr(endpoint_interface), (int)direction, originate_flags, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), use_uuid); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_set_uuid(SWIGTYPE_p_switch_core_session session, string use_uuid) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_uuid(SWIGTYPE_p_switch_core_session.getCPtr(session), use_uuid); - return ret; - } - - public static void switch_core_session_perform_destroy(SWIGTYPE_p_p_switch_core_session session, string file, string func, int line) { - freeswitchPINVOKE.switch_core_session_perform_destroy(SWIGTYPE_p_p_switch_core_session.getCPtr(session), file, func, line); - } - - public static void switch_core_session_destroy_state(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_destroy_state(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_reporting_state(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_reporting_state(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_hangup_state(SWIGTYPE_p_switch_core_session session, switch_bool_t force) { - freeswitchPINVOKE.switch_core_session_hangup_state(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)force); - } - - public static uint switch_core_session_count() { - uint ret = freeswitchPINVOKE.switch_core_session_count(); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_core_session_get_id(SWIGTYPE_p_switch_core_session session) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_get_id(SWIGTYPE_p_switch_core_session.getCPtr(session)), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_core_session_id() { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_id(), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_core_session_id_dec() { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_id_dec(), true); - return ret; - } - - public static SWIGTYPE_p_switch_core_session switch_core_session_request_by_name(string endpoint_name, switch_call_direction_t direction, SWIGTYPE_p_p_apr_pool_t pool) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_by_name(endpoint_name, (int)direction, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_thread_launch(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_thread_launch(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_thread_pool_launch_thread(SWIGTYPE_p_p_switch_thread_data_s tdp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_thread_pool_launch_thread(SWIGTYPE_p_p_switch_thread_data_s.getCPtr(tdp)); - return ret; - } - - public static switch_status_t switch_core_session_thread_pool_launch(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_thread_pool_launch(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static SWIGTYPE_p_switch_channel switch_core_session_get_channel(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_channel(SWIGTYPE_p_switch_core_session.getCPtr(session)); - SWIGTYPE_p_switch_channel ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_channel(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_switch_mutex_t switch_core_session_get_mutex(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_mutex(SWIGTYPE_p_switch_core_session.getCPtr(session)); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_wake_session_thread(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_wake_session_thread(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static void switch_core_session_signal_state_change(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_signal_state_change(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static string switch_core_session_get_uuid(SWIGTYPE_p_switch_core_session session) { - string ret = freeswitchPINVOKE.switch_core_session_get_uuid(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_set_loglevel(SWIGTYPE_p_switch_core_session session, switch_log_level_t loglevel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_loglevel(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)loglevel); - return ret; - } - - public static switch_log_level_t switch_core_session_get_loglevel(SWIGTYPE_p_switch_core_session session) { - switch_log_level_t ret = (switch_log_level_t)freeswitchPINVOKE.switch_core_session_get_loglevel(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static SWIGTYPE_p_stfu_instance_t switch_core_session_get_jb(SWIGTYPE_p_switch_core_session session, switch_media_type_t type) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_jb(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)type); - SWIGTYPE_p_stfu_instance_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_stfu_instance_t(cPtr, false); - return ret; - } - - public static void switch_core_session_soft_lock(SWIGTYPE_p_switch_core_session session, uint sec) { - freeswitchPINVOKE.switch_core_session_soft_lock(SWIGTYPE_p_switch_core_session.getCPtr(session), sec); - } - - public static void switch_core_session_soft_unlock(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_soft_unlock(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_set_dmachine(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_ivr_dmachine dmachine, switch_digit_action_target_t target) { - freeswitchPINVOKE.switch_core_session_set_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), (int)target); - } - - public static SWIGTYPE_p_switch_ivr_dmachine switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session session, switch_digit_action_target_t target) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)target); - SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); - return ret; - } - - public static switch_digit_action_target_t switch_ivr_dmachine_get_target(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - switch_digit_action_target_t ret = (switch_digit_action_target_t)freeswitchPINVOKE.switch_ivr_dmachine_get_target(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - return ret; - } - - public static void switch_ivr_dmachine_set_target(SWIGTYPE_p_switch_ivr_dmachine dmachine, switch_digit_action_target_t target) { - freeswitchPINVOKE.switch_ivr_dmachine_set_target(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), (int)target); - } - - public static switch_status_t switch_ivr_dmachine_set_terminators(SWIGTYPE_p_switch_ivr_dmachine dmachine, string terminators) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_set_terminators(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), terminators); - return ret; - } - - public static switch_status_t switch_core_session_set_codec_slin(SWIGTYPE_p_switch_core_session session, switch_slin_data data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_codec_slin(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_slin_data.getCPtr(data)); - return ret; - } - - public static string switch_core_get_uuid() { - string ret = freeswitchPINVOKE.switch_core_get_uuid(); - return ret; - } - - public static SWIGTYPE_p_switch_core_session switch_core_session_perform_locate(string uuid_str, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_locate(uuid_str, file, func, line); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_switch_core_session switch_core_session_perform_force_locate(string uuid_str, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_force_locate(uuid_str, file, func, line); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - - public static string switch_core_get_variable(string varname) { - string ret = freeswitchPINVOKE.switch_core_get_variable(varname); - return ret; - } - - public static string switch_core_get_variable_dup(string varname) { - string ret = freeswitchPINVOKE.switch_core_get_variable_dup(varname); - return ret; - } - - public static string switch_core_get_variable_pdup(string varname, SWIGTYPE_p_apr_pool_t pool) { - string ret = freeswitchPINVOKE.switch_core_get_variable_pdup(varname, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static string switch_core_get_hostname() { - string ret = freeswitchPINVOKE.switch_core_get_hostname(); - return ret; - } - - public static string switch_core_get_switchname() { - string ret = freeswitchPINVOKE.switch_core_get_switchname(); - return ret; - } - - public static string switch_core_get_domain(switch_bool_t dup) { - string ret = freeswitchPINVOKE.switch_core_get_domain((int)dup); - return ret; - } - - public static void switch_core_set_variable(string varname, string value) { - freeswitchPINVOKE.switch_core_set_variable(varname, value); - } - - public static switch_status_t switch_core_get_variables(SWIGTYPE_p_p_switch_event arg0) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_get_variables(SWIGTYPE_p_p_switch_event.getCPtr(arg0)); - return ret; - } - - public static switch_bool_t switch_core_set_var_conditional(string varname, string value, string val2) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_set_var_conditional(varname, value, val2); - return ret; - } - - public static void switch_core_dump_variables(switch_stream_handle stream) { - freeswitchPINVOKE.switch_core_dump_variables(switch_stream_handle.getCPtr(stream)); - } - - public static void switch_core_session_hupall(switch_call_cause_t cause) { - freeswitchPINVOKE.switch_core_session_hupall((int)cause); - } - - public static uint switch_core_session_hupall_matching_var_ans(string var_name, string var_val, switch_call_cause_t cause, switch_hup_type_t type) { - uint ret = freeswitchPINVOKE.switch_core_session_hupall_matching_var_ans(var_name, var_val, (int)cause, (int)type); - return ret; - } - - public static switch_console_callback_match switch_core_session_findall_matching_var(string var_name, string var_val) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_findall_matching_var(var_name, var_val); - switch_console_callback_match ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match(cPtr, false); - return ret; - } - - public static switch_console_callback_match switch_core_session_findall() { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_findall(); - switch_console_callback_match ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match(cPtr, false); - return ret; - } - - public static void switch_core_session_hupall_endpoint(switch_endpoint_interface endpoint_interface, switch_call_cause_t cause) { - freeswitchPINVOKE.switch_core_session_hupall_endpoint(switch_endpoint_interface.getCPtr(endpoint_interface), (int)cause); - } - - public static switch_status_t switch_core_session_perform_get_partner(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session partner, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_perform_get_partner(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(partner), file, func, line); - return ret; - } - - public static switch_status_t switch_core_session_message_send(string uuid_str, switch_core_session_message message) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_message_send(uuid_str, switch_core_session_message.getCPtr(message)); - return ret; - } - - public static switch_status_t switch_core_session_queue_message(SWIGTYPE_p_switch_core_session session, switch_core_session_message message) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_message(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_core_session_message.getCPtr(message)); - return ret; - } - - public static void switch_core_session_free_message(SWIGTYPE_p_p_switch_core_session_message message) { - freeswitchPINVOKE.switch_core_session_free_message(SWIGTYPE_p_p_switch_core_session_message.getCPtr(message)); - } - - public static switch_status_t switch_core_session_queue_signal_data(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_void signal_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_void.getCPtr(signal_data)); - return ret; - } - - public static switch_status_t switch_core_session_dequeue_signal_data(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_void signal_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_void.getCPtr(signal_data)); - return ret; - } - - public static switch_status_t switch_core_session_pass_indication(SWIGTYPE_p_switch_core_session session, switch_core_session_message_types_t indication) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_pass_indication(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)indication); - return ret; - } - - public static switch_status_t switch_core_session_queue_indication(SWIGTYPE_p_switch_core_session session, switch_core_session_message_types_t indication) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_indication(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)indication); - return ret; - } - - public static switch_status_t switch_core_session_dequeue_message(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session_message message) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_message(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session_message.getCPtr(message)); - return ret; - } - - public static switch_status_t switch_core_session_flush_message(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_flush_message(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_event_send(string uuid_str, SWIGTYPE_p_p_switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_event_send(uuid_str, SWIGTYPE_p_p_switch_event.getCPtr(arg1)); - return ret; - } - - public static switch_app_log switch_core_session_get_app_log(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_app_log(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_app_log ret = (cPtr == IntPtr.Zero) ? null : new switch_app_log(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_exec(SWIGTYPE_p_switch_core_session session, switch_application_interface application_interface, string arg) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_exec(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_application_interface.getCPtr(application_interface), arg); - return ret; - } - - public static void switch_core_session_video_reset(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_video_reset(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static switch_status_t switch_core_session_execute_application_get_flags(SWIGTYPE_p_switch_core_session session, string app, string arg, SWIGTYPE_p_int flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_execute_application_get_flags(SWIGTYPE_p_switch_core_session.getCPtr(session), app, arg, SWIGTYPE_p_int.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_session_execute_application_async(SWIGTYPE_p_switch_core_session session, string app, string arg) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_execute_application_async(SWIGTYPE_p_switch_core_session.getCPtr(session), app, arg); - return ret; - } - - public static switch_status_t switch_core_session_get_app_flags(string app, SWIGTYPE_p_int flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_app_flags(app, SWIGTYPE_p_int.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_session_execute_exten(SWIGTYPE_p_switch_core_session session, string exten, string dialplan, string context) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_execute_exten(SWIGTYPE_p_switch_core_session.getCPtr(session), exten, dialplan, context); - return ret; - } - - public static switch_status_t switch_core_session_receive_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_receive_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1)); - return ret; - } - - public static SWIGTYPE_p_void switch_core_session_get_private_class(SWIGTYPE_p_switch_core_session session, switch_pvt_class_t index) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_private_class(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)index); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_set_private_class(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_void private_info, switch_pvt_class_t index) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_private_class(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_void.getCPtr(private_info), (int)index); - return ret; - } - - public static int switch_core_session_add_stream(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_void private_info) { - int ret = freeswitchPINVOKE.switch_core_session_add_stream(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_void.getCPtr(private_info)); - return ret; - } - - public static SWIGTYPE_p_void switch_core_session_get_stream(SWIGTYPE_p_switch_core_session session, int index) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_stream(SWIGTYPE_p_switch_core_session.getCPtr(session), index); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static int switch_core_session_get_stream_count(SWIGTYPE_p_switch_core_session session) { - int ret = freeswitchPINVOKE.switch_core_session_get_stream_count(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static void switch_core_session_launch_thread(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void func, SWIGTYPE_p_void obj) { - freeswitchPINVOKE.switch_core_session_launch_thread(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void.getCPtr(func), SWIGTYPE_p_void.getCPtr(obj)); - } - - public static void switch_core_thread_session_end(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_thread_session_end(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_service_session_av(SWIGTYPE_p_switch_core_session session, switch_bool_t audio, switch_bool_t video) { - freeswitchPINVOKE.switch_core_service_session_av(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)audio, (int)video); - } - - public static switch_call_cause_t switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session session, switch_event var_event, string endpoint_name, switch_caller_profile caller_profile, SWIGTYPE_p_p_switch_core_session new_session, SWIGTYPE_p_p_apr_pool_t pool, uint flags, SWIGTYPE_p_switch_call_cause_t cancel_cause) { - switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_core_session_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(var_event), endpoint_name, switch_caller_profile.getCPtr(caller_profile), SWIGTYPE_p_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), flags, SWIGTYPE_p_switch_call_cause_t.getCPtr(cancel_cause)); - return ret; - } - - public static switch_status_t switch_core_session_perform_receive_message(SWIGTYPE_p_switch_core_session session, switch_core_session_message message, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_perform_receive_message(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_core_session_message.getCPtr(message), file, func, line); - return ret; - } - - public static switch_status_t switch_core_session_queue_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1)); - return ret; - } - - public static uint switch_core_session_event_count(SWIGTYPE_p_switch_core_session session) { - uint ret = freeswitchPINVOKE.switch_core_session_event_count(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static uint switch_core_session_messages_waiting(SWIGTYPE_p_switch_core_session session) { - uint ret = freeswitchPINVOKE.switch_core_session_messages_waiting(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_dequeue_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1, switch_bool_t force) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1), (int)force); - return ret; - } - - public static switch_status_t switch_core_session_queue_private_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1, switch_bool_t priority) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_queue_private_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1), (int)priority); - return ret; - } - - public static uint switch_core_session_private_event_count(SWIGTYPE_p_switch_core_session session) { - uint ret = freeswitchPINVOKE.switch_core_session_private_event_count(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_dequeue_private_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_private_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1)); - return ret; - } - - public static uint switch_core_session_flush_private_events(SWIGTYPE_p_switch_core_session session) { - uint ret = freeswitchPINVOKE.switch_core_session_flush_private_events(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_core_session_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, uint flags, int stream_id) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), flags, stream_id); - return ret; - } - - public static switch_status_t switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_frame frame, uint flags, int stream_id) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_frame.getCPtr(frame), flags, stream_id); - return ret; - } - - public static switch_status_t switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, uint flags, int stream_id) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_video_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), flags, stream_id); - return ret; - } - - public static switch_status_t switch_core_session_set_read_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_read_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_status_t switch_core_session_set_write_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_write_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_status_t switch_core_session_set_video_read_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_video_read_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_status_t switch_core_session_set_video_write_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_video_write_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static void switch_core_session_reset(SWIGTYPE_p_switch_core_session session, switch_bool_t flush_dtmf, switch_bool_t reset_read_codec) { - freeswitchPINVOKE.switch_core_session_reset(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)flush_dtmf, (int)reset_read_codec); - } - - public static switch_status_t switch_core_session_write_frame(SWIGTYPE_p_switch_core_session session, switch_frame frame, uint flags, int stream_id) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_frame.getCPtr(frame), flags, stream_id); - return ret; - } - - public static switch_status_t switch_core_session_perform_kill_channel(SWIGTYPE_p_switch_core_session session, string file, string func, int line, switch_signal_t sig) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_perform_kill_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), file, func, line, (int)sig); - return ret; - } - - public static switch_status_t switch_core_session_send_dtmf(SWIGTYPE_p_switch_core_session session, switch_dtmf_t dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_send_dtmf(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_dtmf_t.getCPtr(dtmf)); - return ret; - } - - public static switch_status_t switch_core_session_send_dtmf_string(SWIGTYPE_p_switch_core_session session, string dtmf_string) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_send_dtmf_string(SWIGTYPE_p_switch_core_session.getCPtr(session), dtmf_string); - return ret; - } - - public static switch_status_t switch_core_session_recv_dtmf(SWIGTYPE_p_switch_core_session session, switch_dtmf_t dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_recv_dtmf(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_dtmf_t.getCPtr(dtmf)); - return ret; - } - - public static switch_status_t switch_core_hash_init_case(SWIGTYPE_p_p_switch_hashtable hash, switch_bool_t case_sensitive) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_init_case(SWIGTYPE_p_p_switch_hashtable.getCPtr(hash), (int)case_sensitive); - return ret; - } - - public static switch_status_t switch_core_hash_destroy(SWIGTYPE_p_p_switch_hashtable hash) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_destroy(SWIGTYPE_p_p_switch_hashtable.getCPtr(hash)); - return ret; - } - - public static switch_status_t switch_core_hash_insert_destructor(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_void data, SWIGTYPE_p_f_p_void__void destructor) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_insert_destructor(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_f_p_void__void.getCPtr(destructor)); - return ret; - } - - public static switch_status_t switch_core_hash_insert_locked(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_void data, SWIGTYPE_p_switch_mutex_t mutex) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_insert_locked(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); - return ret; - } - - public static switch_status_t switch_core_hash_insert_wrlock(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_void data, SWIGTYPE_p_switch_thread_rwlock_t rwlock) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_insert_wrlock(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock)); - return ret; - } - - public static switch_status_t switch_core_hash_delete(SWIGTYPE_p_switch_hashtable hash, string key) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); - return ret; - } - - public static switch_status_t switch_core_hash_delete_locked(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_mutex_t mutex) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete_locked(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); - return ret; - } - - public static switch_status_t switch_core_hash_delete_wrlock(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_thread_rwlock_t rwlock) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete_wrlock(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock)); - return ret; - } - - public static switch_status_t switch_core_hash_delete_multi(SWIGTYPE_p_switch_hashtable hash, SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t callback, SWIGTYPE_p_void pData) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_delete_multi(SWIGTYPE_p_switch_hashtable.getCPtr(hash), SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pData)); - return ret; - } - - public static SWIGTYPE_p_void switch_core_hash_find(SWIGTYPE_p_switch_hashtable hash, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_void switch_core_hash_find_locked(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_mutex_t mutex) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find_locked(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_void switch_core_hash_find_rdlock(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_thread_rwlock_t rwlock) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find_rdlock(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable hash, SWIGTYPE_p_switch_hashtable_iterator hi) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable.getCPtr(hash), SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi)); - SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); - return ret; - } - - public static switch_bool_t switch_core_hash_empty(SWIGTYPE_p_switch_hashtable hash) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_hash_empty(SWIGTYPE_p_switch_hashtable.getCPtr(hash)); - return ret; - } - - public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator hi) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator.getCPtr(hi)); - SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); - return ret; - } - - public static void switch_core_hash_this(SWIGTYPE_p_switch_hashtable_iterator hi, SWIGTYPE_p_p_void key, SWIGTYPE_p_switch_ssize_t klen, SWIGTYPE_p_p_void val) { - freeswitchPINVOKE.switch_core_hash_this(SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi), SWIGTYPE_p_p_void.getCPtr(key), SWIGTYPE_p_switch_ssize_t.getCPtr(klen), SWIGTYPE_p_p_void.getCPtr(val)); - } - - public static switch_status_t switch_core_timer_init(switch_timer timer, string timer_name, int interval, int samples, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_init(switch_timer.getCPtr(timer), timer_name, interval, samples, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static void switch_time_calibrate_clock() { - freeswitchPINVOKE.switch_time_calibrate_clock(); - } - - public static switch_status_t switch_core_timer_next(switch_timer timer) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_next(switch_timer.getCPtr(timer)); - return ret; - } - - public static switch_status_t switch_core_timer_step(switch_timer timer) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_step(switch_timer.getCPtr(timer)); - return ret; - } - - public static switch_status_t switch_core_timer_sync(switch_timer timer) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_sync(switch_timer.getCPtr(timer)); - return ret; - } - - public static switch_status_t switch_core_timer_check(switch_timer timer, switch_bool_t step) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_check(switch_timer.getCPtr(timer), (int)step); - return ret; - } - - public static switch_status_t switch_core_timer_destroy(switch_timer timer) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_timer_destroy(switch_timer.getCPtr(timer)); - return ret; - } - - public static switch_status_t switch_core_codec_init_with_bitrate(switch_codec codec, string codec_name, string fmtp, uint rate, int ms, int channels, uint bitrate, uint flags, switch_codec_settings codec_settings, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_init_with_bitrate(switch_codec.getCPtr(codec), codec_name, fmtp, rate, ms, channels, bitrate, flags, switch_codec_settings.getCPtr(codec_settings), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_core_codec_copy(switch_codec codec, switch_codec new_codec, switch_codec_settings codec_settings, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_copy(switch_codec.getCPtr(codec), switch_codec.getCPtr(new_codec), switch_codec_settings.getCPtr(codec_settings), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_core_codec_parse_fmtp(string codec_name, string fmtp, uint rate, switch_codec_fmtp codec_fmtp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_parse_fmtp(codec_name, fmtp, rate, switch_codec_fmtp.getCPtr(codec_fmtp)); - return ret; - } - - public static switch_status_t switch_core_codec_reset(switch_codec codec) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_reset(switch_codec.getCPtr(codec)); - return ret; - } - - public static switch_status_t switch_core_codec_encode(switch_codec codec, switch_codec other_codec, SWIGTYPE_p_void decoded_data, uint decoded_data_len, uint decoded_rate, SWIGTYPE_p_void encoded_data, SWIGTYPE_p_unsigned_long encoded_data_len, SWIGTYPE_p_unsigned_long encoded_rate, SWIGTYPE_p_unsigned_int flag) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_encode(switch_codec.getCPtr(codec), switch_codec.getCPtr(other_codec), SWIGTYPE_p_void.getCPtr(decoded_data), decoded_data_len, decoded_rate, SWIGTYPE_p_void.getCPtr(encoded_data), SWIGTYPE_p_unsigned_long.getCPtr(encoded_data_len), SWIGTYPE_p_unsigned_long.getCPtr(encoded_rate), SWIGTYPE_p_unsigned_int.getCPtr(flag)); - return ret; - } - - public static switch_status_t switch_core_codec_decode(switch_codec codec, switch_codec other_codec, SWIGTYPE_p_void encoded_data, uint encoded_data_len, uint encoded_rate, SWIGTYPE_p_void decoded_data, SWIGTYPE_p_unsigned_long decoded_data_len, SWIGTYPE_p_unsigned_long decoded_rate, SWIGTYPE_p_unsigned_int flag) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_decode(switch_codec.getCPtr(codec), switch_codec.getCPtr(other_codec), SWIGTYPE_p_void.getCPtr(encoded_data), encoded_data_len, encoded_rate, SWIGTYPE_p_void.getCPtr(decoded_data), SWIGTYPE_p_unsigned_long.getCPtr(decoded_data_len), SWIGTYPE_p_unsigned_long.getCPtr(decoded_rate), SWIGTYPE_p_unsigned_int.getCPtr(flag)); - return ret; - } - - public static switch_status_t switch_core_codec_destroy(switch_codec codec) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_destroy(switch_codec.getCPtr(codec)); - return ret; - } - - public static switch_status_t switch_core_session_set_read_codec(SWIGTYPE_p_switch_core_session session, switch_codec codec) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec)); - return ret; - } - - public static switch_status_t switch_core_session_set_real_read_codec(SWIGTYPE_p_switch_core_session session, switch_codec codec) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_real_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec)); - return ret; - } - - public static void switch_core_session_unset_read_codec(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_unset_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_unset_write_codec(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_unset_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_lock_codec_write(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_lock_codec_write(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_unlock_codec_write(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_unlock_codec_write(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_lock_codec_read(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_lock_codec_read(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_session_unlock_codec_read(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_session_unlock_codec_read(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static switch_status_t switch_core_session_get_read_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_read_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_status_t switch_core_session_get_real_read_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_real_read_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_status_t switch_core_session_get_write_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_write_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_status_t switch_core_session_get_video_read_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_video_read_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_status_t switch_core_session_get_video_write_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_video_write_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp)); - return ret; - } - - public static switch_codec switch_core_session_get_read_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - - public static switch_codec switch_core_session_get_effective_read_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_effective_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_set_write_codec(SWIGTYPE_p_switch_core_session session, switch_codec codec) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec)); - return ret; - } - - public static switch_codec switch_core_session_get_write_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - - public static switch_codec switch_core_session_get_effective_write_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_effective_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_set_video_read_codec(SWIGTYPE_p_switch_core_session session, switch_codec codec) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_video_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec)); - return ret; - } - - public static switch_codec switch_core_session_get_video_read_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_video_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_session_set_video_write_codec(SWIGTYPE_p_switch_core_session session, switch_codec codec) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_video_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec)); - return ret; - } - - public static switch_codec switch_core_session_get_video_write_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_video_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_sqlite3 switch_core_db_open_file(string filename) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_db_open_file(filename); - SWIGTYPE_p_sqlite3 ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_db_persistant_execute(SWIGTYPE_p_sqlite3 db, string sql, uint retries) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_db_persistant_execute(SWIGTYPE_p_sqlite3.getCPtr(db), sql, retries); - return ret; - } - - public static switch_status_t switch_core_db_persistant_execute_trans(SWIGTYPE_p_sqlite3 db, string sql, uint retries) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_db_persistant_execute_trans(SWIGTYPE_p_sqlite3.getCPtr(db), sql, retries); - return ret; - } - - public static void switch_core_db_test_reactive(SWIGTYPE_p_sqlite3 db, string test_sql, string drop_sql, string reactive_sql) { - freeswitchPINVOKE.switch_core_db_test_reactive(SWIGTYPE_p_sqlite3.getCPtr(db), test_sql, drop_sql, reactive_sql); - } - - public static switch_status_t switch_core_perform_file_open(string file, string func, int line, switch_file_handle fh, string file_path, uint channels, uint rate, uint flags, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_perform_file_open(file, func, line, switch_file_handle.getCPtr(fh), file_path, channels, rate, flags, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_core_file_read(switch_file_handle fh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_read(switch_file_handle.getCPtr(fh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(len)); - return ret; - } - - public static switch_status_t switch_core_file_write(switch_file_handle fh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_write(switch_file_handle.getCPtr(fh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(len)); - return ret; - } - - public static switch_status_t switch_core_file_write_video(switch_file_handle fh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_write_video(switch_file_handle.getCPtr(fh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(len)); - return ret; - } - - public static switch_status_t switch_core_file_seek(switch_file_handle fh, SWIGTYPE_p_unsigned_int cur_pos, long samples, int whence) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_seek(switch_file_handle.getCPtr(fh), SWIGTYPE_p_unsigned_int.getCPtr(cur_pos), samples, whence); - return ret; - } - - public static switch_status_t switch_core_file_set_string(switch_file_handle fh, switch_audio_col_t col, string arg2) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_set_string(switch_file_handle.getCPtr(fh), (int)col, arg2); - return ret; - } - - public static switch_status_t switch_core_file_get_string(switch_file_handle fh, switch_audio_col_t col, ref string arg2) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_get_string(switch_file_handle.getCPtr(fh), (int)col, ref arg2); - return ret; - } - - public static switch_status_t switch_core_file_close(switch_file_handle fh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_close(switch_file_handle.getCPtr(fh)); - return ret; - } - - public static switch_status_t switch_core_file_truncate(switch_file_handle fh, long offset) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_truncate(switch_file_handle.getCPtr(fh), offset); - return ret; - } - - public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, uint channels, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, channels, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_core_speech_feed_tts(switch_speech_handle sh, string text, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_feed_tts(switch_speech_handle.getCPtr(sh), text, SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static void switch_core_speech_flush_tts(switch_speech_handle sh) { - freeswitchPINVOKE.switch_core_speech_flush_tts(switch_speech_handle.getCPtr(sh)); - } - - public static void switch_core_speech_text_param_tts(switch_speech_handle sh, string param, string val) { - freeswitchPINVOKE.switch_core_speech_text_param_tts(switch_speech_handle.getCPtr(sh), param, val); - } - - public static void switch_core_speech_numeric_param_tts(switch_speech_handle sh, string param, int val) { - freeswitchPINVOKE.switch_core_speech_numeric_param_tts(switch_speech_handle.getCPtr(sh), param, val); - } - - public static void switch_core_speech_float_param_tts(switch_speech_handle sh, string param, double val) { - freeswitchPINVOKE.switch_core_speech_float_param_tts(switch_speech_handle.getCPtr(sh), param, val); - } - - public static switch_status_t switch_core_speech_read_tts(switch_speech_handle sh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_read_tts(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen), SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_speech_close(switch_speech_handle sh, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_close(switch_speech_handle.getCPtr(sh), SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_asr_open(switch_asr_handle ah, string module_name, string codec, int rate, string dest, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_open(switch_asr_handle.getCPtr(ah), module_name, codec, rate, dest, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_core_asr_close(switch_asr_handle ah, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_close(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_asr_feed(switch_asr_handle ah, SWIGTYPE_p_void data, uint len, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_feed(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_void.getCPtr(data), len, SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_asr_feed_dtmf(switch_asr_handle ah, switch_dtmf_t dtmf, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_feed_dtmf(switch_asr_handle.getCPtr(ah), switch_dtmf_t.getCPtr(dtmf), SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_asr_check_results(switch_asr_handle ah, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_check_results(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_asr_get_results(switch_asr_handle ah, ref string xmlstr, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_get_results(switch_asr_handle.getCPtr(ah), ref xmlstr, SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_asr_get_result_headers(switch_asr_handle ah, SWIGTYPE_p_p_switch_event headers, SWIGTYPE_p_unsigned_long flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_get_result_headers(switch_asr_handle.getCPtr(ah), SWIGTYPE_p_p_switch_event.getCPtr(headers), SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static switch_status_t switch_core_asr_load_grammar(switch_asr_handle ah, string grammar, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_load_grammar(switch_asr_handle.getCPtr(ah), grammar, name); - return ret; - } - - public static switch_status_t switch_core_asr_unload_grammar(switch_asr_handle ah, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_unload_grammar(switch_asr_handle.getCPtr(ah), name); - return ret; - } - - public static switch_status_t switch_core_asr_enable_grammar(switch_asr_handle ah, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_enable_grammar(switch_asr_handle.getCPtr(ah), name); - return ret; - } - - public static switch_status_t switch_core_asr_disable_grammar(switch_asr_handle ah, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_disable_grammar(switch_asr_handle.getCPtr(ah), name); - return ret; - } - - public static switch_status_t switch_core_asr_disable_all_grammars(switch_asr_handle ah) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_disable_all_grammars(switch_asr_handle.getCPtr(ah)); - return ret; - } - - public static switch_status_t switch_core_asr_pause(switch_asr_handle ah) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_pause(switch_asr_handle.getCPtr(ah)); - return ret; - } - - public static switch_status_t switch_core_asr_resume(switch_asr_handle ah) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_resume(switch_asr_handle.getCPtr(ah)); - return ret; - } - - public static switch_status_t switch_core_asr_start_input_timers(switch_asr_handle ah) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_asr_start_input_timers(switch_asr_handle.getCPtr(ah)); - return ret; - } - - public static void switch_core_asr_text_param(switch_asr_handle ah, string param, string val) { - freeswitchPINVOKE.switch_core_asr_text_param(switch_asr_handle.getCPtr(ah), param, val); - } - - public static void switch_core_asr_numeric_param(switch_asr_handle ah, string param, int val) { - freeswitchPINVOKE.switch_core_asr_numeric_param(switch_asr_handle.getCPtr(ah), param, val); - } - - public static void switch_core_asr_float_param(switch_asr_handle ah, string param, double val) { - freeswitchPINVOKE.switch_core_asr_float_param(switch_asr_handle.getCPtr(ah), param, val); - } - - public static switch_status_t switch_core_directory_open(switch_directory_handle dh, string module_name, string source, string dsn, string passwd, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_directory_open(switch_directory_handle.getCPtr(dh), module_name, source, dsn, passwd, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_core_directory_query(switch_directory_handle dh, string arg1, string query) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_directory_query(switch_directory_handle.getCPtr(dh), arg1, query); - return ret; - } - - public static switch_status_t switch_core_directory_next(switch_directory_handle dh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_directory_next(switch_directory_handle.getCPtr(dh)); - return ret; - } - - public static switch_status_t switch_core_directory_next_pair(switch_directory_handle dh, ref string var, ref string val) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_directory_next_pair(switch_directory_handle.getCPtr(dh), ref var, ref val); - return ret; - } - - public static switch_status_t switch_core_directory_close(switch_directory_handle dh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_directory_close(switch_directory_handle.getCPtr(dh)); - return ret; - } - - public static SWIGTYPE_p_FILE switch_core_data_channel(switch_text_channel_t channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_data_channel((int)channel); - SWIGTYPE_p_FILE ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); - return ret; - } - - public static switch_bool_t switch_core_ready() { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_ready(); - return ret; - } - - public static switch_bool_t switch_core_running() { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_running(); - return ret; - } - - public static switch_bool_t switch_core_ready_inbound() { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_ready_inbound(); - return ret; - } - - public static switch_bool_t switch_core_ready_outbound() { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_ready_outbound(); - return ret; - } - - public static uint switch_core_flags() { - uint ret = freeswitchPINVOKE.switch_core_flags(); - return ret; - } - - public static switch_status_t switch_core_management_exec(string relative_oid, switch_management_action_t action, string data, SWIGTYPE_p_switch_size_t datalen) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_management_exec(relative_oid, (int)action, data, SWIGTYPE_p_switch_size_t.getCPtr(datalen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int set_normal_priority() { - int ret = freeswitchPINVOKE.set_normal_priority(); - return ret; - } - - public static int set_auto_priority() { - int ret = freeswitchPINVOKE.set_auto_priority(); - return ret; - } - - public static int set_realtime_priority() { - int ret = freeswitchPINVOKE.set_realtime_priority(); - return ret; - } - - public static int set_low_priority() { - int ret = freeswitchPINVOKE.set_low_priority(); - return ret; - } - - public static int change_user_group(string user, string group) { - int ret = freeswitchPINVOKE.change_user_group(user, group); - return ret; - } - - public static void switch_core_runtime_loop(int bg) { - freeswitchPINVOKE.switch_core_runtime_loop(bg); - } - - public static switch_status_t switch_core_set_console(string console) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_set_console(console); - return ret; - } - - public static void switch_core_measure_time(SWIGTYPE_p_switch_time_t total_ms, switch_core_time_duration duration) { - freeswitchPINVOKE.switch_core_measure_time(SWIGTYPE_p_switch_time_t.getCPtr(total_ms), switch_core_time_duration.getCPtr(duration)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - - public static SWIGTYPE_p_switch_time_t switch_core_uptime() { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_core_uptime(), true); - return ret; - } - - public static int switch_core_session_ctl(switch_session_ctl_t cmd, SWIGTYPE_p_void val) { - int ret = freeswitchPINVOKE.switch_core_session_ctl((int)cmd, SWIGTYPE_p_void.getCPtr(val)); - return ret; - } - - public static SWIGTYPE_p_FILE switch_core_get_console() { - IntPtr cPtr = freeswitchPINVOKE.switch_core_get_console(); - SWIGTYPE_p_FILE ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); - return ret; - } - - public static void switch_core_set_globals() { - freeswitchPINVOKE.switch_core_set_globals(); - } - - public static byte switch_core_session_compare(SWIGTYPE_p_switch_core_session a, SWIGTYPE_p_switch_core_session b) { - byte ret = freeswitchPINVOKE.switch_core_session_compare(SWIGTYPE_p_switch_core_session.getCPtr(a), SWIGTYPE_p_switch_core_session.getCPtr(b)); - return ret; - } - - public static byte switch_core_session_check_interface(SWIGTYPE_p_switch_core_session session, switch_endpoint_interface endpoint_interface) { - byte ret = freeswitchPINVOKE.switch_core_session_check_interface(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_endpoint_interface.getCPtr(endpoint_interface)); - return ret; - } - - public static SWIGTYPE_p_switch_hashtable_iterator switch_core_mime_index() { - IntPtr cPtr = freeswitchPINVOKE.switch_core_mime_index(); - SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); - return ret; - } - - public static string switch_core_mime_ext2type(string ext) { - string ret = freeswitchPINVOKE.switch_core_mime_ext2type(ext); - return ret; - } - - public static string switch_core_mime_type2ext(string type) { - string ret = freeswitchPINVOKE.switch_core_mime_type2ext(type); - return ret; - } - - public static switch_status_t switch_core_mime_add_type(string type, string ext) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_mime_add_type(type, ext); - return ret; - } - - public static switch_loadable_module_interface switch_loadable_module_create_module_interface(SWIGTYPE_p_apr_pool_t pool, string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_create_module_interface(SWIGTYPE_p_apr_pool_t.getCPtr(pool), name); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_void switch_loadable_module_create_interface(switch_loadable_module_interface mod, switch_module_interface_name_t iname) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_create_interface(switch_loadable_module_interface.getCPtr(mod), (int)iname); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_switch_time_t switch_micro_time_now() { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_micro_time_now(), true); - return ret; - } - - public static SWIGTYPE_p_switch_time_t switch_mono_micro_time_now() { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_mono_micro_time_now(), true); - return ret; - } - - public static void switch_core_memory_reclaim() { - freeswitchPINVOKE.switch_core_memory_reclaim(); - } - - public static void switch_core_memory_reclaim_events() { - freeswitchPINVOKE.switch_core_memory_reclaim_events(); - } - - public static void switch_core_memory_reclaim_logger() { - freeswitchPINVOKE.switch_core_memory_reclaim_logger(); - } - - public static void switch_core_memory_reclaim_all() { - freeswitchPINVOKE.switch_core_memory_reclaim_all(); - } - - public static void switch_core_setrlimits() { - freeswitchPINVOKE.switch_core_setrlimits(); - } - - public static SWIGTYPE_p_switch_time_t switch_time_ref() { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_time_ref(), true); - return ret; - } - - public static void switch_time_sync() { - freeswitchPINVOKE.switch_time_sync(); - } - - public static SWIGTYPE_p_time_t switch_epoch_time_now(SWIGTYPE_p_time_t t) { - SWIGTYPE_p_time_t ret = new SWIGTYPE_p_time_t(freeswitchPINVOKE.switch_epoch_time_now(SWIGTYPE_p_time_t.getCPtr(t)), true); - return ret; - } - - public static string switch_lookup_timezone(string tz_name) { - string ret = freeswitchPINVOKE.switch_lookup_timezone(tz_name); - return ret; - } - - public static switch_status_t switch_strftime_tz(string tz, string format, string date, uint len, SWIGTYPE_p_switch_time_t thetime) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_strftime_tz(tz, format, date, len, SWIGTYPE_p_switch_time_t.getCPtr(thetime)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_time_exp_tz_name(string tz, SWIGTYPE_p_switch_time_exp_t tm, SWIGTYPE_p_switch_time_t thetime) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_time_exp_tz_name(tz, SWIGTYPE_p_switch_time_exp_t.getCPtr(tm), SWIGTYPE_p_switch_time_t.getCPtr(thetime)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_load_network_lists(switch_bool_t reload) { - freeswitchPINVOKE.switch_load_network_lists((int)reload); - } - - public static switch_bool_t switch_check_network_list_ip_token(string ip_str, string list_name, ref string token) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_check_network_list_ip_token(ip_str, list_name, ref token); - return ret; - } - - public static void switch_time_set_monotonic(switch_bool_t enable) { - freeswitchPINVOKE.switch_time_set_monotonic((int)enable); - } - - public static void switch_time_set_timerfd(int enable) { - freeswitchPINVOKE.switch_time_set_timerfd(enable); - } - - public static void switch_time_set_nanosleep(switch_bool_t enable) { - freeswitchPINVOKE.switch_time_set_nanosleep((int)enable); - } - - public static void switch_time_set_matrix(switch_bool_t enable) { - freeswitchPINVOKE.switch_time_set_matrix((int)enable); - } - - public static void switch_time_set_cond_yield(switch_bool_t enable) { - freeswitchPINVOKE.switch_time_set_cond_yield((int)enable); - } - - public static void switch_time_set_use_system_time(switch_bool_t enable) { - freeswitchPINVOKE.switch_time_set_use_system_time((int)enable); - } - - public static uint switch_core_min_dtmf_duration(uint duration) { - uint ret = freeswitchPINVOKE.switch_core_min_dtmf_duration(duration); - return ret; - } - - public static uint switch_core_max_dtmf_duration(uint duration) { - uint ret = freeswitchPINVOKE.switch_core_max_dtmf_duration(duration); - return ret; - } - - public static double switch_core_min_idle_cpu(double new_limit) { - double ret = freeswitchPINVOKE.switch_core_min_idle_cpu(new_limit); - return ret; - } - - public static double switch_core_idle_cpu() { - double ret = freeswitchPINVOKE.switch_core_idle_cpu(); - return ret; - } - - public static uint switch_core_default_dtmf_duration(uint duration) { - uint ret = freeswitchPINVOKE.switch_core_default_dtmf_duration(duration); - return ret; - } - - public static switch_status_t switch_console_set_complete(string arg0) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_set_complete(arg0); - return ret; - } - - public static switch_status_t switch_console_set_alias(string arg0) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_set_alias(arg0); - return ret; - } - - public static int switch_system(string cmd, switch_bool_t wait) { - int ret = freeswitchPINVOKE.switch_system(cmd, (int)wait); - return ret; - } - - public static int switch_stream_system(string cmd, switch_stream_handle stream) { - int ret = freeswitchPINVOKE.switch_stream_system(cmd, switch_stream_handle.getCPtr(stream)); - return ret; - } - - public static void switch_cond_yield(SWIGTYPE_p_switch_interval_time_t t) { - freeswitchPINVOKE.switch_cond_yield(SWIGTYPE_p_switch_interval_time_t.getCPtr(t)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - - public static void switch_cond_next() { - freeswitchPINVOKE.switch_cond_next(); - } - - public static switch_status_t switch_core_chat_send_args(string dest_proto, string proto, string from, string to, string subject, string body, string type, string hint, switch_bool_t blocking) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_send_args(dest_proto, proto, from, to, subject, body, type, hint, (int)blocking); - return ret; - } - - public static switch_status_t switch_core_chat_send(string dest_proto, switch_event message_event) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_send(dest_proto, switch_event.getCPtr(message_event)); - return ret; - } - - public static switch_status_t switch_core_chat_deliver(string dest_proto, SWIGTYPE_p_p_switch_event message_event) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_chat_deliver(dest_proto, SWIGTYPE_p_p_switch_event.getCPtr(message_event)); - return ret; - } - - public static switch_status_t switch_ivr_preprocess_session(SWIGTYPE_p_switch_core_session session, string cmds) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_preprocess_session(SWIGTYPE_p_switch_core_session.getCPtr(session), cmds); - return ret; - } - - public static void switch_core_sqldb_pause() { - freeswitchPINVOKE.switch_core_sqldb_pause(); - } - - public static void switch_core_sqldb_resume() { - freeswitchPINVOKE.switch_core_sqldb_resume(); - } - - public static string switch_cache_db_type_name(switch_cache_db_handle_type_t type) { - string ret = freeswitchPINVOKE.switch_cache_db_type_name((int)type); - return ret; - } - - public static switch_cache_db_handle_type_t switch_cache_db_get_type(SWIGTYPE_p_switch_cache_db_handle dbh) { - switch_cache_db_handle_type_t ret = (switch_cache_db_handle_type_t)freeswitchPINVOKE.switch_cache_db_get_type(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh)); - return ret; - } - - public static void switch_cache_db_dismiss_db_handle(SWIGTYPE_p_p_switch_cache_db_handle dbh) { - freeswitchPINVOKE.switch_cache_db_dismiss_db_handle(SWIGTYPE_p_p_switch_cache_db_handle.getCPtr(dbh)); - } - - public static void switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle dbh) { - freeswitchPINVOKE.switch_cache_db_release_db_handle(SWIGTYPE_p_p_switch_cache_db_handle.getCPtr(dbh)); - } - - public static switch_status_t _switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle dbh, switch_cache_db_handle_type_t type, switch_cache_db_connection_options_t connection_options, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE._switch_cache_db_get_db_handle(SWIGTYPE_p_p_switch_cache_db_handle.getCPtr(dbh), (int)type, switch_cache_db_connection_options_t.getCPtr(connection_options), file, func, line); - return ret; - } - - public static switch_status_t _switch_cache_db_get_db_handle_dsn(SWIGTYPE_p_p_switch_cache_db_handle dbh, string dsn, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE._switch_cache_db_get_db_handle_dsn(SWIGTYPE_p_p_switch_cache_db_handle.getCPtr(dbh), dsn, file, func, line); - return ret; - } - - public static switch_status_t switch_cache_db_create_schema(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_create_schema(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, ref err); - return ret; - } - - public static string switch_cache_db_execute_sql2str(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, string str, uint len, ref string err) { - string ret = freeswitchPINVOKE.switch_cache_db_execute_sql2str(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, str, len, ref err); - return ret; - } - - public static switch_status_t switch_cache_db_execute_sql(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_execute_sql(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, ref err); - return ret; - } - - public static switch_status_t switch_cache_db_execute_sql_callback(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int callback, SWIGTYPE_p_void pdata, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_execute_sql_callback(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pdata), ref err); - return ret; - } - - public static switch_status_t switch_cache_db_execute_sql_callback_err(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int callback, SWIGTYPE_p_f_p_void_p_q_const__char__int err_callback, SWIGTYPE_p_void pdata, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_execute_sql_callback_err(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int.getCPtr(callback), SWIGTYPE_p_f_p_void_p_q_const__char__int.getCPtr(err_callback), SWIGTYPE_p_void.getCPtr(pdata), ref err); - return ret; - } - - public static int switch_cache_db_affected_rows(SWIGTYPE_p_switch_cache_db_handle dbh) { - int ret = freeswitchPINVOKE.switch_cache_db_affected_rows(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh)); - return ret; - } - - public static int switch_cache_db_load_extension(SWIGTYPE_p_switch_cache_db_handle dbh, string extension) { - int ret = freeswitchPINVOKE.switch_cache_db_load_extension(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), extension); - return ret; - } - - public static void switch_cache_db_status(switch_stream_handle stream) { - freeswitchPINVOKE.switch_cache_db_status(switch_stream_handle.getCPtr(stream)); - } - - public static switch_status_t _switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle dbh, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE._switch_core_db_handle(SWIGTYPE_p_p_switch_cache_db_handle.getCPtr(dbh), file, func, line); - return ret; - } - - public static switch_bool_t switch_cache_db_test_reactive(SWIGTYPE_p_switch_cache_db_handle db, string test_sql, string drop_sql, string reactive_sql) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_cache_db_test_reactive(SWIGTYPE_p_switch_cache_db_handle.getCPtr(db), test_sql, drop_sql, reactive_sql); - return ret; - } - - public static switch_status_t switch_cache_db_persistant_execute(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, uint retries) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_persistant_execute(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, retries); - return ret; - } - - public static switch_status_t switch_cache_db_persistant_execute_trans_full(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, uint retries, string pre_trans_execute, string post_trans_execute, string inner_pre_trans_execute, string inner_post_trans_execute) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_persistant_execute_trans_full(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, retries, pre_trans_execute, post_trans_execute, inner_pre_trans_execute, inner_post_trans_execute); - return ret; - } - - public static void switch_core_set_signal_handlers() { - freeswitchPINVOKE.switch_core_set_signal_handlers(); - } - - public static uint switch_core_debug_level() { - uint ret = freeswitchPINVOKE.switch_core_debug_level(); - return ret; - } - - public static void switch_cache_db_flush_handles() { - freeswitchPINVOKE.switch_cache_db_flush_handles(); - } - - public static string switch_core_banner() { - string ret = freeswitchPINVOKE.switch_core_banner(); - return ret; - } - - public static switch_bool_t switch_core_session_in_thread(SWIGTYPE_p_switch_core_session session) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_session_in_thread(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static uint switch_default_ptime(string name, uint number) { - uint ret = freeswitchPINVOKE.switch_default_ptime(name, number); - return ret; - } - - public static uint switch_default_rate(string name, uint number) { - uint ret = freeswitchPINVOKE.switch_default_rate(name, number); - return ret; - } - - public static switch_status_t switch_core_add_registration(string user, string realm, string token, string url, uint expires, string network_ip, string network_port, string network_proto, string metadata) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_add_registration(user, realm, token, url, expires, network_ip, network_port, network_proto, metadata); - return ret; - } - - public static switch_status_t switch_core_del_registration(string user, string realm, string token) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_del_registration(user, realm, token); - return ret; - } - - public static switch_status_t switch_core_expire_registration(int force) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_expire_registration(force); - return ret; - } - - public static string switch_say_file_handle_get_variable(SWIGTYPE_p_switch_say_file_handle sh, string var) { - string ret = freeswitchPINVOKE.switch_say_file_handle_get_variable(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh), var); - return ret; - } - - public static string switch_say_file_handle_get_path(SWIGTYPE_p_switch_say_file_handle sh) { - string ret = freeswitchPINVOKE.switch_say_file_handle_get_path(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh)); - return ret; - } - - public static string switch_say_file_handle_detach_path(SWIGTYPE_p_switch_say_file_handle sh) { - string ret = freeswitchPINVOKE.switch_say_file_handle_detach_path(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh)); - return ret; - } - - public static void switch_say_file_handle_destroy(SWIGTYPE_p_p_switch_say_file_handle sh) { - freeswitchPINVOKE.switch_say_file_handle_destroy(SWIGTYPE_p_p_switch_say_file_handle.getCPtr(sh)); - } - - public static switch_status_t switch_say_file_handle_create(SWIGTYPE_p_p_switch_say_file_handle sh, string ext, SWIGTYPE_p_p_switch_event var_event) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_say_file_handle_create(SWIGTYPE_p_p_switch_say_file_handle.getCPtr(sh), ext, SWIGTYPE_p_p_switch_event.getCPtr(var_event)); - return ret; - } - - public static void switch_say_file(SWIGTYPE_p_switch_say_file_handle sh, string fmt) { - freeswitchPINVOKE.switch_say_file(SWIGTYPE_p_switch_say_file_handle.getCPtr(sh), fmt); - } - - public static int switch_max_file_desc() { - int ret = freeswitchPINVOKE.switch_max_file_desc(); - return ret; - } - - public static void switch_close_extra_files(SWIGTYPE_p_int keep, int keep_ttl) { - freeswitchPINVOKE.switch_close_extra_files(SWIGTYPE_p_int.getCPtr(keep), keep_ttl); - } - - public static switch_status_t switch_core_thread_set_cpu_affinity(int cpu) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_thread_set_cpu_affinity(cpu); - return ret; - } - - public static void switch_os_yield() { - freeswitchPINVOKE.switch_os_yield(); - } - - public static switch_status_t switch_core_get_stacksizes(SWIGTYPE_p_switch_size_t cur, SWIGTYPE_p_switch_size_t max) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_get_stacksizes(SWIGTYPE_p_switch_size_t.getCPtr(cur), SWIGTYPE_p_switch_size_t.getCPtr(max)); - return ret; - } - - public static void switch_core_gen_encoded_silence(SWIGTYPE_p_unsigned_char data, switch_codec_implementation read_impl, SWIGTYPE_p_switch_size_t len) { - freeswitchPINVOKE.switch_core_gen_encoded_silence(SWIGTYPE_p_unsigned_char.getCPtr(data), switch_codec_implementation.getCPtr(read_impl), SWIGTYPE_p_switch_size_t.getCPtr(len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - - public static switch_cache_db_handle_type_t switch_core_dbtype() { - switch_cache_db_handle_type_t ret = (switch_cache_db_handle_type_t)freeswitchPINVOKE.switch_core_dbtype(); - return ret; - } - - public static void switch_core_sql_exec(string sql) { - freeswitchPINVOKE.switch_core_sql_exec(sql); - } - - public static int switch_core_recovery_recover(string technology, string profile_name) { - int ret = freeswitchPINVOKE.switch_core_recovery_recover(technology, profile_name); - return ret; - } - - public static void switch_core_recovery_untrack(SWIGTYPE_p_switch_core_session session, switch_bool_t force) { - freeswitchPINVOKE.switch_core_recovery_untrack(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)force); - } - - public static void switch_core_recovery_track(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_core_recovery_track(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static void switch_core_recovery_flush(string technology, string profile_name) { - freeswitchPINVOKE.switch_core_recovery_flush(technology, profile_name); - } - - public static void switch_sql_queue_manager_pause(SWIGTYPE_p_switch_sql_queue_manager qm, switch_bool_t flush) { - freeswitchPINVOKE.switch_sql_queue_manager_pause(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), (int)flush); - } - - public static void switch_sql_queue_manager_resume(SWIGTYPE_p_switch_sql_queue_manager qm) { - freeswitchPINVOKE.switch_sql_queue_manager_resume(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm)); - } - - public static int switch_sql_queue_manager_size(SWIGTYPE_p_switch_sql_queue_manager qm, uint index) { - int ret = freeswitchPINVOKE.switch_sql_queue_manager_size(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), index); - return ret; - } - - public static switch_status_t switch_sql_queue_manager_push_confirm(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, uint pos, switch_bool_t dup) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_sql_queue_manager_push_confirm(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, pos, (int)dup); - return ret; - } - - public static switch_status_t switch_sql_queue_manager_push(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, uint pos, switch_bool_t dup) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_sql_queue_manager_push(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, pos, (int)dup); - return ret; - } - - public static switch_status_t switch_sql_queue_manager_destroy(SWIGTYPE_p_p_switch_sql_queue_manager qmp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_sql_queue_manager_destroy(SWIGTYPE_p_p_switch_sql_queue_manager.getCPtr(qmp)); - return ret; - } - - public static switch_status_t switch_sql_queue_manager_init_name(string name, SWIGTYPE_p_p_switch_sql_queue_manager qmp, uint numq, string dsn, uint max_trans, string pre_trans_execute, string post_trans_execute, string inner_pre_trans_execute, string inner_post_trans_execute) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_sql_queue_manager_init_name(name, SWIGTYPE_p_p_switch_sql_queue_manager.getCPtr(qmp), numq, dsn, max_trans, pre_trans_execute, post_trans_execute, inner_pre_trans_execute, inner_post_trans_execute); - return ret; - } - - public static switch_status_t switch_sql_queue_manager_start(SWIGTYPE_p_switch_sql_queue_manager qm) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_sql_queue_manager_start(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm)); - return ret; - } - - public static switch_status_t switch_sql_queue_manager_stop(SWIGTYPE_p_switch_sql_queue_manager qm) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_sql_queue_manager_stop(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm)); - return ret; - } - - public static switch_status_t switch_cache_db_execute_sql_event_callback(SWIGTYPE_p_switch_cache_db_handle dbh, string sql, SWIGTYPE_p_f_p_void_p_switch_event__int callback, SWIGTYPE_p_void pdata, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_cache_db_execute_sql_event_callback(SWIGTYPE_p_switch_cache_db_handle.getCPtr(dbh), sql, SWIGTYPE_p_f_p_void_p_switch_event__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pdata), ref err); - return ret; - } - - public static void switch_sql_queue_manager_execute_sql_callback(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int callback, SWIGTYPE_p_void pdata) { - freeswitchPINVOKE.switch_sql_queue_manager_execute_sql_callback(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pdata)); - } - - public static void switch_sql_queue_manager_execute_sql_callback_err(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int callback, SWIGTYPE_p_f_p_void_p_q_const__char__int err_callback, SWIGTYPE_p_void pdata) { - freeswitchPINVOKE.switch_sql_queue_manager_execute_sql_callback_err(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int.getCPtr(callback), SWIGTYPE_p_f_p_void_p_q_const__char__int.getCPtr(err_callback), SWIGTYPE_p_void.getCPtr(pdata)); - } - - public static void switch_sql_queue_manager_execute_sql_event_callback(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, SWIGTYPE_p_f_p_void_p_switch_event__int callback, SWIGTYPE_p_void pdata) { - freeswitchPINVOKE.switch_sql_queue_manager_execute_sql_event_callback(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, SWIGTYPE_p_f_p_void_p_switch_event__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(pdata)); - } - - public static void switch_sql_queue_manager_execute_sql_event_callback_err(SWIGTYPE_p_switch_sql_queue_manager qm, string sql, SWIGTYPE_p_f_p_void_p_switch_event__int callback, SWIGTYPE_p_f_p_void_p_q_const__char__int err_callback, SWIGTYPE_p_void pdata) { - freeswitchPINVOKE.switch_sql_queue_manager_execute_sql_event_callback_err(SWIGTYPE_p_switch_sql_queue_manager.getCPtr(qm), sql, SWIGTYPE_p_f_p_void_p_switch_event__int.getCPtr(callback), SWIGTYPE_p_f_p_void_p_q_const__char__int.getCPtr(err_callback), SWIGTYPE_p_void.getCPtr(pdata)); - } - - public static SWIGTYPE_p_pid_t switch_fork() { - SWIGTYPE_p_pid_t ret = new SWIGTYPE_p_pid_t(freeswitchPINVOKE.switch_fork(), true); - return ret; - } - - public static int switch_core_gen_certs(string prefix) { - int ret = freeswitchPINVOKE.switch_core_gen_certs(prefix); - return ret; - } - - public static int switch_core_cert_gen_fingerprint(string prefix, dtls_fingerprint_t fp) { - int ret = freeswitchPINVOKE.switch_core_cert_gen_fingerprint(prefix, dtls_fingerprint_t.getCPtr(fp)); - return ret; - } - - public static int switch_core_cert_expand_fingerprint(dtls_fingerprint_t fp, string str) { - int ret = freeswitchPINVOKE.switch_core_cert_expand_fingerprint(dtls_fingerprint_t.getCPtr(fp), str); - return ret; - } - - public static int switch_core_cert_verify(dtls_fingerprint_t fp) { - int ret = freeswitchPINVOKE.switch_core_cert_verify(dtls_fingerprint_t.getCPtr(fp)); - return ret; - } - - public static switch_status_t switch_core_session_refresh_video(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_refresh_video(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static int switch_stream_system_fork(string cmd, switch_stream_handle stream) { - int ret = freeswitchPINVOKE.switch_stream_system_fork(cmd, switch_stream_handle.getCPtr(stream)); - return ret; - } - - public static switch_call_direction_t switch_ice_direction(SWIGTYPE_p_switch_core_session session) { - switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_ice_direction(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static void switch_core_session_debug_pool(switch_stream_handle stream) { - freeswitchPINVOKE.switch_core_session_debug_pool(switch_stream_handle.getCPtr(stream)); - } - - public static string switch_version_major() { - string ret = freeswitchPINVOKE.switch_version_major(); - return ret; - } - - public static string switch_version_minor() { - string ret = freeswitchPINVOKE.switch_version_minor(); - return ret; - } - - public static string switch_version_micro() { - string ret = freeswitchPINVOKE.switch_version_micro(); - return ret; - } - - public static string switch_version_revision() { - string ret = freeswitchPINVOKE.switch_version_revision(); - return ret; - } - - public static string switch_version_revision_human() { - string ret = freeswitchPINVOKE.switch_version_revision_human(); - return ret; - } - - public static string switch_version_full() { - string ret = freeswitchPINVOKE.switch_version_full(); - return ret; - } - - public static string switch_version_full_human() { - string ret = freeswitchPINVOKE.switch_version_full_human(); - return ret; - } - - public static switch_status_t switch_loadable_module_init(switch_bool_t autoload) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_init((int)autoload); - return ret; - } - - public static void switch_loadable_module_shutdown() { - freeswitchPINVOKE.switch_loadable_module_shutdown(); - } - - public static switch_endpoint_interface switch_loadable_module_get_endpoint_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_endpoint_interface(name); - switch_endpoint_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); - return ret; - } - - public static switch_codec_interface switch_loadable_module_get_codec_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_codec_interface(name); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); - return ret; - } - - public static string switch_parse_codec_buf(string buf, SWIGTYPE_p_unsigned_long interval, SWIGTYPE_p_unsigned_long rate, SWIGTYPE_p_unsigned_long bit, SWIGTYPE_p_unsigned_long channels) { - string ret = freeswitchPINVOKE.switch_parse_codec_buf(buf, SWIGTYPE_p_unsigned_long.getCPtr(interval), SWIGTYPE_p_unsigned_long.getCPtr(rate), SWIGTYPE_p_unsigned_long.getCPtr(bit), SWIGTYPE_p_unsigned_long.getCPtr(channels)); - return ret; - } - - public static switch_dialplan_interface switch_loadable_module_get_dialplan_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_dialplan_interface(name); - switch_dialplan_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); - return ret; - } - - public static switch_status_t switch_loadable_module_enumerate_available(string dir_path, SWIGTYPE_p_f_p_void_p_q_const__char__int callback, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_enumerate_available(dir_path, SWIGTYPE_p_f_p_void_p_q_const__char__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static switch_status_t switch_loadable_module_enumerate_loaded(SWIGTYPE_p_f_p_void_p_q_const__char__int callback, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_enumerate_loaded(SWIGTYPE_p_f_p_void_p_q_const__char__int.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static switch_status_t switch_loadable_module_build_dynamic(string filename, SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t switch_module_load, SWIGTYPE_p_f_void__switch_status_t switch_module_runtime, SWIGTYPE_p_f_void__switch_status_t switch_module_shutdown, switch_bool_t runtime) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_build_dynamic(filename, SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t.getCPtr(switch_module_load), SWIGTYPE_p_f_void__switch_status_t.getCPtr(switch_module_runtime), SWIGTYPE_p_f_void__switch_status_t.getCPtr(switch_module_shutdown), (int)runtime); - return ret; - } - - public static switch_timer_interface switch_loadable_module_get_timer_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_timer_interface(name); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); - return ret; - } - - public static switch_application_interface switch_loadable_module_get_application_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_application_interface(name); - switch_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); - return ret; - } - - public static switch_chat_application_interface switch_loadable_module_get_chat_application_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_application_interface(name); - switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_execute_chat_app(switch_event message, string app, string data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_execute_chat_app(switch_event.getCPtr(message), app, data); - return ret; - } - - public static switch_api_interface switch_loadable_module_get_api_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_api_interface(name); - switch_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); - return ret; - } - - public static switch_json_api_interface switch_loadable_module_get_json_api_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_json_api_interface(name); - switch_json_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); - return ret; - } - - public static switch_file_interface switch_loadable_module_get_file_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_file_interface(name); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); - return ret; - } - - public static switch_speech_interface switch_loadable_module_get_speech_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_speech_interface(name); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); - return ret; - } - - public static switch_asr_interface switch_loadable_module_get_asr_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_asr_interface(name); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); - return ret; - } - - public static switch_directory_interface switch_loadable_module_get_directory_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_directory_interface(name); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); - return ret; - } - - public static switch_chat_interface switch_loadable_module_get_chat_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_interface(name); - switch_chat_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); - return ret; - } - - public static switch_say_interface switch_loadable_module_get_say_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_say_interface(name); - switch_say_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); - return ret; - } - - public static switch_management_interface switch_loadable_module_get_management_interface(string relative_oid) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_management_interface(relative_oid); - switch_management_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); - return ret; - } - - public static switch_limit_interface switch_loadable_module_get_limit_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_limit_interface(name); - switch_limit_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); - return ret; - } - - public static int switch_loadable_module_get_codecs(SWIGTYPE_p_p_switch_codec_implementation array, int arraylen) { - int ret = freeswitchPINVOKE.switch_loadable_module_get_codecs(SWIGTYPE_p_p_switch_codec_implementation.getCPtr(array), arraylen); - return ret; - } - - public static int switch_loadable_module_get_codecs_sorted(SWIGTYPE_p_p_switch_codec_implementation array, int arraylen, ref string prefs, int preflen) { - int ret = freeswitchPINVOKE.switch_loadable_module_get_codecs_sorted(SWIGTYPE_p_p_switch_codec_implementation.getCPtr(array), arraylen, ref prefs, preflen); - return ret; - } - - public static switch_status_t switch_api_execute(string cmd, string arg, SWIGTYPE_p_switch_core_session session, switch_stream_handle stream) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_api_execute(cmd, arg, SWIGTYPE_p_switch_core_session.getCPtr(session), switch_stream_handle.getCPtr(stream)); - return ret; - } - - public static switch_status_t switch_json_api_execute(SWIGTYPE_p_cJSON json, SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_cJSON retval) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_json_api_execute(SWIGTYPE_p_cJSON.getCPtr(json), SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_cJSON.getCPtr(retval)); - return ret; - } - - public static switch_status_t switch_loadable_module_load_module(string dir, string fname, switch_bool_t runtime, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_load_module(dir, fname, (int)runtime, ref err); - return ret; - } - - public static switch_status_t switch_loadable_module_exists(string mod) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_exists(mod); - return ret; - } - - public static switch_status_t switch_loadable_module_unload_module(string dir, string fname, switch_bool_t force, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_unload_module(dir, fname, (int)force, ref err); - return ret; - } - - public static uint switch_core_codec_next_id() { - uint ret = freeswitchPINVOKE.switch_core_codec_next_id(); - return ret; - } - - public static int switch_check_interval(uint rate, uint ptime) { - int ret = freeswitchPINVOKE.switch_check_interval(rate, ptime); - return ret; - } - - public static void switch_core_codec_add_implementation(SWIGTYPE_p_apr_pool_t pool, switch_codec_interface codec_interface, switch_codec_type_t codec_type, byte ianacode, string iananame, string fmtp, uint samples_per_second, uint actual_samples_per_second, int bits_per_second, int microseconds_per_packet, uint samples_per_packet, uint decoded_bytes_per_packet, uint encoded_bytes_per_packet, byte number_of_channels, int codec_frames_per_packet, SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t init, SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t encode, SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t decode, SWIGTYPE_p_f_p_switch_codec__switch_status_t destroy) { - freeswitchPINVOKE.switch_core_codec_add_implementation(SWIGTYPE_p_apr_pool_t.getCPtr(pool), switch_codec_interface.getCPtr(codec_interface), (int)codec_type, ianacode, iananame, fmtp, samples_per_second, actual_samples_per_second, bits_per_second, microseconds_per_packet, samples_per_packet, decoded_bytes_per_packet, encoded_bytes_per_packet, number_of_channels, codec_frames_per_packet, SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.getCPtr(init), SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.getCPtr(encode), SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.getCPtr(decode), SWIGTYPE_p_f_p_switch_codec__switch_status_t.getCPtr(destroy)); - } - - public static switch_bool_t switch_core_codec_ready(switch_codec codec) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_codec_ready(switch_codec.getCPtr(codec)); - return ret; - } - - public static SWIGTYPE_p_f_p_switch_core_session__int switch_core_get_secondary_recover_callback(string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_get_secondary_recover_callback(key); - SWIGTYPE_p_f_p_switch_core_session__int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__int(cPtr, false); - return ret; - } - - public static switch_status_t switch_core_register_secondary_recover_callback(string key, SWIGTYPE_p_f_p_switch_core_session__int cb) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_register_secondary_recover_callback(key, SWIGTYPE_p_f_p_switch_core_session__int.getCPtr(cb)); - return ret; - } - - public static void switch_core_unregister_secondary_recover_callback(string key) { - freeswitchPINVOKE.switch_core_unregister_secondary_recover_callback(key); - } - - public static void switch_console_loop() { - freeswitchPINVOKE.switch_console_loop(); - } - - public static switch_status_t switch_console_stream_raw_write(switch_stream_handle handle, SWIGTYPE_p_unsigned_char data, SWIGTYPE_p_switch_size_t datalen) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_stream_raw_write(switch_stream_handle.getCPtr(handle), SWIGTYPE_p_unsigned_char.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_stream_write_file_contents(switch_stream_handle stream, string path) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_stream_write_file_contents(switch_stream_handle.getCPtr(stream), path); - return ret; - } - - public static switch_status_t switch_console_init(SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_console_shutdown() { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_shutdown(); - return ret; - } - - public static switch_status_t switch_console_add_complete_func(string name, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t cb) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_add_complete_func(name, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t.getCPtr(cb)); - return ret; - } - - public static switch_status_t switch_console_del_complete_func(string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_del_complete_func(name); - return ret; - } - - public static switch_status_t switch_console_run_complete_func(string func, string line, string last_word, SWIGTYPE_p_p_switch_console_callback_match matches) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_run_complete_func(func, line, last_word, SWIGTYPE_p_p_switch_console_callback_match.getCPtr(matches)); - return ret; - } - - public static void switch_console_push_match_unique(SWIGTYPE_p_p_switch_console_callback_match matches, string new_val) { - freeswitchPINVOKE.switch_console_push_match_unique(SWIGTYPE_p_p_switch_console_callback_match.getCPtr(matches), new_val); - } - - public static void switch_console_push_match(SWIGTYPE_p_p_switch_console_callback_match matches, string new_val) { - freeswitchPINVOKE.switch_console_push_match(SWIGTYPE_p_p_switch_console_callback_match.getCPtr(matches), new_val); - } - - public static void switch_console_free_matches(SWIGTYPE_p_p_switch_console_callback_match matches) { - freeswitchPINVOKE.switch_console_free_matches(SWIGTYPE_p_p_switch_console_callback_match.getCPtr(matches)); - } - - public static byte switch_console_complete(string line, string last_word, SWIGTYPE_p_FILE console_out, switch_stream_handle stream, switch_xml xml) { - byte ret = freeswitchPINVOKE.switch_console_complete(line, last_word, SWIGTYPE_p_FILE.getCPtr(console_out), switch_stream_handle.getCPtr(stream), switch_xml.getCPtr(xml)); - return ret; - } - - public static void switch_console_sort_matches(switch_console_callback_match matches) { - freeswitchPINVOKE.switch_console_sort_matches(switch_console_callback_match.getCPtr(matches)); - } - - public static void switch_console_save_history() { - freeswitchPINVOKE.switch_console_save_history(); - } - - public static string switch_console_expand_alias(string cmd, string arg) { - string ret = freeswitchPINVOKE.switch_console_expand_alias(cmd, arg); - return ret; - } - - public static switch_status_t switch_console_execute(string xcmd, int rec, switch_stream_handle istream) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_console_execute(xcmd, rec, switch_stream_handle.getCPtr(istream)); - return ret; - } - - public static uint switch_toupper(uint eax) { - uint ret = freeswitchPINVOKE.switch_toupper(eax); - return ret; - } - - public static uint switch_tolower(uint eax) { - uint ret = freeswitchPINVOKE.switch_tolower(eax); - return ret; - } - - public static void switch_toupper_max(string s) { - freeswitchPINVOKE.switch_toupper_max(s); - } - - public static void switch_tolower_max(string s) { - freeswitchPINVOKE.switch_tolower_max(s); - } - - public static int old_switch_toupper(int c) { - int ret = freeswitchPINVOKE.old_switch_toupper(c); - return ret; - } - - public static int old_switch_tolower(int c) { - int ret = freeswitchPINVOKE.old_switch_tolower(c); - return ret; - } - - public static int switch_isalnum(int c) { - int ret = freeswitchPINVOKE.switch_isalnum(c); - return ret; - } - - public static int switch_isalpha(int c) { - int ret = freeswitchPINVOKE.switch_isalpha(c); - return ret; - } - - public static int switch_iscntrl(int c) { - int ret = freeswitchPINVOKE.switch_iscntrl(c); - return ret; - } - - public static int switch_isdigit(int c) { - int ret = freeswitchPINVOKE.switch_isdigit(c); - return ret; - } - - public static int switch_isgraph(int c) { - int ret = freeswitchPINVOKE.switch_isgraph(c); - return ret; - } - - public static int switch_islower(int c) { - int ret = freeswitchPINVOKE.switch_islower(c); - return ret; - } - - public static int switch_isprint(int c) { - int ret = freeswitchPINVOKE.switch_isprint(c); - return ret; - } - - public static int switch_ispunct(int c) { - int ret = freeswitchPINVOKE.switch_ispunct(c); - return ret; - } - - public static int switch_isspace(int c) { - int ret = freeswitchPINVOKE.switch_isspace(c); - return ret; - } - - public static int switch_isupper(int c) { - int ret = freeswitchPINVOKE.switch_isupper(c); - return ret; - } - - public static int switch_isxdigit(int c) { - int ret = freeswitchPINVOKE.switch_isxdigit(c); - return ret; - } - - public static switch_bool_t switch_testv6_subnet(ip_t _ip, ip_t _net, ip_t _mask) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_testv6_subnet(ip_t.getCPtr(_ip), ip_t.getCPtr(_net), ip_t.getCPtr(_mask)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_print_host(SWIGTYPE_p_switch_sockaddr_t addr, string buf, SWIGTYPE_p_switch_size_t len) { - string ret = freeswitchPINVOKE.switch_print_host(SWIGTYPE_p_switch_sockaddr_t.getCPtr(addr), buf, SWIGTYPE_p_switch_size_t.getCPtr(len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int _zstr(string s) { - int ret = freeswitchPINVOKE._zstr(s); - return ret; - } - - public static switch_bool_t switch_is_moh(string s) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_moh(s); - return ret; - } - - public static string switch_strchr_strict(string arg0, char find, string allowed) { - string ret = freeswitchPINVOKE.switch_strchr_strict(arg0, find, allowed); - return ret; - } - - public static int switch_string_has_escaped_data(string arg0) { - int ret = freeswitchPINVOKE.switch_string_has_escaped_data(arg0); - return ret; - } - - public static switch_status_t switch_b64_encode(SWIGTYPE_p_unsigned_char arg0, SWIGTYPE_p_switch_size_t ilen, SWIGTYPE_p_unsigned_char arg2, SWIGTYPE_p_switch_size_t olen) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_b64_encode(SWIGTYPE_p_unsigned_char.getCPtr(arg0), SWIGTYPE_p_switch_size_t.getCPtr(ilen), SWIGTYPE_p_unsigned_char.getCPtr(arg2), SWIGTYPE_p_switch_size_t.getCPtr(olen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_b64_decode(string arg0, string arg1, SWIGTYPE_p_switch_size_t olen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_b64_decode(arg0, arg1, SWIGTYPE_p_switch_size_t.getCPtr(olen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_amp_encode(string s, string buf, SWIGTYPE_p_switch_size_t len) { - string ret = freeswitchPINVOKE.switch_amp_encode(s, buf, SWIGTYPE_p_switch_size_t.getCPtr(len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_bool_t switch_is_digit_string(string s) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_digit_string(s); - return ret; - } - - public static char switch_itodtmf(char i) { - char ret = freeswitchPINVOKE.switch_itodtmf(i); - return ret; - } - - public static int switch_dtmftoi(string s) { - int ret = freeswitchPINVOKE.switch_dtmftoi(s); - return ret; - } - - public static uint switch_known_bitrate(byte payload) { - uint ret = freeswitchPINVOKE.switch_known_bitrate(payload); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_fd_read_line(int fd, string buf, SWIGTYPE_p_switch_size_t len) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_fd_read_line(fd, buf, SWIGTYPE_p_switch_size_t.getCPtr(len)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_fd_read_dline(int fd, ref string buf, SWIGTYPE_p_switch_size_t len) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_fd_read_dline(fd, ref buf, SWIGTYPE_p_switch_size_t.getCPtr(len)), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_fp_read_dline(SWIGTYPE_p_FILE fd, ref string buf, SWIGTYPE_p_switch_size_t len) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_fp_read_dline(SWIGTYPE_p_FILE.getCPtr(fd), ref buf, SWIGTYPE_p_switch_size_t.getCPtr(len)), true); - return ret; - } - - public static switch_status_t switch_frame_alloc(SWIGTYPE_p_p_switch_frame frame, SWIGTYPE_p_switch_size_t size) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_frame_alloc(SWIGTYPE_p_p_switch_frame.getCPtr(frame), SWIGTYPE_p_switch_size_t.getCPtr(size)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_frame_dup(switch_frame orig, SWIGTYPE_p_p_switch_frame clone) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_frame_dup(switch_frame.getCPtr(orig), SWIGTYPE_p_p_switch_frame.getCPtr(clone)); - return ret; - } - - public static switch_status_t switch_frame_free(SWIGTYPE_p_p_switch_frame frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_frame_free(SWIGTYPE_p_p_switch_frame.getCPtr(frame)); - return ret; - } - - public static switch_bool_t switch_is_number(string str) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_number(str); - return ret; - } - - public static switch_bool_t switch_is_leading_number(string str) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_leading_number(str); - return ret; - } - - public static string switch_find_parameter(string str, string param, SWIGTYPE_p_apr_pool_t pool) { - string ret = freeswitchPINVOKE.switch_find_parameter(str, param, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static int switch_true(string expr) { - int ret = freeswitchPINVOKE.switch_true(expr); - return ret; - } - - public static byte switch_true_byte(string expr) { - byte ret = freeswitchPINVOKE.switch_true_byte(expr); - return ret; - } - - public static int switch_false(string expr) { - int ret = freeswitchPINVOKE.switch_false(expr); - return ret; - } - - public static switch_status_t switch_resolve_host(string host, string buf, uint buflen) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_resolve_host(host, buf, buflen); - return ret; - } - - public static switch_status_t switch_find_local_ip(string buf, int len, SWIGTYPE_p_int mask, int family) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_find_local_ip(buf, len, SWIGTYPE_p_int.getCPtr(mask), family); - return ret; - } - - public static switch_status_t switch_find_interface_ip(string buf, int len, SWIGTYPE_p_int mask, string ifname, int family) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_find_interface_ip(buf, len, SWIGTYPE_p_int.getCPtr(mask), ifname, family); - return ret; - } - - public static string get_addr(string buf, SWIGTYPE_p_switch_size_t len, SWIGTYPE_p_sockaddr sa, SWIGTYPE_p_socklen_t salen) { - string ret = freeswitchPINVOKE.get_addr(buf, SWIGTYPE_p_switch_size_t.getCPtr(len), SWIGTYPE_p_sockaddr.getCPtr(sa), SWIGTYPE_p_socklen_t.getCPtr(salen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string get_addr6(string buf, SWIGTYPE_p_switch_size_t len, SWIGTYPE_p_sockaddr_in6 sa, SWIGTYPE_p_socklen_t salen) { - string ret = freeswitchPINVOKE.get_addr6(buf, SWIGTYPE_p_switch_size_t.getCPtr(len), SWIGTYPE_p_sockaddr_in6.getCPtr(sa), SWIGTYPE_p_socklen_t.getCPtr(salen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int get_addr_int(SWIGTYPE_p_switch_sockaddr_t sa) { - int ret = freeswitchPINVOKE.get_addr_int(SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa)); - return ret; - } - - public static int switch_cmp_addr(SWIGTYPE_p_switch_sockaddr_t sa1, SWIGTYPE_p_switch_sockaddr_t sa2) { - int ret = freeswitchPINVOKE.switch_cmp_addr(SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa1), SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa2)); - return ret; - } - - public static ushort get_port(SWIGTYPE_p_sockaddr sa) { - ushort ret = freeswitchPINVOKE.get_port(SWIGTYPE_p_sockaddr.getCPtr(sa)); - return ret; - } - - public static int switch_build_uri(string uri, SWIGTYPE_p_switch_size_t size, string scheme, string user, SWIGTYPE_p_switch_sockaddr_t sa, int flags) { - int ret = freeswitchPINVOKE.switch_build_uri(uri, SWIGTYPE_p_switch_size_t.getCPtr(size), scheme, user, SWIGTYPE_p_switch_sockaddr_t.getCPtr(sa), flags); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int switch_errno_is_break(int errcode) { - int ret = freeswitchPINVOKE.switch_errno_is_break(errcode); - return ret; - } - - public static string switch_priority_name(switch_priority_t priority) { - string ret = freeswitchPINVOKE.switch_priority_name((int)priority); - return ret; - } - - public static char switch_rfc2833_to_char(int arg0) { - char ret = freeswitchPINVOKE.switch_rfc2833_to_char(arg0); - return ret; - } - - public static byte switch_char_to_rfc2833(char key) { - byte ret = freeswitchPINVOKE.switch_char_to_rfc2833(key); - return ret; - } - - public static string switch_sanitize_number(string number) { - string ret = freeswitchPINVOKE.switch_sanitize_number(number); - return ret; - } - - public static switch_bool_t switch_string_var_check(string s, switch_bool_t disable) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_string_var_check(s, (int)disable); - return ret; - } - - public static switch_bool_t switch_string_var_check_const(string s) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_string_var_check_const(s); - return ret; - } - - public static string switch_var_clean_string(string s) { - string ret = freeswitchPINVOKE.switch_var_clean_string(s); - return ret; - } - - public static string switch_clean_string(string s) { - string ret = freeswitchPINVOKE.switch_clean_string(s); - return ret; - } - - public static string switch_clean_name_string(string s) { - string ret = freeswitchPINVOKE.switch_clean_name_string(s); - return ret; - } - - public static int switch_safe_atoi(string nptr, int dft) { - int ret = freeswitchPINVOKE.switch_safe_atoi(nptr, dft); - return ret; - } - - public static string switch_safe_strdup(string it) { - string ret = freeswitchPINVOKE.switch_safe_strdup(it); - return ret; - } - - public static string switch_lc_strdup(string it) { - string ret = freeswitchPINVOKE.switch_lc_strdup(it); - return ret; - } - - public static string switch_uc_strdup(string it) { - string ret = freeswitchPINVOKE.switch_uc_strdup(it); - return ret; - } - - public static switch_bool_t switch_strstr(string s, string q) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_strstr(s, q); - return ret; - } - - public static SWIGTYPE_p_switch_time_t switch_str_time(string arg0) { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_str_time(arg0), true); - return ret; - } - - public static uint switch_separate_string(string buf, char delim, ref string array, uint arraylen) { - uint ret = freeswitchPINVOKE.switch_separate_string(buf, delim, ref array, arraylen); - return ret; - } - - public static uint switch_separate_string_string(string buf, string delim, ref string array, uint arraylen) { - uint ret = freeswitchPINVOKE.switch_separate_string_string(buf, delim, ref array, arraylen); - return ret; - } - - public static string switch_strip_spaces(string str, switch_bool_t dup) { - string ret = freeswitchPINVOKE.switch_strip_spaces(str, (int)dup); - return ret; - } - - public static string switch_strip_whitespace(string str) { - string ret = freeswitchPINVOKE.switch_strip_whitespace(str); - return ret; - } - - public static string switch_strip_commas(string arg0, string arg1, SWIGTYPE_p_switch_size_t len) { - string ret = freeswitchPINVOKE.switch_strip_commas(arg0, arg1, SWIGTYPE_p_switch_size_t.getCPtr(len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_strip_nonnumerics(string arg0, string arg1, SWIGTYPE_p_switch_size_t len) { - string ret = freeswitchPINVOKE.switch_strip_nonnumerics(arg0, arg1, SWIGTYPE_p_switch_size_t.getCPtr(len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_separate_paren_args(string str) { - string ret = freeswitchPINVOKE.switch_separate_paren_args(str); - return ret; - } - - public static string switch_stristr(string instr, string str) { - string ret = freeswitchPINVOKE.switch_stristr(instr, str); - return ret; - } - - public static switch_bool_t switch_is_lan_addr(string ip) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_lan_addr(ip); - return ret; - } - - public static string switch_replace_char(string str, char from, char to, switch_bool_t dup) { - string ret = freeswitchPINVOKE.switch_replace_char(str, from, to, (int)dup); - return ret; - } - - public static switch_bool_t switch_ast2regex(string pat, string rbuf, uint len) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_ast2regex(pat, rbuf, len); - return ret; - } - - public static string switch_escape_char(SWIGTYPE_p_apr_pool_t pool, string arg1, string delim, char esc) { - string ret = freeswitchPINVOKE.switch_escape_char(SWIGTYPE_p_apr_pool_t.getCPtr(pool), arg1, delim, esc); - return ret; - } - - public static string switch_escape_string(string arg0, string arg1, SWIGTYPE_p_switch_size_t outlen) { - string ret = freeswitchPINVOKE.switch_escape_string(arg0, arg1, SWIGTYPE_p_switch_size_t.getCPtr(outlen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_escape_string_pool(string arg0, SWIGTYPE_p_apr_pool_t pool) { - string ret = freeswitchPINVOKE.switch_escape_string_pool(arg0, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static int switch_socket_waitfor(SWIGTYPE_p_switch_pollfd_t poll, int ms) { - int ret = freeswitchPINVOKE.switch_socket_waitfor(SWIGTYPE_p_switch_pollfd_t.getCPtr(poll), ms); - return ret; - } - - public static string switch_cut_path(string arg0) { - string ret = freeswitchPINVOKE.switch_cut_path(arg0); - return ret; - } - - public static string switch_string_replace(string arg0, string search, string replace) { - string ret = freeswitchPINVOKE.switch_string_replace(arg0, search, replace); - return ret; - } - - public static switch_status_t switch_string_match(string arg0, uint string_len, string search, uint search_len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_string_match(arg0, string_len, search, search_len); - return ret; - } - - public static int switch_strcasecmp_any(string str) { - int ret = freeswitchPINVOKE.switch_strcasecmp_any(str); - return ret; - } - - public static string switch_util_quote_shell_arg(string arg0) { - string ret = freeswitchPINVOKE.switch_util_quote_shell_arg(arg0); - return ret; - } - - public static string switch_util_quote_shell_arg_pool(string arg0, SWIGTYPE_p_apr_pool_t pool) { - string ret = freeswitchPINVOKE.switch_util_quote_shell_arg_pool(arg0, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static int switch_needs_url_encode(string s) { - int ret = freeswitchPINVOKE.switch_needs_url_encode(s); - return ret; - } - - public static string switch_url_encode(string url, string buf, uint len) { - string ret = freeswitchPINVOKE.switch_url_encode(url, buf, len); - return ret; - } - - public static string switch_url_decode(string s) { - string ret = freeswitchPINVOKE.switch_url_decode(s); - return ret; - } - - public static switch_bool_t switch_simple_email(string to, string from, string headers, string body, string file, string convert_cmd, string convert_ext) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_simple_email(to, from, headers, body, file, convert_cmd, convert_ext); - return ret; - } - - public static string switch_find_end_paren(string s, char open, char close) { - string ret = freeswitchPINVOKE.switch_find_end_paren(s, open, close); - return ret; - } - - public static void switch_separate_file_params(string file, ref string file_portion, ref string params_portion) { - freeswitchPINVOKE.switch_separate_file_params(file, ref file_portion, ref params_portion); - } - - public static switch_bool_t switch_is_file_path(string file) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_file_path(file); - return ret; - } - - public static int switch_parse_cidr(string arg0, ip_t ip, ip_t mask, SWIGTYPE_p_unsigned_long bitp) { - int ret = freeswitchPINVOKE.switch_parse_cidr(arg0, ip_t.getCPtr(ip), ip_t.getCPtr(mask), SWIGTYPE_p_unsigned_long.getCPtr(bitp)); - return ret; - } - - public static switch_status_t switch_network_list_create(SWIGTYPE_p_p_switch_network_list list, string name, switch_bool_t default_type, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_network_list_create(SWIGTYPE_p_p_switch_network_list.getCPtr(list), name, (int)default_type, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_network_list_add_cidr_token(SWIGTYPE_p_switch_network_list list, string cidr_str, switch_bool_t ok, string token) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_network_list_add_cidr_token(SWIGTYPE_p_switch_network_list.getCPtr(list), cidr_str, (int)ok, token); - return ret; - } - - public static switch_status_t switch_network_list_add_host_mask(SWIGTYPE_p_switch_network_list list, string host, string mask_str, switch_bool_t ok) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_network_list_add_host_mask(SWIGTYPE_p_switch_network_list.getCPtr(list), host, mask_str, (int)ok); - return ret; - } - - public static switch_bool_t switch_network_list_validate_ip_token(SWIGTYPE_p_switch_network_list list, uint ip, ref string token) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_network_list_validate_ip_token(SWIGTYPE_p_switch_network_list.getCPtr(list), ip, ref token); - return ret; - } - - public static switch_bool_t switch_network_list_validate_ip6_token(SWIGTYPE_p_switch_network_list list, ip_t ip, ref string token) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_network_list_validate_ip6_token(SWIGTYPE_p_switch_network_list.getCPtr(list), ip_t.getCPtr(ip), ref token); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_dow_int2str(int val) { - string ret = freeswitchPINVOKE.switch_dow_int2str(val); - return ret; - } - - public static int switch_dow_str2int(string exp) { - int ret = freeswitchPINVOKE.switch_dow_str2int(exp); - return ret; - } - - public static switch_bool_t switch_dow_cmp(string exp, int val) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_dow_cmp(exp, val); - return ret; - } - - public static int switch_number_cmp(string exp, int val) { - int ret = freeswitchPINVOKE.switch_number_cmp(exp, val); - return ret; - } - - public static int switch_tod_cmp(string exp, int val) { - int ret = freeswitchPINVOKE.switch_tod_cmp(exp, val); - return ret; - } - - public static int switch_fulldate_cmp(string exp, SWIGTYPE_p_switch_time_t ts) { - int ret = freeswitchPINVOKE.switch_fulldate_cmp(exp, SWIGTYPE_p_switch_time_t.getCPtr(ts)); - return ret; - } - - public static void switch_split_date(string exp, SWIGTYPE_p_int year, SWIGTYPE_p_int month, SWIGTYPE_p_int day) { - freeswitchPINVOKE.switch_split_date(exp, SWIGTYPE_p_int.getCPtr(year), SWIGTYPE_p_int.getCPtr(month), SWIGTYPE_p_int.getCPtr(day)); - } - - public static void switch_split_time(string exp, SWIGTYPE_p_int hour, SWIGTYPE_p_int min, SWIGTYPE_p_int sec) { - freeswitchPINVOKE.switch_split_time(exp, SWIGTYPE_p_int.getCPtr(hour), SWIGTYPE_p_int.getCPtr(min), SWIGTYPE_p_int.getCPtr(sec)); - } - - public static int switch_split_user_domain(string arg0, ref string user, ref string domain) { - int ret = freeswitchPINVOKE.switch_split_user_domain(arg0, ref user, ref domain); - return ret; - } - - public static string switch_uuid_str(string buf, SWIGTYPE_p_switch_size_t len) { - string ret = freeswitchPINVOKE.switch_uuid_str(buf, SWIGTYPE_p_switch_size_t.getCPtr(len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_format_number(string num) { - string ret = freeswitchPINVOKE.switch_format_number(num); - return ret; - } - - public static uint switch_atoui(string nptr) { - uint ret = freeswitchPINVOKE.switch_atoui(nptr); - return ret; - } - - public static uint switch_atoul(string nptr) { - uint ret = freeswitchPINVOKE.switch_atoul(nptr); - return ret; - } - - public static string switch_strerror_r(int errnum, string buf, SWIGTYPE_p_switch_size_t buflen) { - string ret = freeswitchPINVOKE.switch_strerror_r(errnum, buf, SWIGTYPE_p_switch_size_t.getCPtr(buflen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int switch_wait_sock(int sock, uint ms, switch_poll_t flags) { - int ret = freeswitchPINVOKE.switch_wait_sock(sock, ms, (int)flags); - return ret; - } - - public static int switch_wait_socklist(switch_waitlist_t waitlist, uint len, uint ms) { - int ret = freeswitchPINVOKE.switch_wait_socklist(switch_waitlist_t.getCPtr(waitlist), len, ms); - return ret; - } - - public static switch_status_t switch_http_parse_header(string buffer, uint datalen, switch_http_request_t request) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_http_parse_header(buffer, datalen, switch_http_request_t.getCPtr(request)); - return ret; - } - - public static void switch_http_free_request(switch_http_request_t request) { - freeswitchPINVOKE.switch_http_free_request(switch_http_request_t.getCPtr(request)); - } - - public static void switch_http_dump_request(switch_http_request_t request) { - freeswitchPINVOKE.switch_http_dump_request(switch_http_request_t.getCPtr(request)); - } - - public static void switch_http_parse_qs(switch_http_request_t request, string qs) { - freeswitchPINVOKE.switch_http_parse_qs(switch_http_request_t.getCPtr(request), qs); - } - - public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); - return ret; - } - - public static switch_status_t switch_caller_extension_clone(SWIGTYPE_p_p_switch_caller_extension new_ext, switch_caller_extension orig, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_caller_extension_clone(SWIGTYPE_p_p_switch_caller_extension.getCPtr(new_ext), switch_caller_extension.getCPtr(orig), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static void switch_caller_extension_add_application(SWIGTYPE_p_switch_core_session session, switch_caller_extension caller_extension, string application_name, string extra_data) { - freeswitchPINVOKE.switch_caller_extension_add_application(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_caller_extension.getCPtr(caller_extension), application_name, extra_data); - } - - public static void switch_caller_extension_add_application_printf(SWIGTYPE_p_switch_core_session session, switch_caller_extension caller_extension, string application_name, string fmt) { - freeswitchPINVOKE.switch_caller_extension_add_application_printf(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_caller_extension.getCPtr(caller_extension), application_name, fmt); - } - - public static string switch_caller_get_field_by_name(switch_caller_profile caller_profile, string name) { - string ret = freeswitchPINVOKE.switch_caller_get_field_by_name(switch_caller_profile.getCPtr(caller_profile), name); - return ret; - } - - public static switch_caller_profile switch_caller_profile_new(SWIGTYPE_p_apr_pool_t pool, string username, string dialplan, string caller_id_name, string caller_id_number, string network_addr, string ani, string aniii, string rdnis, string source, string context, string destination_number) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_new(SWIGTYPE_p_apr_pool_t.getCPtr(pool), username, dialplan, caller_id_name, caller_id_number, network_addr, ani, aniii, rdnis, source, context, destination_number); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - - public static switch_caller_profile switch_caller_profile_clone(SWIGTYPE_p_switch_core_session session, switch_caller_profile tocopy) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_clone(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_caller_profile.getCPtr(tocopy)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - - public static switch_caller_profile switch_caller_profile_dup(SWIGTYPE_p_apr_pool_t pool, switch_caller_profile tocopy) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_dup(SWIGTYPE_p_apr_pool_t.getCPtr(pool), switch_caller_profile.getCPtr(tocopy)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - - public static void switch_caller_profile_event_set_data(switch_caller_profile caller_profile, string prefix, switch_event arg2) { - freeswitchPINVOKE.switch_caller_profile_event_set_data(switch_caller_profile.getCPtr(caller_profile), prefix, switch_event.getCPtr(arg2)); - } - - public static switch_channel_state_t switch_channel_get_state(SWIGTYPE_p_switch_channel channel) { - switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.switch_channel_get_state(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_channel_state_t switch_channel_get_running_state(SWIGTYPE_p_switch_channel channel) { - switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.switch_channel_get_running_state(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static int switch_channel_check_signal(SWIGTYPE_p_switch_channel channel, switch_bool_t in_thread_only) { - int ret = freeswitchPINVOKE.switch_channel_check_signal(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)in_thread_only); - return ret; - } - - public static int switch_channel_test_ready(SWIGTYPE_p_switch_channel channel, switch_bool_t check_ready, switch_bool_t check_media) { - int ret = freeswitchPINVOKE.switch_channel_test_ready(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)check_ready, (int)check_media); - return ret; - } - - public static void switch_channel_wait_for_state(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_switch_channel other_channel, switch_channel_state_t want_state) { - freeswitchPINVOKE.switch_channel_wait_for_state(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_switch_channel.getCPtr(other_channel), (int)want_state); - } - - public static void switch_channel_wait_for_state_timeout(SWIGTYPE_p_switch_channel other_channel, switch_channel_state_t want_state, uint timeout) { - freeswitchPINVOKE.switch_channel_wait_for_state_timeout(SWIGTYPE_p_switch_channel.getCPtr(other_channel), (int)want_state, timeout); - } - - public static switch_status_t switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t want_flag, switch_bool_t pres, uint to, SWIGTYPE_p_switch_channel super_channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_wait_for_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)want_flag, (int)pres, to, SWIGTYPE_p_switch_channel.getCPtr(super_channel)); - return ret; - } - - public static switch_channel_state_t switch_channel_perform_set_state(SWIGTYPE_p_switch_channel channel, string file, string func, int line, switch_channel_state_t state) { - switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.switch_channel_perform_set_state(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line, (int)state); - return ret; - } - - public static switch_channel_state_t switch_channel_perform_set_running_state(SWIGTYPE_p_switch_channel channel, switch_channel_state_t state, string file, string func, int line) { - switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.switch_channel_perform_set_running_state(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)state, file, func, line); - return ret; - } - - public static switch_call_cause_t switch_channel_str2cause(string str) { - switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_channel_str2cause(str); - return ret; - } - - public static switch_call_cause_t switch_channel_get_cause(SWIGTYPE_p_switch_channel channel) { - switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_channel_get_cause(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_call_cause_t switch_channel_cause_q850(switch_call_cause_t cause) { - switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_channel_cause_q850((int)cause); - return ret; - } - - public static switch_call_cause_t switch_channel_get_cause_q850(SWIGTYPE_p_switch_channel channel) { - switch_call_cause_t ret = (switch_call_cause_t)freeswitchPINVOKE.switch_channel_get_cause_q850(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static SWIGTYPE_p_switch_call_cause_t switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel.getCPtr(channel)); - SWIGTYPE_p_switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_call_cause_t(cPtr, false); - return ret; - } - - public static string switch_channel_cause2str(switch_call_cause_t cause) { - string ret = freeswitchPINVOKE.switch_channel_cause2str((int)cause); - return ret; - } - - public static switch_channel_timetable switch_channel_get_timetable(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_timetable(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); - return ret; - } - - public static switch_status_t switch_channel_alloc(SWIGTYPE_p_p_switch_channel channel, switch_call_direction_t direction, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_alloc(SWIGTYPE_p_p_switch_channel.getCPtr(channel), (int)direction, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_channel_init(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_switch_core_session session, switch_channel_state_t state, switch_channel_flag_t flag) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_init(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_switch_core_session.getCPtr(session), (int)state, (int)flag); - return ret; - } - - public static void switch_channel_set_presence_data_vals(SWIGTYPE_p_switch_channel channel, string presence_data_cols) { - freeswitchPINVOKE.switch_channel_set_presence_data_vals(SWIGTYPE_p_switch_channel.getCPtr(channel), presence_data_cols); - } - - public static void switch_channel_perform_presence(SWIGTYPE_p_switch_channel channel, string rpid, string status, string id, string file, string func, int line) { - freeswitchPINVOKE.switch_channel_perform_presence(SWIGTYPE_p_switch_channel.getCPtr(channel), rpid, status, id, file, func, line); - } - - public static void switch_channel_uninit(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_uninit(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static void switch_channel_set_caller_profile(SWIGTYPE_p_switch_channel channel, switch_caller_profile caller_profile) { - freeswitchPINVOKE.switch_channel_set_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_profile.getCPtr(caller_profile)); - } - - public static void switch_channel_step_caller_profile(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_step_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_caller_profile switch_channel_get_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - - public static void switch_channel_set_originator_caller_profile(SWIGTYPE_p_switch_channel channel, switch_caller_profile caller_profile) { - freeswitchPINVOKE.switch_channel_set_originator_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_profile.getCPtr(caller_profile)); - } - - public static void switch_channel_set_hunt_caller_profile(SWIGTYPE_p_switch_channel channel, switch_caller_profile caller_profile) { - freeswitchPINVOKE.switch_channel_set_hunt_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_profile.getCPtr(caller_profile)); - } - - public static switch_caller_profile switch_channel_get_originator_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_originator_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - - public static void switch_channel_set_originatee_caller_profile(SWIGTYPE_p_switch_channel channel, switch_caller_profile caller_profile) { - freeswitchPINVOKE.switch_channel_set_originatee_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_profile.getCPtr(caller_profile)); - } - - public static switch_caller_profile switch_channel_get_originatee_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_originatee_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - - public static void switch_channel_set_origination_caller_profile(SWIGTYPE_p_switch_channel channel, switch_caller_profile caller_profile) { - freeswitchPINVOKE.switch_channel_set_origination_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_profile.getCPtr(caller_profile)); - } - - public static switch_caller_profile switch_channel_get_origination_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_origination_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - - public static string switch_channel_get_uuid(SWIGTYPE_p_switch_channel channel) { - string ret = freeswitchPINVOKE.switch_channel_get_uuid(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_status_t switch_channel_set_profile_var(SWIGTYPE_p_switch_channel channel, string name, string val) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_profile_var(SWIGTYPE_p_switch_channel.getCPtr(channel), name, val); - return ret; - } - - public static switch_status_t switch_channel_set_variable_var_check(SWIGTYPE_p_switch_channel channel, string varname, string value, switch_bool_t var_check) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_variable_var_check(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, value, (int)var_check); - return ret; - } - - public static switch_status_t switch_channel_add_variable_var_check(SWIGTYPE_p_switch_channel channel, string varname, string value, switch_bool_t var_check, switch_stack_t stack) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_add_variable_var_check(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, value, (int)var_check, (int)stack); - return ret; - } - - public static switch_status_t switch_channel_set_variable_printf(SWIGTYPE_p_switch_channel channel, string varname, string fmt) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_variable_printf(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, fmt); - return ret; - } - - public static switch_status_t switch_channel_set_variable_name_printf(SWIGTYPE_p_switch_channel channel, string val, string fmt) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_variable_name_printf(SWIGTYPE_p_switch_channel.getCPtr(channel), val, fmt); - return ret; - } - - public static switch_status_t switch_channel_set_variable_partner_var_check(SWIGTYPE_p_switch_channel channel, string varname, string value, switch_bool_t var_check) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_variable_partner_var_check(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, value, (int)var_check); - return ret; - } - - public static string switch_channel_get_variable_partner(SWIGTYPE_p_switch_channel channel, string varname) { - string ret = freeswitchPINVOKE.switch_channel_get_variable_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), varname); - return ret; - } - - public static string switch_channel_get_hold_music(SWIGTYPE_p_switch_channel channel) { - string ret = freeswitchPINVOKE.switch_channel_get_hold_music(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static string switch_channel_get_hold_music_partner(SWIGTYPE_p_switch_channel channel) { - string ret = freeswitchPINVOKE.switch_channel_get_hold_music_partner(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static uint switch_channel_del_variable_prefix(SWIGTYPE_p_switch_channel channel, string prefix) { - uint ret = freeswitchPINVOKE.switch_channel_del_variable_prefix(SWIGTYPE_p_switch_channel.getCPtr(channel), prefix); - return ret; - } - - public static switch_status_t switch_channel_transfer_variable_prefix(SWIGTYPE_p_switch_channel orig_channel, SWIGTYPE_p_switch_channel new_channel, string prefix) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_transfer_variable_prefix(SWIGTYPE_p_switch_channel.getCPtr(orig_channel), SWIGTYPE_p_switch_channel.getCPtr(new_channel), prefix); - return ret; - } - - public static switch_status_t switch_channel_export_variable_var_check(SWIGTYPE_p_switch_channel channel, string varname, string val, string export_varname, switch_bool_t var_check) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_export_variable_var_check(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, val, export_varname, (int)var_check); - return ret; - } - - public static void switch_channel_process_export(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_switch_channel peer_channel, switch_event var_event, string export_varname) { - freeswitchPINVOKE.switch_channel_process_export(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_switch_channel.getCPtr(peer_channel), switch_event.getCPtr(var_event), export_varname); - } - - public static switch_status_t switch_channel_export_variable_printf(SWIGTYPE_p_switch_channel channel, string varname, string export_varname, string fmt) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_export_variable_printf(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, export_varname, fmt); - return ret; - } - - public static void switch_channel_set_scope_variables(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_p_switch_event arg1) { - freeswitchPINVOKE.switch_channel_set_scope_variables(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_p_switch_event.getCPtr(arg1)); - } - - public static switch_status_t switch_channel_get_scope_variables(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_p_switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_get_scope_variables(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_p_switch_event.getCPtr(arg1)); - return ret; - } - - public static string switch_channel_get_variable_dup(SWIGTYPE_p_switch_channel channel, string varname, switch_bool_t dup, int idx) { - string ret = freeswitchPINVOKE.switch_channel_get_variable_dup(SWIGTYPE_p_switch_channel.getCPtr(channel), varname, (int)dup, idx); - return ret; - } - - public static switch_status_t switch_channel_get_variables(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_p_switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_get_variables(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_p_switch_event.getCPtr(arg1)); - return ret; - } - - public static switch_status_t switch_channel_pass_callee_id(SWIGTYPE_p_switch_channel channel, SWIGTYPE_p_switch_channel other_channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_pass_callee_id(SWIGTYPE_p_switch_channel.getCPtr(channel), SWIGTYPE_p_switch_channel.getCPtr(other_channel)); - return ret; - } - - public static switch_event_header switch_channel_variable_first(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_variable_first(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); - return ret; - } - - public static void switch_channel_variable_last(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_variable_last(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static void switch_channel_restart(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_restart(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_status_t switch_channel_caller_extension_masquerade(SWIGTYPE_p_switch_channel orig_channel, SWIGTYPE_p_switch_channel new_channel, uint offset) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_caller_extension_masquerade(SWIGTYPE_p_switch_channel.getCPtr(orig_channel), SWIGTYPE_p_switch_channel.getCPtr(new_channel), offset); - return ret; - } - - public static void switch_channel_set_caller_extension(SWIGTYPE_p_switch_channel channel, switch_caller_extension caller_extension) { - freeswitchPINVOKE.switch_channel_set_caller_extension(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_extension.getCPtr(caller_extension)); - } - - public static void switch_channel_invert_cid(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_invert_cid(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static void switch_channel_flip_cid(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_flip_cid(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static void switch_channel_sort_cid(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_sort_cid(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_caller_extension switch_channel_get_caller_extension(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_caller_extension(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); - return ret; - } - - public static uint switch_channel_test_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - uint ret = freeswitchPINVOKE.switch_channel_test_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - return ret; - } - - public static void switch_channel_set_flag_value(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag, uint value) { - freeswitchPINVOKE.switch_channel_set_flag_value(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag, value); - } - - public static void switch_channel_set_flag_recursive(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - freeswitchPINVOKE.switch_channel_set_flag_recursive(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - } - - public static void switch_channel_set_cap_value(SWIGTYPE_p_switch_channel channel, switch_channel_cap_t cap, uint value) { - freeswitchPINVOKE.switch_channel_set_cap_value(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)cap, value); - } - - public static void switch_channel_clear_cap(SWIGTYPE_p_switch_channel channel, switch_channel_cap_t cap) { - freeswitchPINVOKE.switch_channel_clear_cap(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)cap); - } - - public static uint switch_channel_test_cap(SWIGTYPE_p_switch_channel channel, switch_channel_cap_t cap) { - uint ret = freeswitchPINVOKE.switch_channel_test_cap(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)cap); - return ret; - } - - public static uint switch_channel_test_cap_partner(SWIGTYPE_p_switch_channel channel, switch_channel_cap_t cap) { - uint ret = freeswitchPINVOKE.switch_channel_test_cap_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)cap); - return ret; - } - - public static switch_bool_t switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_set_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - return ret; - } - - public static switch_bool_t switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_channel_clear_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - return ret; - } - - public static uint switch_channel_test_flag_partner(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - uint ret = freeswitchPINVOKE.switch_channel_test_flag_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - return ret; - } - - public static void switch_channel_set_state_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - freeswitchPINVOKE.switch_channel_set_state_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - } - - public static void switch_channel_clear_state_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - freeswitchPINVOKE.switch_channel_clear_state_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - } - - public static void switch_channel_clear_flag(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - freeswitchPINVOKE.switch_channel_clear_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - } - - public static void switch_channel_clear_flag_recursive(SWIGTYPE_p_switch_channel channel, switch_channel_flag_t flag) { - freeswitchPINVOKE.switch_channel_clear_flag_recursive(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)flag); - } - - public static switch_status_t switch_channel_perform_answer(SWIGTYPE_p_switch_channel channel, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_perform_answer(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line); - return ret; - } - - public static switch_status_t switch_channel_perform_mark_answered(SWIGTYPE_p_switch_channel channel, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_perform_mark_answered(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line); - return ret; - } - - public static void switch_channel_check_zrtp(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_check_zrtp(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_status_t switch_channel_perform_ring_ready_value(SWIGTYPE_p_switch_channel channel, switch_ring_ready_t rv, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_perform_ring_ready_value(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)rv, file, func, line); - return ret; - } - - public static switch_status_t switch_channel_perform_pre_answer(SWIGTYPE_p_switch_channel channel, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_perform_pre_answer(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line); - return ret; - } - - public static switch_status_t switch_channel_perform_mark_pre_answered(SWIGTYPE_p_switch_channel channel, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_perform_mark_pre_answered(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line); - return ret; - } - - public static switch_status_t switch_channel_perform_mark_ring_ready_value(SWIGTYPE_p_switch_channel channel, switch_ring_ready_t rv, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_perform_mark_ring_ready_value(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)rv, file, func, line); - return ret; - } - - public static int switch_channel_add_state_handler(SWIGTYPE_p_switch_channel channel, switch_state_handler_table state_handler) { - int ret = freeswitchPINVOKE.switch_channel_add_state_handler(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_state_handler_table.getCPtr(state_handler)); - return ret; - } - - public static void switch_channel_clear_state_handler(SWIGTYPE_p_switch_channel channel, switch_state_handler_table state_handler) { - freeswitchPINVOKE.switch_channel_clear_state_handler(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_state_handler_table.getCPtr(state_handler)); - } - - public static switch_state_handler_table switch_channel_get_state_handler(SWIGTYPE_p_switch_channel channel, int index) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_state_handler(SWIGTYPE_p_switch_channel.getCPtr(channel), index); - switch_state_handler_table ret = (cPtr == IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); - return ret; - } - - public static switch_status_t switch_channel_set_private(SWIGTYPE_p_switch_channel channel, string key, SWIGTYPE_p_void private_info) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_private(SWIGTYPE_p_switch_channel.getCPtr(channel), key, SWIGTYPE_p_void.getCPtr(private_info)); - return ret; - } - - public static SWIGTYPE_p_void switch_channel_get_private(SWIGTYPE_p_switch_channel channel, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_private(SWIGTYPE_p_switch_channel.getCPtr(channel), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_void switch_channel_get_private_partner(SWIGTYPE_p_switch_channel channel, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_private_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static switch_status_t switch_channel_set_name(SWIGTYPE_p_switch_channel channel, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_name(SWIGTYPE_p_switch_channel.getCPtr(channel), name); - return ret; - } - - public static string switch_channel_get_name(SWIGTYPE_p_switch_channel channel) { - string ret = freeswitchPINVOKE.switch_channel_get_name(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_channel_state_t switch_channel_perform_hangup(SWIGTYPE_p_switch_channel channel, string file, string func, int line, switch_call_cause_t hangup_cause) { - switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.switch_channel_perform_hangup(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line, (int)hangup_cause); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_channel_has_dtmf(SWIGTYPE_p_switch_channel channel) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_channel_has_dtmf(SWIGTYPE_p_switch_channel.getCPtr(channel)), true); - return ret; - } - - public static switch_status_t switch_channel_dtmf_lock(SWIGTYPE_p_switch_channel channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_dtmf_lock(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_status_t switch_channel_try_dtmf_lock(SWIGTYPE_p_switch_channel channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_try_dtmf_lock(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_status_t switch_channel_dtmf_unlock(SWIGTYPE_p_switch_channel channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_dtmf_unlock(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_status_t switch_channel_queue_dtmf(SWIGTYPE_p_switch_channel channel, switch_dtmf_t dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_queue_dtmf(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_dtmf_t.getCPtr(dtmf)); - return ret; - } - - public static switch_status_t switch_channel_queue_dtmf_string(SWIGTYPE_p_switch_channel channel, string dtmf_string) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_queue_dtmf_string(SWIGTYPE_p_switch_channel.getCPtr(channel), dtmf_string); - return ret; - } - - public static switch_status_t switch_channel_dequeue_dtmf(SWIGTYPE_p_switch_channel channel, switch_dtmf_t dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_dequeue_dtmf(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_dtmf_t.getCPtr(dtmf)); - return ret; - } - - public static void switch_channel_flush_dtmf(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_flush_dtmf(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static SWIGTYPE_p_switch_size_t switch_channel_dequeue_dtmf_string(SWIGTYPE_p_switch_channel channel, string dtmf_str, SWIGTYPE_p_switch_size_t len) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_channel_dequeue_dtmf_string(SWIGTYPE_p_switch_channel.getCPtr(channel), dtmf_str, SWIGTYPE_p_switch_size_t.getCPtr(len)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string switch_channel_state_name(switch_channel_state_t state) { - string ret = freeswitchPINVOKE.switch_channel_state_name((int)state); - return ret; - } - - public static switch_channel_state_t switch_channel_name_state(string name) { - switch_channel_state_t ret = (switch_channel_state_t)freeswitchPINVOKE.switch_channel_name_state(name); - return ret; - } - - public static void switch_channel_event_set_data(SWIGTYPE_p_switch_channel channel, switch_event arg1) { - freeswitchPINVOKE.switch_channel_event_set_data(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_event.getCPtr(arg1)); - } - - public static void switch_channel_event_set_basic_data(SWIGTYPE_p_switch_channel channel, switch_event arg1) { - freeswitchPINVOKE.switch_channel_event_set_basic_data(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_event.getCPtr(arg1)); - } - - public static void switch_channel_event_set_extended_data(SWIGTYPE_p_switch_channel channel, switch_event arg1) { - freeswitchPINVOKE.switch_channel_event_set_extended_data(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_event.getCPtr(arg1)); - } - - public static string switch_channel_expand_variables_check(SWIGTYPE_p_switch_channel channel, string arg1, switch_event var_list, switch_event api_list, uint recur) { - string ret = freeswitchPINVOKE.switch_channel_expand_variables_check(SWIGTYPE_p_switch_channel.getCPtr(channel), arg1, switch_event.getCPtr(var_list), switch_event.getCPtr(api_list), recur); - return ret; - } - - public static string switch_channel_build_param_string(SWIGTYPE_p_switch_channel channel, switch_caller_profile caller_profile, string prefix) { - string ret = freeswitchPINVOKE.switch_channel_build_param_string(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_profile.getCPtr(caller_profile), prefix); - return ret; - } - - public static switch_status_t switch_channel_set_timestamps(SWIGTYPE_p_switch_channel channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_set_timestamps(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static void switch_channel_perform_audio_sync(SWIGTYPE_p_switch_channel channel, string file, string func, int line) { - freeswitchPINVOKE.switch_channel_perform_audio_sync(SWIGTYPE_p_switch_channel.getCPtr(channel), file, func, line); - } - - public static void switch_channel_set_private_flag(SWIGTYPE_p_switch_channel channel, uint flags) { - freeswitchPINVOKE.switch_channel_set_private_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags); - } - - public static void switch_channel_clear_private_flag(SWIGTYPE_p_switch_channel channel, uint flags) { - freeswitchPINVOKE.switch_channel_clear_private_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags); - } - - public static int switch_channel_test_private_flag(SWIGTYPE_p_switch_channel channel, uint flags) { - int ret = freeswitchPINVOKE.switch_channel_test_private_flag(SWIGTYPE_p_switch_channel.getCPtr(channel), flags); - return ret; - } - - public static void switch_channel_set_app_flag_key(string app, SWIGTYPE_p_switch_channel channel, uint flags) { - freeswitchPINVOKE.switch_channel_set_app_flag_key(app, SWIGTYPE_p_switch_channel.getCPtr(channel), flags); - } - - public static void switch_channel_clear_app_flag_key(string app, SWIGTYPE_p_switch_channel channel, uint flags) { - freeswitchPINVOKE.switch_channel_clear_app_flag_key(app, SWIGTYPE_p_switch_channel.getCPtr(channel), flags); - } - - public static int switch_channel_test_app_flag_key(string app, SWIGTYPE_p_switch_channel channel, uint flags) { - int ret = freeswitchPINVOKE.switch_channel_test_app_flag_key(app, SWIGTYPE_p_switch_channel.getCPtr(channel), flags); - return ret; - } - - public static void switch_channel_set_bridge_time(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_set_bridge_time(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static void switch_channel_set_hangup_time(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_set_hangup_time(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_call_direction_t switch_channel_direction(SWIGTYPE_p_switch_channel channel) { - switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_channel_direction(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_call_direction_t switch_channel_logical_direction(SWIGTYPE_p_switch_channel channel) { - switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_channel_logical_direction(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static void switch_channel_set_direction(SWIGTYPE_p_switch_channel channel, switch_call_direction_t direction) { - freeswitchPINVOKE.switch_channel_set_direction(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)direction); - } - - public static SWIGTYPE_p_switch_core_session switch_channel_get_session(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_session(SWIGTYPE_p_switch_channel.getCPtr(channel)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - - public static string switch_channel_get_flag_string(SWIGTYPE_p_switch_channel channel) { - string ret = freeswitchPINVOKE.switch_channel_get_flag_string(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static string switch_channel_get_cap_string(SWIGTYPE_p_switch_channel channel) { - string ret = freeswitchPINVOKE.switch_channel_get_cap_string(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static int switch_channel_state_change_pending(SWIGTYPE_p_switch_channel channel) { - int ret = freeswitchPINVOKE.switch_channel_state_change_pending(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static void switch_channel_perform_set_callstate(SWIGTYPE_p_switch_channel channel, switch_channel_callstate_t callstate, string file, string func, int line) { - freeswitchPINVOKE.switch_channel_perform_set_callstate(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)callstate, file, func, line); - } - - public static switch_channel_callstate_t switch_channel_get_callstate(SWIGTYPE_p_switch_channel channel) { - switch_channel_callstate_t ret = (switch_channel_callstate_t)freeswitchPINVOKE.switch_channel_get_callstate(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static string switch_channel_callstate2str(switch_channel_callstate_t callstate) { - string ret = freeswitchPINVOKE.switch_channel_callstate2str((int)callstate); - return ret; - } - - public static switch_channel_callstate_t switch_channel_str2callstate(string str) { - switch_channel_callstate_t ret = (switch_channel_callstate_t)freeswitchPINVOKE.switch_channel_str2callstate(str); - return ret; - } - - public static void switch_channel_mark_hold(SWIGTYPE_p_switch_channel channel, switch_bool_t on) { - freeswitchPINVOKE.switch_channel_mark_hold(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)on); - } - - public static switch_status_t switch_channel_execute_on(SWIGTYPE_p_switch_channel channel, string variable_prefix) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_execute_on(SWIGTYPE_p_switch_channel.getCPtr(channel), variable_prefix); - return ret; - } - - public static switch_status_t switch_channel_api_on(SWIGTYPE_p_switch_channel channel, string variable_prefix) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_api_on(SWIGTYPE_p_switch_channel.getCPtr(channel), variable_prefix); - return ret; - } - - public static void switch_channel_process_device_hangup(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_process_device_hangup(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_caller_extension switch_channel_get_queued_extension(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_queued_extension(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); - return ret; - } - - public static void switch_channel_transfer_to_extension(SWIGTYPE_p_switch_channel channel, switch_caller_extension caller_extension) { - freeswitchPINVOKE.switch_channel_transfer_to_extension(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_caller_extension.getCPtr(caller_extension)); - } - - public static string switch_channel_get_partner_uuid(SWIGTYPE_p_switch_channel channel) { - string ret = freeswitchPINVOKE.switch_channel_get_partner_uuid(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static switch_hold_record_t switch_channel_get_hold_record(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_hold_record(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_hold_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); - return ret; - } - - public static void switch_channel_state_thread_lock(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_state_thread_lock(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static void switch_channel_state_thread_unlock(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_state_thread_unlock(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_status_t switch_channel_state_thread_trylock(SWIGTYPE_p_switch_channel channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_state_thread_trylock(SWIGTYPE_p_switch_channel.getCPtr(channel)); - return ret; - } - - public static void switch_channel_handle_cause(SWIGTYPE_p_switch_channel channel, switch_call_cause_t cause) { - freeswitchPINVOKE.switch_channel_handle_cause(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)cause); - } - - public static void switch_channel_global_init(SWIGTYPE_p_apr_pool_t pool) { - freeswitchPINVOKE.switch_channel_global_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - } - - public static void switch_channel_global_uninit() { - freeswitchPINVOKE.switch_channel_global_uninit(); - } - - public static string switch_channel_set_device_id(SWIGTYPE_p_switch_channel channel, string device_id) { - string ret = freeswitchPINVOKE.switch_channel_set_device_id(SWIGTYPE_p_switch_channel.getCPtr(channel), device_id); - return ret; - } - - public static void switch_channel_clear_device_record(SWIGTYPE_p_switch_channel channel) { - freeswitchPINVOKE.switch_channel_clear_device_record(SWIGTYPE_p_switch_channel.getCPtr(channel)); - } - - public static switch_device_record_t switch_channel_get_device_record(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_device_record(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_device_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_record_t(cPtr, false); - return ret; - } - - public static void switch_channel_release_device_record(SWIGTYPE_p_p_switch_device_record_s dcdrp) { - freeswitchPINVOKE.switch_channel_release_device_record(SWIGTYPE_p_p_switch_device_record_s.getCPtr(dcdrp)); - } - - public static switch_status_t switch_channel_bind_device_state_handler(SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void function, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_bind_device_state_handler(SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void.getCPtr(function), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static switch_status_t switch_channel_unbind_device_state_handler(SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void function) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_unbind_device_state_handler(SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void.getCPtr(function)); - return ret; - } - - public static string switch_channel_device_state2str(switch_device_state_t device_state) { - string ret = freeswitchPINVOKE.switch_channel_device_state2str((int)device_state); - return ret; - } - - public static switch_status_t switch_channel_pass_sdp(SWIGTYPE_p_switch_channel from_channel, SWIGTYPE_p_switch_channel to_channel, string sdp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_pass_sdp(SWIGTYPE_p_switch_channel.getCPtr(from_channel), SWIGTYPE_p_switch_channel.getCPtr(to_channel), sdp); - return ret; - } - - public static switch_status_t switch_buffer_create(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_p_switch_buffer buffer, SWIGTYPE_p_switch_size_t max_len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_create(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_size_t.getCPtr(max_len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_buffer_create_dynamic(SWIGTYPE_p_p_switch_buffer buffer, SWIGTYPE_p_switch_size_t blocksize, SWIGTYPE_p_switch_size_t start_len, SWIGTYPE_p_switch_size_t max_len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_create_dynamic(SWIGTYPE_p_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_size_t.getCPtr(blocksize), SWIGTYPE_p_switch_size_t.getCPtr(start_len), SWIGTYPE_p_switch_size_t.getCPtr(max_len)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_buffer_add_mutex(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_switch_mutex_t mutex) { - freeswitchPINVOKE.switch_buffer_add_mutex(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); - } - - public static void switch_buffer_lock(SWIGTYPE_p_switch_buffer buffer) { - freeswitchPINVOKE.switch_buffer_lock(SWIGTYPE_p_switch_buffer.getCPtr(buffer)); - } - - public static switch_status_t switch_buffer_trylock(SWIGTYPE_p_switch_buffer buffer) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_trylock(SWIGTYPE_p_switch_buffer.getCPtr(buffer)); - return ret; - } - - public static void switch_buffer_unlock(SWIGTYPE_p_switch_buffer buffer) { - freeswitchPINVOKE.switch_buffer_unlock(SWIGTYPE_p_switch_buffer.getCPtr(buffer)); - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_len(SWIGTYPE_p_switch_buffer buffer) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_len(SWIGTYPE_p_switch_buffer.getCPtr(buffer)), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_freespace(SWIGTYPE_p_switch_buffer buffer) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_freespace(SWIGTYPE_p_switch_buffer.getCPtr(buffer)), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_inuse(SWIGTYPE_p_switch_buffer buffer) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_inuse(SWIGTYPE_p_switch_buffer.getCPtr(buffer)), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_read(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_read(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_peek(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_peek(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_peek_zerocopy(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_p_void ptr) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_peek_zerocopy(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_p_void.getCPtr(ptr)), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_read_loop(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_read_loop(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_buffer_set_loops(SWIGTYPE_p_switch_buffer buffer, int loops) { - freeswitchPINVOKE.switch_buffer_set_loops(SWIGTYPE_p_switch_buffer.getCPtr(buffer), loops); - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_write(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_write(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_toss(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_switch_size_t datalen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_toss(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_buffer_zero(SWIGTYPE_p_switch_buffer buffer) { - freeswitchPINVOKE.switch_buffer_zero(SWIGTYPE_p_switch_buffer.getCPtr(buffer)); - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_slide_write(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_slide_write(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_buffer_destroy(SWIGTYPE_p_p_switch_buffer buffer) { - freeswitchPINVOKE.switch_buffer_destroy(SWIGTYPE_p_p_switch_buffer.getCPtr(buffer)); - } - - public static SWIGTYPE_p_switch_size_t switch_buffer_zwrite(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_zwrite(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_event_init(SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_event_shutdown() { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_shutdown(); - return ret; - } - - public static switch_status_t switch_event_create_subclass_detailed(string file, string func, int line, SWIGTYPE_p_p_switch_event arg3, switch_event_types_t event_id, string subclass_name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_subclass_detailed(file, func, line, SWIGTYPE_p_p_switch_event.getCPtr(arg3), (int)event_id, subclass_name); - return ret; - } - - public static switch_status_t switch_event_set_priority(switch_event arg0, switch_priority_t priority) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_set_priority(switch_event.getCPtr(arg0), (int)priority); - return ret; - } - - public static switch_event_header switch_event_get_header_ptr(switch_event arg0, string header_name) { - IntPtr cPtr = freeswitchPINVOKE.switch_event_get_header_ptr(switch_event.getCPtr(arg0), header_name); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); - return ret; - } - - public static string switch_event_get_header_idx(switch_event arg0, string header_name, int idx) { - string ret = freeswitchPINVOKE.switch_event_get_header_idx(switch_event.getCPtr(arg0), header_name, idx); - return ret; - } - - public static switch_status_t switch_event_rename_header(switch_event arg0, string header_name, string new_header_name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_rename_header(switch_event.getCPtr(arg0), header_name, new_header_name); - return ret; - } - - public static string switch_event_get_body(switch_event arg0) { - string ret = freeswitchPINVOKE.switch_event_get_body(switch_event.getCPtr(arg0)); - return ret; - } - - public static switch_status_t switch_event_set_subclass_name(switch_event arg0, string subclass_name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_set_subclass_name(switch_event.getCPtr(arg0), subclass_name); - return ret; - } - - public static switch_status_t switch_event_add_header_string(switch_event arg0, switch_stack_t stack, string header_name, string data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_add_header_string(switch_event.getCPtr(arg0), (int)stack, header_name, data); - return ret; - } - - public static switch_status_t switch_event_del_header_val(switch_event arg0, string header_name, string val) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_del_header_val(switch_event.getCPtr(arg0), header_name, val); - return ret; - } - - public static int switch_event_add_array(switch_event arg0, string var, string val) { - int ret = freeswitchPINVOKE.switch_event_add_array(switch_event.getCPtr(arg0), var, val); - return ret; - } - - public static void switch_event_destroy(SWIGTYPE_p_p_switch_event arg0) { - freeswitchPINVOKE.switch_event_destroy(SWIGTYPE_p_p_switch_event.getCPtr(arg0)); - } - - public static switch_status_t switch_event_dup(SWIGTYPE_p_p_switch_event arg0, switch_event todup) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_dup(SWIGTYPE_p_p_switch_event.getCPtr(arg0), switch_event.getCPtr(todup)); - return ret; - } - - public static void switch_event_merge(switch_event arg0, switch_event tomerge) { - freeswitchPINVOKE.switch_event_merge(switch_event.getCPtr(arg0), switch_event.getCPtr(tomerge)); - } - - public static switch_status_t switch_event_dup_reply(SWIGTYPE_p_p_switch_event arg0, switch_event todup) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_dup_reply(SWIGTYPE_p_p_switch_event.getCPtr(arg0), switch_event.getCPtr(todup)); - return ret; - } - - public static switch_status_t switch_event_fire_detailed(string file, string func, int line, SWIGTYPE_p_p_switch_event arg3, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_fire_detailed(file, func, line, SWIGTYPE_p_p_switch_event.getCPtr(arg3), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static void switch_event_prep_for_delivery_detailed(string file, string func, int line, switch_event arg3) { - freeswitchPINVOKE.switch_event_prep_for_delivery_detailed(file, func, line, switch_event.getCPtr(arg3)); - } - - public static switch_status_t switch_event_bind(string id, switch_event_types_t arg1, string subclass_name, SWIGTYPE_p_f_p_switch_event__void callback, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_bind(id, (int)arg1, subclass_name, SWIGTYPE_p_f_p_switch_event__void.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static switch_status_t switch_event_bind_removable(string id, switch_event_types_t arg1, string subclass_name, SWIGTYPE_p_f_p_switch_event__void callback, SWIGTYPE_p_void user_data, SWIGTYPE_p_p_switch_event_node node) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_bind_removable(id, (int)arg1, subclass_name, SWIGTYPE_p_f_p_switch_event__void.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_p_switch_event_node.getCPtr(node)); - return ret; - } - - public static switch_status_t switch_event_unbind(SWIGTYPE_p_p_switch_event_node node) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_unbind(SWIGTYPE_p_p_switch_event_node.getCPtr(node)); - return ret; - } - - public static switch_status_t switch_event_unbind_callback(SWIGTYPE_p_f_p_switch_event__void callback) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_unbind_callback(SWIGTYPE_p_f_p_switch_event__void.getCPtr(callback)); - return ret; - } - - public static string switch_event_name(switch_event_types_t arg0) { - string ret = freeswitchPINVOKE.switch_event_name((int)arg0); - return ret; - } - - public static switch_status_t switch_name_event(string name, SWIGTYPE_p_switch_event_types_t type) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_name_event(name, SWIGTYPE_p_switch_event_types_t.getCPtr(type)); - return ret; - } - - public static switch_status_t switch_event_reserve_subclass_detailed(string owner, string subclass_name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_reserve_subclass_detailed(owner, subclass_name); - return ret; - } - - public static switch_status_t switch_event_free_subclass_detailed(string owner, string subclass_name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_free_subclass_detailed(owner, subclass_name); - return ret; - } - - public static switch_status_t switch_event_binary_deserialize(SWIGTYPE_p_p_switch_event eventp, SWIGTYPE_p_p_void data, SWIGTYPE_p_switch_size_t len, switch_bool_t duplicate) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_binary_deserialize(SWIGTYPE_p_p_switch_event.getCPtr(eventp), SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(len), (int)duplicate); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_event_binary_serialize(switch_event arg0, SWIGTYPE_p_p_void data, SWIGTYPE_p_switch_size_t len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_binary_serialize(switch_event.getCPtr(arg0), SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(len)); - return ret; - } - - public static switch_status_t switch_event_serialize(switch_event arg0, ref string str, switch_bool_t encode) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_serialize(switch_event.getCPtr(arg0), ref str, (int)encode); - return ret; - } - - public static switch_status_t switch_event_serialize_json(switch_event arg0, ref string str) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_serialize_json(switch_event.getCPtr(arg0), ref str); - return ret; - } - - public static switch_status_t switch_event_serialize_json_obj(switch_event arg0, SWIGTYPE_p_p_cJSON json) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_serialize_json_obj(switch_event.getCPtr(arg0), SWIGTYPE_p_p_cJSON.getCPtr(json)); - return ret; - } - - public static switch_status_t switch_event_create_json(SWIGTYPE_p_p_switch_event arg0, string json) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_json(SWIGTYPE_p_p_switch_event.getCPtr(arg0), json); - return ret; - } - - public static switch_status_t switch_event_create_brackets(string data, char a, char b, char c, SWIGTYPE_p_p_switch_event arg4, ref string new_data, switch_bool_t dup) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_brackets(data, a, b, c, SWIGTYPE_p_p_switch_event.getCPtr(arg4), ref new_data, (int)dup); - return ret; - } - - public static switch_status_t switch_event_create_array_pair(SWIGTYPE_p_p_switch_event arg0, ref string names, ref string vals, int len) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_array_pair(SWIGTYPE_p_p_switch_event.getCPtr(arg0), ref names, ref vals, len); - return ret; - } - - public static switch_status_t switch_event_running() { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_running(); - return ret; - } - - public static switch_status_t switch_event_set_body(switch_event arg0, string body) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_set_body(switch_event.getCPtr(arg0), body); - return ret; - } - - public static string switch_event_expand_headers_check(switch_event arg0, string arg1, switch_event var_list, switch_event api_list, uint recur) { - string ret = freeswitchPINVOKE.switch_event_expand_headers_check(switch_event.getCPtr(arg0), arg1, switch_event.getCPtr(var_list), switch_event.getCPtr(api_list), recur); - return ret; - } - - public static switch_status_t switch_event_create_pres_in_detailed(string file, string func, int line, string proto, string login, string from, string from_domain, string status, string event_type, string alt_event_type, int event_count, string unique_id, string channel_state, string answer_state, string call_direction) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_pres_in_detailed(file, func, line, proto, login, from, from_domain, status, event_type, alt_event_type, event_count, unique_id, channel_state, answer_state, call_direction); - return ret; - } - - public static switch_status_t switch_event_create_plain(SWIGTYPE_p_p_switch_event arg0, switch_event_types_t event_id) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_plain(SWIGTYPE_p_p_switch_event.getCPtr(arg0), (int)event_id); - return ret; - } - - public static void switch_event_deliver(SWIGTYPE_p_p_switch_event arg0) { - freeswitchPINVOKE.switch_event_deliver(SWIGTYPE_p_p_switch_event.getCPtr(arg0)); - } - - public static string switch_event_build_param_string(switch_event arg0, string prefix, SWIGTYPE_p_switch_hashtable vars_map) { - string ret = freeswitchPINVOKE.switch_event_build_param_string(switch_event.getCPtr(arg0), prefix, SWIGTYPE_p_switch_hashtable.getCPtr(vars_map)); - return ret; - } - - public static int switch_event_check_permission_list(switch_event list, string name) { - int ret = freeswitchPINVOKE.switch_event_check_permission_list(switch_event.getCPtr(list), name); - return ret; - } - - public static void switch_event_add_presence_data_cols(SWIGTYPE_p_switch_channel channel, switch_event arg1, string prefix) { - freeswitchPINVOKE.switch_event_add_presence_data_cols(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_event.getCPtr(arg1), prefix); - } - - public static void switch_json_add_presence_data_cols(switch_event arg0, SWIGTYPE_p_cJSON json, string prefix) { - freeswitchPINVOKE.switch_json_add_presence_data_cols(switch_event.getCPtr(arg0), SWIGTYPE_p_cJSON.getCPtr(json), prefix); - } - - public static void switch_event_launch_dispatch_threads(uint max) { - freeswitchPINVOKE.switch_event_launch_dispatch_threads(max); - } - - public static uint switch_event_channel_broadcast(string event_channel, SWIGTYPE_p_p_cJSON json, string key, uint id) { - uint ret = freeswitchPINVOKE.switch_event_channel_broadcast(event_channel, SWIGTYPE_p_p_cJSON.getCPtr(json), key, id); - return ret; - } - - public static uint switch_event_channel_unbind(string event_channel, SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void func) { - uint ret = freeswitchPINVOKE.switch_event_channel_unbind(event_channel, SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void.getCPtr(func)); - return ret; - } - - public static switch_status_t switch_event_channel_bind(string event_channel, SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void func, SWIGTYPE_p_unsigned_long id) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_channel_bind(event_channel, SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void.getCPtr(func), SWIGTYPE_p_unsigned_long.getCPtr(id)); - return ret; - } - - public static switch_status_t switch_live_array_clear(SWIGTYPE_p_switch_live_array_s la) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_live_array_clear(SWIGTYPE_p_switch_live_array_s.getCPtr(la)); - return ret; - } - - public static switch_status_t switch_live_array_bootstrap(SWIGTYPE_p_switch_live_array_s la, string sessid, uint channel_id) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_live_array_bootstrap(SWIGTYPE_p_switch_live_array_s.getCPtr(la), sessid, channel_id); - return ret; - } - - public static switch_status_t switch_live_array_destroy(SWIGTYPE_p_p_switch_live_array_s live_arrayP) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_live_array_destroy(SWIGTYPE_p_p_switch_live_array_s.getCPtr(live_arrayP)); - return ret; - } - - public static switch_status_t switch_live_array_create(string event_channel, string name, uint channel_id, SWIGTYPE_p_p_switch_live_array_s live_arrayP) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_live_array_create(event_channel, name, channel_id, SWIGTYPE_p_p_switch_live_array_s.getCPtr(live_arrayP)); - return ret; - } - - public static SWIGTYPE_p_cJSON switch_live_array_get(SWIGTYPE_p_switch_live_array_s la, string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_live_array_get(SWIGTYPE_p_switch_live_array_s.getCPtr(la), name); - SWIGTYPE_p_cJSON ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_cJSON(cPtr, false); - return ret; - } - - public static SWIGTYPE_p_cJSON switch_live_array_get_idx(SWIGTYPE_p_switch_live_array_s la, int idx) { - IntPtr cPtr = freeswitchPINVOKE.switch_live_array_get_idx(SWIGTYPE_p_switch_live_array_s.getCPtr(la), idx); - SWIGTYPE_p_cJSON ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_cJSON(cPtr, false); - return ret; - } - - public static switch_status_t switch_live_array_del(SWIGTYPE_p_switch_live_array_s la, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_live_array_del(SWIGTYPE_p_switch_live_array_s.getCPtr(la), name); - return ret; - } - - public static switch_status_t switch_live_array_add(SWIGTYPE_p_switch_live_array_s la, string name, int index, SWIGTYPE_p_p_cJSON obj, switch_bool_t destroy) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_live_array_add(SWIGTYPE_p_switch_live_array_s.getCPtr(la), name, index, SWIGTYPE_p_p_cJSON.getCPtr(obj), (int)destroy); - return ret; - } - - public static switch_status_t switch_live_array_visible(SWIGTYPE_p_switch_live_array_s la, switch_bool_t visible, switch_bool_t force) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_live_array_visible(SWIGTYPE_p_switch_live_array_s.getCPtr(la), (int)visible, (int)force); - return ret; - } - - public static switch_bool_t switch_live_array_isnew(SWIGTYPE_p_switch_live_array_s la) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_live_array_isnew(SWIGTYPE_p_switch_live_array_s.getCPtr(la)); - return ret; - } - - public static void switch_live_array_lock(SWIGTYPE_p_switch_live_array_s la) { - freeswitchPINVOKE.switch_live_array_lock(SWIGTYPE_p_switch_live_array_s.getCPtr(la)); - } - - public static void switch_live_array_unlock(SWIGTYPE_p_switch_live_array_s la) { - freeswitchPINVOKE.switch_live_array_unlock(SWIGTYPE_p_switch_live_array_s.getCPtr(la)); - } - - public static void switch_live_array_set_user_data(SWIGTYPE_p_switch_live_array_s la, SWIGTYPE_p_void user_data) { - freeswitchPINVOKE.switch_live_array_set_user_data(SWIGTYPE_p_switch_live_array_s.getCPtr(la), SWIGTYPE_p_void.getCPtr(user_data)); - } - - public static void switch_live_array_set_command_handler(SWIGTYPE_p_switch_live_array_s la, SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void command_handler) { - freeswitchPINVOKE.switch_live_array_set_command_handler(SWIGTYPE_p_switch_live_array_s.getCPtr(la), SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void.getCPtr(command_handler)); - } - - public static void switch_live_array_parse_json(SWIGTYPE_p_cJSON json, uint channel_id) { - freeswitchPINVOKE.switch_live_array_parse_json(SWIGTYPE_p_cJSON.getCPtr(json), channel_id); - } - - public static switch_bool_t switch_live_array_add_alias(SWIGTYPE_p_switch_live_array_s la, string event_channel, string name) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_live_array_add_alias(SWIGTYPE_p_switch_live_array_s.getCPtr(la), event_channel, name); - return ret; - } - - public static switch_bool_t switch_live_array_clear_alias(SWIGTYPE_p_switch_live_array_s la, string event_channel, string name) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_live_array_clear_alias(SWIGTYPE_p_switch_live_array_s.getCPtr(la), event_channel, name); - return ret; - } - - public static switch_bool_t switch_event_channel_permission_verify(string cookie, string event_channel) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_event_channel_permission_verify(cookie, event_channel); - return ret; - } - - public static void switch_event_channel_permission_modify(string cookie, string event_channel, switch_bool_t set) { - freeswitchPINVOKE.switch_event_channel_permission_modify(cookie, event_channel, (int)set); - } - - public static void switch_event_channel_permission_clear(string cookie) { - freeswitchPINVOKE.switch_event_channel_permission_clear(cookie); - } - - public static switch_status_t switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t new_resampler, uint from_rate, uint to_rate, uint to_size, int quality, uint channels, string file, string func, int line) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t.getCPtr(new_resampler), from_rate, to_rate, to_size, quality, channels, file, func, line); - return ret; - } - - public static void switch_resample_destroy(SWIGTYPE_p_p_switch_audio_resampler_t resampler) { - freeswitchPINVOKE.switch_resample_destroy(SWIGTYPE_p_p_switch_audio_resampler_t.getCPtr(resampler)); - } - - public static uint switch_resample_process(switch_audio_resampler_t resampler, SWIGTYPE_p_short src, uint srclen) { - uint ret = freeswitchPINVOKE.switch_resample_process(switch_audio_resampler_t.getCPtr(resampler), SWIGTYPE_p_short.getCPtr(src), srclen); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_float_to_short(SWIGTYPE_p_float f, SWIGTYPE_p_short s, SWIGTYPE_p_switch_size_t len) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_float_to_short(SWIGTYPE_p_float.getCPtr(f), SWIGTYPE_p_short.getCPtr(s), SWIGTYPE_p_switch_size_t.getCPtr(len)), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int switch_char_to_float(string c, SWIGTYPE_p_float f, int len) { - int ret = freeswitchPINVOKE.switch_char_to_float(c, SWIGTYPE_p_float.getCPtr(f), len); - return ret; - } - - public static int switch_float_to_char(SWIGTYPE_p_float f, string c, int len) { - int ret = freeswitchPINVOKE.switch_float_to_char(SWIGTYPE_p_float.getCPtr(f), c, len); - return ret; - } - - public static int switch_short_to_float(SWIGTYPE_p_short s, SWIGTYPE_p_float f, int len) { - int ret = freeswitchPINVOKE.switch_short_to_float(SWIGTYPE_p_short.getCPtr(s), SWIGTYPE_p_float.getCPtr(f), len); - return ret; - } - - public static void switch_swap_linear(SWIGTYPE_p_short buf, int len) { - freeswitchPINVOKE.switch_swap_linear(SWIGTYPE_p_short.getCPtr(buf), len); - } - - public static void switch_generate_sln_silence(SWIGTYPE_p_short data, uint samples, uint channels, uint divisor) { - freeswitchPINVOKE.switch_generate_sln_silence(SWIGTYPE_p_short.getCPtr(data), samples, channels, divisor); - } - - public static void switch_change_sln_volume(SWIGTYPE_p_short data, uint samples, int vol) { - freeswitchPINVOKE.switch_change_sln_volume(SWIGTYPE_p_short.getCPtr(data), samples, vol); - } - - public static void switch_change_sln_volume_granular(SWIGTYPE_p_short data, uint samples, int vol) { - freeswitchPINVOKE.switch_change_sln_volume_granular(SWIGTYPE_p_short.getCPtr(data), samples, vol); - } - - public static uint switch_merge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples) { - uint ret = freeswitchPINVOKE.switch_merge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples); - return ret; - } - - public static uint switch_unmerge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples) { - uint ret = freeswitchPINVOKE.switch_unmerge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples); - return ret; - } - - public static void switch_mux_channels(SWIGTYPE_p_short data, SWIGTYPE_p_switch_size_t samples, uint orig_channels, uint channels) { - freeswitchPINVOKE.switch_mux_channels(SWIGTYPE_p_short.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(samples), orig_channels, channels); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - - public static switch_status_t switch_ivr_deactivate_unicast(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_deactivate_unicast(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_activate_unicast(SWIGTYPE_p_switch_core_session session, string local_ip, ushort local_port, string remote_ip, ushort remote_port, string transport, string flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_activate_unicast(SWIGTYPE_p_switch_core_session.getCPtr(session), local_ip, local_port, remote_ip, remote_port, transport, flags); - return ret; - } - - public static switch_status_t switch_ivr_generate_json_cdr(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_cJSON json_cdr, switch_bool_t urlencode) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_generate_json_cdr(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_cJSON.getCPtr(json_cdr), (int)urlencode); - return ret; - } - - public static switch_status_t switch_ivr_generate_xml_cdr(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_xml xml_cdr) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_generate_xml_cdr(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_xml.getCPtr(xml_cdr)); - return ret; - } - - public static int switch_ivr_set_xml_profile_data(switch_xml xml, switch_caller_profile caller_profile, int off) { - int ret = freeswitchPINVOKE.switch_ivr_set_xml_profile_data(switch_xml.getCPtr(xml), switch_caller_profile.getCPtr(caller_profile), off); - return ret; - } - - public static int switch_ivr_set_xml_chan_vars(switch_xml xml, SWIGTYPE_p_switch_channel channel, int off) { - int ret = freeswitchPINVOKE.switch_ivr_set_xml_chan_vars(switch_xml.getCPtr(xml), SWIGTYPE_p_switch_channel.getCPtr(channel), off); - return ret; - } - - public static switch_status_t switch_ivr_parse_event(SWIGTYPE_p_switch_core_session session, switch_event arg1) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_parse_event(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_event.getCPtr(arg1)); - return ret; - } - - public static switch_status_t switch_ivr_parse_all_events(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_parse_all_events(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_parse_next_event(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_parse_next_event(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_parse_all_messages(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_parse_all_messages(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_parse_all_signal_data(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_parse_all_signal_data(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_process_indications(SWIGTYPE_p_switch_core_session session, switch_core_session_message message) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_process_indications(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_core_session_message.getCPtr(message)); - return ret; - } - - public static switch_status_t switch_ivr_sleep(SWIGTYPE_p_switch_core_session session, uint ms, switch_bool_t sync, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_sleep(SWIGTYPE_p_switch_core_session.getCPtr(session), ms, (int)sync, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_park(SWIGTYPE_p_switch_core_session session, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_park(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_collect_digits_callback(SWIGTYPE_p_switch_core_session session, switch_input_args_t args, uint digit_timeout, uint abs_timeout) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_collect_digits_callback(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_input_args_t.getCPtr(args), digit_timeout, abs_timeout); - return ret; - } - - public static switch_status_t switch_ivr_collect_digits_count(SWIGTYPE_p_switch_core_session session, string buf, SWIGTYPE_p_switch_size_t buflen, SWIGTYPE_p_switch_size_t maxdigits, string terminators, string terminator, uint first_timeout, uint digit_timeout, uint abs_timeout) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_collect_digits_count(SWIGTYPE_p_switch_core_session.getCPtr(session), buf, SWIGTYPE_p_switch_size_t.getCPtr(buflen), SWIGTYPE_p_switch_size_t.getCPtr(maxdigits), terminators, terminator, first_timeout, digit_timeout, abs_timeout); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_ivr_play_and_detect_speech(SWIGTYPE_p_switch_core_session session, string file, string mod_name, string grammar, ref string result, uint input_timeout, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_play_and_detect_speech(SWIGTYPE_p_switch_core_session.getCPtr(session), file, mod_name, grammar, ref result, input_timeout, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech_init(SWIGTYPE_p_switch_core_session session, string mod_name, string dest, switch_asr_handle ah) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech_init(SWIGTYPE_p_switch_core_session.getCPtr(session), mod_name, dest, switch_asr_handle.getCPtr(ah)); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech(SWIGTYPE_p_switch_core_session session, string mod_name, string grammar, string name, string dest, switch_asr_handle ah) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech(SWIGTYPE_p_switch_core_session.getCPtr(session), mod_name, grammar, name, dest, switch_asr_handle.getCPtr(ah)); - return ret; - } - - public static switch_status_t switch_ivr_stop_detect_speech(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_detect_speech(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_pause_detect_speech(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_pause_detect_speech(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_resume_detect_speech(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_resume_detect_speech(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech_load_grammar(SWIGTYPE_p_switch_core_session session, string grammar, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech_load_grammar(SWIGTYPE_p_switch_core_session.getCPtr(session), grammar, name); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech_unload_grammar(SWIGTYPE_p_switch_core_session session, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech_unload_grammar(SWIGTYPE_p_switch_core_session.getCPtr(session), name); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech_enable_grammar(SWIGTYPE_p_switch_core_session session, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech_enable_grammar(SWIGTYPE_p_switch_core_session.getCPtr(session), name); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech_disable_grammar(SWIGTYPE_p_switch_core_session session, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech_disable_grammar(SWIGTYPE_p_switch_core_session.getCPtr(session), name); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech_disable_all_grammars(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech_disable_all_grammars(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_set_param_detect_speech(SWIGTYPE_p_switch_core_session session, string name, string val) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_set_param_detect_speech(SWIGTYPE_p_switch_core_session.getCPtr(session), name, val); - return ret; - } - - public static switch_status_t switch_ivr_detect_speech_start_input_timers(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_detect_speech_start_input_timers(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_record_session(SWIGTYPE_p_switch_core_session session, string file, uint limit, switch_file_handle fh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_record_session(SWIGTYPE_p_switch_core_session.getCPtr(session), file, limit, switch_file_handle.getCPtr(fh)); - return ret; - } - - public static switch_status_t switch_ivr_transfer_recordings(SWIGTYPE_p_switch_core_session orig_session, SWIGTYPE_p_switch_core_session new_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_transfer_recordings(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), SWIGTYPE_p_switch_core_session.getCPtr(new_session)); - return ret; - } - - public static switch_status_t switch_ivr_eavesdrop_pop_eavesdropper(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session sessionp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_pop_eavesdropper(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(sessionp)); - return ret; - } - - public static switch_status_t switch_ivr_eavesdrop_exec_all(SWIGTYPE_p_switch_core_session session, string app, string arg) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_exec_all(SWIGTYPE_p_switch_core_session.getCPtr(session), app, arg); - return ret; - } - - public static switch_status_t switch_ivr_eavesdrop_update_display(SWIGTYPE_p_switch_core_session session, string name, string number) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_update_display(SWIGTYPE_p_switch_core_session.getCPtr(session), name, number); - return ret; - } - - public static switch_status_t switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session session, string uuid, string require_group, uint flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_eavesdrop_session(SWIGTYPE_p_switch_core_session.getCPtr(session), uuid, require_group, flags); - return ret; - } - - public static switch_status_t switch_ivr_displace_session(SWIGTYPE_p_switch_core_session session, string file, uint limit, string flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_displace_session(SWIGTYPE_p_switch_core_session.getCPtr(session), file, limit, flags); - return ret; - } - - public static switch_status_t switch_ivr_stop_displace_session(SWIGTYPE_p_switch_core_session session, string file) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_displace_session(SWIGTYPE_p_switch_core_session.getCPtr(session), file); - return ret; - } - - public static switch_status_t switch_ivr_stop_record_session(SWIGTYPE_p_switch_core_session session, string file) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_record_session(SWIGTYPE_p_switch_core_session.getCPtr(session), file); - return ret; - } - - public static switch_status_t switch_ivr_session_audio(SWIGTYPE_p_switch_core_session session, string cmd, string direction, int level) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_session_audio(SWIGTYPE_p_switch_core_session.getCPtr(session), cmd, direction, level); - return ret; - } - - public static switch_status_t switch_ivr_stop_session_audio(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_session_audio(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_inband_dtmf_session(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_inband_dtmf_session(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_stop_inband_dtmf_session(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_inband_dtmf_session(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_inband_dtmf_generate_session(SWIGTYPE_p_switch_core_session session, switch_bool_t read_stream) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_inband_dtmf_generate_session(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)read_stream); - return ret; - } - - public static switch_status_t switch_ivr_stop_inband_dtmf_generate_session(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_inband_dtmf_generate_session(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_session_echo(SWIGTYPE_p_switch_core_session session, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_session_echo(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_stop_tone_detect_session(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_stop_tone_detect_session(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_tone_detect_session(SWIGTYPE_p_switch_core_session session, string key, string tone_spec, string flags, SWIGTYPE_p_time_t timeout, int hits, string app, string data, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t callback) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_tone_detect_session(SWIGTYPE_p_switch_core_session.getCPtr(session), key, tone_spec, flags, SWIGTYPE_p_time_t.getCPtr(timeout), hits, app, data, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t.getCPtr(callback)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_ivr_play_file(SWIGTYPE_p_switch_core_session session, switch_file_handle fh, string file, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_play_file(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_file_handle.getCPtr(fh), file, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_wait_for_silence(SWIGTYPE_p_switch_core_session session, uint thresh, uint silence_hits, uint listen_hits, uint timeout_ms, string file) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_wait_for_silence(SWIGTYPE_p_switch_core_session.getCPtr(session), thresh, silence_hits, listen_hits, timeout_ms, file); - return ret; - } - - public static switch_status_t switch_ivr_gentones(SWIGTYPE_p_switch_core_session session, string script, int loops, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_gentones(SWIGTYPE_p_switch_core_session.getCPtr(session), script, loops, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_record_file(SWIGTYPE_p_switch_core_session session, switch_file_handle fh, string file, switch_input_args_t args, uint limit) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_record_file(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_file_handle.getCPtr(fh), file, switch_input_args_t.getCPtr(args), limit); - return ret; - } - - public static switch_status_t switch_play_and_get_digits(SWIGTYPE_p_switch_core_session session, uint min_digits, uint max_digits, uint max_tries, uint timeout, string valid_terminators, string audio_file, string bad_input_audio_file, string var_name, string digit_buffer, uint digit_buffer_length, string digits_regex, uint digit_timeout, string transfer_on_failure) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_play_and_get_digits(SWIGTYPE_p_switch_core_session.getCPtr(session), min_digits, max_digits, max_tries, timeout, valid_terminators, audio_file, bad_input_audio_file, var_name, digit_buffer, digit_buffer_length, digits_regex, digit_timeout, transfer_on_failure); - return ret; - } - - public static switch_status_t switch_ivr_speak_text_handle(SWIGTYPE_p_switch_core_session session, switch_speech_handle sh, switch_codec codec, switch_timer timer, string text, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_speak_text_handle(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_speech_handle.getCPtr(sh), switch_codec.getCPtr(codec), switch_timer.getCPtr(timer), text, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static void switch_ivr_clear_speech_cache(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_ivr_clear_speech_cache(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static switch_status_t switch_ivr_speak_text(SWIGTYPE_p_switch_core_session session, string tts_name, string voice_name, string text, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_speak_text(SWIGTYPE_p_switch_core_session.getCPtr(session), tts_name, voice_name, text, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_event ovars, uint flags, SWIGTYPE_p_switch_call_cause_t cancel_cause) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), switch_event.getCPtr(ovars), flags, SWIGTYPE_p_switch_call_cause_t.getCPtr(cancel_cause)); - return ret; - } - - public static switch_status_t switch_ivr_enterprise_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_event ovars, uint flags, SWIGTYPE_p_switch_call_cause_t cancel_cause) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_enterprise_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), switch_event.getCPtr(ovars), flags, SWIGTYPE_p_switch_call_cause_t.getCPtr(cancel_cause)); - return ret; - } - - public static void switch_ivr_bridge_display(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_core_session peer_session) { - freeswitchPINVOKE.switch_ivr_bridge_display(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_core_session.getCPtr(peer_session)); - } - - public static switch_status_t switch_ivr_multi_threaded_bridge(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_core_session peer_session, SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t dtmf_callback, SWIGTYPE_p_void session_data, SWIGTYPE_p_void peer_session_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_multi_threaded_bridge(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_core_session.getCPtr(peer_session), SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t.getCPtr(dtmf_callback), SWIGTYPE_p_void.getCPtr(session_data), SWIGTYPE_p_void.getCPtr(peer_session_data)); - return ret; - } - - public static switch_status_t switch_ivr_signal_bridge(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_core_session peer_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_signal_bridge(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_core_session.getCPtr(peer_session)); - return ret; - } - - public static switch_status_t switch_ivr_session_transfer(SWIGTYPE_p_switch_core_session session, string extension, string dialplan, string context) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_session_transfer(SWIGTYPE_p_switch_core_session.getCPtr(session), extension, dialplan, context); - return ret; - } - - public static uint switch_ivr_schedule_transfer(SWIGTYPE_p_time_t runtime, string uuid, string extension, string dialplan, string context) { - uint ret = freeswitchPINVOKE.switch_ivr_schedule_transfer(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, extension, dialplan, context); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint switch_ivr_schedule_hangup(SWIGTYPE_p_time_t runtime, string uuid, switch_call_cause_t cause, switch_bool_t bleg) { - uint ret = freeswitchPINVOKE.switch_ivr_schedule_hangup(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, (int)cause, (int)bleg); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_ivr_uuid_bridge(string originator_uuid, string originatee_uuid) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_uuid_bridge(originator_uuid, originatee_uuid); - return ret; - } - - public static switch_status_t switch_ivr_media(string uuid, uint flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_media(uuid, flags); - return ret; - } - - public static switch_status_t switch_ivr_nomedia(string uuid, uint flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_nomedia(uuid, flags); - return ret; - } - - public static switch_status_t switch_ivr_hold_uuid(string uuid, string message, switch_bool_t moh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_hold_uuid(uuid, message, (int)moh); - return ret; - } - - public static switch_status_t switch_ivr_hold_toggle_uuid(string uuid, string message, switch_bool_t moh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_hold_toggle_uuid(uuid, message, (int)moh); - return ret; - } - - public static switch_status_t switch_ivr_unhold_uuid(string uuid) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_unhold_uuid(uuid); - return ret; - } - - public static switch_status_t switch_ivr_hold(SWIGTYPE_p_switch_core_session session, string message, switch_bool_t moh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_hold(SWIGTYPE_p_switch_core_session.getCPtr(session), message, (int)moh); - return ret; - } - - public static switch_status_t switch_ivr_unhold(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_unhold(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static uint switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t runtime, string uuid, string path, uint flags) { - uint ret = freeswitchPINVOKE.switch_ivr_schedule_broadcast(SWIGTYPE_p_time_t.getCPtr(runtime), uuid, path, flags); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_ivr_broadcast(string uuid, string path, uint flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_broadcast(uuid, path, flags); - return ret; - } - - public static void switch_ivr_broadcast_in_thread(SWIGTYPE_p_switch_core_session session, string app, int flags) { - freeswitchPINVOKE.switch_ivr_broadcast_in_thread(SWIGTYPE_p_switch_core_session.getCPtr(session), app, flags); - } - - public static switch_status_t switch_ivr_transfer_variable(SWIGTYPE_p_switch_core_session sessa, SWIGTYPE_p_switch_core_session sessb, string var) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_transfer_variable(SWIGTYPE_p_switch_core_session.getCPtr(sessa), SWIGTYPE_p_switch_core_session.getCPtr(sessb), var); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_parser_new(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_p_switch_ivr_digit_stream_parser parser) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_parser_new(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_p_switch_ivr_digit_stream_parser.getCPtr(parser)); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_parser_destroy(SWIGTYPE_p_switch_ivr_digit_stream_parser parser) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_parser_destroy(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser)); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_new(SWIGTYPE_p_switch_ivr_digit_stream_parser parser, SWIGTYPE_p_p_switch_ivr_digit_stream stream) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_new(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser), SWIGTYPE_p_p_switch_ivr_digit_stream.getCPtr(stream)); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_destroy(SWIGTYPE_p_p_switch_ivr_digit_stream stream) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_destroy(SWIGTYPE_p_p_switch_ivr_digit_stream.getCPtr(stream)); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_parser_set_event(SWIGTYPE_p_switch_ivr_digit_stream_parser parser, string digits, SWIGTYPE_p_void data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_parser_set_event(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser), digits, SWIGTYPE_p_void.getCPtr(data)); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_parser_del_event(SWIGTYPE_p_switch_ivr_digit_stream_parser parser, string digits) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_parser_del_event(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser), digits); - return ret; - } - - public static SWIGTYPE_p_void switch_ivr_digit_stream_parser_feed(SWIGTYPE_p_switch_ivr_digit_stream_parser parser, SWIGTYPE_p_switch_ivr_digit_stream stream, char digit) { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_digit_stream_parser_feed(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser), SWIGTYPE_p_switch_ivr_digit_stream.getCPtr(stream), digit); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_reset(SWIGTYPE_p_switch_ivr_digit_stream stream) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_reset(SWIGTYPE_p_switch_ivr_digit_stream.getCPtr(stream)); - return ret; - } - - public static switch_status_t switch_ivr_digit_stream_parser_set_terminator(SWIGTYPE_p_switch_ivr_digit_stream_parser parser, char digit) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_digit_stream_parser_set_terminator(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser), digit); - return ret; - } - - public static switch_status_t switch_ivr_menu_init(SWIGTYPE_p_p_switch_ivr_menu new_menu, SWIGTYPE_p_switch_ivr_menu main, string name, string greeting_sound, string short_greeting_sound, string invalid_sound, string exit_sound, string transfer_sound, string confirm_macro, string confirm_key, string tts_engine, string tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_init(SWIGTYPE_p_p_switch_ivr_menu.getCPtr(new_menu), SWIGTYPE_p_switch_ivr_menu.getCPtr(main), name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_ivr_menu_bind_action(SWIGTYPE_p_switch_ivr_menu menu, switch_ivr_action_t ivr_action, string arg, string bind) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_bind_action(SWIGTYPE_p_switch_ivr_menu.getCPtr(menu), (int)ivr_action, arg, bind); - return ret; - } - - public static switch_status_t switch_ivr_menu_bind_function(SWIGTYPE_p_switch_ivr_menu menu, SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t function, string arg, string bind) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_bind_function(SWIGTYPE_p_switch_ivr_menu.getCPtr(menu), SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t.getCPtr(function), arg, bind); - return ret; - } - - public static switch_status_t switch_ivr_menu_execute(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_ivr_menu stack, string name, SWIGTYPE_p_void obj) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_execute(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_ivr_menu.getCPtr(stack), name, SWIGTYPE_p_void.getCPtr(obj)); - return ret; - } - - public static switch_status_t switch_ivr_menu_stack_free(SWIGTYPE_p_switch_ivr_menu stack) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_stack_free(SWIGTYPE_p_switch_ivr_menu.getCPtr(stack)); - return ret; - } - - public static switch_status_t switch_ivr_menu_stack_xml_build(SWIGTYPE_p_switch_ivr_menu_xml_ctx xml_menu_ctx, SWIGTYPE_p_p_switch_ivr_menu menu_stack, switch_xml xml_menus, switch_xml xml_menu) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_stack_xml_build(SWIGTYPE_p_switch_ivr_menu_xml_ctx.getCPtr(xml_menu_ctx), SWIGTYPE_p_p_switch_ivr_menu.getCPtr(menu_stack), switch_xml.getCPtr(xml_menus), switch_xml.getCPtr(xml_menu)); - return ret; - } - - public static switch_status_t switch_ivr_menu_str2action(string action_name, SWIGTYPE_p_switch_ivr_action_t action) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_str2action(action_name, SWIGTYPE_p_switch_ivr_action_t.getCPtr(action)); - return ret; - } - - public static switch_status_t switch_ivr_menu_stack_xml_add_custom(SWIGTYPE_p_switch_ivr_menu_xml_ctx xml_menu_ctx, string name, SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t function) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_stack_xml_add_custom(SWIGTYPE_p_switch_ivr_menu_xml_ctx.getCPtr(xml_menu_ctx), name, SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t.getCPtr(function)); - return ret; - } - - public static switch_status_t switch_ivr_menu_stack_xml_init(SWIGTYPE_p_p_switch_ivr_menu_xml_ctx xml_menu_ctx, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_menu_stack_xml_init(SWIGTYPE_p_p_switch_ivr_menu_xml_ctx.getCPtr(xml_menu_ctx), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static switch_status_t switch_ivr_phrase_macro_event(SWIGTYPE_p_switch_core_session session, string macro_name, string data, switch_event arg3, string lang, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_phrase_macro_event(SWIGTYPE_p_switch_core_session.getCPtr(session), macro_name, data, switch_event.getCPtr(arg3), lang, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static void switch_ivr_delay_echo(SWIGTYPE_p_switch_core_session session, uint delay_ms) { - freeswitchPINVOKE.switch_ivr_delay_echo(SWIGTYPE_p_switch_core_session.getCPtr(session), delay_ms); - } - - public static switch_status_t switch_ivr_find_bridged_uuid(string uuid, string b_uuid, SWIGTYPE_p_switch_size_t blen) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_find_bridged_uuid(uuid, b_uuid, SWIGTYPE_p_switch_size_t.getCPtr(blen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_ivr_intercept_session(SWIGTYPE_p_switch_core_session session, string uuid, switch_bool_t bleg) { - freeswitchPINVOKE.switch_ivr_intercept_session(SWIGTYPE_p_switch_core_session.getCPtr(session), uuid, (int)bleg); - } - - public static void switch_ivr_park_session(SWIGTYPE_p_switch_core_session session) { - freeswitchPINVOKE.switch_ivr_park_session(SWIGTYPE_p_switch_core_session.getCPtr(session)); - } - - public static switch_status_t switch_ivr_wait_for_answer(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_core_session peer_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_wait_for_answer(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_core_session.getCPtr(peer_session)); - return ret; - } - - public static switch_status_t switch_ivr_read(SWIGTYPE_p_switch_core_session session, uint min_digits, uint max_digits, string prompt_audio_file, string var_name, string digit_buffer, SWIGTYPE_p_switch_size_t digit_buffer_length, uint timeout, string valid_terminators, uint digit_timeout) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_read(SWIGTYPE_p_switch_core_session.getCPtr(session), min_digits, max_digits, prompt_audio_file, var_name, digit_buffer, SWIGTYPE_p_switch_size_t.getCPtr(digit_buffer_length), timeout, valid_terminators, digit_timeout); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_ivr_block_dtmf_session(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_block_dtmf_session(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_unblock_dtmf_session(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_unblock_dtmf_session(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session session, uint key, uint bind_flags, string app) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_bind_dtmf_meta_session(SWIGTYPE_p_switch_core_session.getCPtr(session), key, bind_flags, app); - return ret; - } - - public static switch_status_t switch_ivr_unbind_dtmf_meta_session(SWIGTYPE_p_switch_core_session session, uint key) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_unbind_dtmf_meta_session(SWIGTYPE_p_switch_core_session.getCPtr(session), key); - return ret; - } - - public static switch_status_t switch_ivr_soft_hold(SWIGTYPE_p_switch_core_session session, string unhold_key, string moh_a, string moh_b) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_soft_hold(SWIGTYPE_p_switch_core_session.getCPtr(session), unhold_key, moh_a, moh_b); - return ret; - } - - public static switch_status_t switch_ivr_say(SWIGTYPE_p_switch_core_session session, string tosay, string module_name, string say_type, string say_method, string say_gender, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_say(SWIGTYPE_p_switch_core_session.getCPtr(session), tosay, module_name, say_type, say_method, say_gender, switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_say_string(SWIGTYPE_p_switch_core_session session, string lang, string ext, string tosay, string module_name, string say_type, string say_method, string say_gender, ref string rstr) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_say_string(SWIGTYPE_p_switch_core_session.getCPtr(session), lang, ext, tosay, module_name, say_type, say_method, say_gender, ref rstr); - return ret; - } - - public static switch_say_method_t switch_ivr_get_say_method_by_name(string name) { - switch_say_method_t ret = (switch_say_method_t)freeswitchPINVOKE.switch_ivr_get_say_method_by_name(name); - return ret; - } - - public static switch_say_gender_t switch_ivr_get_say_gender_by_name(string name) { - switch_say_gender_t ret = (switch_say_gender_t)freeswitchPINVOKE.switch_ivr_get_say_gender_by_name(name); - return ret; - } - - public static switch_say_type_t switch_ivr_get_say_type_by_name(string name) { - switch_say_type_t ret = (switch_say_type_t)freeswitchPINVOKE.switch_ivr_get_say_type_by_name(name); - return ret; - } - - public static switch_status_t switch_ivr_say_spell(SWIGTYPE_p_switch_core_session session, string tosay, switch_say_args_t say_args, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_say_spell(SWIGTYPE_p_switch_core_session.getCPtr(session), tosay, switch_say_args_t.getCPtr(say_args), switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_say_ip(SWIGTYPE_p_switch_core_session session, string tosay, SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t number_func, switch_say_args_t say_args, switch_input_args_t args) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_say_ip(SWIGTYPE_p_switch_core_session.getCPtr(session), tosay, SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t.getCPtr(number_func), switch_say_args_t.getCPtr(say_args), switch_input_args_t.getCPtr(args)); - return ret; - } - - public static switch_status_t switch_ivr_set_user(SWIGTYPE_p_switch_core_session session, string data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_set_user(SWIGTYPE_p_switch_core_session.getCPtr(session), data); - return ret; - } - - public static switch_status_t switch_ivr_set_user_xml(SWIGTYPE_p_switch_core_session session, string prefix, string user, string domain, switch_xml x_user) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_set_user_xml(SWIGTYPE_p_switch_core_session.getCPtr(session), prefix, user, domain, switch_xml.getCPtr(x_user)); - return ret; - } - - public static switch_status_t switch_ivr_sound_test(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_sound_test(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static void switch_process_import(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_channel peer_channel, string varname, string prefix) { - freeswitchPINVOKE.switch_process_import(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_channel.getCPtr(peer_channel), varname, prefix); - } - - public static switch_bool_t switch_ivr_uuid_exists(string uuid) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_ivr_uuid_exists(uuid); - return ret; - } - - public static switch_bool_t switch_ivr_uuid_force_exists(string uuid) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_ivr_uuid_force_exists(uuid); - return ret; - } - - public static switch_bool_t switch_ivr_dmachine_is_parsing(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_ivr_dmachine_is_parsing(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - return ret; - } - - public static switch_status_t switch_ivr_dmachine_last_ping(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_last_ping(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - return ret; - } - - public static string switch_ivr_dmachine_get_name(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - string ret = freeswitchPINVOKE.switch_ivr_dmachine_get_name(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - return ret; - } - - public static void switch_ivr_dmachine_set_match_callback(SWIGTYPE_p_switch_ivr_dmachine dmachine, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t match_callback) { - freeswitchPINVOKE.switch_ivr_dmachine_set_match_callback(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(match_callback)); - } - - public static void switch_ivr_dmachine_set_nonmatch_callback(SWIGTYPE_p_switch_ivr_dmachine dmachine, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t nonmatch_callback) { - freeswitchPINVOKE.switch_ivr_dmachine_set_nonmatch_callback(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(nonmatch_callback)); - } - - public static switch_status_t switch_ivr_dmachine_create(SWIGTYPE_p_p_switch_ivr_dmachine dmachine_p, string name, SWIGTYPE_p_apr_pool_t pool, uint digit_timeout, uint input_timeout, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t match_callback, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t nonmatch_callback, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_create(SWIGTYPE_p_p_switch_ivr_dmachine.getCPtr(dmachine_p), name, SWIGTYPE_p_apr_pool_t.getCPtr(pool), digit_timeout, input_timeout, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(match_callback), SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(nonmatch_callback), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static void switch_ivr_dmachine_destroy(SWIGTYPE_p_p_switch_ivr_dmachine dmachine) { - freeswitchPINVOKE.switch_ivr_dmachine_destroy(SWIGTYPE_p_p_switch_ivr_dmachine.getCPtr(dmachine)); - } - - public static switch_status_t switch_ivr_dmachine_bind(SWIGTYPE_p_switch_ivr_dmachine dmachine, string realm, string digits, int key, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t callback, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_bind(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), realm, digits, key, SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static switch_status_t switch_ivr_dmachine_feed(SWIGTYPE_p_switch_ivr_dmachine dmachine, string digits, SWIGTYPE_p_p_switch_ivr_dmachine_match match) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_feed(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), digits, SWIGTYPE_p_p_switch_ivr_dmachine_match.getCPtr(match)); - return ret; - } - - public static switch_status_t switch_ivr_dmachine_clear(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_clear(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - return ret; - } - - public static switch_status_t switch_ivr_dmachine_ping(SWIGTYPE_p_switch_ivr_dmachine dmachine, SWIGTYPE_p_p_switch_ivr_dmachine_match match_p) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_ping(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), SWIGTYPE_p_p_switch_ivr_dmachine_match.getCPtr(match_p)); - return ret; - } - - public static switch_ivr_dmachine_match switch_ivr_dmachine_get_match(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_get_match(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - switch_ivr_dmachine_match ret = (cPtr == IntPtr.Zero) ? null : new switch_ivr_dmachine_match(cPtr, false); - return ret; - } - - public static string switch_ivr_dmachine_get_failed_digits(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - string ret = freeswitchPINVOKE.switch_ivr_dmachine_get_failed_digits(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - return ret; - } - - public static void switch_ivr_dmachine_set_digit_timeout_ms(SWIGTYPE_p_switch_ivr_dmachine dmachine, uint digit_timeout_ms) { - freeswitchPINVOKE.switch_ivr_dmachine_set_digit_timeout_ms(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), digit_timeout_ms); - } - - public static void switch_ivr_dmachine_set_input_timeout_ms(SWIGTYPE_p_switch_ivr_dmachine dmachine, uint input_timeout_ms) { - freeswitchPINVOKE.switch_ivr_dmachine_set_input_timeout_ms(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), input_timeout_ms); - } - - public static switch_status_t switch_ivr_dmachine_clear_realm(SWIGTYPE_p_switch_ivr_dmachine dmachine, string realm) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_clear_realm(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), realm); - return ret; - } - - public static switch_status_t switch_ivr_dmachine_set_realm(SWIGTYPE_p_switch_ivr_dmachine dmachine, string realm) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_set_realm(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine), realm); - return ret; - } - - public static switch_status_t switch_ivr_get_file_handle(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_file_handle fh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_get_file_handle(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_file_handle.getCPtr(fh)); - return ret; - } - - public static switch_status_t switch_ivr_release_file_handle(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_file_handle fh) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_release_file_handle(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_file_handle.getCPtr(fh)); - return ret; - } - - public static switch_status_t switch_ivr_process_fh(SWIGTYPE_p_switch_core_session session, string cmd, switch_file_handle fhp) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_process_fh(SWIGTYPE_p_switch_core_session.getCPtr(session), cmd, switch_file_handle.getCPtr(fhp)); - return ret; - } - - public static switch_status_t switch_ivr_insert_file(SWIGTYPE_p_switch_core_session session, string file, string insert_file, SWIGTYPE_p_switch_size_t sample_point) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_insert_file(SWIGTYPE_p_switch_core_session.getCPtr(session), file, insert_file, SWIGTYPE_p_switch_size_t.getCPtr(sample_point)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_ivr_create_message_reply(SWIGTYPE_p_p_switch_event reply, switch_event message, string new_proto) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_create_message_reply(SWIGTYPE_p_p_switch_event.getCPtr(reply), switch_event.getCPtr(message), new_proto); - return ret; - } - - public static string switch_ivr_check_presence_mapping(string exten_name, string domain_name) { - string ret = freeswitchPINVOKE.switch_ivr_check_presence_mapping(exten_name, domain_name); - return ret; - } - - public static switch_status_t switch_ivr_kill_uuid(string uuid, switch_call_cause_t cause) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_kill_uuid(uuid, (int)cause); - return ret; - } - - public static switch_status_t switch_ivr_blind_transfer_ack(SWIGTYPE_p_switch_core_session session, switch_bool_t success) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_blind_transfer_ack(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)success); - return ret; - } - - public static switch_status_t switch_ivr_record_session_mask(SWIGTYPE_p_switch_core_session session, string file, switch_bool_t on) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_record_session_mask(SWIGTYPE_p_switch_core_session.getCPtr(session), file, (int)on); - return ret; - } - - public static switch_status_t switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_rtp_crypto_key_type_t type, SWIGTYPE_p_unsigned_char key, SWIGTYPE_p_switch_size_t keylen) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)direction, index, (int)type, SWIGTYPE_p_unsigned_char.getCPtr(key), SWIGTYPE_p_switch_size_t.getCPtr(keylen)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_rtp_get_random(SWIGTYPE_p_void buf, uint len) { - freeswitchPINVOKE.switch_rtp_get_random(SWIGTYPE_p_void.getCPtr(buf), len); - } - - public static void switch_rtp_init(SWIGTYPE_p_apr_pool_t pool) { - freeswitchPINVOKE.switch_rtp_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - } - - public static void switch_rtp_shutdown() { - freeswitchPINVOKE.switch_rtp_shutdown(); - } - - public static ushort switch_rtp_set_start_port(ushort port) { - ushort ret = freeswitchPINVOKE.switch_rtp_set_start_port(port); - return ret; - } - - public static switch_status_t switch_rtp_set_ssrc(SWIGTYPE_p_switch_rtp rtp_session, uint ssrc) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_ssrc(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), ssrc); - return ret; - } - - public static switch_status_t switch_rtp_set_remote_ssrc(SWIGTYPE_p_switch_rtp rtp_session, uint ssrc) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_remote_ssrc(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), ssrc); - return ret; - } - - public static ushort switch_rtp_set_end_port(ushort port) { - ushort ret = freeswitchPINVOKE.switch_rtp_set_end_port(port); - return ret; - } - - public static ushort switch_rtp_request_port(string ip) { - ushort ret = freeswitchPINVOKE.switch_rtp_request_port(ip); - return ret; - } - - public static void switch_rtp_release_port(string ip, ushort port) { - freeswitchPINVOKE.switch_rtp_release_port(ip, port); - } - - public static switch_status_t switch_rtp_set_interval(SWIGTYPE_p_switch_rtp rtp_session, uint ms_per_packet, uint samples_per_interval) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_interval(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), ms_per_packet, samples_per_interval); - return ret; - } - - public static switch_status_t switch_rtp_change_interval(SWIGTYPE_p_switch_rtp rtp_session, uint ms_per_packet, uint samples_per_interval) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_change_interval(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), ms_per_packet, samples_per_interval); - return ret; - } - - public static switch_status_t switch_rtp_create(SWIGTYPE_p_p_switch_rtp new_rtp_session, byte payload, uint samples_per_interval, uint ms_per_packet, SWIGTYPE_p_switch_rtp_flag_t flags, string timer_name, ref string err, SWIGTYPE_p_apr_pool_t pool) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_create(SWIGTYPE_p_p_switch_rtp.getCPtr(new_rtp_session), payload, samples_per_interval, ms_per_packet, SWIGTYPE_p_switch_rtp_flag_t.getCPtr(flags), timer_name, ref err, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - return ret; - } - - public static SWIGTYPE_p_switch_rtp switch_rtp_new(string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, SWIGTYPE_p_switch_rtp_flag_t flags, string timer_name, ref string err, SWIGTYPE_p_apr_pool_t pool) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, SWIGTYPE_p_switch_rtp_flag_t.getCPtr(flags), timer_name, ref err, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - SWIGTYPE_p_switch_rtp ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_rtp(cPtr, false); - return ret; - } - - public static switch_status_t switch_rtp_set_remote_address(SWIGTYPE_p_switch_rtp rtp_session, string host, ushort port, ushort remote_rtcp_port, switch_bool_t change_adv_addr, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_remote_address(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), host, port, remote_rtcp_port, (int)change_adv_addr, ref err); - return ret; - } - - public static string switch_rtp_get_remote_host(SWIGTYPE_p_switch_rtp rtp_session) { - string ret = freeswitchPINVOKE.switch_rtp_get_remote_host(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static ushort switch_rtp_get_remote_port(SWIGTYPE_p_switch_rtp rtp_session) { - ushort ret = freeswitchPINVOKE.switch_rtp_get_remote_port(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static void switch_rtp_reset_media_timer(SWIGTYPE_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_reset_media_timer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - } - - public static void switch_rtp_set_max_missed_packets(SWIGTYPE_p_switch_rtp rtp_session, uint max) { - freeswitchPINVOKE.switch_rtp_set_max_missed_packets(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), max); - } - - public static switch_status_t switch_rtp_udptl_mode(SWIGTYPE_p_switch_rtp rtp_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_udptl_mode(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static void switch_rtp_reset(SWIGTYPE_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_reset(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - } - - public static switch_status_t switch_rtp_set_local_address(SWIGTYPE_p_switch_rtp rtp_session, string host, ushort port, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_local_address(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), host, port, ref err); - return ret; - } - - public static void switch_rtp_kill_socket(SWIGTYPE_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_kill_socket(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - } - - public static void switch_rtp_break(SWIGTYPE_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_break(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - } - - public static void switch_rtp_flush(SWIGTYPE_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_flush(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - } - - public static byte switch_rtp_ready(SWIGTYPE_p_switch_rtp rtp_session) { - byte ret = freeswitchPINVOKE.switch_rtp_ready(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static void switch_rtp_destroy(SWIGTYPE_p_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_destroy(SWIGTYPE_p_p_switch_rtp.getCPtr(rtp_session)); - } - - public static switch_status_t switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp rtp_session, string login, string rlogin, string password, string rpassword, ice_proto_t proto, switch_core_media_ice_type_t type, ice_t ice_params) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_ice(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), login, rlogin, password, rpassword, (int)proto, (int)type, ice_t.getCPtr(ice_params)); - return ret; - } - - public static switch_status_t switch_rtp_activate_rtcp(SWIGTYPE_p_switch_rtp rtp_session, int send_rate, ushort remote_port, switch_bool_t mux) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_rtcp(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), send_rate, remote_port, (int)mux); - return ret; - } - - public static switch_status_t switch_rtp_activate_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session, uint queue_frames, uint max_queue_frames, uint samples_per_packet, uint samples_per_second, uint max_drift) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_activate_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), queue_frames, max_queue_frames, samples_per_packet, samples_per_second, max_drift); - return ret; - } - - public static switch_status_t switch_rtp_debug_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session, string name) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_debug_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), name); - return ret; - } - - public static switch_status_t switch_rtp_deactivate_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_deactivate_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static switch_status_t switch_rtp_pause_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session, switch_bool_t pause) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_pause_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)pause); - return ret; - } - - public static SWIGTYPE_p_stfu_instance_t switch_rtp_get_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - SWIGTYPE_p_stfu_instance_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_stfu_instance_t(cPtr, false); - return ret; - } - - public static void switch_rtp_set_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flag) { - freeswitchPINVOKE.switch_rtp_set_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flag); - } - - public static void switch_rtp_set_flags(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_rtp_flag_t flags) { - freeswitchPINVOKE.switch_rtp_set_flags(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_rtp_flag_t.getCPtr(flags)); - } - - public static void switch_rtp_clear_flags(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_rtp_flag_t flags) { - freeswitchPINVOKE.switch_rtp_clear_flags(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_rtp_flag_t.getCPtr(flags)); - } - - public static uint switch_rtp_test_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flags) { - uint ret = freeswitchPINVOKE.switch_rtp_test_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flags); - return ret; - } - - public static void switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flag_t flag) { - freeswitchPINVOKE.switch_rtp_clear_flag(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flag); - } - - public static SWIGTYPE_p_switch_socket_t switch_rtp_get_rtp_socket(SWIGTYPE_p_switch_rtp rtp_session) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_rtp_socket(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - SWIGTYPE_p_switch_socket_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_socket_t(cPtr, false); - return ret; - } - - public static void switch_rtp_ping(SWIGTYPE_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_ping(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - } - - public static uint switch_rtp_get_default_samples_per_interval(SWIGTYPE_p_switch_rtp rtp_session) { - uint ret = freeswitchPINVOKE.switch_rtp_get_default_samples_per_interval(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static void switch_rtp_set_default_payload(SWIGTYPE_p_switch_rtp rtp_session, byte payload) { - freeswitchPINVOKE.switch_rtp_set_default_payload(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), payload); - } - - public static uint switch_rtp_get_default_payload(SWIGTYPE_p_switch_rtp rtp_session) { - uint ret = freeswitchPINVOKE.switch_rtp_get_default_payload(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static void switch_rtp_set_invalid_handler(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void on_invalid) { - freeswitchPINVOKE.switch_rtp_set_invalid_handler(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void.getCPtr(on_invalid)); - } - - public static switch_status_t switch_rtp_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_unsigned_long.getCPtr(flags), io_flags); - return ret; - } - - public static switch_status_t switch_rtp_queue_rfc2833(SWIGTYPE_p_switch_rtp rtp_session, switch_dtmf_t dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_queue_rfc2833(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_dtmf_t.getCPtr(dtmf)); - return ret; - } - - public static switch_status_t switch_rtp_queue_rfc2833_in(SWIGTYPE_p_switch_rtp rtp_session, switch_dtmf_t dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_queue_rfc2833_in(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_dtmf_t.getCPtr(dtmf)); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_rtp_has_dtmf(SWIGTYPE_p_switch_rtp rtp_session) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_has_dtmf(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)), true); - return ret; - } - - public static SWIGTYPE_p_switch_size_t switch_rtp_dequeue_dtmf(SWIGTYPE_p_switch_rtp rtp_session, switch_dtmf_t dtmf) { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_dequeue_dtmf(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_dtmf_t.getCPtr(dtmf)), true); - return ret; - } - - public static switch_status_t switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_p_void data, SWIGTYPE_p_unsigned_long datalen, SWIGTYPE_p_unsigned_char payload_type, SWIGTYPE_p_unsigned_long flags, uint io_flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_p_void.getCPtr(data), SWIGTYPE_p_unsigned_long.getCPtr(datalen), SWIGTYPE_p_unsigned_char.getCPtr(payload_type), SWIGTYPE_p_unsigned_long.getCPtr(flags), io_flags); - return ret; - } - - public static switch_status_t switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp rtp_session, switch_frame frame, uint io_flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_frame.getCPtr(frame), io_flags); - return ret; - } - - public static switch_status_t switch_rtcp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_rtcp_frame frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtcp_zerocopy_read_frame(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_rtcp_frame.getCPtr(frame)); - return ret; - } - - public static void rtp_flush_read_buffer(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_flush_t flush) { - freeswitchPINVOKE.rtp_flush_read_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)flush); - } - - public static switch_status_t switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_switch_core_session session, switch_codec codec, uint flags) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_enable_vad(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec.getCPtr(codec), flags); - return ret; - } - - public static switch_status_t switch_rtp_disable_vad(SWIGTYPE_p_switch_rtp rtp_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_disable_vad(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static int switch_rtp_write_frame(SWIGTYPE_p_switch_rtp rtp_session, switch_frame frame) { - int ret = freeswitchPINVOKE.switch_rtp_write_frame(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), switch_frame.getCPtr(frame)); - return ret; - } - - public static int switch_rtp_write_manual(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void data, uint datalen, byte m, byte payload, uint ts, SWIGTYPE_p_unsigned_long flags) { - int ret = freeswitchPINVOKE.switch_rtp_write_manual(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(data), datalen, m, payload, ts, SWIGTYPE_p_unsigned_long.getCPtr(flags)); - return ret; - } - - public static uint switch_rtp_get_ssrc(SWIGTYPE_p_switch_rtp rtp_session) { - uint ret = freeswitchPINVOKE.switch_rtp_get_ssrc(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static void switch_rtp_set_private(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_void private_data) { - freeswitchPINVOKE.switch_rtp_set_private(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_void.getCPtr(private_data)); - } - - public static void switch_rtp_set_telephony_event(SWIGTYPE_p_switch_rtp rtp_session, byte te) { - freeswitchPINVOKE.switch_rtp_set_telephony_event(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), te); - } - - public static void switch_rtp_set_telephony_recv_event(SWIGTYPE_p_switch_rtp rtp_session, byte te) { - freeswitchPINVOKE.switch_rtp_set_telephony_recv_event(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), te); - } - - public static void switch_rtp_set_cng_pt(SWIGTYPE_p_switch_rtp rtp_session, byte pt) { - freeswitchPINVOKE.switch_rtp_set_cng_pt(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), pt); - } - - public static SWIGTYPE_p_void switch_rtp_get_private(SWIGTYPE_p_switch_rtp rtp_session) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_private(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static switch_status_t switch_rtp_set_payload_map(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_p_payload_map_s pmap) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_set_payload_map(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_p_payload_map_s.getCPtr(pmap)); - return ret; - } - - public static void switch_rtp_intentional_bugs(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_bug_flag_t bugs) { - freeswitchPINVOKE.switch_rtp_intentional_bugs(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)bugs); - } - - public static switch_rtp_stats_t switch_rtp_get_stats(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_apr_pool_t pool) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_stats(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - switch_rtp_stats_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_stats_t(cPtr, false); - return ret; - } - - public static byte switch_rtp_check_auto_adj(SWIGTYPE_p_switch_rtp rtp_session) { - byte ret = freeswitchPINVOKE.switch_rtp_check_auto_adj(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - return ret; - } - - public static void switch_rtp_set_interdigit_delay(SWIGTYPE_p_switch_rtp rtp_session, uint delay) { - freeswitchPINVOKE.switch_rtp_set_interdigit_delay(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), delay); - } - - public static switch_status_t switch_rtp_add_dtls(SWIGTYPE_p_switch_rtp rtp_session, dtls_fingerprint_t local_fp, dtls_fingerprint_t remote_fp, dtls_type_t type) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_dtls(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), dtls_fingerprint_t.getCPtr(local_fp), dtls_fingerprint_t.getCPtr(remote_fp), (int)type); - return ret; - } - - public static switch_status_t switch_rtp_del_dtls(SWIGTYPE_p_switch_rtp rtp_session, dtls_type_t type) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_del_dtls(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)type); - return ret; - } - - public static int switch_rtp_has_dtls() { - int ret = freeswitchPINVOKE.switch_rtp_has_dtls(); - return ret; - } - - public static void switch_rtp_video_refresh(SWIGTYPE_p_switch_rtp rtp_session) { - freeswitchPINVOKE.switch_rtp_video_refresh(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - } - - public static switch_status_t switch_log_init(SWIGTYPE_p_apr_pool_t pool, switch_bool_t colorize) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_log_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool), (int)colorize); - return ret; - } - - public static switch_status_t switch_log_shutdown() { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_log_shutdown(); - return ret; - } - - public static switch_status_t switch_log_bind_logger(SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t function, switch_log_level_t level, switch_bool_t is_console) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_log_bind_logger(SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t.getCPtr(function), (int)level, (int)is_console); - return ret; - } - - public static switch_status_t switch_log_unbind_logger(SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t function) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_log_unbind_logger(SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t.getCPtr(function)); - return ret; - } - - public static string switch_log_level2str(switch_log_level_t level) { - string ret = freeswitchPINVOKE.switch_log_level2str((int)level); - return ret; - } - - public static switch_log_level_t switch_log_str2level(string str) { - switch_log_level_t ret = (switch_log_level_t)freeswitchPINVOKE.switch_log_str2level(str); - return ret; - } - - public static uint switch_log_str2mask(string str) { - uint ret = freeswitchPINVOKE.switch_log_str2mask(str); - return ret; - } - - public static switch_log_node_t switch_log_node_dup(switch_log_node_t node) { - IntPtr cPtr = freeswitchPINVOKE.switch_log_node_dup(switch_log_node_t.getCPtr(node)); - switch_log_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_log_node_t(cPtr, false); - return ret; - } - - public static void switch_log_node_free(SWIGTYPE_p_p_switch_log_node_t pnode) { - freeswitchPINVOKE.switch_log_node_free(SWIGTYPE_p_p_switch_log_node_t.getCPtr(pnode)); - } - - public static switch_xml switch_xml_parse_str_dynamic(string s, switch_bool_t dup) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_str_dynamic(s, (int)dup); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_parse_str(string s, SWIGTYPE_p_switch_size_t len) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_str(s, SWIGTYPE_p_switch_size_t.getCPtr(len)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_xml switch_xml_parse_fd(int fd) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_fd(fd); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_parse_file(string file) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_file(file); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_parse_file_simple(string file) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_file_simple(file); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_parse_fp(SWIGTYPE_p_FILE fp) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_fp(SWIGTYPE_p_FILE.getCPtr(fp)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_child(switch_xml xml, string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_child(switch_xml.getCPtr(xml), name); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_find_child(switch_xml node, string childname, string attrname, string value) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_find_child(switch_xml.getCPtr(node), childname, attrname, value); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_find_child_multi(switch_xml node, string childname) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_find_child_multi(switch_xml.getCPtr(node), childname); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static string switch_xml_attr(switch_xml xml, string attr) { - string ret = freeswitchPINVOKE.switch_xml_attr(switch_xml.getCPtr(xml), attr); - return ret; - } - - public static string switch_xml_attr_soft(switch_xml xml, string attr) { - string ret = freeswitchPINVOKE.switch_xml_attr_soft(switch_xml.getCPtr(xml), attr); - return ret; - } - - public static switch_xml switch_xml_get(switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_get(switch_xml.getCPtr(xml)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static string switch_xml_toxml(switch_xml xml, switch_bool_t prn_header) { - string ret = freeswitchPINVOKE.switch_xml_toxml(switch_xml.getCPtr(xml), (int)prn_header); - return ret; - } - - public static string switch_xml_toxml_nolock(switch_xml xml, switch_bool_t prn_header) { - string ret = freeswitchPINVOKE.switch_xml_toxml_nolock(switch_xml.getCPtr(xml), (int)prn_header); - return ret; - } - - public static string switch_xml_tohtml(switch_xml xml, switch_bool_t prn_header) { - string ret = freeswitchPINVOKE.switch_xml_tohtml(switch_xml.getCPtr(xml), (int)prn_header); - return ret; - } - - public static string switch_xml_toxml_buf(switch_xml xml, string buf, SWIGTYPE_p_switch_size_t buflen, SWIGTYPE_p_switch_size_t offset, switch_bool_t prn_header) { - string ret = freeswitchPINVOKE.switch_xml_toxml_buf(switch_xml.getCPtr(xml), buf, SWIGTYPE_p_switch_size_t.getCPtr(buflen), SWIGTYPE_p_switch_size_t.getCPtr(offset), (int)prn_header); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void switch_xml_free(switch_xml xml) { - freeswitchPINVOKE.switch_xml_free(switch_xml.getCPtr(xml)); - } - - public static void switch_xml_free_in_thread(switch_xml xml, int stacksize) { - freeswitchPINVOKE.switch_xml_free_in_thread(switch_xml.getCPtr(xml), stacksize); - } - - public static string switch_xml_error(switch_xml xml) { - string ret = freeswitchPINVOKE.switch_xml_error(switch_xml.getCPtr(xml)); - return ret; - } - - public static switch_xml switch_xml_new(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_new(name); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_add_child(switch_xml xml, string name, SWIGTYPE_p_switch_size_t off) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_add_child(switch_xml.getCPtr(xml), name, SWIGTYPE_p_switch_size_t.getCPtr(off)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_xml switch_xml_set_txt(switch_xml xml, string txt) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_txt(switch_xml.getCPtr(xml), txt); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_set_attr(switch_xml xml, string name, string value) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_attr(switch_xml.getCPtr(xml), name, value); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_set_flag(switch_xml xml, switch_xml_flag_t flag) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_flag(switch_xml.getCPtr(xml), (int)flag); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_cut(switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_cut(switch_xml.getCPtr(xml)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_insert(switch_xml xml, switch_xml dest, SWIGTYPE_p_switch_size_t off) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_insert(switch_xml.getCPtr(xml), switch_xml.getCPtr(dest), SWIGTYPE_p_switch_size_t.getCPtr(off)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static switch_status_t switch_xml_set_root(switch_xml new_main) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_set_root(switch_xml.getCPtr(new_main)); - return ret; - } - - public static switch_status_t switch_xml_set_open_root_function(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml func, SWIGTYPE_p_void user_data) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_set_open_root_function(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml.getCPtr(func), SWIGTYPE_p_void.getCPtr(user_data)); - return ret; - } - - public static switch_xml switch_xml_open_root(byte reload, ref string err) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_root(reload, ref err); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_status_t switch_xml_init(SWIGTYPE_p_apr_pool_t pool, ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool), ref err); - return ret; - } - - public static switch_status_t switch_xml_reload(ref string err) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_reload(ref err); - return ret; - } - - public static switch_status_t switch_xml_destroy() { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_destroy(); - return ret; - } - - public static switch_xml switch_xml_root() { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_root(); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_status_t switch_xml_locate(string section, string tag_name, string key_name, string key_value, SWIGTYPE_p_p_switch_xml root, SWIGTYPE_p_p_switch_xml node, switch_event arg6, switch_bool_t clone) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate(section, tag_name, key_name, key_value, SWIGTYPE_p_p_switch_xml.getCPtr(root), SWIGTYPE_p_p_switch_xml.getCPtr(node), switch_event.getCPtr(arg6), (int)clone); - return ret; - } - - public static switch_status_t switch_xml_locate_domain(string domain_name, switch_event arg1, SWIGTYPE_p_p_switch_xml root, SWIGTYPE_p_p_switch_xml domain) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_domain(domain_name, switch_event.getCPtr(arg1), SWIGTYPE_p_p_switch_xml.getCPtr(root), SWIGTYPE_p_p_switch_xml.getCPtr(domain)); - return ret; - } - - public static switch_status_t switch_xml_locate_group(string group_name, string domain_name, SWIGTYPE_p_p_switch_xml root, SWIGTYPE_p_p_switch_xml domain, SWIGTYPE_p_p_switch_xml group, switch_event arg5) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_group(group_name, domain_name, SWIGTYPE_p_p_switch_xml.getCPtr(root), SWIGTYPE_p_p_switch_xml.getCPtr(domain), SWIGTYPE_p_p_switch_xml.getCPtr(group), switch_event.getCPtr(arg5)); - return ret; - } - - public static switch_status_t switch_xml_locate_user(string key, string user_name, string domain_name, string ip, SWIGTYPE_p_p_switch_xml root, SWIGTYPE_p_p_switch_xml domain, SWIGTYPE_p_p_switch_xml user, SWIGTYPE_p_p_switch_xml ingroup, switch_event arg8) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_user(key, user_name, domain_name, ip, SWIGTYPE_p_p_switch_xml.getCPtr(root), SWIGTYPE_p_p_switch_xml.getCPtr(domain), SWIGTYPE_p_p_switch_xml.getCPtr(user), SWIGTYPE_p_p_switch_xml.getCPtr(ingroup), switch_event.getCPtr(arg8)); - return ret; - } - - public static switch_status_t switch_xml_locate_user_in_domain(string user_name, switch_xml domain, SWIGTYPE_p_p_switch_xml user, SWIGTYPE_p_p_switch_xml ingroup) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_user_in_domain(user_name, switch_xml.getCPtr(domain), SWIGTYPE_p_p_switch_xml.getCPtr(user), SWIGTYPE_p_p_switch_xml.getCPtr(ingroup)); - return ret; - } - - public static switch_status_t switch_xml_locate_user_merged(string key, string user_name, string domain_name, string ip, SWIGTYPE_p_p_switch_xml user, switch_event arg5) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_user_merged(key, user_name, domain_name, ip, SWIGTYPE_p_p_switch_xml.getCPtr(user), switch_event.getCPtr(arg5)); - return ret; - } - - public static uint switch_xml_clear_user_cache(string key, string user_name, string domain_name) { - uint ret = freeswitchPINVOKE.switch_xml_clear_user_cache(key, user_name, domain_name); - return ret; - } - - public static void switch_xml_merge_user(switch_xml user, switch_xml domain, switch_xml group) { - freeswitchPINVOKE.switch_xml_merge_user(switch_xml.getCPtr(user), switch_xml.getCPtr(domain), switch_xml.getCPtr(group)); - } - - public static switch_xml switch_xml_dup(switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_dup(switch_xml.getCPtr(xml)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static switch_xml switch_xml_open_cfg(string file_path, SWIGTYPE_p_p_switch_xml node, switch_event arg2) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_cfg(file_path, SWIGTYPE_p_p_switch_xml.getCPtr(node), switch_event.getCPtr(arg2)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - - public static void switch_xml_set_binding_sections(SWIGTYPE_p_switch_xml_binding binding, uint sections) { - freeswitchPINVOKE.switch_xml_set_binding_sections(SWIGTYPE_p_switch_xml_binding.getCPtr(binding), sections); - } - - public static void switch_xml_set_binding_user_data(SWIGTYPE_p_switch_xml_binding binding, SWIGTYPE_p_void user_data) { - freeswitchPINVOKE.switch_xml_set_binding_user_data(SWIGTYPE_p_switch_xml_binding.getCPtr(binding), SWIGTYPE_p_void.getCPtr(user_data)); - } - - public static uint switch_xml_get_binding_sections(SWIGTYPE_p_switch_xml_binding binding) { - uint ret = freeswitchPINVOKE.switch_xml_get_binding_sections(SWIGTYPE_p_switch_xml_binding.getCPtr(binding)); - return ret; - } - - public static SWIGTYPE_p_void switch_xml_get_binding_user_data(SWIGTYPE_p_switch_xml_binding binding) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_get_binding_user_data(SWIGTYPE_p_switch_xml_binding.getCPtr(binding)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - - public static switch_status_t switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function, uint sections, SWIGTYPE_p_void user_data, SWIGTYPE_p_p_switch_xml_binding ret_binding) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_bind_search_function_ret(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function), sections, SWIGTYPE_p_void.getCPtr(user_data), SWIGTYPE_p_p_switch_xml_binding.getCPtr(ret_binding)); - return ret; - } - - public static switch_status_t switch_xml_unbind_search_function(SWIGTYPE_p_p_switch_xml_binding binding) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_unbind_search_function(SWIGTYPE_p_p_switch_xml_binding.getCPtr(binding)); - return ret; - } - - public static switch_status_t switch_xml_unbind_search_function_ptr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml function) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_unbind_search_function_ptr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml.getCPtr(function)); - return ret; - } - - public static uint switch_xml_parse_section_string(string str) { - uint ret = freeswitchPINVOKE.switch_xml_parse_section_string(str); - return ret; - } - - public static int switch_xml_std_datetime_check(switch_xml xcond, SWIGTYPE_p_int offset, string tzname) { - int ret = freeswitchPINVOKE.switch_xml_std_datetime_check(switch_xml.getCPtr(xcond), SWIGTYPE_p_int.getCPtr(offset), tzname); - return ret; - } - - public static switch_status_t switch_xml_locate_language(SWIGTYPE_p_p_switch_xml root, SWIGTYPE_p_p_switch_xml node, switch_event arg2, SWIGTYPE_p_p_switch_xml language, SWIGTYPE_p_p_switch_xml phrases, SWIGTYPE_p_p_switch_xml macros, string str_language) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_xml_locate_language(SWIGTYPE_p_p_switch_xml.getCPtr(root), SWIGTYPE_p_p_switch_xml.getCPtr(node), switch_event.getCPtr(arg2), SWIGTYPE_p_p_switch_xml.getCPtr(language), SWIGTYPE_p_p_switch_xml.getCPtr(phrases), SWIGTYPE_p_p_switch_xml.getCPtr(macros), str_language); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(outgoing_channel)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_receive_message(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t receive_message) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_receive_message(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.getCPtr(receive_message)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_receive_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t receive_event) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_receive_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.getCPtr(receive_event)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_state_change(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_change) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_state_change(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_change)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_state_run(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_state_run(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_run)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(write_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_read_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_write_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_kill_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t kill_channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_kill_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.getCPtr(kill_channel)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_send_dtmf(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t send_dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_send_dtmf(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(send_dtmf)); - return ret; - } - - public static switch_status_t switch_core_event_hook_add_recv_dtmf(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t recv_dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_add_recv_dtmf(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(recv_dtmf)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_outgoing_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(outgoing_channel)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_receive_message(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t receive_message) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_receive_message(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.getCPtr(receive_message)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_receive_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t receive_event) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_receive_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.getCPtr(receive_event)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_state_change(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_change) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_state_change(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_change)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_state_run(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_state_run(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(state_run)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(read_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(write_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_read_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_read_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_video_write_frame(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(video_write_frame)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_kill_channel(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t kill_channel) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_kill_channel(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.getCPtr(kill_channel)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_send_dtmf(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t send_dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_send_dtmf(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(send_dtmf)); - return ret; - } - - public static switch_status_t switch_core_event_hook_remove_recv_dtmf(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t recv_dtmf) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_event_hook_remove_recv_dtmf(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(recv_dtmf)); - return ret; - } - - public static uint switch_scheduler_add_task(SWIGTYPE_p_time_t task_runtime, SWIGTYPE_p_f_p_switch_scheduler_task__void func, string desc, string group, uint cmd_id, SWIGTYPE_p_void cmd_arg, uint flags) { - uint ret = freeswitchPINVOKE.switch_scheduler_add_task(SWIGTYPE_p_time_t.getCPtr(task_runtime), SWIGTYPE_p_f_p_switch_scheduler_task__void.getCPtr(func), desc, group, cmd_id, SWIGTYPE_p_void.getCPtr(cmd_arg), flags); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static uint switch_scheduler_del_task_id(uint task_id) { - uint ret = freeswitchPINVOKE.switch_scheduler_del_task_id(task_id); - return ret; - } - - public static uint switch_scheduler_del_task_group(string group) { - uint ret = freeswitchPINVOKE.switch_scheduler_del_task_group(group); - return ret; - } - - public static void switch_scheduler_task_thread_start() { - freeswitchPINVOKE.switch_scheduler_task_thread_start(); - } - - public static void switch_scheduler_task_thread_stop() { - freeswitchPINVOKE.switch_scheduler_task_thread_stop(); - } - - public static int switch_config_open_file(switch_config cfg, string file_path) { - int ret = freeswitchPINVOKE.switch_config_open_file(switch_config.getCPtr(cfg), file_path); - return ret; - } - - public static void switch_config_close_file(switch_config cfg) { - freeswitchPINVOKE.switch_config_close_file(switch_config.getCPtr(cfg)); - } - - public static int switch_config_next_pair(switch_config cfg, ref string var, ref string val) { - int ret = freeswitchPINVOKE.switch_config_next_pair(switch_config.getCPtr(cfg), ref var, ref val); - return ret; - } - - public static void setGlobalVariable(string var_name, string var_val) { - freeswitchPINVOKE.setGlobalVariable(var_name, var_val); - } - - public static string getGlobalVariable(string var_name) { - string ret = freeswitchPINVOKE.getGlobalVariable(var_name); - return ret; - } - - public static void consoleLog(string level_str, string msg) { - freeswitchPINVOKE.consoleLog(level_str, msg); - } - - public static void consoleLog2(string level_str, string file, string func, int line, string msg) { - freeswitchPINVOKE.consoleLog2(level_str, file, func, line, msg); - } - - public static void consoleCleanLog(string msg) { - freeswitchPINVOKE.consoleCleanLog(msg); - } - - public static bool running() { - bool ret = freeswitchPINVOKE.running(); - return ret; - } - - public static bool email(string to, string from, string headers, string body, string file, string convert_cmd, string convert_ext) { - bool ret = freeswitchPINVOKE.email(to, from, headers, body, file, convert_cmd, convert_ext); - return ret; - } - - public static void console_log(string level_str, string msg) { - freeswitchPINVOKE.console_log(level_str, msg); - } - - public static void console_log2(string level_str, string file, string func, int line, string msg) { - freeswitchPINVOKE.console_log2(level_str, file, func, line, msg); - } - - public static void console_clean_log(string msg) { - freeswitchPINVOKE.console_clean_log(msg); - } - - public static void msleep(uint ms) { - freeswitchPINVOKE.msleep(ms); - } - - public static void bridge(CoreSession session_a, CoreSession session_b) { - freeswitchPINVOKE.bridge(CoreSession.getCPtr(session_a), CoreSession.getCPtr(session_b)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - - public static switch_status_t hanguphook(SWIGTYPE_p_switch_core_session session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.hanguphook(SWIGTYPE_p_switch_core_session.getCPtr(session)); - return ret; - } - - public static switch_status_t dtmf_callback(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_void input, switch_input_type_t itype, SWIGTYPE_p_void buf, uint buflen) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.dtmf_callback(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_void.getCPtr(input), (int)itype, SWIGTYPE_p_void.getCPtr(buf), buflen); - return ret; - } - - public static readonly string FREESWITCH_PEN = freeswitchPINVOKE.FREESWITCH_PEN_get(); - public static readonly string FREESWITCH_OID_PREFIX = freeswitchPINVOKE.FREESWITCH_OID_PREFIX_get(); - public static readonly string FREESWITCH_ITAD = freeswitchPINVOKE.FREESWITCH_ITAD_get(); - public static readonly int __EXTENSIONS__ = freeswitchPINVOKE.__EXTENSIONS___get(); - public static readonly int __BSD_VISIBLE = freeswitchPINVOKE.__BSD_VISIBLE_get(); - public static readonly string SWITCH_ENT_ORIGINATE_DELIM = freeswitchPINVOKE.SWITCH_ENT_ORIGINATE_DELIM_get(); - public static readonly string SWITCH_BLANK_STRING = freeswitchPINVOKE.SWITCH_BLANK_STRING_get(); - public static readonly int SWITCH_TON_UNDEF = freeswitchPINVOKE.SWITCH_TON_UNDEF_get(); - public static readonly int SWITCH_NUMPLAN_UNDEF = freeswitchPINVOKE.SWITCH_NUMPLAN_UNDEF_get(); - public static readonly string SWITCH_SEQ_ESC = freeswitchPINVOKE.SWITCH_SEQ_ESC_get(); - public static readonly char SWITCH_SEQ_HOME_CHAR = freeswitchPINVOKE.SWITCH_SEQ_HOME_CHAR_get(); - public static readonly string SWITCH_SEQ_HOME_CHAR_STR = freeswitchPINVOKE.SWITCH_SEQ_HOME_CHAR_STR_get(); - public static readonly char SWITCH_SEQ_CLEARLINE_CHAR = freeswitchPINVOKE.SWITCH_SEQ_CLEARLINE_CHAR_get(); - public static readonly string SWITCH_SEQ_CLEARLINE_CHAR_STR = freeswitchPINVOKE.SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); - public static readonly string SWITCH_SEQ_CLEARLINEEND_CHAR = freeswitchPINVOKE.SWITCH_SEQ_CLEARLINEEND_CHAR_get(); - public static readonly char SWITCH_SEQ_CLEARSCR_CHAR0 = freeswitchPINVOKE.SWITCH_SEQ_CLEARSCR_CHAR0_get(); - public static readonly char SWITCH_SEQ_CLEARSCR_CHAR1 = freeswitchPINVOKE.SWITCH_SEQ_CLEARSCR_CHAR1_get(); - public static readonly string SWITCH_SEQ_CLEARSCR_CHAR = freeswitchPINVOKE.SWITCH_SEQ_CLEARSCR_CHAR_get(); - public static readonly string SWITCH_SEQ_AND_COLOR = freeswitchPINVOKE.SWITCH_SEQ_AND_COLOR_get(); - public static readonly string SWITCH_SEQ_END_COLOR = freeswitchPINVOKE.SWITCH_SEQ_END_COLOR_get(); - public static readonly string SWITCH_SEQ_F_BLACK = freeswitchPINVOKE.SWITCH_SEQ_F_BLACK_get(); - public static readonly string SWITCH_SEQ_F_RED = freeswitchPINVOKE.SWITCH_SEQ_F_RED_get(); - public static readonly string SWITCH_SEQ_F_GREEN = freeswitchPINVOKE.SWITCH_SEQ_F_GREEN_get(); - public static readonly string SWITCH_SEQ_F_YELLOW = freeswitchPINVOKE.SWITCH_SEQ_F_YELLOW_get(); - public static readonly string SWITCH_SEQ_F_BLUE = freeswitchPINVOKE.SWITCH_SEQ_F_BLUE_get(); - public static readonly string SWITCH_SEQ_F_MAGEN = freeswitchPINVOKE.SWITCH_SEQ_F_MAGEN_get(); - public static readonly string SWITCH_SEQ_F_CYAN = freeswitchPINVOKE.SWITCH_SEQ_F_CYAN_get(); - public static readonly string SWITCH_SEQ_F_WHITE = freeswitchPINVOKE.SWITCH_SEQ_F_WHITE_get(); - public static readonly string SWITCH_SEQ_B_BLACK = freeswitchPINVOKE.SWITCH_SEQ_B_BLACK_get(); - public static readonly string SWITCH_SEQ_B_RED = freeswitchPINVOKE.SWITCH_SEQ_B_RED_get(); - public static readonly string SWITCH_SEQ_B_GREEN = freeswitchPINVOKE.SWITCH_SEQ_B_GREEN_get(); - public static readonly string SWITCH_SEQ_B_YELLOW = freeswitchPINVOKE.SWITCH_SEQ_B_YELLOW_get(); - public static readonly string SWITCH_SEQ_B_BLUE = freeswitchPINVOKE.SWITCH_SEQ_B_BLUE_get(); - public static readonly string SWITCH_SEQ_B_MAGEN = freeswitchPINVOKE.SWITCH_SEQ_B_MAGEN_get(); - public static readonly string SWITCH_SEQ_B_CYAN = freeswitchPINVOKE.SWITCH_SEQ_B_CYAN_get(); - public static readonly string SWITCH_SEQ_B_WHITE = freeswitchPINVOKE.SWITCH_SEQ_B_WHITE_get(); - public static readonly string SWITCH_SEQ_FBLACK = freeswitchPINVOKE.SWITCH_SEQ_FBLACK_get(); - public static readonly string SWITCH_SEQ_FRED = freeswitchPINVOKE.SWITCH_SEQ_FRED_get(); - public static readonly string SWITCH_SEQ_FGREEN = freeswitchPINVOKE.SWITCH_SEQ_FGREEN_get(); - public static readonly string SWITCH_SEQ_FYELLOW = freeswitchPINVOKE.SWITCH_SEQ_FYELLOW_get(); - public static readonly string SWITCH_SEQ_FBLUE = freeswitchPINVOKE.SWITCH_SEQ_FBLUE_get(); - public static readonly string SWITCH_SEQ_FMAGEN = freeswitchPINVOKE.SWITCH_SEQ_FMAGEN_get(); - public static readonly string SWITCH_SEQ_FCYAN = freeswitchPINVOKE.SWITCH_SEQ_FCYAN_get(); - public static readonly string SWITCH_SEQ_FWHITE = freeswitchPINVOKE.SWITCH_SEQ_FWHITE_get(); - public static readonly string SWITCH_SEQ_BBLACK = freeswitchPINVOKE.SWITCH_SEQ_BBLACK_get(); - public static readonly string SWITCH_SEQ_BRED = freeswitchPINVOKE.SWITCH_SEQ_BRED_get(); - public static readonly string SWITCH_SEQ_BGREEN = freeswitchPINVOKE.SWITCH_SEQ_BGREEN_get(); - public static readonly string SWITCH_SEQ_BYELLOW = freeswitchPINVOKE.SWITCH_SEQ_BYELLOW_get(); - public static readonly string SWITCH_SEQ_BBLUE = freeswitchPINVOKE.SWITCH_SEQ_BBLUE_get(); - public static readonly string SWITCH_SEQ_BMAGEN = freeswitchPINVOKE.SWITCH_SEQ_BMAGEN_get(); - public static readonly string SWITCH_SEQ_BCYAN = freeswitchPINVOKE.SWITCH_SEQ_BCYAN_get(); - public static readonly string SWITCH_SEQ_BWHITE = freeswitchPINVOKE.SWITCH_SEQ_BWHITE_get(); - public static readonly string SWITCH_SEQ_HOME = freeswitchPINVOKE.SWITCH_SEQ_HOME_get(); - public static readonly string SWITCH_SEQ_CLEARLINE = freeswitchPINVOKE.SWITCH_SEQ_CLEARLINE_get(); - public static readonly string SWITCH_SEQ_CLEARLINEEND = freeswitchPINVOKE.SWITCH_SEQ_CLEARLINEEND_get(); - public static readonly string SWITCH_SEQ_CLEARSCR = freeswitchPINVOKE.SWITCH_SEQ_CLEARSCR_get(); - public static readonly string SWITCH_DEFAULT_CLID_NAME = freeswitchPINVOKE.SWITCH_DEFAULT_CLID_NAME_get(); - public static readonly string SWITCH_DEFAULT_CLID_NUMBER = freeswitchPINVOKE.SWITCH_DEFAULT_CLID_NUMBER_get(); - public static readonly int SWITCH_DEFAULT_DTMF_DURATION = freeswitchPINVOKE.SWITCH_DEFAULT_DTMF_DURATION_get(); - public static readonly int SWITCH_MIN_DTMF_DURATION = freeswitchPINVOKE.SWITCH_MIN_DTMF_DURATION_get(); - public static readonly int SWITCH_MAX_DTMF_DURATION = freeswitchPINVOKE.SWITCH_MAX_DTMF_DURATION_get(); - public static readonly string SWITCH_PATH_SEPARATOR = freeswitchPINVOKE.SWITCH_PATH_SEPARATOR_get(); - public static readonly string SWITCH_URL_SEPARATOR = freeswitchPINVOKE.SWITCH_URL_SEPARATOR_get(); - public static readonly string SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE = freeswitchPINVOKE.SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get(); - public static readonly string SWITCH_AUDIO_SPOOL_PATH_VARIABLE = freeswitchPINVOKE.SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get(); - public static readonly string SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get(); - public static readonly string SWITCH_READ_TERMINATOR_USED_VARIABLE = freeswitchPINVOKE.SWITCH_READ_TERMINATOR_USED_VARIABLE_get(); - public static readonly string SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE = freeswitchPINVOKE.SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get(); - public static readonly string SWITCH_CURRENT_APPLICATION_VARIABLE = freeswitchPINVOKE.SWITCH_CURRENT_APPLICATION_VARIABLE_get(); - public static readonly string SWITCH_CURRENT_APPLICATION_DATA_VARIABLE = freeswitchPINVOKE.SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get(); - public static readonly string SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE = freeswitchPINVOKE.SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get(); - public static readonly string SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE = freeswitchPINVOKE.SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get(); - public static readonly string SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE = freeswitchPINVOKE.SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get(); - public static readonly string SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_READ_RESULT_VARIABLE = freeswitchPINVOKE.SWITCH_READ_RESULT_VARIABLE_get(); - public static readonly string SWITCH_ATT_XFER_RESULT_VARIABLE = freeswitchPINVOKE.SWITCH_ATT_XFER_RESULT_VARIABLE_get(); - public static readonly string SWITCH_COPY_XML_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_COPY_XML_CDR_VARIABLE_get(); - public static readonly string SWITCH_COPY_JSON_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_COPY_JSON_CDR_VARIABLE_get(); - public static readonly string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE = freeswitchPINVOKE.SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); - public static readonly string SWITCH_TRANSFER_HISTORY_VARIABLE = freeswitchPINVOKE.SWITCH_TRANSFER_HISTORY_VARIABLE_get(); - public static readonly string SWITCH_TRANSFER_SOURCE_VARIABLE = freeswitchPINVOKE.SWITCH_TRANSFER_SOURCE_VARIABLE_get(); - public static readonly string SWITCH_SENSITIVE_DTMF_VARIABLE = freeswitchPINVOKE.SWITCH_SENSITIVE_DTMF_VARIABLE_get(); - public static readonly string SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE = freeswitchPINVOKE.SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get(); - public static readonly string SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE = freeswitchPINVOKE.SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_RING_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_RING_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get(); - public static readonly string SWITCH_CALL_TIMEOUT_VARIABLE = freeswitchPINVOKE.SWITCH_CALL_TIMEOUT_VARIABLE_get(); - public static readonly string SWITCH_HOLDING_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_HOLDING_UUID_VARIABLE_get(); - public static readonly string SWITCH_SOFT_HOLDING_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_SOFT_HOLDING_UUID_VARIABLE_get(); - public static readonly string SWITCH_API_BRIDGE_END_VARIABLE = freeswitchPINVOKE.SWITCH_API_BRIDGE_END_VARIABLE_get(); - public static readonly string SWITCH_API_BRIDGE_START_VARIABLE = freeswitchPINVOKE.SWITCH_API_BRIDGE_START_VARIABLE_get(); - public static readonly string SWITCH_API_HANGUP_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_API_HANGUP_HOOK_VARIABLE_get(); - public static readonly string SWITCH_API_REPORTING_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_API_REPORTING_HOOK_VARIABLE_get(); - public static readonly string SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE = freeswitchPINVOKE.SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get(); - public static readonly string SWITCH_PROCESS_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_PROCESS_CDR_VARIABLE_get(); - public static readonly string SWITCH_SKIP_CDR_CAUSES_VARIABLE = freeswitchPINVOKE.SWITCH_SKIP_CDR_CAUSES_VARIABLE_get(); - public static readonly string SWITCH_FORCE_PROCESS_CDR_VARIABLE = freeswitchPINVOKE.SWITCH_FORCE_PROCESS_CDR_VARIABLE_get(); - public static readonly string SWITCH_BRIDGE_CHANNEL_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); - public static readonly string SWITCH_CHANNEL_NAME_VARIABLE = freeswitchPINVOKE.SWITCH_CHANNEL_NAME_VARIABLE_get(); - public static readonly string SWITCH_BRIDGE_UUID_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_UUID_VARIABLE_get(); - public static readonly string SWITCH_CONTINUE_ON_FAILURE_VARIABLE = freeswitchPINVOKE.SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get(); - public static readonly string SWITCH_PLAYBACK_TERMINATORS_VARIABLE = freeswitchPINVOKE.SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); - public static readonly string SWITCH_PLAYBACK_TERMINATOR_USED = freeswitchPINVOKE.SWITCH_PLAYBACK_TERMINATOR_USED_get(); - public static readonly string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE = freeswitchPINVOKE.SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); - public static readonly string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME = freeswitchPINVOKE.SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); - public static readonly string SWITCH_BYPASS_MEDIA_VARIABLE = freeswitchPINVOKE.SWITCH_BYPASS_MEDIA_VARIABLE_get(); - public static readonly string SWITCH_PROXY_MEDIA_VARIABLE = freeswitchPINVOKE.SWITCH_PROXY_MEDIA_VARIABLE_get(); - public static readonly string SWITCH_ZRTP_PASSTHRU_VARIABLE = freeswitchPINVOKE.SWITCH_ZRTP_PASSTHRU_VARIABLE_get(); - public static readonly string SWITCH_ENDPOINT_DISPOSITION_VARIABLE = freeswitchPINVOKE.SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); - public static readonly string SWITCH_HOLD_MUSIC_VARIABLE = freeswitchPINVOKE.SWITCH_HOLD_MUSIC_VARIABLE_get(); - public static readonly string SWITCH_TEMP_HOLD_MUSIC_VARIABLE = freeswitchPINVOKE.SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get(); - public static readonly string SWITCH_EXPORT_VARS_VARIABLE = freeswitchPINVOKE.SWITCH_EXPORT_VARS_VARIABLE_get(); - public static readonly string SWITCH_BRIDGE_EXPORT_VARS_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get(); - public static readonly string SWITCH_R_SDP_VARIABLE = freeswitchPINVOKE.SWITCH_R_SDP_VARIABLE_get(); - public static readonly string SWITCH_L_SDP_VARIABLE = freeswitchPINVOKE.SWITCH_L_SDP_VARIABLE_get(); - public static readonly string SWITCH_B_SDP_VARIABLE = freeswitchPINVOKE.SWITCH_B_SDP_VARIABLE_get(); - public static readonly string SWITCH_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_LAST_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_LAST_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_SIGNAL_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_SIGNAL_BOND_VARIABLE = freeswitchPINVOKE.SWITCH_SIGNAL_BOND_VARIABLE_get(); - public static readonly string SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE = freeswitchPINVOKE.SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get(); - public static readonly string SWITCH_ORIGINATOR_VARIABLE = freeswitchPINVOKE.SWITCH_ORIGINATOR_VARIABLE_get(); - public static readonly string SWITCH_ORIGINATOR_CODEC_VARIABLE = freeswitchPINVOKE.SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); - public static readonly string SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE = freeswitchPINVOKE.SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get(); - public static readonly string SWITCH_LOCAL_MEDIA_IP_VARIABLE = freeswitchPINVOKE.SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); - public static readonly string SWITCH_LOCAL_MEDIA_PORT_VARIABLE = freeswitchPINVOKE.SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); - public static readonly string SWITCH_ADVERTISED_MEDIA_IP_VARIABLE = freeswitchPINVOKE.SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get(); - public static readonly string SWITCH_REMOTE_MEDIA_IP_VARIABLE = freeswitchPINVOKE.SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); - public static readonly string SWITCH_REMOTE_MEDIA_PORT_VARIABLE = freeswitchPINVOKE.SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); - public static readonly string SWITCH_REMOTE_VIDEO_IP_VARIABLE = freeswitchPINVOKE.SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); - public static readonly string SWITCH_REMOTE_VIDEO_PORT_VARIABLE = freeswitchPINVOKE.SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); - public static readonly string SWITCH_LOCAL_VIDEO_IP_VARIABLE = freeswitchPINVOKE.SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); - public static readonly string SWITCH_LOCAL_VIDEO_PORT_VARIABLE = freeswitchPINVOKE.SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); - public static readonly string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_PARK_AFTER_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE = freeswitchPINVOKE.SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get(); - public static readonly string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); - public static readonly string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE = freeswitchPINVOKE.SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); - public static readonly string SWITCH_MAX_FORWARDS_VARIABLE = freeswitchPINVOKE.SWITCH_MAX_FORWARDS_VARIABLE_get(); - public static readonly string SWITCH_DISABLE_APP_LOG_VARIABLE = freeswitchPINVOKE.SWITCH_DISABLE_APP_LOG_VARIABLE_get(); - public static readonly string SWITCH_SPEECH_KEY = freeswitchPINVOKE.SWITCH_SPEECH_KEY_get(); - public static readonly string SWITCH_UUID_BRIDGE = freeswitchPINVOKE.SWITCH_UUID_BRIDGE_get(); - public static readonly int SWITCH_BITS_PER_BYTE = freeswitchPINVOKE.SWITCH_BITS_PER_BYTE_get(); - public static readonly int SWITCH_DEFAULT_FILE_BUFFER_LEN = freeswitchPINVOKE.SWITCH_DEFAULT_FILE_BUFFER_LEN_get(); - public static readonly int SWITCH_DTMF_LOG_LEN = freeswitchPINVOKE.SWITCH_DTMF_LOG_LEN_get(); - public static readonly int SWITCH_MAX_TRANS = freeswitchPINVOKE.SWITCH_MAX_TRANS_get(); - public static readonly int SWITCH_CORE_SESSION_MAX_PRIVATES = freeswitchPINVOKE.SWITCH_CORE_SESSION_MAX_PRIVATES_get(); - public static readonly double JITTER_VARIANCE_THRESHOLD = freeswitchPINVOKE.JITTER_VARIANCE_THRESHOLD_get(); - public static readonly double IPDV_THRESHOLD = freeswitchPINVOKE.IPDV_THRESHOLD_get(); - public static readonly int LOST_BURST_ANALYZE = freeswitchPINVOKE.LOST_BURST_ANALYZE_get(); - public static readonly int LOST_BURST_CAPTURE = freeswitchPINVOKE.LOST_BURST_CAPTURE_get(); - public static readonly int SWITCH_MAX_STACKS = freeswitchPINVOKE.SWITCH_MAX_STACKS_get(); - public static readonly int SWITCH_THREAD_STACKSIZE = freeswitchPINVOKE.SWITCH_THREAD_STACKSIZE_get(); - public static readonly int SWITCH_SYSTEM_THREAD_STACKSIZE = freeswitchPINVOKE.SWITCH_SYSTEM_THREAD_STACKSIZE_get(); - public static readonly int SWITCH_MAX_INTERVAL = freeswitchPINVOKE.SWITCH_MAX_INTERVAL_get(); - public static readonly int SWITCH_INTERVAL_PAD = freeswitchPINVOKE.SWITCH_INTERVAL_PAD_get(); - public static readonly int SWITCH_MAX_SAMPLE_LEN = freeswitchPINVOKE.SWITCH_MAX_SAMPLE_LEN_get(); - public static readonly int SWITCH_BYTES_PER_SAMPLE = freeswitchPINVOKE.SWITCH_BYTES_PER_SAMPLE_get(); - public static readonly int SWITCH_RECOMMENDED_BUFFER_SIZE = freeswitchPINVOKE.SWITCH_RECOMMENDED_BUFFER_SIZE_get(); - public static readonly int SWITCH_MAX_CODECS = freeswitchPINVOKE.SWITCH_MAX_CODECS_get(); - public static readonly int SWITCH_MAX_STATE_HANDLERS = freeswitchPINVOKE.SWITCH_MAX_STATE_HANDLERS_get(); - public static readonly int SWITCH_CORE_QUEUE_LEN = freeswitchPINVOKE.SWITCH_CORE_QUEUE_LEN_get(); - public static readonly int SWITCH_MAX_MANAGEMENT_BUFFER_LEN = freeswitchPINVOKE.SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get(); - public static readonly int SWITCH_RTP_CNG_PAYLOAD = freeswitchPINVOKE.SWITCH_RTP_CNG_PAYLOAD_get(); - public static readonly int SWITCH_MEDIA_TYPE_TOTAL = freeswitchPINVOKE.SWITCH_MEDIA_TYPE_TOTAL_get(); - public static readonly int SWITCH_SOCK_INVALID = freeswitchPINVOKE.SWITCH_SOCK_INVALID_get(); - public static readonly int DMACHINE_MAX_DIGIT_LEN = freeswitchPINVOKE.DMACHINE_MAX_DIGIT_LEN_get(); - public static readonly int MAX_ARG_RECURSION = freeswitchPINVOKE.MAX_ARG_RECURSION_get(); - public static readonly int SWITCH_API_VERSION = freeswitchPINVOKE.SWITCH_API_VERSION_get(); - public static readonly int SWITCH_CORE_DB_OK = freeswitchPINVOKE.SWITCH_CORE_DB_OK_get(); - public static readonly int SWITCH_CORE_DB_ERROR = freeswitchPINVOKE.SWITCH_CORE_DB_ERROR_get(); - public static readonly int SWITCH_CORE_DB_INTERNAL = freeswitchPINVOKE.SWITCH_CORE_DB_INTERNAL_get(); - public static readonly int SWITCH_CORE_DB_PERM = freeswitchPINVOKE.SWITCH_CORE_DB_PERM_get(); - public static readonly int SWITCH_CORE_DB_ABORT = freeswitchPINVOKE.SWITCH_CORE_DB_ABORT_get(); - public static readonly int SWITCH_CORE_DB_BUSY = freeswitchPINVOKE.SWITCH_CORE_DB_BUSY_get(); - public static readonly int SWITCH_CORE_DB_LOCKED = freeswitchPINVOKE.SWITCH_CORE_DB_LOCKED_get(); - public static readonly int SWITCH_CORE_DB_NOMEM = freeswitchPINVOKE.SWITCH_CORE_DB_NOMEM_get(); - public static readonly int SWITCH_CORE_DB_READONLY = freeswitchPINVOKE.SWITCH_CORE_DB_READONLY_get(); - public static readonly int SWITCH_CORE_DB_INTERRUPT = freeswitchPINVOKE.SWITCH_CORE_DB_INTERRUPT_get(); - public static readonly int SWITCH_CORE_DB_IOERR = freeswitchPINVOKE.SWITCH_CORE_DB_IOERR_get(); - public static readonly int SWITCH_CORE_DB_CORRUPT = freeswitchPINVOKE.SWITCH_CORE_DB_CORRUPT_get(); - public static readonly int SWITCH_CORE_DB_NOTFOUND = freeswitchPINVOKE.SWITCH_CORE_DB_NOTFOUND_get(); - public static readonly int SWITCH_CORE_DB_FULL = freeswitchPINVOKE.SWITCH_CORE_DB_FULL_get(); - public static readonly int SWITCH_CORE_DB_CANTOPEN = freeswitchPINVOKE.SWITCH_CORE_DB_CANTOPEN_get(); - public static readonly int SWITCH_CORE_DB_PROTOCOL = freeswitchPINVOKE.SWITCH_CORE_DB_PROTOCOL_get(); - public static readonly int SWITCH_CORE_DB_EMPTY = freeswitchPINVOKE.SWITCH_CORE_DB_EMPTY_get(); - public static readonly int SWITCH_CORE_DB_SCHEMA = freeswitchPINVOKE.SWITCH_CORE_DB_SCHEMA_get(); - public static readonly int SWITCH_CORE_DB_TOOBIG = freeswitchPINVOKE.SWITCH_CORE_DB_TOOBIG_get(); - public static readonly int SWITCH_CORE_DB_CONSTRAINT = freeswitchPINVOKE.SWITCH_CORE_DB_CONSTRAINT_get(); - public static readonly int SWITCH_CORE_DB_MISMATCH = freeswitchPINVOKE.SWITCH_CORE_DB_MISMATCH_get(); - public static readonly int SWITCH_CORE_DB_MISUSE = freeswitchPINVOKE.SWITCH_CORE_DB_MISUSE_get(); - public static readonly int SWITCH_CORE_DB_NOLFS = freeswitchPINVOKE.SWITCH_CORE_DB_NOLFS_get(); - public static readonly int SWITCH_CORE_DB_AUTH = freeswitchPINVOKE.SWITCH_CORE_DB_AUTH_get(); - public static readonly int SWITCH_CORE_DB_FORMAT = freeswitchPINVOKE.SWITCH_CORE_DB_FORMAT_get(); - public static readonly int SWITCH_CORE_DB_RANGE = freeswitchPINVOKE.SWITCH_CORE_DB_RANGE_get(); - public static readonly int SWITCH_CORE_DB_NOTADB = freeswitchPINVOKE.SWITCH_CORE_DB_NOTADB_get(); - public static readonly int SWITCH_CORE_DB_ROW = freeswitchPINVOKE.SWITCH_CORE_DB_ROW_get(); - public static readonly int SWITCH_CORE_DB_DONE = freeswitchPINVOKE.SWITCH_CORE_DB_DONE_get(); - public static readonly int SWITCH_MAX_CORE_THREAD_SESSION_OBJS = freeswitchPINVOKE.SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get(); - public static readonly int SWITCH_MAX_STREAMS = freeswitchPINVOKE.SWITCH_MAX_STREAMS_get(); - public static readonly string DTLS_SRTP_FNAME = freeswitchPINVOKE.DTLS_SRTP_FNAME_get(); - public static readonly int MAX_FPLEN = freeswitchPINVOKE.MAX_FPLEN_get(); - public static readonly int MAX_FPSTRLEN = freeswitchPINVOKE.MAX_FPSTRLEN_get(); - public static readonly int MESSAGE_STRING_ARG_MAX = freeswitchPINVOKE.MESSAGE_STRING_ARG_MAX_get(); - public static readonly int CACHE_DB_LEN = freeswitchPINVOKE.CACHE_DB_LEN_get(); - public static readonly int SWITCH_CMD_CHUNK_LEN = freeswitchPINVOKE.SWITCH_CMD_CHUNK_LEN_get(); - public static readonly string SWITCH_URL_UNSAFE = freeswitchPINVOKE.SWITCH_URL_UNSAFE_get(); - public static readonly int SWITCH_SMAX = freeswitchPINVOKE.SWITCH_SMAX_get(); - public static readonly int SWITCH_SMIN = freeswitchPINVOKE.SWITCH_SMIN_get(); - public static readonly int NO_EVENT_CHANNEL_ID = freeswitchPINVOKE.NO_EVENT_CHANNEL_ID_get(); - public static readonly string SWITCH_EVENT_CHANNEL_GLOBAL = freeswitchPINVOKE.SWITCH_EVENT_CHANNEL_GLOBAL_get(); - public static readonly int SWITCH_RESAMPLE_QUALITY = freeswitchPINVOKE.SWITCH_RESAMPLE_QUALITY_get(); - public static readonly int SWITCH_RTP_MAX_BUF_LEN = freeswitchPINVOKE.SWITCH_RTP_MAX_BUF_LEN_get(); - public static readonly int SWITCH_RTCP_MAX_BUF_LEN = freeswitchPINVOKE.SWITCH_RTCP_MAX_BUF_LEN_get(); - public static readonly int SWITCH_RTP_MAX_BUF_LEN_WORDS = freeswitchPINVOKE.SWITCH_RTP_MAX_BUF_LEN_WORDS_get(); - public static readonly int SWITCH_RTP_MAX_CRYPTO_LEN = freeswitchPINVOKE.SWITCH_RTP_MAX_CRYPTO_LEN_get(); - public static readonly string SWITCH_RTP_CRYPTO_KEY_80 = freeswitchPINVOKE.SWITCH_RTP_CRYPTO_KEY_80_get(); - public static readonly int MAX_CAND = freeswitchPINVOKE.MAX_CAND_get(); - public static readonly int SWITCH_XML_BUFSIZE = freeswitchPINVOKE.SWITCH_XML_BUFSIZE_get(); -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -class freeswitchPINVOKE { - - protected class SWIGExceptionHelper { - - public delegate void ExceptionDelegate(string message); - public delegate void ExceptionArgumentDelegate(string message, string paramName); - - static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); - static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); - static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); - static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); - static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); - static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); - static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); - static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); - static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); - static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); - static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); - - static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); - static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); - static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); - - [DllImport("mod_managed", EntryPoint="SWIGRegisterExceptionCallbacks_freeswitch")] - public static extern void SWIGRegisterExceptionCallbacks_freeswitch( - ExceptionDelegate applicationDelegate, - ExceptionDelegate arithmeticDelegate, - ExceptionDelegate divideByZeroDelegate, - ExceptionDelegate indexOutOfRangeDelegate, - ExceptionDelegate invalidCastDelegate, - ExceptionDelegate invalidOperationDelegate, - ExceptionDelegate ioDelegate, - ExceptionDelegate nullReferenceDelegate, - ExceptionDelegate outOfMemoryDelegate, - ExceptionDelegate overflowDelegate, - ExceptionDelegate systemExceptionDelegate); - - [DllImport("mod_managed", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_freeswitch")] - public static extern void SWIGRegisterExceptionCallbacksArgument_freeswitch( - ExceptionArgumentDelegate argumentDelegate, - ExceptionArgumentDelegate argumentNullDelegate, - ExceptionArgumentDelegate argumentOutOfRangeDelegate); - - static void SetPendingApplicationException(string message) { - SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingArithmeticException(string message) { - SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingDivideByZeroException(string message) { - SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIndexOutOfRangeException(string message) { - SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidCastException(string message) { - SWIGPendingException.Set(new System.InvalidCastException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidOperationException(string message) { - SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIOException(string message) { - SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingNullReferenceException(string message) { - SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOutOfMemoryException(string message) { - SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOverflowException(string message) { - SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingSystemException(string message) { - SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve())); - } - - static void SetPendingArgumentException(string message, string paramName) { - SWIGPendingException.Set(new System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); - } - static void SetPendingArgumentNullException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentNullException(paramName, message)); - } - static void SetPendingArgumentOutOfRangeException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentOutOfRangeException(paramName, message)); - } - - static SWIGExceptionHelper() { - SWIGRegisterExceptionCallbacks_freeswitch( - applicationDelegate, - arithmeticDelegate, - divideByZeroDelegate, - indexOutOfRangeDelegate, - invalidCastDelegate, - invalidOperationDelegate, - ioDelegate, - nullReferenceDelegate, - outOfMemoryDelegate, - overflowDelegate, - systemDelegate); - - SWIGRegisterExceptionCallbacksArgument_freeswitch( - argumentDelegate, - argumentNullDelegate, - argumentOutOfRangeDelegate); - } - } - - protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); - - public class SWIGPendingException { - [ThreadStatic] - private static Exception pendingException = null; - private static int numExceptionsPending = 0; - - public static bool Pending { - get { - bool pending = false; - if (numExceptionsPending > 0) - if (pendingException != null) - pending = true; - return pending; - } - } - - public static void Set(Exception e) { - if (pendingException != null) - throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); - pendingException = e; - lock(typeof(freeswitchPINVOKE)) { - numExceptionsPending++; - } - } - - public static Exception Retrieve() { - Exception e = null; - if (numExceptionsPending > 0) { - if (pendingException != null) { - e = pendingException; - pendingException = null; - lock(typeof(freeswitchPINVOKE)) { - numExceptionsPending--; - } - } - } - return e; - } - } - - - static freeswitchPINVOKE() { - } - - - - protected class SWIGStringHelper { - - public delegate string SWIGStringDelegate(string message); - static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); - - [DllImport("mod_managed", EntryPoint="SWIGRegisterStringCallback_freeswitch")] - public static extern void SWIGRegisterStringCallback_freeswitch(SWIGStringDelegate stringDelegate); - - static string CreateString(string cString) { - return cString; - } - - static SWIGStringHelper() { - SWIGRegisterStringCallback_freeswitch(stringDelegate); - } - } - - static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); - - - [DllImport("mod_managed", EntryPoint="CSharp_FREESWITCH_PEN_get")] - public static extern string FREESWITCH_PEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_FREESWITCH_OID_PREFIX_get")] - public static extern string FREESWITCH_OID_PREFIX_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_FREESWITCH_ITAD_get")] - public static extern string FREESWITCH_ITAD_get(); - - [DllImport("mod_managed", EntryPoint="CSharp___EXTENSIONS___get")] - public static extern int __EXTENSIONS___get(); - - [DllImport("mod_managed", EntryPoint="CSharp___BSD_VISIBLE_get")] - public static extern int __BSD_VISIBLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENT_ORIGINATE_DELIM_get")] - public static extern string SWITCH_ENT_ORIGINATE_DELIM_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BLANK_STRING_get")] - public static extern string SWITCH_BLANK_STRING_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TON_UNDEF_get")] - public static extern int SWITCH_TON_UNDEF_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_NUMPLAN_UNDEF_get")] - public static extern int SWITCH_NUMPLAN_UNDEF_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_ESC_get")] - public static extern string SWITCH_SEQ_ESC_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_get")] - public static extern char SWITCH_SEQ_HOME_CHAR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_STR_get")] - public static extern string SWITCH_SEQ_HOME_CHAR_STR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get")] - public static extern char SWITCH_SEQ_CLEARLINE_CHAR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get")] - public static extern string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get")] - public static extern string SWITCH_SEQ_CLEARLINEEND_CHAR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get")] - public static extern char SWITCH_SEQ_CLEARSCR_CHAR0_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR1_get")] - public static extern char SWITCH_SEQ_CLEARSCR_CHAR1_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get")] - public static extern string SWITCH_SEQ_CLEARSCR_CHAR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_AND_COLOR_get")] - public static extern string SWITCH_SEQ_AND_COLOR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_END_COLOR_get")] - public static extern string SWITCH_SEQ_END_COLOR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_BLACK_get")] - public static extern string SWITCH_SEQ_F_BLACK_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_RED_get")] - public static extern string SWITCH_SEQ_F_RED_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_GREEN_get")] - public static extern string SWITCH_SEQ_F_GREEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_YELLOW_get")] - public static extern string SWITCH_SEQ_F_YELLOW_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_BLUE_get")] - public static extern string SWITCH_SEQ_F_BLUE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_MAGEN_get")] - public static extern string SWITCH_SEQ_F_MAGEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_CYAN_get")] - public static extern string SWITCH_SEQ_F_CYAN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_WHITE_get")] - public static extern string SWITCH_SEQ_F_WHITE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_BLACK_get")] - public static extern string SWITCH_SEQ_B_BLACK_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_RED_get")] - public static extern string SWITCH_SEQ_B_RED_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_GREEN_get")] - public static extern string SWITCH_SEQ_B_GREEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_YELLOW_get")] - public static extern string SWITCH_SEQ_B_YELLOW_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_BLUE_get")] - public static extern string SWITCH_SEQ_B_BLUE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_MAGEN_get")] - public static extern string SWITCH_SEQ_B_MAGEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_CYAN_get")] - public static extern string SWITCH_SEQ_B_CYAN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_WHITE_get")] - public static extern string SWITCH_SEQ_B_WHITE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FBLACK_get")] - public static extern string SWITCH_SEQ_FBLACK_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FRED_get")] - public static extern string SWITCH_SEQ_FRED_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FGREEN_get")] - public static extern string SWITCH_SEQ_FGREEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FYELLOW_get")] - public static extern string SWITCH_SEQ_FYELLOW_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FBLUE_get")] - public static extern string SWITCH_SEQ_FBLUE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FMAGEN_get")] - public static extern string SWITCH_SEQ_FMAGEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FCYAN_get")] - public static extern string SWITCH_SEQ_FCYAN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FWHITE_get")] - public static extern string SWITCH_SEQ_FWHITE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BBLACK_get")] - public static extern string SWITCH_SEQ_BBLACK_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BRED_get")] - public static extern string SWITCH_SEQ_BRED_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BGREEN_get")] - public static extern string SWITCH_SEQ_BGREEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BYELLOW_get")] - public static extern string SWITCH_SEQ_BYELLOW_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BBLUE_get")] - public static extern string SWITCH_SEQ_BBLUE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BMAGEN_get")] - public static extern string SWITCH_SEQ_BMAGEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BCYAN_get")] - public static extern string SWITCH_SEQ_BCYAN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BWHITE_get")] - public static extern string SWITCH_SEQ_BWHITE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_HOME_get")] - public static extern string SWITCH_SEQ_HOME_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_get")] - public static extern string SWITCH_SEQ_CLEARLINE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_get")] - public static extern string SWITCH_SEQ_CLEARLINEEND_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_get")] - public static extern string SWITCH_SEQ_CLEARSCR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_CLID_NAME_get")] - public static extern string SWITCH_DEFAULT_CLID_NAME_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_CLID_NUMBER_get")] - public static extern string SWITCH_DEFAULT_CLID_NUMBER_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_DTMF_DURATION_get")] - public static extern int SWITCH_DEFAULT_DTMF_DURATION_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MIN_DTMF_DURATION_get")] - public static extern int SWITCH_MIN_DTMF_DURATION_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_DTMF_DURATION_get")] - public static extern int SWITCH_MAX_DTMF_DURATION_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PATH_SEPARATOR_get")] - public static extern string SWITCH_PATH_SEPARATOR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")] - public static extern string SWITCH_URL_SEPARATOR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get")] - public static extern string SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get")] - public static extern string SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get")] - public static extern string SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get")] - public static extern string SWITCH_READ_TERMINATOR_USED_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get")] - public static extern string SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CURRENT_APPLICATION_VARIABLE_get")] - public static extern string SWITCH_CURRENT_APPLICATION_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get")] - public static extern string SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get")] - public static extern string SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get")] - public static extern string SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get")] - public static extern string SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_READ_RESULT_VARIABLE_get")] - public static extern string SWITCH_READ_RESULT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ATT_XFER_RESULT_VARIABLE_get")] - public static extern string SWITCH_ATT_XFER_RESULT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_COPY_XML_CDR_VARIABLE_get")] - public static extern string SWITCH_COPY_XML_CDR_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_COPY_JSON_CDR_VARIABLE_get")] - public static extern string SWITCH_COPY_JSON_CDR_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get")] - public static extern string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_HISTORY_VARIABLE_get")] - public static extern string SWITCH_TRANSFER_HISTORY_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_SOURCE_VARIABLE_get")] - public static extern string SWITCH_TRANSFER_SOURCE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SENSITIVE_DTMF_VARIABLE_get")] - public static extern string SWITCH_SENSITIVE_DTMF_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get")] - public static extern string SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get")] - public static extern string SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_RING_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_RING_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")] - public static extern string SWITCH_CALL_TIMEOUT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_HOLDING_UUID_VARIABLE_get")] - public static extern string SWITCH_HOLDING_UUID_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SOFT_HOLDING_UUID_VARIABLE_get")] - public static extern string SWITCH_SOFT_HOLDING_UUID_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get")] - public static extern string SWITCH_API_BRIDGE_END_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_BRIDGE_START_VARIABLE_get")] - public static extern string SWITCH_API_BRIDGE_START_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get")] - public static extern string SWITCH_API_HANGUP_HOOK_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_REPORTING_HOOK_VARIABLE_get")] - public static extern string SWITCH_API_REPORTING_HOOK_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get")] - public static extern string SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROCESS_CDR_VARIABLE_get")] - public static extern string SWITCH_PROCESS_CDR_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SKIP_CDR_CAUSES_VARIABLE_get")] - public static extern string SWITCH_SKIP_CDR_CAUSES_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get")] - public static extern string SWITCH_FORCE_PROCESS_CDR_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get")] - public static extern string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get")] - public static extern string SWITCH_CHANNEL_NAME_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get")] - public static extern string SWITCH_BRIDGE_UUID_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get")] - public static extern string SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get")] - public static extern string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PLAYBACK_TERMINATOR_USED_get")] - public static extern string SWITCH_PLAYBACK_TERMINATOR_USED_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get")] - public static extern string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get")] - public static extern string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get")] - public static extern string SWITCH_BYPASS_MEDIA_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get")] - public static extern string SWITCH_PROXY_MEDIA_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ZRTP_PASSTHRU_VARIABLE_get")] - public static extern string SWITCH_ZRTP_PASSTHRU_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get")] - public static extern string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get")] - public static extern string SWITCH_HOLD_MUSIC_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get")] - public static extern string SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EXPORT_VARS_VARIABLE_get")] - public static extern string SWITCH_EXPORT_VARS_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get")] - public static extern string SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_R_SDP_VARIABLE_get")] - public static extern string SWITCH_R_SDP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_L_SDP_VARIABLE_get")] - public static extern string SWITCH_L_SDP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_B_SDP_VARIABLE_get")] - public static extern string SWITCH_B_SDP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_LAST_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get")] - public static extern string SWITCH_SIGNAL_BOND_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get")] - public static extern string SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATOR_VARIABLE_get")] - public static extern string SWITCH_ORIGINATOR_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get")] - public static extern string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get")] - public static extern string SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get")] - public static extern string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get")] - public static extern string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get")] - public static extern string SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get")] - public static extern string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get")] - public static extern string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get")] - public static extern string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get")] - public static extern string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get")] - public static extern string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get")] - public static extern string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get")] - public static extern string SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get")] - public static extern string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get")] - public static extern string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get")] - public static extern string SWITCH_MAX_FORWARDS_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get")] - public static extern string SWITCH_DISABLE_APP_LOG_VARIABLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SPEECH_KEY_get")] - public static extern string SWITCH_SPEECH_KEY_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_UUID_BRIDGE_get")] - public static extern string SWITCH_UUID_BRIDGE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BITS_PER_BYTE_get")] - public static extern int SWITCH_BITS_PER_BYTE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_FILE_BUFFER_LEN_get")] - public static extern int SWITCH_DEFAULT_FILE_BUFFER_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DTMF_LOG_LEN_get")] - public static extern int SWITCH_DTMF_LOG_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_TRANS_get")] - public static extern int SWITCH_MAX_TRANS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_SESSION_MAX_PRIVATES_get")] - public static extern int SWITCH_CORE_SESSION_MAX_PRIVATES_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_JITTER_VARIANCE_THRESHOLD_get")] - public static extern double JITTER_VARIANCE_THRESHOLD_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_IPDV_THRESHOLD_get")] - public static extern double IPDV_THRESHOLD_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_LOST_BURST_ANALYZE_get")] - public static extern int LOST_BURST_ANALYZE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_LOST_BURST_CAPTURE_get")] - public static extern int LOST_BURST_CAPTURE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_digit_set")] - public static extern void switch_dtmf_t_digit_set(HandleRef jarg1, char jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_digit_get")] - public static extern char switch_dtmf_t_digit_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_duration_set")] - public static extern void switch_dtmf_t_duration_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_duration_get")] - public static extern uint switch_dtmf_t_duration_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_flags_set")] - public static extern void switch_dtmf_t_flags_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_flags_get")] - public static extern int switch_dtmf_t_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_source_set")] - public static extern void switch_dtmf_t_source_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_source_get")] - public static extern int switch_dtmf_t_source_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_dtmf_t")] - public static extern IntPtr new_switch_dtmf_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_dtmf_t")] - public static extern void delete_switch_dtmf_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buf_set")] - public static extern void switch_bitpack_t_buf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buf_get")] - public static extern IntPtr switch_bitpack_t_buf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buflen_set")] - public static extern void switch_bitpack_t_buflen_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buflen_get")] - public static extern uint switch_bitpack_t_buflen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_cur_set")] - public static extern void switch_bitpack_t_cur_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_cur_get")] - public static extern IntPtr switch_bitpack_t_cur_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bytes_set")] - public static extern void switch_bitpack_t_bytes_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bytes_get")] - public static extern uint switch_bitpack_t_bytes_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_tot_set")] - public static extern void switch_bitpack_t_bits_tot_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_tot_get")] - public static extern uint switch_bitpack_t_bits_tot_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_cur_set")] - public static extern void switch_bitpack_t_bits_cur_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_cur_get")] - public static extern byte switch_bitpack_t_bits_cur_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_rem_set")] - public static extern void switch_bitpack_t_bits_rem_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_rem_get")] - public static extern byte switch_bitpack_t_bits_rem_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_frame_bits_set")] - public static extern void switch_bitpack_t_frame_bits_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_frame_bits_get")] - public static extern byte switch_bitpack_t_frame_bits_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_shiftby_set")] - public static extern void switch_bitpack_t_shiftby_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_shiftby_get")] - public static extern byte switch_bitpack_t_shiftby_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_this_byte_set")] - public static extern void switch_bitpack_t_this_byte_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_this_byte_get")] - public static extern byte switch_bitpack_t_this_byte_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_under_set")] - public static extern void switch_bitpack_t_under_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_under_get")] - public static extern byte switch_bitpack_t_under_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_over_set")] - public static extern void switch_bitpack_t_over_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_over_get")] - public static extern byte switch_bitpack_t_over_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_mode_set")] - public static extern void switch_bitpack_t_mode_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_mode_get")] - public static extern int switch_bitpack_t_mode_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_bitpack_t")] - public static extern IntPtr new_switch_bitpack_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_bitpack_t")] - public static extern void delete_switch_bitpack_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_base_dir_set")] - public static extern void switch_directories_base_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_base_dir_get")] - public static extern string switch_directories_base_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_mod_dir_set")] - public static extern void switch_directories_mod_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_mod_dir_get")] - public static extern string switch_directories_mod_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_conf_dir_set")] - public static extern void switch_directories_conf_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_conf_dir_get")] - public static extern string switch_directories_conf_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_log_dir_set")] - public static extern void switch_directories_log_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_log_dir_get")] - public static extern string switch_directories_log_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_run_dir_set")] - public static extern void switch_directories_run_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_run_dir_get")] - public static extern string switch_directories_run_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_db_dir_set")] - public static extern void switch_directories_db_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_db_dir_get")] - public static extern string switch_directories_db_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_script_dir_set")] - public static extern void switch_directories_script_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_script_dir_get")] - public static extern string switch_directories_script_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_temp_dir_set")] - public static extern void switch_directories_temp_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_temp_dir_get")] - public static extern string switch_directories_temp_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_htdocs_dir_set")] - public static extern void switch_directories_htdocs_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_htdocs_dir_get")] - public static extern string switch_directories_htdocs_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_grammar_dir_set")] - public static extern void switch_directories_grammar_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_grammar_dir_get")] - public static extern string switch_directories_grammar_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_storage_dir_set")] - public static extern void switch_directories_storage_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_storage_dir_get")] - public static extern string switch_directories_storage_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_cache_dir_set")] - public static extern void switch_directories_cache_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_cache_dir_get")] - public static extern string switch_directories_cache_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_recordings_dir_set")] - public static extern void switch_directories_recordings_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_recordings_dir_get")] - public static extern string switch_directories_recordings_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_sounds_dir_set")] - public static extern void switch_directories_sounds_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_sounds_dir_get")] - public static extern string switch_directories_sounds_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_lib_dir_set")] - public static extern void switch_directories_lib_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_lib_dir_get")] - public static extern string switch_directories_lib_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_certs_dir_set")] - public static extern void switch_directories_certs_dir_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_certs_dir_get")] - public static extern string switch_directories_certs_dir_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_directories")] - public static extern IntPtr new_switch_directories(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directories")] - public static extern void delete_switch_directories(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_dirs_set")] - public static extern void SWITCH_GLOBAL_dirs_set(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_dirs_get")] - public static extern IntPtr SWITCH_GLOBAL_dirs_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_filenames_conf_name_set")] - public static extern void switch_filenames_conf_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_filenames_conf_name_get")] - public static extern string switch_filenames_conf_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_filenames")] - public static extern IntPtr new_switch_filenames(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_filenames")] - public static extern void delete_switch_filenames(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_filenames_set")] - public static extern void SWITCH_GLOBAL_filenames_set(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_filenames_get")] - public static extern IntPtr SWITCH_GLOBAL_filenames_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_STACKS_get")] - public static extern int SWITCH_MAX_STACKS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_THREAD_STACKSIZE_get")] - public static extern int SWITCH_THREAD_STACKSIZE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SYSTEM_THREAD_STACKSIZE_get")] - public static extern int SWITCH_SYSTEM_THREAD_STACKSIZE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_INTERVAL_get")] - public static extern int SWITCH_MAX_INTERVAL_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_INTERVAL_PAD_get")] - public static extern int SWITCH_INTERVAL_PAD_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_SAMPLE_LEN_get")] - public static extern int SWITCH_MAX_SAMPLE_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BYTES_PER_SAMPLE_get")] - public static extern int SWITCH_BYTES_PER_SAMPLE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RECOMMENDED_BUFFER_SIZE_get")] - public static extern int SWITCH_RECOMMENDED_BUFFER_SIZE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_CODECS_get")] - public static extern int SWITCH_MAX_CODECS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_STATE_HANDLERS_get")] - public static extern int SWITCH_MAX_STATE_HANDLERS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_QUEUE_LEN_get")] - public static extern int SWITCH_CORE_QUEUE_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get")] - public static extern int SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_raw_bytes_set")] - public static extern void switch_rtp_numbers_t_raw_bytes_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_raw_bytes_get")] - public static extern IntPtr switch_rtp_numbers_t_raw_bytes_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_bytes_set")] - public static extern void switch_rtp_numbers_t_media_bytes_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_bytes_get")] - public static extern IntPtr switch_rtp_numbers_t_media_bytes_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_packet_count_set")] - public static extern void switch_rtp_numbers_t_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_set")] - public static extern void switch_rtp_numbers_t_period_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_period_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_packet_count_set")] - public static extern void switch_rtp_numbers_t_media_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_media_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_skip_packet_count_set")] - public static extern void switch_rtp_numbers_t_skip_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_skip_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_skip_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jb_packet_count_set")] - public static extern void switch_rtp_numbers_t_jb_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jb_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_jb_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_dtmf_packet_count_set")] - public static extern void switch_rtp_numbers_t_dtmf_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_dtmf_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_dtmf_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_cng_packet_count_set")] - public static extern void switch_rtp_numbers_t_cng_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_cng_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_cng_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flush_packet_count_set")] - public static extern void switch_rtp_numbers_t_flush_packet_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flush_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_flush_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_largest_jb_size_set")] - public static extern void switch_rtp_numbers_t_largest_jb_size_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_largest_jb_size_get")] - public static extern IntPtr switch_rtp_numbers_t_largest_jb_size_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_proc_time_set")] - public static extern void switch_rtp_numbers_t_last_proc_time_set(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_proc_time_get")] - public static extern long switch_rtp_numbers_t_last_proc_time_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_n_set")] - public static extern void switch_rtp_numbers_t_jitter_n_set(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_n_get")] - public static extern long switch_rtp_numbers_t_jitter_n_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_add_set")] - public static extern void switch_rtp_numbers_t_jitter_add_set(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_add_get")] - public static extern long switch_rtp_numbers_t_jitter_add_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_addsq_set")] - public static extern void switch_rtp_numbers_t_jitter_addsq_set(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_addsq_get")] - public static extern long switch_rtp_numbers_t_jitter_addsq_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_variance_set")] - public static extern void switch_rtp_numbers_t_variance_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_variance_get")] - public static extern double switch_rtp_numbers_t_variance_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_min_variance_set")] - public static extern void switch_rtp_numbers_t_min_variance_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_min_variance_get")] - public static extern double switch_rtp_numbers_t_min_variance_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_max_variance_set")] - public static extern void switch_rtp_numbers_t_max_variance_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_max_variance_get")] - public static extern double switch_rtp_numbers_t_max_variance_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_std_deviation_set")] - public static extern void switch_rtp_numbers_t_std_deviation_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_std_deviation_get")] - public static extern double switch_rtp_numbers_t_std_deviation_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_lossrate_set")] - public static extern void switch_rtp_numbers_t_lossrate_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_lossrate_get")] - public static extern double switch_rtp_numbers_t_lossrate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_burstrate_set")] - public static extern void switch_rtp_numbers_t_burstrate_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_burstrate_get")] - public static extern double switch_rtp_numbers_t_burstrate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mean_interval_set")] - public static extern void switch_rtp_numbers_t_mean_interval_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mean_interval_get")] - public static extern double switch_rtp_numbers_t_mean_interval_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_loss_set")] - public static extern void switch_rtp_numbers_t_loss_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_loss_get")] - public static extern IntPtr switch_rtp_numbers_t_loss_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_loss_set")] - public static extern void switch_rtp_numbers_t_last_loss_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_loss_get")] - public static extern int switch_rtp_numbers_t_last_loss_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_recved_set")] - public static extern void switch_rtp_numbers_t_recved_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_recved_get")] - public static extern int switch_rtp_numbers_t_recved_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_processed_seq_set")] - public static extern void switch_rtp_numbers_t_last_processed_seq_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_processed_seq_get")] - public static extern int switch_rtp_numbers_t_last_processed_seq_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flaws_set")] - public static extern void switch_rtp_numbers_t_flaws_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flaws_get")] - public static extern IntPtr switch_rtp_numbers_t_flaws_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_flaw_set")] - public static extern void switch_rtp_numbers_t_last_flaw_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_flaw_get")] - public static extern IntPtr switch_rtp_numbers_t_last_flaw_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_R_set")] - public static extern void switch_rtp_numbers_t_R_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_R_get")] - public static extern double switch_rtp_numbers_t_R_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mos_set")] - public static extern void switch_rtp_numbers_t_mos_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mos_get")] - public static extern double switch_rtp_numbers_t_mos_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_numbers_t")] - public static extern IntPtr new_switch_rtp_numbers_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_numbers_t")] - public static extern void delete_switch_rtp_numbers_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_packet_count_set")] - public static extern void switch_rtcp_numbers_t_packet_count_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_packet_count_get")] - public static extern uint switch_rtcp_numbers_t_packet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_octet_count_set")] - public static extern void switch_rtcp_numbers_t_octet_count_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_octet_count_get")] - public static extern uint switch_rtcp_numbers_t_octet_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_peer_ssrc_set")] - public static extern void switch_rtcp_numbers_t_peer_ssrc_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_peer_ssrc_get")] - public static extern uint switch_rtcp_numbers_t_peer_ssrc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ts_set")] - public static extern void switch_rtcp_numbers_t_last_rpt_ts_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ts_get")] - public static extern uint switch_rtcp_numbers_t_last_rpt_ts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_ssrc_set")] - public static extern void switch_rtcp_numbers_t_ssrc_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_ssrc_get")] - public static extern uint switch_rtcp_numbers_t_ssrc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_csrc_set")] - public static extern void switch_rtcp_numbers_t_csrc_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_csrc_get")] - public static extern uint switch_rtcp_numbers_t_csrc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_set")] - public static extern void switch_rtcp_numbers_t_last_pkt_tsdiff_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_get")] - public static extern uint switch_rtcp_numbers_t_last_pkt_tsdiff_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_inter_jitter_set")] - public static extern void switch_rtcp_numbers_t_inter_jitter_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_inter_jitter_get")] - public static extern double switch_rtcp_numbers_t_inter_jitter_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_set")] - public static extern void switch_rtcp_numbers_t_last_rpt_ext_seq_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_get")] - public static extern uint switch_rtcp_numbers_t_last_rpt_ext_seq_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_cycle_set")] - public static extern void switch_rtcp_numbers_t_last_rpt_cycle_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_cycle_get")] - public static extern ushort switch_rtcp_numbers_t_last_rpt_cycle_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_period_pkt_count_set")] - public static extern void switch_rtcp_numbers_t_period_pkt_count_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_period_pkt_count_get")] - public static extern ushort switch_rtcp_numbers_t_period_pkt_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_set")] - public static extern void switch_rtcp_numbers_t_pkt_count_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_get")] - public static extern ushort switch_rtcp_numbers_t_pkt_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set")] - public static extern void switch_rtcp_numbers_t_rtcp_rtp_count_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_get")] - public static extern uint switch_rtcp_numbers_t_rtcp_rtp_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_set")] - public static extern void switch_rtcp_numbers_t_high_ext_seq_recv_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_get")] - public static extern uint switch_rtcp_numbers_t_high_ext_seq_recv_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cycle_set")] - public static extern void switch_rtcp_numbers_t_cycle_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cycle_get")] - public static extern ushort switch_rtcp_numbers_t_cycle_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_bad_seq_set")] - public static extern void switch_rtcp_numbers_t_bad_seq_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_bad_seq_get")] - public static extern uint switch_rtcp_numbers_t_bad_seq_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_base_seq_set")] - public static extern void switch_rtcp_numbers_t_base_seq_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_base_seq_get")] - public static extern ushort switch_rtcp_numbers_t_base_seq_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cum_lost_set")] - public static extern void switch_rtcp_numbers_t_cum_lost_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cum_lost_get")] - public static extern uint switch_rtcp_numbers_t_cum_lost_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_set")] - public static extern void switch_rtcp_numbers_t_last_recv_lsr_local_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_get")] - public static extern uint switch_rtcp_numbers_t_last_recv_lsr_local_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_set")] - public static extern void switch_rtcp_numbers_t_last_recv_lsr_peer_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_get")] - public static extern uint switch_rtcp_numbers_t_last_recv_lsr_peer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_init_set")] - public static extern void switch_rtcp_numbers_t_init_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_init_get")] - public static extern uint switch_rtcp_numbers_t_init_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtcp_numbers_t")] - public static extern IntPtr new_switch_rtcp_numbers_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtcp_numbers_t")] - public static extern void delete_switch_rtcp_numbers_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_inbound_set")] - public static extern void switch_rtp_stats_t_inbound_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_inbound_get")] - public static extern IntPtr switch_rtp_stats_t_inbound_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_outbound_set")] - public static extern void switch_rtp_stats_t_outbound_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_outbound_get")] - public static extern IntPtr switch_rtp_stats_t_outbound_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_set")] - public static extern void switch_rtp_stats_t_rtcp_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_get")] - public static extern IntPtr switch_rtp_stats_t_rtcp_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_set")] - public static extern void switch_rtp_stats_t_read_count_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_get")] - public static extern uint switch_rtp_stats_t_read_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_stats_t")] - public static extern IntPtr new_switch_rtp_stats_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_stats_t")] - public static extern void delete_switch_rtp_stats_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_CNG_PAYLOAD_get")] - public static extern int SWITCH_RTP_CNG_PAYLOAD_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_version_set")] - public static extern void switch_rtp_hdr_t_version_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_version_get")] - public static extern uint switch_rtp_hdr_t_version_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_p_set")] - public static extern void switch_rtp_hdr_t_p_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_p_get")] - public static extern uint switch_rtp_hdr_t_p_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_x_set")] - public static extern void switch_rtp_hdr_t_x_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_x_get")] - public static extern uint switch_rtp_hdr_t_x_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_cc_set")] - public static extern void switch_rtp_hdr_t_cc_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_cc_get")] - public static extern uint switch_rtp_hdr_t_cc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_m_set")] - public static extern void switch_rtp_hdr_t_m_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_m_get")] - public static extern uint switch_rtp_hdr_t_m_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_pt_set")] - public static extern void switch_rtp_hdr_t_pt_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_pt_get")] - public static extern uint switch_rtp_hdr_t_pt_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_seq_set")] - public static extern void switch_rtp_hdr_t_seq_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_seq_get")] - public static extern uint switch_rtp_hdr_t_seq_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ts_set")] - public static extern void switch_rtp_hdr_t_ts_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ts_get")] - public static extern uint switch_rtp_hdr_t_ts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ssrc_set")] - public static extern void switch_rtp_hdr_t_ssrc_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ssrc_get")] - public static extern uint switch_rtp_hdr_t_ssrc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_hdr_t")] - public static extern IntPtr new_switch_rtp_hdr_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_hdr_t")] - public static extern void delete_switch_rtp_hdr_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_length_set")] - public static extern void switch_rtp_hdr_ext_t_length_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_length_get")] - public static extern uint switch_rtp_hdr_ext_t_length_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_profile_set")] - public static extern void switch_rtp_hdr_ext_t_profile_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_profile_get")] - public static extern uint switch_rtp_hdr_ext_t_profile_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_hdr_ext_t")] - public static extern IntPtr new_switch_rtp_hdr_ext_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_hdr_ext_t")] - public static extern void delete_switch_rtp_hdr_ext_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_version_set")] - public static extern void switch_rtcp_hdr_t_version_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_version_get")] - public static extern uint switch_rtcp_hdr_t_version_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_p_set")] - public static extern void switch_rtcp_hdr_t_p_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_p_get")] - public static extern uint switch_rtcp_hdr_t_p_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_count_set")] - public static extern void switch_rtcp_hdr_t_count_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_count_get")] - public static extern uint switch_rtcp_hdr_t_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_type_set")] - public static extern void switch_rtcp_hdr_t_type_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_type_get")] - public static extern uint switch_rtcp_hdr_t_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_length_set")] - public static extern void switch_rtcp_hdr_t_length_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_length_get")] - public static extern uint switch_rtcp_hdr_t_length_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtcp_hdr_t")] - public static extern IntPtr new_switch_rtcp_hdr_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtcp_hdr_t")] - public static extern void delete_switch_rtcp_hdr_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_ts_set")] - public static extern void audio_buffer_header_t_ts_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_ts_get")] - public static extern uint audio_buffer_header_t_ts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_len_set")] - public static extern void audio_buffer_header_t_len_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_len_get")] - public static extern uint audio_buffer_header_t_len_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_audio_buffer_header_t")] - public static extern IntPtr new_audio_buffer_header_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_audio_buffer_header_t")] - public static extern void delete_audio_buffer_header_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxVersion_set")] - public static extern void switch_t38_options_t_T38FaxVersion_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxVersion_get")] - public static extern ushort switch_t38_options_t_T38FaxVersion_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38MaxBitRate_set")] - public static extern void switch_t38_options_t_T38MaxBitRate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38MaxBitRate_get")] - public static extern uint switch_t38_options_t_T38MaxBitRate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxFillBitRemoval_set")] - public static extern void switch_t38_options_t_T38FaxFillBitRemoval_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxFillBitRemoval_get")] - public static extern int switch_t38_options_t_T38FaxFillBitRemoval_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingMMR_set")] - public static extern void switch_t38_options_t_T38FaxTranscodingMMR_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingMMR_get")] - public static extern int switch_t38_options_t_T38FaxTranscodingMMR_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_set")] - public static extern void switch_t38_options_t_T38FaxTranscodingJBIG_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_get")] - public static extern int switch_t38_options_t_T38FaxTranscodingJBIG_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxRateManagement_set")] - public static extern void switch_t38_options_t_T38FaxRateManagement_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxRateManagement_get")] - public static extern string switch_t38_options_t_T38FaxRateManagement_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxBuffer_set")] - public static extern void switch_t38_options_t_T38FaxMaxBuffer_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxBuffer_get")] - public static extern uint switch_t38_options_t_T38FaxMaxBuffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxDatagram_set")] - public static extern void switch_t38_options_t_T38FaxMaxDatagram_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxDatagram_get")] - public static extern uint switch_t38_options_t_T38FaxMaxDatagram_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxUdpEC_set")] - public static extern void switch_t38_options_t_T38FaxUdpEC_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxUdpEC_get")] - public static extern string switch_t38_options_t_T38FaxUdpEC_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38VendorInfo_set")] - public static extern void switch_t38_options_t_T38VendorInfo_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38VendorInfo_get")] - public static extern string switch_t38_options_t_T38VendorInfo_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_ip_set")] - public static extern void switch_t38_options_t_remote_ip_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_ip_get")] - public static extern string switch_t38_options_t_remote_ip_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_set")] - public static extern void switch_t38_options_t_remote_port_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_get")] - public static extern ushort switch_t38_options_t_remote_port_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_ip_set")] - public static extern void switch_t38_options_t_local_ip_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_ip_get")] - public static extern string switch_t38_options_t_local_ip_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_set")] - public static extern void switch_t38_options_t_local_port_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_get")] - public static extern ushort switch_t38_options_t_local_port_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_sdp_o_line_set")] - public static extern void switch_t38_options_t_sdp_o_line_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_sdp_o_line_get")] - public static extern string switch_t38_options_t_sdp_o_line_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_t38_options_t")] - public static extern IntPtr new_switch_t38_options_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_t38_options_t")] - public static extern void delete_switch_t38_options_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MEDIA_TYPE_TOTAL_get")] - public static extern int SWITCH_MEDIA_TYPE_TOTAL_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SOCK_INVALID_get")] - public static extern int SWITCH_SOCK_INVALID_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_val_set")] - public static extern void switch_console_callback_match_node_val_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_val_get")] - public static extern string switch_console_callback_match_node_val_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_next_set")] - public static extern void switch_console_callback_match_node_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_next_get")] - public static extern IntPtr switch_console_callback_match_node_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_console_callback_match_node")] - public static extern IntPtr new_switch_console_callback_match_node(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_console_callback_match_node")] - public static extern void delete_switch_console_callback_match_node(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_head_set")] - public static extern void switch_console_callback_match_head_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_head_get")] - public static extern IntPtr switch_console_callback_match_head_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_end_set")] - public static extern void switch_console_callback_match_end_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_end_get")] - public static extern IntPtr switch_console_callback_match_end_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_count_set")] - public static extern void switch_console_callback_match_count_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_count_get")] - public static extern int switch_console_callback_match_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_dynamic_set")] - public static extern void switch_console_callback_match_dynamic_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_dynamic_get")] - public static extern int switch_console_callback_match_dynamic_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_console_callback_match")] - public static extern IntPtr new_switch_console_callback_match(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_console_callback_match")] - public static extern void delete_switch_console_callback_match(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_DMACHINE_MAX_DIGIT_LEN_get")] - public static extern int DMACHINE_MAX_DIGIT_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_dmachine_set")] - public static extern void switch_ivr_dmachine_match_dmachine_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_dmachine_get")] - public static extern IntPtr switch_ivr_dmachine_match_dmachine_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_digits_set")] - public static extern void switch_ivr_dmachine_match_match_digits_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_digits_get")] - public static extern string switch_ivr_dmachine_match_match_digits_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_key_set")] - public static extern void switch_ivr_dmachine_match_match_key_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_key_get")] - public static extern int switch_ivr_dmachine_match_match_key_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_type_set")] - public static extern void switch_ivr_dmachine_match_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_type_get")] - public static extern int switch_ivr_dmachine_match_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_user_data_set")] - public static extern void switch_ivr_dmachine_match_user_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_user_data_get")] - public static extern IntPtr switch_ivr_dmachine_match_user_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_ivr_dmachine_match")] - public static extern IntPtr new_switch_ivr_dmachine_match(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_ivr_dmachine_match")] - public static extern void delete_switch_ivr_dmachine_match(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_MAX_ARG_RECURSION_get")] - public static extern int MAX_ARG_RECURSION_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_input_callback_set")] - public static extern void switch_input_args_t_input_callback_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_input_callback_get")] - public static extern IntPtr switch_input_args_t_input_callback_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buf_set")] - public static extern void switch_input_args_t_buf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buf_get")] - public static extern IntPtr switch_input_args_t_buf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buflen_set")] - public static extern void switch_input_args_t_buflen_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buflen_get")] - public static extern uint switch_input_args_t_buflen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_read_frame_callback_set")] - public static extern void switch_input_args_t_read_frame_callback_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_read_frame_callback_get")] - public static extern IntPtr switch_input_args_t_read_frame_callback_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_user_data_set")] - public static extern void switch_input_args_t_user_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_user_data_get")] - public static extern IntPtr switch_input_args_t_user_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_dmachine_set")] - public static extern void switch_input_args_t_dmachine_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_dmachine_get")] - public static extern IntPtr switch_input_args_t_dmachine_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_loops_set")] - public static extern void switch_input_args_t_loops_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_loops_get")] - public static extern int switch_input_args_t_loops_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_input_args_t")] - public static extern IntPtr new_switch_input_args_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_input_args_t")] - public static extern void delete_switch_input_args_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_type_set")] - public static extern void switch_say_args_t_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_type_get")] - public static extern int switch_say_args_t_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_method_set")] - public static extern void switch_say_args_t_method_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_method_get")] - public static extern int switch_say_args_t_method_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_gender_set")] - public static extern void switch_say_args_t_gender_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_gender_get")] - public static extern int switch_say_args_t_gender_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_ext_set")] - public static extern void switch_say_args_t_ext_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_ext_get")] - public static extern string switch_say_args_t_ext_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_say_args_t")] - public static extern IntPtr new_switch_say_args_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_say_args_t")] - public static extern void delete_switch_say_args_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_VERSION_get")] - public static extern int SWITCH_API_VERSION_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_switch_api_version_set")] - public static extern void switch_loadable_module_function_table_t_switch_api_version_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_switch_api_version_get")] - public static extern int switch_loadable_module_function_table_t_switch_api_version_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_load_set")] - public static extern void switch_loadable_module_function_table_t_load_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_load_get")] - public static extern IntPtr switch_loadable_module_function_table_t_load_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_shutdown_set")] - public static extern void switch_loadable_module_function_table_t_shutdown_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_shutdown_get")] - public static extern IntPtr switch_loadable_module_function_table_t_shutdown_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_runtime_set")] - public static extern void switch_loadable_module_function_table_t_runtime_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_runtime_get")] - public static extern IntPtr switch_loadable_module_function_table_t_runtime_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_flags_set")] - public static extern void switch_loadable_module_function_table_t_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_flags_get")] - public static extern uint switch_loadable_module_function_table_t_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_loadable_module_function_table_t")] - public static extern IntPtr new_switch_loadable_module_function_table_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_loadable_module_function_table_t")] - public static extern void delete_switch_loadable_module_function_table_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_type_set")] - public static extern void payload_map_t_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_type_get")] - public static extern int payload_map_t_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_sdp_type_set")] - public static extern void payload_map_t_sdp_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_sdp_type_get")] - public static extern int payload_map_t_sdp_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_ptime_set")] - public static extern void payload_map_t_ptime_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_ptime_get")] - public static extern uint payload_map_t_ptime_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rate_set")] - public static extern void payload_map_t_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rate_get")] - public static extern uint payload_map_t_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_allocated_set")] - public static extern void payload_map_t_allocated_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_allocated_get")] - public static extern byte payload_map_t_allocated_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_negotiated_set")] - public static extern void payload_map_t_negotiated_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_negotiated_get")] - public static extern byte payload_map_t_negotiated_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_current_set")] - public static extern void payload_map_t_current_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_current_get")] - public static extern byte payload_map_t_current_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_hash_set")] - public static extern void payload_map_t_hash_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_hash_get")] - public static extern uint payload_map_t_hash_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_encoding_set")] - public static extern void payload_map_t_rm_encoding_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_encoding_get")] - public static extern string payload_map_t_rm_encoding_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_iananame_set")] - public static extern void payload_map_t_iananame_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_iananame_get")] - public static extern string payload_map_t_iananame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_pt_set")] - public static extern void payload_map_t_pt_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_pt_get")] - public static extern byte payload_map_t_pt_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_rate_set")] - public static extern void payload_map_t_rm_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_rate_get")] - public static extern uint payload_map_t_rm_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_rm_rate_set")] - public static extern void payload_map_t_adv_rm_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_rm_rate_get")] - public static extern uint payload_map_t_adv_rm_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_codec_ms_set")] - public static extern void payload_map_t_codec_ms_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_codec_ms_get")] - public static extern uint payload_map_t_codec_ms_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_bitrate_set")] - public static extern void payload_map_t_bitrate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_bitrate_get")] - public static extern uint payload_map_t_bitrate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_fmtp_set")] - public static extern void payload_map_t_rm_fmtp_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_fmtp_get")] - public static extern string payload_map_t_rm_fmtp_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_agreed_pt_set")] - public static extern void payload_map_t_agreed_pt_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_agreed_pt_get")] - public static extern byte payload_map_t_agreed_pt_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_recv_pt_set")] - public static extern void payload_map_t_recv_pt_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_recv_pt_get")] - public static extern byte payload_map_t_recv_pt_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_fmtp_out_set")] - public static extern void payload_map_t_fmtp_out_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_fmtp_out_get")] - public static extern string payload_map_t_fmtp_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_ip_set")] - public static extern void payload_map_t_remote_sdp_ip_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_ip_get")] - public static extern string payload_map_t_remote_sdp_ip_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_port_set")] - public static extern void payload_map_t_remote_sdp_port_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_port_get")] - public static extern ushort payload_map_t_remote_sdp_port_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_channels_set")] - public static extern void payload_map_t_channels_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_channels_get")] - public static extern int payload_map_t_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_channels_set")] - public static extern void payload_map_t_adv_channels_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_channels_get")] - public static extern int payload_map_t_adv_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_next_set")] - public static extern void payload_map_t_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_next_get")] - public static extern IntPtr payload_map_t_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_payload_map_t")] - public static extern IntPtr new_payload_map_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_payload_map_t")] - public static extern void delete_payload_map_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_sock_set")] - public static extern void switch_waitlist_t_sock_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_sock_get")] - public static extern int switch_waitlist_t_sock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_events_set")] - public static extern void switch_waitlist_t_events_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_events_get")] - public static extern uint switch_waitlist_t_events_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_revents_set")] - public static extern void switch_waitlist_t_revents_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_revents_get")] - public static extern uint switch_waitlist_t_revents_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_waitlist_t")] - public static extern IntPtr new_switch_waitlist_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_waitlist_t")] - public static extern void delete_switch_waitlist_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_close")] - public static extern int switch_core_db_close(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_open")] - public static extern int switch_core_db_open(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_column_text")] - public static extern IntPtr switch_core_db_column_text(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_column_name")] - public static extern string switch_core_db_column_name(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_column_count")] - public static extern int switch_core_db_column_count(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_errmsg")] - public static extern string switch_core_db_errmsg(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_exec")] - public static extern int switch_core_db_exec(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_finalize")] - public static extern int switch_core_db_finalize(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_prepare")] - public static extern int switch_core_db_prepare(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4, ref string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_step")] - public static extern int switch_core_db_step(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_reset")] - public static extern int switch_core_db_reset(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_int")] - public static extern int switch_core_db_bind_int(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_int64")] - public static extern int switch_core_db_bind_int64(HandleRef jarg1, int jarg2, long jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_text")] - public static extern int switch_core_db_bind_text(HandleRef jarg1, int jarg2, string jarg3, int jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_double")] - public static extern int switch_core_db_bind_double(HandleRef jarg1, int jarg2, double jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_last_insert_rowid")] - public static extern long switch_core_db_last_insert_rowid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_get_table")] - public static extern int switch_core_db_get_table(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, ref string jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_free_table")] - public static extern void switch_core_db_free_table(ref string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_free")] - public static extern void switch_core_db_free(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_changes")] - public static extern int switch_core_db_changes(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_load_extension")] - public static extern int switch_core_db_load_extension(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_OK_get")] - public static extern int SWITCH_CORE_DB_OK_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_ERROR_get")] - public static extern int SWITCH_CORE_DB_ERROR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_INTERNAL_get")] - public static extern int SWITCH_CORE_DB_INTERNAL_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_PERM_get")] - public static extern int SWITCH_CORE_DB_PERM_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_ABORT_get")] - public static extern int SWITCH_CORE_DB_ABORT_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_BUSY_get")] - public static extern int SWITCH_CORE_DB_BUSY_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_LOCKED_get")] - public static extern int SWITCH_CORE_DB_LOCKED_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOMEM_get")] - public static extern int SWITCH_CORE_DB_NOMEM_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_READONLY_get")] - public static extern int SWITCH_CORE_DB_READONLY_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_INTERRUPT_get")] - public static extern int SWITCH_CORE_DB_INTERRUPT_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_IOERR_get")] - public static extern int SWITCH_CORE_DB_IOERR_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_CORRUPT_get")] - public static extern int SWITCH_CORE_DB_CORRUPT_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOTFOUND_get")] - public static extern int SWITCH_CORE_DB_NOTFOUND_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_FULL_get")] - public static extern int SWITCH_CORE_DB_FULL_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_CANTOPEN_get")] - public static extern int SWITCH_CORE_DB_CANTOPEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_PROTOCOL_get")] - public static extern int SWITCH_CORE_DB_PROTOCOL_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_EMPTY_get")] - public static extern int SWITCH_CORE_DB_EMPTY_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_SCHEMA_get")] - public static extern int SWITCH_CORE_DB_SCHEMA_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_TOOBIG_get")] - public static extern int SWITCH_CORE_DB_TOOBIG_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_CONSTRAINT_get")] - public static extern int SWITCH_CORE_DB_CONSTRAINT_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_MISMATCH_get")] - public static extern int SWITCH_CORE_DB_MISMATCH_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_MISUSE_get")] - public static extern int SWITCH_CORE_DB_MISUSE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOLFS_get")] - public static extern int SWITCH_CORE_DB_NOLFS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_AUTH_get")] - public static extern int SWITCH_CORE_DB_AUTH_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_FORMAT_get")] - public static extern int SWITCH_CORE_DB_FORMAT_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_RANGE_get")] - public static extern int SWITCH_CORE_DB_RANGE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOTADB_get")] - public static extern int SWITCH_CORE_DB_NOTADB_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_ROW_get")] - public static extern int SWITCH_CORE_DB_ROW_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_DONE_get")] - public static extern int SWITCH_CORE_DB_DONE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_concat")] - public static extern string switch_sql_concat(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_compile")] - public static extern IntPtr switch_regex_compile(string jarg1, int jarg2, ref string jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_copy_substring")] - public static extern int switch_regex_copy_substring(string jarg1, HandleRef jarg2, int jarg3, int jarg4, string jarg5, int jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_free")] - public static extern void switch_regex_free(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_perform")] - public static extern int switch_regex_perform(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_perform_substitution")] - public static extern void switch_perform_substitution(HandleRef jarg1, int jarg2, string jarg3, string jarg4, string jarg5, HandleRef jarg6, HandleRef jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_match")] - public static extern int switch_regex_match(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_match_partial")] - public static extern int switch_regex_match_partial(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_capture_regex")] - public static extern void switch_capture_regex(HandleRef jarg1, int jarg2, string jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6, HandleRef jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_set_var_callback")] - public static extern void switch_regex_set_var_callback(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_set_event_header_callback")] - public static extern void switch_regex_set_event_header_callback(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get")] - public static extern int SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_STREAMS_get")] - public static extern int SWITCH_MAX_STREAMS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_mms_set")] - public static extern void switch_core_time_duration_mms_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_mms_get")] - public static extern uint switch_core_time_duration_mms_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_ms_set")] - public static extern void switch_core_time_duration_ms_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_ms_get")] - public static extern uint switch_core_time_duration_ms_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_sec_set")] - public static extern void switch_core_time_duration_sec_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_sec_get")] - public static extern uint switch_core_time_duration_sec_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_min_set")] - public static extern void switch_core_time_duration_min_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_min_get")] - public static extern uint switch_core_time_duration_min_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_hr_set")] - public static extern void switch_core_time_duration_hr_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_hr_get")] - public static extern uint switch_core_time_duration_hr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_day_set")] - public static extern void switch_core_time_duration_day_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_day_get")] - public static extern uint switch_core_time_duration_day_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_yr_set")] - public static extern void switch_core_time_duration_yr_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_yr_get")] - public static extern uint switch_core_time_duration_yr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_core_time_duration")] - public static extern IntPtr new_switch_core_time_duration(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_core_time_duration")] - public static extern void delete_switch_core_time_duration(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_app_set")] - public static extern void switch_app_log_app_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_app_get")] - public static extern string switch_app_log_app_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_arg_set")] - public static extern void switch_app_log_arg_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_arg_get")] - public static extern string switch_app_log_arg_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_stamp_set")] - public static extern void switch_app_log_stamp_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_stamp_get")] - public static extern IntPtr switch_app_log_stamp_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_next_set")] - public static extern void switch_app_log_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_next_get")] - public static extern IntPtr switch_app_log_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_app_log")] - public static extern IntPtr new_switch_app_log(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_app_log")] - public static extern void delete_switch_app_log(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_func_set")] - public static extern void switch_thread_data_t_func_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_func_get")] - public static extern IntPtr switch_thread_data_t_func_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_obj_set")] - public static extern void switch_thread_data_t_obj_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_obj_get")] - public static extern IntPtr switch_thread_data_t_obj_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_alloc_set")] - public static extern void switch_thread_data_t_alloc_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_alloc_get")] - public static extern int switch_thread_data_t_alloc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_pool_set")] - public static extern void switch_thread_data_t_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_pool_get")] - public static extern IntPtr switch_thread_data_t_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_thread_data_t")] - public static extern IntPtr new_switch_thread_data_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_thread_data_t")] - public static extern void delete_switch_thread_data_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_on_set")] - public static extern void switch_hold_record_t_on_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_on_get")] - public static extern IntPtr switch_hold_record_t_on_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_off_set")] - public static extern void switch_hold_record_t_off_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_off_get")] - public static extern IntPtr switch_hold_record_t_off_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_uuid_set")] - public static extern void switch_hold_record_t_uuid_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_uuid_get")] - public static extern string switch_hold_record_t_uuid_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_next_set")] - public static extern void switch_hold_record_t_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_next_get")] - public static extern IntPtr switch_hold_record_t_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_hold_record_t")] - public static extern IntPtr new_switch_hold_record_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_hold_record_t")] - public static extern void delete_switch_hold_record_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_uuid_set")] - public static extern void switch_device_node_t_uuid_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_uuid_get")] - public static extern string switch_device_node_t_uuid_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_xml_cdr_set")] - public static extern void switch_device_node_t_xml_cdr_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_xml_cdr_get")] - public static extern IntPtr switch_device_node_t_xml_cdr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t__event_set")] - public static extern void switch_device_node_t__event_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t__event_get")] - public static extern IntPtr switch_device_node_t__event_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_callstate_set")] - public static extern void switch_device_node_t_callstate_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_callstate_get")] - public static extern int switch_device_node_t_callstate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hold_record_set")] - public static extern void switch_device_node_t_hold_record_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hold_record_get")] - public static extern IntPtr switch_device_node_t_hold_record_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hup_profile_set")] - public static extern void switch_device_node_t_hup_profile_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hup_profile_get")] - public static extern IntPtr switch_device_node_t_hup_profile_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_direction_set")] - public static extern void switch_device_node_t_direction_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_direction_get")] - public static extern int switch_device_node_t_direction_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_parent_set")] - public static extern void switch_device_node_t_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_parent_get")] - public static extern IntPtr switch_device_node_t_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_next_set")] - public static extern void switch_device_node_t_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_next_get")] - public static extern IntPtr switch_device_node_t_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_node_t")] - public static extern IntPtr new_switch_device_node_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_device_node_t")] - public static extern void delete_switch_device_node_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_set")] - public static extern void switch_device_stats_t_total_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_get")] - public static extern uint switch_device_stats_t_total_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_in_set")] - public static extern void switch_device_stats_t_total_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_in_get")] - public static extern uint switch_device_stats_t_total_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_out_set")] - public static extern void switch_device_stats_t_total_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_out_get")] - public static extern uint switch_device_stats_t_total_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_set")] - public static extern void switch_device_stats_t_offhook_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_get")] - public static extern uint switch_device_stats_t_offhook_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_in_set")] - public static extern void switch_device_stats_t_offhook_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_in_get")] - public static extern uint switch_device_stats_t_offhook_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_out_set")] - public static extern void switch_device_stats_t_offhook_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_out_get")] - public static extern uint switch_device_stats_t_offhook_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_set")] - public static extern void switch_device_stats_t_active_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_get")] - public static extern uint switch_device_stats_t_active_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_in_set")] - public static extern void switch_device_stats_t_active_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_in_get")] - public static extern uint switch_device_stats_t_active_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_out_set")] - public static extern void switch_device_stats_t_active_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_out_get")] - public static extern uint switch_device_stats_t_active_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_set")] - public static extern void switch_device_stats_t_held_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_get")] - public static extern uint switch_device_stats_t_held_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_in_set")] - public static extern void switch_device_stats_t_held_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_in_get")] - public static extern uint switch_device_stats_t_held_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_out_set")] - public static extern void switch_device_stats_t_held_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_out_get")] - public static extern uint switch_device_stats_t_held_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_set")] - public static extern void switch_device_stats_t_unheld_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_get")] - public static extern uint switch_device_stats_t_unheld_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_in_set")] - public static extern void switch_device_stats_t_unheld_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_in_get")] - public static extern uint switch_device_stats_t_unheld_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_out_set")] - public static extern void switch_device_stats_t_unheld_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_out_get")] - public static extern uint switch_device_stats_t_unheld_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_set")] - public static extern void switch_device_stats_t_hup_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_get")] - public static extern uint switch_device_stats_t_hup_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_in_set")] - public static extern void switch_device_stats_t_hup_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_in_get")] - public static extern uint switch_device_stats_t_hup_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_out_set")] - public static extern void switch_device_stats_t_hup_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_out_get")] - public static extern uint switch_device_stats_t_hup_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_set")] - public static extern void switch_device_stats_t_ringing_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_get")] - public static extern uint switch_device_stats_t_ringing_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_in_set")] - public static extern void switch_device_stats_t_ringing_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_in_get")] - public static extern uint switch_device_stats_t_ringing_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_out_set")] - public static extern void switch_device_stats_t_ringing_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_out_get")] - public static extern uint switch_device_stats_t_ringing_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_set")] - public static extern void switch_device_stats_t_early_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_get")] - public static extern uint switch_device_stats_t_early_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_in_set")] - public static extern void switch_device_stats_t_early_in_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_in_get")] - public static extern uint switch_device_stats_t_early_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_out_set")] - public static extern void switch_device_stats_t_early_out_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_out_get")] - public static extern uint switch_device_stats_t_early_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ring_wait_set")] - public static extern void switch_device_stats_t_ring_wait_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ring_wait_get")] - public static extern uint switch_device_stats_t_ring_wait_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_stats_t")] - public static extern IntPtr new_switch_device_stats_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_device_stats_t")] - public static extern void delete_switch_device_stats_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_device_id_set")] - public static extern void switch_device_record_t_device_id_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_device_id_get")] - public static extern string switch_device_record_t_device_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_set")] - public static extern void switch_device_record_t_uuid_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_get")] - public static extern string switch_device_record_t_uuid_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_refs_set")] - public static extern void switch_device_record_t_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_refs_get")] - public static extern int switch_device_record_t_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_stats_set")] - public static extern void switch_device_record_t_stats_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_stats_get")] - public static extern IntPtr switch_device_record_t_stats_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_stats_set")] - public static extern void switch_device_record_t_last_stats_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_stats_get")] - public static extern IntPtr switch_device_record_t_last_stats_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_state_set")] - public static extern void switch_device_record_t_state_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_state_get")] - public static extern int switch_device_record_t_state_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_state_set")] - public static extern void switch_device_record_t_last_state_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_state_get")] - public static extern int switch_device_record_t_last_state_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_start_set")] - public static extern void switch_device_record_t_active_start_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_start_get")] - public static extern IntPtr switch_device_record_t_active_start_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_stop_set")] - public static extern void switch_device_record_t_active_stop_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_stop_get")] - public static extern IntPtr switch_device_record_t_active_stop_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_call_time_set")] - public static extern void switch_device_record_t_last_call_time_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_call_time_get")] - public static extern IntPtr switch_device_record_t_last_call_time_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_start_set")] - public static extern void switch_device_record_t_ring_start_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_start_get")] - public static extern IntPtr switch_device_record_t_ring_start_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_stop_set")] - public static extern void switch_device_record_t_ring_stop_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_stop_get")] - public static extern IntPtr switch_device_record_t_ring_stop_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_start_set")] - public static extern void switch_device_record_t_hold_start_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_start_get")] - public static extern IntPtr switch_device_record_t_hold_start_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_stop_set")] - public static extern void switch_device_record_t_hold_stop_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_stop_get")] - public static extern IntPtr switch_device_record_t_hold_stop_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_call_start_set")] - public static extern void switch_device_record_t_call_start_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_call_start_get")] - public static extern IntPtr switch_device_record_t_call_start_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_list_set")] - public static extern void switch_device_record_t_uuid_list_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_list_get")] - public static extern IntPtr switch_device_record_t_uuid_list_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_tail_set")] - public static extern void switch_device_record_t_uuid_tail_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_tail_get")] - public static extern IntPtr switch_device_record_t_uuid_tail_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_mutex_set")] - public static extern void switch_device_record_t_mutex_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_mutex_get")] - public static extern IntPtr switch_device_record_t_mutex_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_pool_set")] - public static extern void switch_device_record_t_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_pool_get")] - public static extern IntPtr switch_device_record_t_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_user_data_set")] - public static extern void switch_device_record_t_user_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_user_data_get")] - public static extern IntPtr switch_device_record_t_user_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_record_t")] - public static extern IntPtr new_switch_device_record_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_device_record_t")] - public static extern void delete_switch_device_record_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_DTLS_SRTP_FNAME_get")] - public static extern string DTLS_SRTP_FNAME_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_MAX_FPLEN_get")] - public static extern int MAX_FPLEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_MAX_FPSTRLEN_get")] - public static extern int MAX_FPSTRLEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_len_set")] - public static extern void dtls_fingerprint_t_len_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_len_get")] - public static extern uint dtls_fingerprint_t_len_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_data_set")] - public static extern void dtls_fingerprint_t_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_data_get")] - public static extern IntPtr dtls_fingerprint_t_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_type_set")] - public static extern void dtls_fingerprint_t_type_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_type_get")] - public static extern string dtls_fingerprint_t_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_str_set")] - public static extern void dtls_fingerprint_t_str_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_str_get")] - public static extern string dtls_fingerprint_t_str_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_dtls_fingerprint_t")] - public static extern IntPtr new_dtls_fingerprint_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_dtls_fingerprint_t")] - public static extern void delete_dtls_fingerprint_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_MESSAGE_STRING_ARG_MAX_get")] - public static extern int MESSAGE_STRING_ARG_MAX_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_from_set")] - public static extern void switch_core_session_message_from_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_from_get")] - public static extern string switch_core_session_message_from_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_message_id_set")] - public static extern void switch_core_session_message_message_id_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_message_id_get")] - public static extern int switch_core_session_message_message_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_arg_set")] - public static extern void switch_core_session_message_numeric_arg_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_arg_get")] - public static extern int switch_core_session_message_numeric_arg_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_set")] - public static extern void switch_core_session_message_string_arg_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_get")] - public static extern string switch_core_session_message_string_arg_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_size_set")] - public static extern void switch_core_session_message_string_arg_size_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_size_get")] - public static extern IntPtr switch_core_session_message_string_arg_size_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_set")] - public static extern void switch_core_session_message_pointer_arg_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_get")] - public static extern IntPtr switch_core_session_message_pointer_arg_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_size_set")] - public static extern void switch_core_session_message_pointer_arg_size_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_size_get")] - public static extern IntPtr switch_core_session_message_pointer_arg_size_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_reply_set")] - public static extern void switch_core_session_message_numeric_reply_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_reply_get")] - public static extern int switch_core_session_message_numeric_reply_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_set")] - public static extern void switch_core_session_message_string_reply_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_get")] - public static extern string switch_core_session_message_string_reply_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_size_set")] - public static extern void switch_core_session_message_string_reply_size_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_size_get")] - public static extern IntPtr switch_core_session_message_string_reply_size_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_set")] - public static extern void switch_core_session_message_pointer_reply_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_get")] - public static extern IntPtr switch_core_session_message_pointer_reply_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_size_set")] - public static extern void switch_core_session_message_pointer_reply_size_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_size_get")] - public static extern IntPtr switch_core_session_message_pointer_reply_size_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_flags_set")] - public static extern void switch_core_session_message_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_flags_get")] - public static extern uint switch_core_session_message_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__file_set")] - public static extern void switch_core_session_message__file_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__file_get")] - public static extern string switch_core_session_message__file_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__func_set")] - public static extern void switch_core_session_message__func_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__func_get")] - public static extern string switch_core_session_message__func_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__line_set")] - public static extern void switch_core_session_message__line_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__line_get")] - public static extern int switch_core_session_message__line_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_array_arg_set")] - public static extern void switch_core_session_message_string_array_arg_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_array_arg_get")] - public static extern IntPtr switch_core_session_message_string_array_arg_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_delivery_time_set")] - public static extern void switch_core_session_message_delivery_time_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_delivery_time_get")] - public static extern IntPtr switch_core_session_message_delivery_time_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_core_session_message")] - public static extern IntPtr new_switch_core_session_message(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_core_session_message")] - public static extern void delete_switch_core_session_message(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_running_set")] - public static extern void switch_core_thread_session_running_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_running_get")] - public static extern int switch_core_thread_session_running_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_mutex_set")] - public static extern void switch_core_thread_session_mutex_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_mutex_get")] - public static extern IntPtr switch_core_thread_session_mutex_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_objs_set")] - public static extern void switch_core_thread_session_objs_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_objs_get")] - public static extern IntPtr switch_core_thread_session_objs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_input_callback_set")] - public static extern void switch_core_thread_session_input_callback_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_input_callback_get")] - public static extern IntPtr switch_core_thread_session_input_callback_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_pool_set")] - public static extern void switch_core_thread_session_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_pool_get")] - public static extern IntPtr switch_core_thread_session_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_core_thread_session")] - public static extern IntPtr new_switch_core_thread_session(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_core_thread_session")] - public static extern void delete_switch_core_thread_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_screen_size")] - public static extern void switch_core_screen_size(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sched_heartbeat")] - public static extern void switch_core_session_sched_heartbeat(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unsched_heartbeat")] - public static extern void switch_core_session_unsched_heartbeat(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_enable_heartbeat")] - public static extern void switch_core_session_enable_heartbeat(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_disable_heartbeat")] - public static extern void switch_core_session_disable_heartbeat(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_pop")] - public static extern int switch_core_media_bug_pop(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_exec_all")] - public static extern int switch_core_media_bug_exec_all(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_count")] - public static extern uint switch_core_media_bug_count(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_add")] - public static extern int switch_core_media_bug_add(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_pause")] - public static extern void switch_core_media_bug_pause(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_resume")] - public static extern void switch_core_media_bug_resume(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_inuse")] - public static extern void switch_core_media_bug_inuse(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_user_data")] - public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_write_replace_frame")] - public static extern IntPtr switch_core_media_bug_get_write_replace_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_native_read_frame")] - public static extern IntPtr switch_core_media_bug_get_native_read_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_native_write_frame")] - public static extern IntPtr switch_core_media_bug_get_native_write_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_write_replace_frame")] - public static extern void switch_core_media_bug_set_write_replace_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_read_replace_frame")] - public static extern IntPtr switch_core_media_bug_get_read_replace_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_read_demux_frame")] - public static extern void switch_core_media_bug_set_read_demux_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_session")] - public static extern IntPtr switch_core_media_bug_get_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_test_flag")] - public static extern uint switch_core_media_bug_test_flag(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_flag")] - public static extern uint switch_core_media_bug_set_flag(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_clear_flag")] - public static extern uint switch_core_media_bug_clear_flag(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_read_replace_frame")] - public static extern void switch_core_media_bug_set_read_replace_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cpu_count")] - public static extern uint switch_core_cpu_count(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove")] - public static extern int switch_core_media_bug_remove(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_prune")] - public static extern uint switch_core_media_bug_prune(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove_callback")] - public static extern int switch_core_media_bug_remove_callback(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_close")] - public static extern int switch_core_media_bug_close(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove_all_function")] - public static extern int switch_core_media_bug_remove_all_function(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_enumerate")] - public static extern int switch_core_media_bug_enumerate(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_transfer_recordings")] - public static extern int switch_core_media_bug_transfer_recordings(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_transfer_callback")] - public static extern int switch_core_media_bug_transfer_callback(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_read")] - public static extern int switch_core_media_bug_read(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_flush")] - public static extern void switch_core_media_bug_flush(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_flush_all")] - public static extern int switch_core_media_bug_flush_all(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_pre_buffer_framecount")] - public static extern int switch_core_media_bug_set_pre_buffer_framecount(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_new")] - public static extern int switch_core_port_allocator_new(string jarg1, ushort jarg2, ushort jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_request_port")] - public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_free_port")] - public static extern int switch_core_port_allocator_free_port(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_destroy")] - public static extern void switch_core_port_allocator_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_test_flag")] - public static extern int switch_core_test_flag(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_init")] - public static extern int switch_core_init(uint jarg1, int jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_init_and_modload")] - public static extern int switch_core_init_and_modload(uint jarg1, int jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_limit")] - public static extern uint switch_core_session_limit(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sessions_per_second")] - public static extern uint switch_core_sessions_per_second(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_destroy")] - public static extern int switch_core_destroy(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_io_read_lock")] - public static extern int switch_core_session_io_read_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_io_write_lock")] - public static extern int switch_core_session_io_write_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_io_rwunlock")] - public static extern int switch_core_session_io_rwunlock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_lock")] - public static extern int switch_core_session_read_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_lock_hangup")] - public static extern int switch_core_session_read_lock_hangup(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_write_lock")] - public static extern void switch_core_session_write_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_rwunlock")] - public static extern void switch_core_session_rwunlock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_add_state_handler")] - public static extern int switch_core_add_state_handler(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_remove_state_handler")] - public static extern void switch_core_remove_state_handler(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_state_handler")] - public static extern IntPtr switch_core_get_state_handler(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_pool_tag")] - public static extern void switch_core_memory_pool_tag(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_new_memory_pool")] - public static extern int switch_core_perform_new_memory_pool(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sync_clock")] - public static extern int switch_core_session_sync_clock(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_destroy_memory_pool")] - public static extern int switch_core_perform_destroy_memory_pool(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_pool_set_data")] - public static extern void switch_core_memory_pool_set_data(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_pool_get_data")] - public static extern IntPtr switch_core_memory_pool_get_data(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_run")] - public static extern void switch_core_session_run(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_running")] - public static extern uint switch_core_session_running(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_started")] - public static extern uint switch_core_session_started(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_permanent_alloc")] - public static extern IntPtr switch_core_perform_permanent_alloc(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_alloc")] - public static extern IntPtr switch_core_perform_alloc(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_session_alloc")] - public static extern IntPtr switch_core_perform_session_alloc(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_permanent_strdup")] - public static extern string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_session_strdup")] - public static extern string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_strdup")] - public static extern string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sprintf")] - public static extern string switch_core_session_sprintf(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sprintf")] - public static extern string switch_core_sprintf(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_pool")] - public static extern IntPtr switch_core_session_get_pool(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_request_xml")] - public static extern IntPtr switch_core_session_request_xml(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_request_uuid")] - public static extern IntPtr switch_core_session_request_uuid(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_uuid")] - public static extern int switch_core_session_set_uuid(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_destroy")] - public static extern void switch_core_session_perform_destroy(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_destroy_state")] - public static extern void switch_core_session_destroy_state(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_reporting_state")] - public static extern void switch_core_session_reporting_state(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hangup_state")] - public static extern void switch_core_session_hangup_state(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_count")] - public static extern uint switch_core_session_count(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_id")] - public static extern IntPtr switch_core_session_get_id(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_id")] - public static extern IntPtr switch_core_session_id(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_id_dec")] - public static extern IntPtr switch_core_session_id_dec(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_request_by_name")] - public static extern IntPtr switch_core_session_request_by_name(string jarg1, int jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_thread_launch")] - public static extern int switch_core_session_thread_launch(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_pool_launch_thread")] - public static extern int switch_thread_pool_launch_thread(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_thread_pool_launch")] - public static extern int switch_core_session_thread_pool_launch(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_channel")] - public static extern IntPtr switch_core_session_get_channel(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_mutex")] - public static extern IntPtr switch_core_session_get_mutex(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_wake_session_thread")] - public static extern int switch_core_session_wake_session_thread(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_signal_state_change")] - public static extern void switch_core_session_signal_state_change(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_uuid")] - public static extern string switch_core_session_get_uuid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_loglevel")] - public static extern int switch_core_session_set_loglevel(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_loglevel")] - public static extern int switch_core_session_get_loglevel(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_jb")] - public static extern IntPtr switch_core_session_get_jb(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_soft_lock")] - public static extern void switch_core_session_soft_lock(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_soft_unlock")] - public static extern void switch_core_session_soft_unlock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_dmachine")] - public static extern void switch_core_session_set_dmachine(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_dmachine")] - public static extern IntPtr switch_core_session_get_dmachine(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_target")] - public static extern int switch_ivr_dmachine_get_target(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_target")] - public static extern void switch_ivr_dmachine_set_target(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_terminators")] - public static extern int switch_ivr_dmachine_set_terminators(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_codec_slin")] - public static extern int switch_core_session_set_codec_slin(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_uuid")] - public static extern string switch_core_get_uuid(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_locate")] - public static extern IntPtr switch_core_session_perform_locate(string jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_force_locate")] - public static extern IntPtr switch_core_session_perform_force_locate(string jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variable")] - public static extern string switch_core_get_variable(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variable_dup")] - public static extern string switch_core_get_variable_dup(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variable_pdup")] - public static extern string switch_core_get_variable_pdup(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_hostname")] - public static extern string switch_core_get_hostname(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_switchname")] - public static extern string switch_core_get_switchname(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_domain")] - public static extern string switch_core_get_domain(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_variable")] - public static extern void switch_core_set_variable(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variables")] - public static extern int switch_core_get_variables(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_var_conditional")] - public static extern int switch_core_set_var_conditional(string jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_dump_variables")] - public static extern void switch_core_dump_variables(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall")] - public static extern void switch_core_session_hupall(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_matching_var_ans")] - public static extern uint switch_core_session_hupall_matching_var_ans(string jarg1, string jarg2, int jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_findall_matching_var")] - public static extern IntPtr switch_core_session_findall_matching_var(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_findall")] - public static extern IntPtr switch_core_session_findall(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_endpoint")] - public static extern void switch_core_session_hupall_endpoint(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_get_partner")] - public static extern int switch_core_session_perform_get_partner(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_send")] - public static extern int switch_core_session_message_send(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_message")] - public static extern int switch_core_session_queue_message(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_free_message")] - public static extern void switch_core_session_free_message(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_signal_data")] - public static extern int switch_core_session_queue_signal_data(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_signal_data")] - public static extern int switch_core_session_dequeue_signal_data(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_pass_indication")] - public static extern int switch_core_session_pass_indication(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_indication")] - public static extern int switch_core_session_queue_indication(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_message")] - public static extern int switch_core_session_dequeue_message(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_flush_message")] - public static extern int switch_core_session_flush_message(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_event_send")] - public static extern int switch_core_session_event_send(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_app_log")] - public static extern IntPtr switch_core_session_get_app_log(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_exec")] - public static extern int switch_core_session_exec(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_video_reset")] - public static extern void switch_core_session_video_reset(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_execute_application_get_flags")] - public static extern int switch_core_session_execute_application_get_flags(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_execute_application_async")] - public static extern int switch_core_session_execute_application_async(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_app_flags")] - public static extern int switch_core_session_get_app_flags(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_execute_exten")] - public static extern int switch_core_session_execute_exten(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_receive_event")] - public static extern int switch_core_session_receive_event(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_private_class")] - public static extern IntPtr switch_core_session_get_private_class(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_private_class")] - public static extern int switch_core_session_set_private_class(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_add_stream")] - public static extern int switch_core_session_add_stream(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_stream")] - public static extern IntPtr switch_core_session_get_stream(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_stream_count")] - public static extern int switch_core_session_get_stream_count(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_launch_thread")] - public static extern void switch_core_session_launch_thread(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_end")] - public static extern void switch_core_thread_session_end(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_service_session_av")] - public static extern void switch_core_service_session_av(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_outgoing_channel")] - public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_receive_message")] - public static extern int switch_core_session_perform_receive_message(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_event")] - public static extern int switch_core_session_queue_event(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_event_count")] - public static extern uint switch_core_session_event_count(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_messages_waiting")] - public static extern uint switch_core_session_messages_waiting(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_event")] - public static extern int switch_core_session_dequeue_event(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_private_event")] - public static extern int switch_core_session_queue_private_event(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_private_event_count")] - public static extern uint switch_core_session_private_event_count(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_private_event")] - public static extern int switch_core_session_dequeue_private_event(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_flush_private_events")] - public static extern uint switch_core_session_flush_private_events(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_frame")] - public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_video_frame")] - public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_write_video_frame")] - public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_read_impl")] - public static extern int switch_core_session_set_read_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_write_impl")] - public static extern int switch_core_session_set_write_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_read_impl")] - public static extern int switch_core_session_set_video_read_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_write_impl")] - public static extern int switch_core_session_set_video_write_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_reset")] - public static extern void switch_core_session_reset(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_write_frame")] - public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_kill_channel")] - public static extern int switch_core_session_perform_kill_channel(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_send_dtmf")] - public static extern int switch_core_session_send_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_send_dtmf_string")] - public static extern int switch_core_session_send_dtmf_string(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_recv_dtmf")] - public static extern int switch_core_session_recv_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_init_case")] - public static extern int switch_core_hash_init_case(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_destroy")] - public static extern int switch_core_hash_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_destructor")] - public static extern int switch_core_hash_insert_destructor(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_locked")] - public static extern int switch_core_hash_insert_locked(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_wrlock")] - public static extern int switch_core_hash_insert_wrlock(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete")] - public static extern int switch_core_hash_delete(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_locked")] - public static extern int switch_core_hash_delete_locked(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_wrlock")] - public static extern int switch_core_hash_delete_wrlock(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_multi")] - public static extern int switch_core_hash_delete_multi(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find")] - public static extern IntPtr switch_core_hash_find(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_locked")] - public static extern IntPtr switch_core_hash_find_locked(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_rdlock")] - public static extern IntPtr switch_core_hash_find_rdlock(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_first_iter")] - public static extern IntPtr switch_core_hash_first_iter(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_empty")] - public static extern int switch_core_hash_empty(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_next")] - public static extern IntPtr switch_core_hash_next(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_this")] - public static extern void switch_core_hash_this(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_init")] - public static extern int switch_core_timer_init(HandleRef jarg1, string jarg2, int jarg3, int jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_calibrate_clock")] - public static extern void switch_time_calibrate_clock(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_next")] - public static extern int switch_core_timer_next(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_step")] - public static extern int switch_core_timer_step(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_sync")] - public static extern int switch_core_timer_sync(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_check")] - public static extern int switch_core_timer_check(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_destroy")] - public static extern int switch_core_timer_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_init_with_bitrate")] - public static extern int switch_core_codec_init_with_bitrate(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, int jarg5, int jarg6, uint jarg7, uint jarg8, HandleRef jarg9, HandleRef jarg10); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_copy")] - public static extern int switch_core_codec_copy(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_parse_fmtp")] - public static extern int switch_core_codec_parse_fmtp(string jarg1, string jarg2, uint jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_reset")] - public static extern int switch_core_codec_reset(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_encode")] - public static extern int switch_core_codec_encode(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_decode")] - public static extern int switch_core_codec_decode(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_destroy")] - public static extern int switch_core_codec_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_read_codec")] - public static extern int switch_core_session_set_read_codec(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_real_read_codec")] - public static extern int switch_core_session_set_real_read_codec(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unset_read_codec")] - public static extern void switch_core_session_unset_read_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unset_write_codec")] - public static extern void switch_core_session_unset_write_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_lock_codec_write")] - public static extern void switch_core_session_lock_codec_write(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unlock_codec_write")] - public static extern void switch_core_session_unlock_codec_write(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_lock_codec_read")] - public static extern void switch_core_session_lock_codec_read(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unlock_codec_read")] - public static extern void switch_core_session_unlock_codec_read(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_read_impl")] - public static extern int switch_core_session_get_read_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_real_read_impl")] - public static extern int switch_core_session_get_real_read_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_write_impl")] - public static extern int switch_core_session_get_write_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_read_impl")] - public static extern int switch_core_session_get_video_read_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_write_impl")] - public static extern int switch_core_session_get_video_write_impl(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_read_codec")] - public static extern IntPtr switch_core_session_get_read_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_effective_read_codec")] - public static extern IntPtr switch_core_session_get_effective_read_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_write_codec")] - public static extern int switch_core_session_set_write_codec(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_write_codec")] - public static extern IntPtr switch_core_session_get_write_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_effective_write_codec")] - public static extern IntPtr switch_core_session_get_effective_write_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_read_codec")] - public static extern int switch_core_session_set_video_read_codec(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_read_codec")] - public static extern IntPtr switch_core_session_get_video_read_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_write_codec")] - public static extern int switch_core_session_set_video_write_codec(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_write_codec")] - public static extern IntPtr switch_core_session_get_video_write_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_open_file")] - public static extern IntPtr switch_core_db_open_file(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_persistant_execute")] - public static extern int switch_core_db_persistant_execute(HandleRef jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_persistant_execute_trans")] - public static extern int switch_core_db_persistant_execute_trans(HandleRef jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_test_reactive")] - public static extern void switch_core_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_file_open")] - public static extern int switch_core_perform_file_open(string jarg1, string jarg2, int jarg3, HandleRef jarg4, string jarg5, uint jarg6, uint jarg7, uint jarg8, HandleRef jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_read")] - public static extern int switch_core_file_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_write")] - public static extern int switch_core_file_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_write_video")] - public static extern int switch_core_file_write_video(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_seek")] - public static extern int switch_core_file_seek(HandleRef jarg1, HandleRef jarg2, long jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_set_string")] - public static extern int switch_core_file_set_string(HandleRef jarg1, int jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_get_string")] - public static extern int switch_core_file_get_string(HandleRef jarg1, int jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_close")] - public static extern int switch_core_file_close(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_truncate")] - public static extern int switch_core_file_truncate(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_open")] - public static extern int switch_core_speech_open(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, uint jarg5, uint jarg6, HandleRef jarg7, HandleRef jarg8); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_feed_tts")] - public static extern int switch_core_speech_feed_tts(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_flush_tts")] - public static extern void switch_core_speech_flush_tts(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_text_param_tts")] - public static extern void switch_core_speech_text_param_tts(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_numeric_param_tts")] - public static extern void switch_core_speech_numeric_param_tts(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_float_param_tts")] - public static extern void switch_core_speech_float_param_tts(HandleRef jarg1, string jarg2, double jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_read_tts")] - public static extern int switch_core_speech_read_tts(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_close")] - public static extern int switch_core_speech_close(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_open")] - public static extern int switch_core_asr_open(HandleRef jarg1, string jarg2, string jarg3, int jarg4, string jarg5, HandleRef jarg6, HandleRef jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_close")] - public static extern int switch_core_asr_close(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_feed")] - public static extern int switch_core_asr_feed(HandleRef jarg1, HandleRef jarg2, uint jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_feed_dtmf")] - public static extern int switch_core_asr_feed_dtmf(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_check_results")] - public static extern int switch_core_asr_check_results(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_get_results")] - public static extern int switch_core_asr_get_results(HandleRef jarg1, ref string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_get_result_headers")] - public static extern int switch_core_asr_get_result_headers(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_load_grammar")] - public static extern int switch_core_asr_load_grammar(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_unload_grammar")] - public static extern int switch_core_asr_unload_grammar(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_enable_grammar")] - public static extern int switch_core_asr_enable_grammar(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_disable_grammar")] - public static extern int switch_core_asr_disable_grammar(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_disable_all_grammars")] - public static extern int switch_core_asr_disable_all_grammars(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_pause")] - public static extern int switch_core_asr_pause(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_resume")] - public static extern int switch_core_asr_resume(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_start_input_timers")] - public static extern int switch_core_asr_start_input_timers(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_text_param")] - public static extern void switch_core_asr_text_param(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_numeric_param")] - public static extern void switch_core_asr_numeric_param(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_float_param")] - public static extern void switch_core_asr_float_param(HandleRef jarg1, string jarg2, double jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_open")] - public static extern int switch_core_directory_open(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_query")] - public static extern int switch_core_directory_query(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_next")] - public static extern int switch_core_directory_next(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_next_pair")] - public static extern int switch_core_directory_next_pair(HandleRef jarg1, ref string jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_close")] - public static extern int switch_core_directory_close(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_data_channel")] - public static extern IntPtr switch_core_data_channel(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_ready")] - public static extern int switch_core_ready(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_running")] - public static extern int switch_core_running(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_ready_inbound")] - public static extern int switch_core_ready_inbound(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_ready_outbound")] - public static extern int switch_core_ready_outbound(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_flags")] - public static extern uint switch_core_flags(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_management_exec")] - public static extern int switch_core_management_exec(string jarg1, int jarg2, string jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_set_normal_priority")] - public static extern int set_normal_priority(); - - [DllImport("mod_managed", EntryPoint="CSharp_set_auto_priority")] - public static extern int set_auto_priority(); - - [DllImport("mod_managed", EntryPoint="CSharp_set_realtime_priority")] - public static extern int set_realtime_priority(); - - [DllImport("mod_managed", EntryPoint="CSharp_set_low_priority")] - public static extern int set_low_priority(); - - [DllImport("mod_managed", EntryPoint="CSharp_change_user_group")] - public static extern int change_user_group(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_runtime_loop")] - public static extern void switch_core_runtime_loop(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_console")] - public static extern int switch_core_set_console(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_measure_time")] - public static extern void switch_core_measure_time(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_uptime")] - public static extern IntPtr switch_core_uptime(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_ctl")] - public static extern int switch_core_session_ctl(int jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_console")] - public static extern IntPtr switch_core_get_console(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_globals")] - public static extern void switch_core_set_globals(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_compare")] - public static extern byte switch_core_session_compare(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_check_interface")] - public static extern byte switch_core_session_check_interface(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_index")] - public static extern IntPtr switch_core_mime_index(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_ext2type")] - public static extern string switch_core_mime_ext2type(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_type2ext")] - public static extern string switch_core_mime_type2ext(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_add_type")] - public static extern int switch_core_mime_add_type(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_create_module_interface")] - public static extern IntPtr switch_loadable_module_create_module_interface(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_create_interface")] - public static extern IntPtr switch_loadable_module_create_interface(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_micro_time_now")] - public static extern IntPtr switch_micro_time_now(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mono_micro_time_now")] - public static extern IntPtr switch_mono_micro_time_now(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim")] - public static extern void switch_core_memory_reclaim(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim_events")] - public static extern void switch_core_memory_reclaim_events(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim_logger")] - public static extern void switch_core_memory_reclaim_logger(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim_all")] - public static extern void switch_core_memory_reclaim_all(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_setrlimits")] - public static extern void switch_core_setrlimits(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_ref")] - public static extern IntPtr switch_time_ref(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_sync")] - public static extern void switch_time_sync(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_epoch_time_now")] - public static extern IntPtr switch_epoch_time_now(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_lookup_timezone")] - public static extern string switch_lookup_timezone(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strftime_tz")] - public static extern int switch_strftime_tz(string jarg1, string jarg2, string jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_exp_tz_name")] - public static extern int switch_time_exp_tz_name(string jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_load_network_lists")] - public static extern void switch_load_network_lists(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_check_network_list_ip_token")] - public static extern int switch_check_network_list_ip_token(string jarg1, string jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_monotonic")] - public static extern void switch_time_set_monotonic(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_timerfd")] - public static extern void switch_time_set_timerfd(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_nanosleep")] - public static extern void switch_time_set_nanosleep(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_matrix")] - public static extern void switch_time_set_matrix(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_cond_yield")] - public static extern void switch_time_set_cond_yield(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_use_system_time")] - public static extern void switch_time_set_use_system_time(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_min_dtmf_duration")] - public static extern uint switch_core_min_dtmf_duration(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_max_dtmf_duration")] - public static extern uint switch_core_max_dtmf_duration(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_min_idle_cpu")] - public static extern double switch_core_min_idle_cpu(double jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_idle_cpu")] - public static extern double switch_core_idle_cpu(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_default_dtmf_duration")] - public static extern uint switch_core_default_dtmf_duration(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_set_complete")] - public static extern int switch_console_set_complete(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_set_alias")] - public static extern int switch_console_set_alias(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_system")] - public static extern int switch_system(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_system")] - public static extern int switch_stream_system(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cond_yield")] - public static extern void switch_cond_yield(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cond_next")] - public static extern void switch_cond_next(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send_args")] - public static extern int switch_core_chat_send_args(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, int jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send")] - public static extern int switch_core_chat_send(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_deliver")] - public static extern int switch_core_chat_deliver(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_preprocess_session")] - public static extern int switch_ivr_preprocess_session(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_pause")] - public static extern void switch_core_sqldb_pause(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_resume")] - public static extern void switch_core_sqldb_resume(); - - [DllImport("mod_managed", EntryPoint="CSharp_CACHE_DB_LEN_get")] - public static extern int CACHE_DB_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_core_db_dbh_set")] - public static extern void switch_cache_db_native_handle_t_core_db_dbh_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_core_db_dbh_get")] - public static extern IntPtr switch_cache_db_native_handle_t_core_db_dbh_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_odbc_dbh_set")] - public static extern void switch_cache_db_native_handle_t_odbc_dbh_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_odbc_dbh_get")] - public static extern IntPtr switch_cache_db_native_handle_t_odbc_dbh_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_pgsql_dbh_set")] - public static extern void switch_cache_db_native_handle_t_pgsql_dbh_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_pgsql_dbh_get")] - public static extern IntPtr switch_cache_db_native_handle_t_pgsql_dbh_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_native_handle_t")] - public static extern IntPtr new_switch_cache_db_native_handle_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_native_handle_t")] - public static extern void delete_switch_cache_db_native_handle_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_core_db_options_t_db_path_set")] - public static extern void switch_cache_db_core_db_options_t_db_path_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_core_db_options_t_db_path_get")] - public static extern string switch_cache_db_core_db_options_t_db_path_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_core_db_options_t")] - public static extern IntPtr new_switch_cache_db_core_db_options_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_core_db_options_t")] - public static extern void delete_switch_cache_db_core_db_options_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_dsn_set")] - public static extern void switch_cache_db_odbc_options_t_dsn_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_dsn_get")] - public static extern string switch_cache_db_odbc_options_t_dsn_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_user_set")] - public static extern void switch_cache_db_odbc_options_t_user_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_user_get")] - public static extern string switch_cache_db_odbc_options_t_user_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_pass_set")] - public static extern void switch_cache_db_odbc_options_t_pass_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_pass_get")] - public static extern string switch_cache_db_odbc_options_t_pass_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_odbc_options_t")] - public static extern IntPtr new_switch_cache_db_odbc_options_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_odbc_options_t")] - public static extern void delete_switch_cache_db_odbc_options_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_pgsql_options_t_dsn_set")] - public static extern void switch_cache_db_pgsql_options_t_dsn_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_pgsql_options_t_dsn_get")] - public static extern string switch_cache_db_pgsql_options_t_dsn_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_pgsql_options_t")] - public static extern IntPtr new_switch_cache_db_pgsql_options_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_pgsql_options_t")] - public static extern void delete_switch_cache_db_pgsql_options_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_core_db_options_set")] - public static extern void switch_cache_db_connection_options_t_core_db_options_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_core_db_options_get")] - public static extern IntPtr switch_cache_db_connection_options_t_core_db_options_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_odbc_options_set")] - public static extern void switch_cache_db_connection_options_t_odbc_options_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_odbc_options_get")] - public static extern IntPtr switch_cache_db_connection_options_t_odbc_options_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_pgsql_options_set")] - public static extern void switch_cache_db_connection_options_t_pgsql_options_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_pgsql_options_get")] - public static extern IntPtr switch_cache_db_connection_options_t_pgsql_options_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_connection_options_t")] - public static extern IntPtr new_switch_cache_db_connection_options_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_connection_options_t")] - public static extern void delete_switch_cache_db_connection_options_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_type_name")] - public static extern string switch_cache_db_type_name(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_get_type")] - public static extern int switch_cache_db_get_type(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_dismiss_db_handle")] - public static extern void switch_cache_db_dismiss_db_handle(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_release_db_handle")] - public static extern void switch_cache_db_release_db_handle(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp__switch_cache_db_get_db_handle")] - public static extern int _switch_cache_db_get_db_handle(HandleRef jarg1, int jarg2, HandleRef jarg3, string jarg4, string jarg5, int jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp__switch_cache_db_get_db_handle_dsn")] - public static extern int _switch_cache_db_get_db_handle_dsn(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_create_schema")] - public static extern int switch_cache_db_create_schema(HandleRef jarg1, string jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql2str")] - public static extern string switch_cache_db_execute_sql2str(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, ref string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql")] - public static extern int switch_cache_db_execute_sql(HandleRef jarg1, string jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_callback")] - public static extern int switch_cache_db_execute_sql_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_callback_err")] - public static extern int switch_cache_db_execute_sql_callback_err(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, ref string jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_affected_rows")] - public static extern int switch_cache_db_affected_rows(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_load_extension")] - public static extern int switch_cache_db_load_extension(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_status")] - public static extern void switch_cache_db_status(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp__switch_core_db_handle")] - public static extern int _switch_core_db_handle(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_test_reactive")] - public static extern int switch_cache_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute")] - public static extern int switch_cache_db_persistant_execute(HandleRef jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute_trans_full")] - public static extern int switch_cache_db_persistant_execute_trans_full(HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, string jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_signal_handlers")] - public static extern void switch_core_set_signal_handlers(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_debug_level")] - public static extern uint switch_core_debug_level(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_flush_handles")] - public static extern void switch_cache_db_flush_handles(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_banner")] - public static extern string switch_core_banner(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_in_thread")] - public static extern int switch_core_session_in_thread(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_default_ptime")] - public static extern uint switch_default_ptime(string jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_default_rate")] - public static extern uint switch_default_rate(string jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_add_registration")] - public static extern int switch_core_add_registration(string jarg1, string jarg2, string jarg3, string jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_del_registration")] - public static extern int switch_core_del_registration(string jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_expire_registration")] - public static extern int switch_core_expire_registration(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_get_variable")] - public static extern string switch_say_file_handle_get_variable(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_get_path")] - public static extern string switch_say_file_handle_get_path(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_detach_path")] - public static extern string switch_say_file_handle_detach_path(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_destroy")] - public static extern void switch_say_file_handle_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_create")] - public static extern int switch_say_file_handle_create(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file")] - public static extern void switch_say_file(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_max_file_desc")] - public static extern int switch_max_file_desc(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_close_extra_files")] - public static extern void switch_close_extra_files(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_set_cpu_affinity")] - public static extern int switch_core_thread_set_cpu_affinity(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_os_yield")] - public static extern void switch_os_yield(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_stacksizes")] - public static extern int switch_core_get_stacksizes(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_gen_encoded_silence")] - public static extern void switch_core_gen_encoded_silence(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_dbtype")] - public static extern int switch_core_dbtype(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sql_exec")] - public static extern void switch_core_sql_exec(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_recover")] - public static extern int switch_core_recovery_recover(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_untrack")] - public static extern void switch_core_recovery_untrack(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_track")] - public static extern void switch_core_recovery_track(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_flush")] - public static extern void switch_core_recovery_flush(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_pause")] - public static extern void switch_sql_queue_manager_pause(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_resume")] - public static extern void switch_sql_queue_manager_resume(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_size")] - public static extern int switch_sql_queue_manager_size(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_push_confirm")] - public static extern int switch_sql_queue_manager_push_confirm(HandleRef jarg1, string jarg2, uint jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_push")] - public static extern int switch_sql_queue_manager_push(HandleRef jarg1, string jarg2, uint jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_destroy")] - public static extern int switch_sql_queue_manager_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_init_name")] - public static extern int switch_sql_queue_manager_init_name(string jarg1, HandleRef jarg2, uint jarg3, string jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_start")] - public static extern int switch_sql_queue_manager_start(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_stop")] - public static extern int switch_sql_queue_manager_stop(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_event_callback")] - public static extern int switch_cache_db_execute_sql_event_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_callback")] - public static extern void switch_sql_queue_manager_execute_sql_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_callback_err")] - public static extern void switch_sql_queue_manager_execute_sql_callback_err(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_event_callback")] - public static extern void switch_sql_queue_manager_execute_sql_event_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_event_callback_err")] - public static extern void switch_sql_queue_manager_execute_sql_event_callback_err(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_fork")] - public static extern IntPtr switch_fork(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_gen_certs")] - public static extern int switch_core_gen_certs(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cert_gen_fingerprint")] - public static extern int switch_core_cert_gen_fingerprint(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cert_expand_fingerprint")] - public static extern int switch_core_cert_expand_fingerprint(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cert_verify")] - public static extern int switch_core_cert_verify(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_refresh_video")] - public static extern int switch_core_session_refresh_video(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_system_fork")] - public static extern int switch_stream_system_fork(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ice_direction")] - public static extern int switch_ice_direction(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_debug_pool")] - public static extern void switch_core_session_debug_pool(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_major")] - public static extern string switch_version_major(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_minor")] - public static extern string switch_version_minor(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_micro")] - public static extern string switch_version_micro(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_revision")] - public static extern string switch_version_revision(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_revision_human")] - public static extern string switch_version_revision_human(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_full")] - public static extern string switch_version_full(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_full_human")] - public static extern string switch_version_full_human(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_module_name_set")] - public static extern void switch_loadable_module_interface_module_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_module_name_get")] - public static extern string switch_loadable_module_interface_module_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_endpoint_interface_set")] - public static extern void switch_loadable_module_interface_endpoint_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_endpoint_interface_get")] - public static extern IntPtr switch_loadable_module_interface_endpoint_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_timer_interface_set")] - public static extern void switch_loadable_module_interface_timer_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_timer_interface_get")] - public static extern IntPtr switch_loadable_module_interface_timer_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_dialplan_interface_set")] - public static extern void switch_loadable_module_interface_dialplan_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_dialplan_interface_get")] - public static extern IntPtr switch_loadable_module_interface_dialplan_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_codec_interface_set")] - public static extern void switch_loadable_module_interface_codec_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_codec_interface_get")] - public static extern IntPtr switch_loadable_module_interface_codec_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_application_interface_set")] - public static extern void switch_loadable_module_interface_application_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_application_interface_get")] - public static extern IntPtr switch_loadable_module_interface_application_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_application_interface_set")] - public static extern void switch_loadable_module_interface_chat_application_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_application_interface_get")] - public static extern IntPtr switch_loadable_module_interface_chat_application_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_api_interface_set")] - public static extern void switch_loadable_module_interface_api_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_api_interface_get")] - public static extern IntPtr switch_loadable_module_interface_api_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_json_api_interface_set")] - public static extern void switch_loadable_module_interface_json_api_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_json_api_interface_get")] - public static extern IntPtr switch_loadable_module_interface_json_api_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_file_interface_set")] - public static extern void switch_loadable_module_interface_file_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_file_interface_get")] - public static extern IntPtr switch_loadable_module_interface_file_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_speech_interface_set")] - public static extern void switch_loadable_module_interface_speech_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_speech_interface_get")] - public static extern IntPtr switch_loadable_module_interface_speech_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_directory_interface_set")] - public static extern void switch_loadable_module_interface_directory_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_directory_interface_get")] - public static extern IntPtr switch_loadable_module_interface_directory_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_interface_set")] - public static extern void switch_loadable_module_interface_chat_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_interface_get")] - public static extern IntPtr switch_loadable_module_interface_chat_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_say_interface_set")] - public static extern void switch_loadable_module_interface_say_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_say_interface_get")] - public static extern IntPtr switch_loadable_module_interface_say_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_asr_interface_set")] - public static extern void switch_loadable_module_interface_asr_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_asr_interface_get")] - public static extern IntPtr switch_loadable_module_interface_asr_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_management_interface_set")] - public static extern void switch_loadable_module_interface_management_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_management_interface_get")] - public static extern IntPtr switch_loadable_module_interface_management_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_limit_interface_set")] - public static extern void switch_loadable_module_interface_limit_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_limit_interface_get")] - public static extern IntPtr switch_loadable_module_interface_limit_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_rwlock_set")] - public static extern void switch_loadable_module_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_rwlock_get")] - public static extern IntPtr switch_loadable_module_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_refs_set")] - public static extern void switch_loadable_module_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_refs_get")] - public static extern int switch_loadable_module_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_pool_set")] - public static extern void switch_loadable_module_interface_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_pool_get")] - public static extern IntPtr switch_loadable_module_interface_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_loadable_module_interface")] - public static extern IntPtr new_switch_loadable_module_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_loadable_module_interface")] - public static extern void delete_switch_loadable_module_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_init")] - public static extern int switch_loadable_module_init(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_shutdown")] - public static extern void switch_loadable_module_shutdown(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_endpoint_interface")] - public static extern IntPtr switch_loadable_module_get_endpoint_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_codec_interface")] - public static extern IntPtr switch_loadable_module_get_codec_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_parse_codec_buf")] - public static extern string switch_parse_codec_buf(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_dialplan_interface")] - public static extern IntPtr switch_loadable_module_get_dialplan_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_enumerate_available")] - public static extern int switch_loadable_module_enumerate_available(string jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_enumerate_loaded")] - public static extern int switch_loadable_module_enumerate_loaded(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_build_dynamic")] - public static extern int switch_loadable_module_build_dynamic(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_timer_interface")] - public static extern IntPtr switch_loadable_module_get_timer_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_application_interface")] - public static extern IntPtr switch_loadable_module_get_application_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_chat_application_interface")] - public static extern IntPtr switch_loadable_module_get_chat_application_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_execute_chat_app")] - public static extern int switch_core_execute_chat_app(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_api_interface")] - public static extern IntPtr switch_loadable_module_get_api_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_json_api_interface")] - public static extern IntPtr switch_loadable_module_get_json_api_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_file_interface")] - public static extern IntPtr switch_loadable_module_get_file_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_speech_interface")] - public static extern IntPtr switch_loadable_module_get_speech_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_asr_interface")] - public static extern IntPtr switch_loadable_module_get_asr_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_directory_interface")] - public static extern IntPtr switch_loadable_module_get_directory_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_chat_interface")] - public static extern IntPtr switch_loadable_module_get_chat_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_say_interface")] - public static extern IntPtr switch_loadable_module_get_say_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_management_interface")] - public static extern IntPtr switch_loadable_module_get_management_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_limit_interface")] - public static extern IntPtr switch_loadable_module_get_limit_interface(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_codecs")] - public static extern int switch_loadable_module_get_codecs(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_codecs_sorted")] - public static extern int switch_loadable_module_get_codecs_sorted(HandleRef jarg1, int jarg2, ref string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_execute")] - public static extern int switch_api_execute(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_execute")] - public static extern int switch_json_api_execute(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_load_module")] - public static extern int switch_loadable_module_load_module(string jarg1, string jarg2, int jarg3, ref string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_exists")] - public static extern int switch_loadable_module_exists(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_unload_module")] - public static extern int switch_loadable_module_unload_module(string jarg1, string jarg2, int jarg3, ref string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_next_id")] - public static extern uint switch_core_codec_next_id(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_check_interval")] - public static extern int switch_check_interval(uint jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_add_implementation")] - public static extern void switch_core_codec_add_implementation(HandleRef jarg1, HandleRef jarg2, int jarg3, byte jarg4, string jarg5, string jarg6, uint jarg7, uint jarg8, int jarg9, int jarg10, uint jarg11, uint jarg12, uint jarg13, byte jarg14, int jarg15, HandleRef jarg16, HandleRef jarg17, HandleRef jarg18, HandleRef jarg19); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_ready")] - public static extern int switch_core_codec_ready(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_secondary_recover_callback")] - public static extern IntPtr switch_core_get_secondary_recover_callback(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_register_secondary_recover_callback")] - public static extern int switch_core_register_secondary_recover_callback(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_unregister_secondary_recover_callback")] - public static extern void switch_core_unregister_secondary_recover_callback(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")] - public static extern int SWITCH_CMD_CHUNK_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_loop")] - public static extern void switch_console_loop(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_stream_raw_write")] - public static extern int switch_console_stream_raw_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_write_file_contents")] - public static extern int switch_stream_write_file_contents(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_init")] - public static extern int switch_console_init(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_shutdown")] - public static extern int switch_console_shutdown(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_add_complete_func")] - public static extern int switch_console_add_complete_func(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_del_complete_func")] - public static extern int switch_console_del_complete_func(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_run_complete_func")] - public static extern int switch_console_run_complete_func(string jarg1, string jarg2, string jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_push_match_unique")] - public static extern void switch_console_push_match_unique(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_push_match")] - public static extern void switch_console_push_match(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_free_matches")] - public static extern void switch_console_free_matches(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_complete")] - public static extern byte switch_console_complete(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_sort_matches")] - public static extern void switch_console_sort_matches(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_save_history")] - public static extern void switch_console_save_history(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_expand_alias")] - public static extern string switch_console_expand_alias(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_execute")] - public static extern int switch_console_execute(string jarg1, int jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_UNSAFE_get")] - public static extern string SWITCH_URL_UNSAFE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_toupper")] - public static extern uint switch_toupper(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_tolower")] - public static extern uint switch_tolower(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_toupper_max")] - public static extern void switch_toupper_max(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_tolower_max")] - public static extern void switch_tolower_max(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_old_switch_toupper")] - public static extern int old_switch_toupper(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_old_switch_tolower")] - public static extern int old_switch_tolower(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isalnum")] - public static extern int switch_isalnum(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isalpha")] - public static extern int switch_isalpha(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_iscntrl")] - public static extern int switch_iscntrl(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isdigit")] - public static extern int switch_isdigit(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isgraph")] - public static extern int switch_isgraph(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_islower")] - public static extern int switch_islower(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isprint")] - public static extern int switch_isprint(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ispunct")] - public static extern int switch_ispunct(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isspace")] - public static extern int switch_isspace(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isupper")] - public static extern int switch_isupper(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_isxdigit")] - public static extern int switch_isxdigit(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v4_set")] - public static extern void ip_t_v4_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v4_get")] - public static extern uint ip_t_v4_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v6_set")] - public static extern void ip_t_v6_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v6_get")] - public static extern IntPtr ip_t_v6_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_ip_t")] - public static extern IntPtr new_ip_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_ip_t")] - public static extern void delete_ip_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_testv6_subnet")] - public static extern int switch_testv6_subnet(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_print_host")] - public static extern string switch_print_host(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SMAX_get")] - public static extern int SWITCH_SMAX_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SMIN_get")] - public static extern int SWITCH_SMIN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp__zstr")] - public static extern int _zstr(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_moh")] - public static extern int switch_is_moh(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strchr_strict")] - public static extern string switch_strchr_strict(string jarg1, char jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_has_escaped_data")] - public static extern int switch_string_has_escaped_data(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_b64_encode")] - public static extern int switch_b64_encode(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_b64_decode")] - public static extern IntPtr switch_b64_decode(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_amp_encode")] - public static extern string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_digit_string")] - public static extern int switch_is_digit_string(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_itodtmf")] - public static extern char switch_itodtmf(char jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmftoi")] - public static extern int switch_dtmftoi(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_known_bitrate")] - public static extern uint switch_known_bitrate(byte jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_fd_read_line")] - public static extern IntPtr switch_fd_read_line(int jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_fd_read_dline")] - public static extern IntPtr switch_fd_read_dline(int jarg1, ref string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_fp_read_dline")] - public static extern IntPtr switch_fp_read_dline(HandleRef jarg1, ref string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_alloc")] - public static extern int switch_frame_alloc(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_dup")] - public static extern int switch_frame_dup(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_free")] - public static extern int switch_frame_free(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_number")] - public static extern int switch_is_number(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_leading_number")] - public static extern int switch_is_leading_number(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_parameter")] - public static extern string switch_find_parameter(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_true")] - public static extern int switch_true(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_true_byte")] - public static extern byte switch_true_byte(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_false")] - public static extern int switch_false(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_resolve_host")] - public static extern int switch_resolve_host(string jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_local_ip")] - public static extern int switch_find_local_ip(string jarg1, int jarg2, HandleRef jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_interface_ip")] - public static extern int switch_find_interface_ip(string jarg1, int jarg2, HandleRef jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_get_addr")] - public static extern string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_get_addr6")] - public static extern string get_addr6(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_get_addr_int")] - public static extern int get_addr_int(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cmp_addr")] - public static extern int switch_cmp_addr(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_get_port")] - public static extern ushort get_port(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_build_uri")] - public static extern int switch_build_uri(string jarg1, HandleRef jarg2, string jarg3, string jarg4, HandleRef jarg5, int jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_errno_is_break")] - public static extern int switch_errno_is_break(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_priority_name")] - public static extern string switch_priority_name(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rfc2833_to_char")] - public static extern char switch_rfc2833_to_char(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_char_to_rfc2833")] - public static extern byte switch_char_to_rfc2833(char jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_sanitize_number")] - public static extern string switch_sanitize_number(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_var_check")] - public static extern int switch_string_var_check(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_var_check_const")] - public static extern int switch_string_var_check_const(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_var_clean_string")] - public static extern string switch_var_clean_string(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_clean_string")] - public static extern string switch_clean_string(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_clean_name_string")] - public static extern string switch_clean_name_string(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_safe_atoi")] - public static extern int switch_safe_atoi(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_safe_strdup")] - public static extern string switch_safe_strdup(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_lc_strdup")] - public static extern string switch_lc_strdup(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_uc_strdup")] - public static extern string switch_uc_strdup(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strstr")] - public static extern int switch_strstr(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_str_time")] - public static extern IntPtr switch_str_time(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_string")] - public static extern uint switch_separate_string(string jarg1, char jarg2, ref string jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_string_string")] - public static extern uint switch_separate_string_string(string jarg1, string jarg2, ref string jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_spaces")] - public static extern string switch_strip_spaces(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_whitespace")] - public static extern string switch_strip_whitespace(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_commas")] - public static extern string switch_strip_commas(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_nonnumerics")] - public static extern string switch_strip_nonnumerics(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_paren_args")] - public static extern string switch_separate_paren_args(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stristr")] - public static extern string switch_stristr(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_lan_addr")] - public static extern int switch_is_lan_addr(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_replace_char")] - public static extern string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ast2regex")] - public static extern int switch_ast2regex(string jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_escape_char")] - public static extern string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_escape_string")] - public static extern string switch_escape_string(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_escape_string_pool")] - public static extern string switch_escape_string_pool(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_socket_waitfor")] - public static extern int switch_socket_waitfor(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_cut_path")] - public static extern string switch_cut_path(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_replace")] - public static extern string switch_string_replace(string jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_match")] - public static extern int switch_string_match(string jarg1, uint jarg2, string jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strcasecmp_any")] - public static extern int switch_strcasecmp_any(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg")] - public static extern string switch_util_quote_shell_arg(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg_pool")] - public static extern string switch_util_quote_shell_arg_pool(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_needs_url_encode")] - public static extern int switch_needs_url_encode(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode")] - public static extern string switch_url_encode(string jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_url_decode")] - public static extern string switch_url_decode(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_simple_email")] - public static extern int switch_simple_email(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_end_paren")] - public static extern string switch_find_end_paren(string jarg1, char jarg2, char jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_file_params")] - public static extern void switch_separate_file_params(string jarg1, ref string jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_file_path")] - public static extern int switch_is_file_path(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_parse_cidr")] - public static extern int switch_parse_cidr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_create")] - public static extern int switch_network_list_create(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_cidr_token")] - public static extern int switch_network_list_add_cidr_token(HandleRef jarg1, string jarg2, int jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_host_mask")] - public static extern int switch_network_list_add_host_mask(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_validate_ip_token")] - public static extern int switch_network_list_validate_ip_token(HandleRef jarg1, uint jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_validate_ip6_token")] - public static extern int switch_network_list_validate_ip6_token(HandleRef jarg1, HandleRef jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dow_int2str")] - public static extern string switch_dow_int2str(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dow_str2int")] - public static extern int switch_dow_str2int(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dow_cmp")] - public static extern int switch_dow_cmp(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_number_cmp")] - public static extern int switch_number_cmp(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_tod_cmp")] - public static extern int switch_tod_cmp(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_fulldate_cmp")] - public static extern int switch_fulldate_cmp(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_split_date")] - public static extern void switch_split_date(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_split_time")] - public static extern void switch_split_time(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_split_user_domain")] - public static extern int switch_split_user_domain(string jarg1, ref string jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_uuid_str")] - public static extern string switch_uuid_str(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_format_number")] - public static extern string switch_format_number(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_atoui")] - public static extern uint switch_atoui(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_atoul")] - public static extern uint switch_atoul(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_strerror_r")] - public static extern string switch_strerror_r(int jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_wait_sock")] - public static extern int switch_wait_sock(int jarg1, uint jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_wait_socklist")] - public static extern int switch_wait_socklist(HandleRef jarg1, uint jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_method_set")] - public static extern void switch_http_request_t_method_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_method_get")] - public static extern string switch_http_request_t_method_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_uri_set")] - public static extern void switch_http_request_t_uri_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_uri_get")] - public static extern string switch_http_request_t_uri_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_qs_set")] - public static extern void switch_http_request_t_qs_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_qs_get")] - public static extern string switch_http_request_t_qs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_host_set")] - public static extern void switch_http_request_t_host_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_host_get")] - public static extern string switch_http_request_t_host_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_port_set")] - public static extern void switch_http_request_t_port_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_port_get")] - public static extern ushort switch_http_request_t_port_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_from_set")] - public static extern void switch_http_request_t_from_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_from_get")] - public static extern string switch_http_request_t_from_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_agent_set")] - public static extern void switch_http_request_t_user_agent_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_agent_get")] - public static extern string switch_http_request_t_user_agent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_referer_set")] - public static extern void switch_http_request_t_referer_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_referer_get")] - public static extern string switch_http_request_t_referer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_set")] - public static extern void switch_http_request_t_user_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_get")] - public static extern string switch_http_request_t_user_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_keepalive_set")] - public static extern void switch_http_request_t_keepalive_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_keepalive_get")] - public static extern int switch_http_request_t_keepalive_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_type_set")] - public static extern void switch_http_request_t_content_type_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_type_get")] - public static extern string switch_http_request_t_content_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_length_set")] - public static extern void switch_http_request_t_content_length_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_length_get")] - public static extern IntPtr switch_http_request_t_content_length_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_header_set")] - public static extern void switch_http_request_t_bytes_header_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_header_get")] - public static extern IntPtr switch_http_request_t_bytes_header_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_read_set")] - public static extern void switch_http_request_t_bytes_read_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_read_get")] - public static extern IntPtr switch_http_request_t_bytes_read_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_buffered_set")] - public static extern void switch_http_request_t_bytes_buffered_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_buffered_get")] - public static extern IntPtr switch_http_request_t_bytes_buffered_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_headers_set")] - public static extern void switch_http_request_t_headers_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_headers_get")] - public static extern IntPtr switch_http_request_t_headers_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_data_set")] - public static extern void switch_http_request_t_user_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_data_get")] - public static extern IntPtr switch_http_request_t_user_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__buffer_set")] - public static extern void switch_http_request_t__buffer_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__buffer_get")] - public static extern string switch_http_request_t__buffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__destroy_headers_set")] - public static extern void switch_http_request_t__destroy_headers_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__destroy_headers_get")] - public static extern int switch_http_request_t__destroy_headers_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_http_request_t")] - public static extern IntPtr new_switch_http_request_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_http_request_t")] - public static extern void delete_switch_http_request_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_parse_header")] - public static extern int switch_http_parse_header(string jarg1, uint jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_free_request")] - public static extern void switch_http_free_request(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_dump_request")] - public static extern void switch_http_dump_request(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_parse_qs")] - public static extern void switch_http_parse_qs(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")] - public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_get")] - public static extern string profile_node_t_var_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_val_set")] - public static extern void profile_node_t_val_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_val_get")] - public static extern string profile_node_t_val_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_next_set")] - public static extern void profile_node_t_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_next_get")] - public static extern IntPtr profile_node_t_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_profile_node_t")] - public static extern IntPtr new_profile_node_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_profile_node_t")] - public static extern void delete_profile_node_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_username_set")] - public static extern void switch_caller_profile_username_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_username_get")] - public static extern string switch_caller_profile_username_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_dialplan_set")] - public static extern void switch_caller_profile_dialplan_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_dialplan_get")] - public static extern string switch_caller_profile_dialplan_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_name_set")] - public static extern void switch_caller_profile_caller_id_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_name_get")] - public static extern string switch_caller_profile_caller_id_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_number_set")] - public static extern void switch_caller_profile_caller_id_number_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_number_get")] - public static extern string switch_caller_profile_caller_id_number_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_name_set")] - public static extern void switch_caller_profile_orig_caller_id_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_name_get")] - public static extern string switch_caller_profile_orig_caller_id_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_number_set")] - public static extern void switch_caller_profile_orig_caller_id_number_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_number_get")] - public static extern string switch_caller_profile_orig_caller_id_number_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_name_set")] - public static extern void switch_caller_profile_callee_id_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_name_get")] - public static extern string switch_caller_profile_callee_id_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_number_set")] - public static extern void switch_caller_profile_callee_id_number_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_number_get")] - public static extern string switch_caller_profile_callee_id_number_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_ton_set")] - public static extern void switch_caller_profile_caller_ton_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_ton_get")] - public static extern byte switch_caller_profile_caller_ton_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_numplan_set")] - public static extern void switch_caller_profile_caller_numplan_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_numplan_get")] - public static extern byte switch_caller_profile_caller_numplan_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_network_addr_set")] - public static extern void switch_caller_profile_network_addr_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_network_addr_get")] - public static extern string switch_caller_profile_network_addr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_set")] - public static extern void switch_caller_profile_ani_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_get")] - public static extern string switch_caller_profile_ani_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_ton_set")] - public static extern void switch_caller_profile_ani_ton_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_ton_get")] - public static extern byte switch_caller_profile_ani_ton_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_numplan_set")] - public static extern void switch_caller_profile_ani_numplan_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_numplan_get")] - public static extern byte switch_caller_profile_ani_numplan_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_aniii_set")] - public static extern void switch_caller_profile_aniii_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_aniii_get")] - public static extern string switch_caller_profile_aniii_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_set")] - public static extern void switch_caller_profile_rdnis_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_get")] - public static extern string switch_caller_profile_rdnis_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_ton_set")] - public static extern void switch_caller_profile_rdnis_ton_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_ton_get")] - public static extern byte switch_caller_profile_rdnis_ton_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_numplan_set")] - public static extern void switch_caller_profile_rdnis_numplan_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_numplan_get")] - public static extern byte switch_caller_profile_rdnis_numplan_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_set")] - public static extern void switch_caller_profile_destination_number_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_get")] - public static extern string switch_caller_profile_destination_number_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_ton_set")] - public static extern void switch_caller_profile_destination_number_ton_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_ton_get")] - public static extern byte switch_caller_profile_destination_number_ton_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_numplan_set")] - public static extern void switch_caller_profile_destination_number_numplan_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_numplan_get")] - public static extern byte switch_caller_profile_destination_number_numplan_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_source_set")] - public static extern void switch_caller_profile_source_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_source_get")] - public static extern string switch_caller_profile_source_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_chan_name_set")] - public static extern void switch_caller_profile_chan_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_chan_name_get")] - public static extern string switch_caller_profile_chan_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_set")] - public static extern void switch_caller_profile_uuid_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_get")] - public static extern string switch_caller_profile_uuid_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_context_set")] - public static extern void switch_caller_profile_context_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_context_get")] - public static extern string switch_caller_profile_context_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_profile_index_set")] - public static extern void switch_caller_profile_profile_index_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_profile_index_get")] - public static extern string switch_caller_profile_profile_index_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_flags_set")] - public static extern void switch_caller_profile_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_flags_get")] - public static extern uint switch_caller_profile_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_set")] - public static extern void switch_caller_profile_originator_caller_profile_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_get")] - public static extern IntPtr switch_caller_profile_originator_caller_profile_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originatee_caller_profile_set")] - public static extern void switch_caller_profile_originatee_caller_profile_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originatee_caller_profile_get")] - public static extern IntPtr switch_caller_profile_originatee_caller_profile_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_origination_caller_profile_set")] - public static extern void switch_caller_profile_origination_caller_profile_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_origination_caller_profile_get")] - public static extern IntPtr switch_caller_profile_origination_caller_profile_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_hunt_caller_profile_set")] - public static extern void switch_caller_profile_hunt_caller_profile_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_hunt_caller_profile_get")] - public static extern IntPtr switch_caller_profile_hunt_caller_profile_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_times_set")] - public static extern void switch_caller_profile_times_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_times_get")] - public static extern IntPtr switch_caller_profile_times_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_old_times_set")] - public static extern void switch_caller_profile_old_times_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_old_times_get")] - public static extern IntPtr switch_caller_profile_old_times_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_extension_set")] - public static extern void switch_caller_profile_caller_extension_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_extension_get")] - public static extern IntPtr switch_caller_profile_caller_extension_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_pool_set")] - public static extern void switch_caller_profile_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_pool_get")] - public static extern IntPtr switch_caller_profile_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_next_set")] - public static extern void switch_caller_profile_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_next_get")] - public static extern IntPtr switch_caller_profile_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_set")] - public static extern void switch_caller_profile_direction_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_get")] - public static extern int switch_caller_profile_direction_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_logical_direction_set")] - public static extern void switch_caller_profile_logical_direction_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_logical_direction_get")] - public static extern int switch_caller_profile_logical_direction_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_set")] - public static extern void switch_caller_profile_soft_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_get")] - public static extern IntPtr switch_caller_profile_soft_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_str_set")] - public static extern void switch_caller_profile_uuid_str_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_str_get")] - public static extern string switch_caller_profile_uuid_str_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone_of_set")] - public static extern void switch_caller_profile_clone_of_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone_of_get")] - public static extern string switch_caller_profile_clone_of_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_transfer_source_set")] - public static extern void switch_caller_profile_transfer_source_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_transfer_source_get")] - public static extern string switch_caller_profile_transfer_source_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_profile")] - public static extern IntPtr new_switch_caller_profile(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_caller_profile")] - public static extern void delete_switch_caller_profile(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_name_set")] - public static extern void switch_caller_application_application_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_name_get")] - public static extern string switch_caller_application_application_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_data_set")] - public static extern void switch_caller_application_application_data_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_data_get")] - public static extern string switch_caller_application_application_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_function_set")] - public static extern void switch_caller_application_application_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_function_get")] - public static extern IntPtr switch_caller_application_application_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_next_set")] - public static extern void switch_caller_application_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_next_get")] - public static extern IntPtr switch_caller_application_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_application")] - public static extern IntPtr new_switch_caller_application(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_caller_application")] - public static extern void delete_switch_caller_application(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_name_set")] - public static extern void switch_caller_extension_extension_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_name_get")] - public static extern string switch_caller_extension_extension_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_number_set")] - public static extern void switch_caller_extension_extension_number_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_number_get")] - public static extern string switch_caller_extension_extension_number_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_current_application_set")] - public static extern void switch_caller_extension_current_application_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_current_application_get")] - public static extern IntPtr switch_caller_extension_current_application_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_last_application_set")] - public static extern void switch_caller_extension_last_application_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_last_application_get")] - public static extern IntPtr switch_caller_extension_last_application_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_applications_set")] - public static extern void switch_caller_extension_applications_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_applications_get")] - public static extern IntPtr switch_caller_extension_applications_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_children_set")] - public static extern void switch_caller_extension_children_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_children_get")] - public static extern IntPtr switch_caller_extension_children_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_next_set")] - public static extern void switch_caller_extension_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_next_get")] - public static extern IntPtr switch_caller_extension_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_extension")] - public static extern IntPtr new_switch_caller_extension(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_caller_extension")] - public static extern void delete_switch_caller_extension(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_new")] - public static extern IntPtr switch_caller_extension_new(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_clone")] - public static extern int switch_caller_extension_clone(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_add_application")] - public static extern void switch_caller_extension_add_application(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_add_application_printf")] - public static extern void switch_caller_extension_add_application_printf(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_get_field_by_name")] - public static extern string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_new")] - public static extern IntPtr switch_caller_profile_new(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, string jarg12); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone")] - public static extern IntPtr switch_caller_profile_clone(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_dup")] - public static extern IntPtr switch_caller_profile_dup(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_event_set_data")] - public static extern void switch_caller_profile_event_set_data(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_codec_set")] - public static extern void switch_frame_codec_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_codec_get")] - public static extern IntPtr switch_frame_codec_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_source_set")] - public static extern void switch_frame_source_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_source_get")] - public static extern string switch_frame_source_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packet_set")] - public static extern void switch_frame_packet_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packet_get")] - public static extern IntPtr switch_frame_packet_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packetlen_set")] - public static extern void switch_frame_packetlen_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packetlen_get")] - public static extern uint switch_frame_packetlen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_extra_data_set")] - public static extern void switch_frame_extra_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_extra_data_get")] - public static extern IntPtr switch_frame_extra_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_data_set")] - public static extern void switch_frame_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_data_get")] - public static extern IntPtr switch_frame_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_datalen_set")] - public static extern void switch_frame_datalen_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_datalen_get")] - public static extern uint switch_frame_datalen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buflen_set")] - public static extern void switch_frame_buflen_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buflen_get")] - public static extern uint switch_frame_buflen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_samples_set")] - public static extern void switch_frame_samples_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_samples_get")] - public static extern uint switch_frame_samples_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_rate_set")] - public static extern void switch_frame_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_rate_get")] - public static extern uint switch_frame_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_channels_set")] - public static extern void switch_frame_channels_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_channels_get")] - public static extern uint switch_frame_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_payload_set")] - public static extern void switch_frame_payload_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_payload_get")] - public static extern byte switch_frame_payload_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_timestamp_set")] - public static extern void switch_frame_timestamp_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_timestamp_get")] - public static extern IntPtr switch_frame_timestamp_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_seq_set")] - public static extern void switch_frame_seq_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_seq_get")] - public static extern ushort switch_frame_seq_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_ssrc_set")] - public static extern void switch_frame_ssrc_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_ssrc_get")] - public static extern uint switch_frame_ssrc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_m_set")] - public static extern void switch_frame_m_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_m_get")] - public static extern int switch_frame_m_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_flags_set")] - public static extern void switch_frame_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_flags_get")] - public static extern uint switch_frame_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_user_data_set")] - public static extern void switch_frame_user_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_user_data_get")] - public static extern IntPtr switch_frame_user_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_pmap_set")] - public static extern void switch_frame_pmap_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_pmap_get")] - public static extern IntPtr switch_frame_pmap_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_frame")] - public static extern IntPtr new_switch_frame(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_frame")] - public static extern void delete_switch_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_init_set")] - public static extern void switch_state_handler_table_on_init_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_init_get")] - public static extern IntPtr switch_state_handler_table_on_init_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_routing_set")] - public static extern void switch_state_handler_table_on_routing_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_routing_get")] - public static extern IntPtr switch_state_handler_table_on_routing_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_execute_set")] - public static extern void switch_state_handler_table_on_execute_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_execute_get")] - public static extern IntPtr switch_state_handler_table_on_execute_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hangup_set")] - public static extern void switch_state_handler_table_on_hangup_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hangup_get")] - public static extern IntPtr switch_state_handler_table_on_hangup_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_exchange_media_set")] - public static extern void switch_state_handler_table_on_exchange_media_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_exchange_media_get")] - public static extern IntPtr switch_state_handler_table_on_exchange_media_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_soft_execute_set")] - public static extern void switch_state_handler_table_on_soft_execute_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_soft_execute_get")] - public static extern IntPtr switch_state_handler_table_on_soft_execute_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_consume_media_set")] - public static extern void switch_state_handler_table_on_consume_media_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_consume_media_get")] - public static extern IntPtr switch_state_handler_table_on_consume_media_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hibernate_set")] - public static extern void switch_state_handler_table_on_hibernate_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hibernate_get")] - public static extern IntPtr switch_state_handler_table_on_hibernate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reset_set")] - public static extern void switch_state_handler_table_on_reset_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reset_get")] - public static extern IntPtr switch_state_handler_table_on_reset_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_park_set")] - public static extern void switch_state_handler_table_on_park_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_park_get")] - public static extern IntPtr switch_state_handler_table_on_park_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reporting_set")] - public static extern void switch_state_handler_table_on_reporting_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reporting_get")] - public static extern IntPtr switch_state_handler_table_on_reporting_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_destroy_set")] - public static extern void switch_state_handler_table_on_destroy_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_destroy_get")] - public static extern IntPtr switch_state_handler_table_on_destroy_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_flags_set")] - public static extern void switch_state_handler_table_flags_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_flags_get")] - public static extern int switch_state_handler_table_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_padding_set")] - public static extern void switch_state_handler_table_padding_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_padding_get")] - public static extern IntPtr switch_state_handler_table_padding_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_state_handler_table")] - public static extern IntPtr new_switch_state_handler_table(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_state_handler_table")] - public static extern void delete_switch_state_handler_table(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_read_function_set")] - public static extern void switch_stream_handle_read_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_read_function_get")] - public static extern IntPtr switch_stream_handle_read_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_write_function_set")] - public static extern void switch_stream_handle_write_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_write_function_get")] - public static extern IntPtr switch_stream_handle_write_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_raw_write_function_set")] - public static extern void switch_stream_handle_raw_write_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_raw_write_function_get")] - public static extern IntPtr switch_stream_handle_raw_write_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_set")] - public static extern void switch_stream_handle_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_get")] - public static extern IntPtr switch_stream_handle_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_end_set")] - public static extern void switch_stream_handle_end_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_end_get")] - public static extern IntPtr switch_stream_handle_end_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_size_set")] - public static extern void switch_stream_handle_data_size_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_size_get")] - public static extern IntPtr switch_stream_handle_data_size_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_len_set")] - public static extern void switch_stream_handle_data_len_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_len_get")] - public static extern IntPtr switch_stream_handle_data_len_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_len_set")] - public static extern void switch_stream_handle_alloc_len_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_len_get")] - public static extern IntPtr switch_stream_handle_alloc_len_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_chunk_set")] - public static extern void switch_stream_handle_alloc_chunk_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_chunk_get")] - public static extern IntPtr switch_stream_handle_alloc_chunk_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_param_event_set")] - public static extern void switch_stream_handle_param_event_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_param_event_get")] - public static extern IntPtr switch_stream_handle_param_event_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_stream_handle")] - public static extern IntPtr new_switch_stream_handle(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_stream_handle")] - public static extern void delete_switch_stream_handle(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_outgoing_channel_set")] - public static extern void switch_io_routines_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_outgoing_channel_get")] - public static extern IntPtr switch_io_routines_outgoing_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_frame_set")] - public static extern void switch_io_routines_read_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_frame_get")] - public static extern IntPtr switch_io_routines_read_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_frame_set")] - public static extern void switch_io_routines_write_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_frame_get")] - public static extern IntPtr switch_io_routines_write_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_kill_channel_set")] - public static extern void switch_io_routines_kill_channel_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_kill_channel_get")] - public static extern IntPtr switch_io_routines_kill_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_send_dtmf_set")] - public static extern void switch_io_routines_send_dtmf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_send_dtmf_get")] - public static extern IntPtr switch_io_routines_send_dtmf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_message_set")] - public static extern void switch_io_routines_receive_message_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_message_get")] - public static extern IntPtr switch_io_routines_receive_message_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_event_set")] - public static extern void switch_io_routines_receive_event_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_event_get")] - public static extern IntPtr switch_io_routines_receive_event_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_change_set")] - public static extern void switch_io_routines_state_change_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_change_get")] - public static extern IntPtr switch_io_routines_state_change_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_video_frame_set")] - public static extern void switch_io_routines_read_video_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_video_frame_get")] - public static extern IntPtr switch_io_routines_read_video_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_video_frame_set")] - public static extern void switch_io_routines_write_video_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_video_frame_get")] - public static extern IntPtr switch_io_routines_write_video_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_set")] - public static extern void switch_io_routines_state_run_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_get")] - public static extern IntPtr switch_io_routines_state_run_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_get_jb_set")] - public static extern void switch_io_routines_get_jb_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_get_jb_get")] - public static extern IntPtr switch_io_routines_get_jb_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_padding_set")] - public static extern void switch_io_routines_padding_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_padding_get")] - public static extern IntPtr switch_io_routines_padding_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_routines")] - public static extern IntPtr new_switch_io_routines(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_routines")] - public static extern void delete_switch_io_routines(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_interface_name_set")] - public static extern void switch_endpoint_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_interface_name_get")] - public static extern string switch_endpoint_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_io_routines_set")] - public static extern void switch_endpoint_interface_io_routines_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_io_routines_get")] - public static extern IntPtr switch_endpoint_interface_io_routines_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_state_handler_set")] - public static extern void switch_endpoint_interface_state_handler_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_state_handler_get")] - public static extern IntPtr switch_endpoint_interface_state_handler_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_private_info_set")] - public static extern void switch_endpoint_interface_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_private_info_get")] - public static extern IntPtr switch_endpoint_interface_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_rwlock_set")] - public static extern void switch_endpoint_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_rwlock_get")] - public static extern IntPtr switch_endpoint_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_refs_set")] - public static extern void switch_endpoint_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_refs_get")] - public static extern int switch_endpoint_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_reflock_set")] - public static extern void switch_endpoint_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_reflock_get")] - public static extern IntPtr switch_endpoint_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_parent_set")] - public static extern void switch_endpoint_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_parent_get")] - public static extern IntPtr switch_endpoint_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_next_set")] - public static extern void switch_endpoint_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_next_get")] - public static extern IntPtr switch_endpoint_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_recover_callback_set")] - public static extern void switch_endpoint_interface_recover_callback_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_recover_callback_get")] - public static extern IntPtr switch_endpoint_interface_recover_callback_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_endpoint_interface")] - public static extern IntPtr new_switch_endpoint_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_endpoint_interface")] - public static extern void delete_switch_endpoint_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interval_set")] - public static extern void switch_timer_interval_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interval_get")] - public static extern int switch_timer_interval_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_flags_set")] - public static extern void switch_timer_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_flags_get")] - public static extern uint switch_timer_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samples_set")] - public static extern void switch_timer_samples_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samples_get")] - public static extern uint switch_timer_samples_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samplecount_set")] - public static extern void switch_timer_samplecount_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samplecount_get")] - public static extern uint switch_timer_samplecount_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_timer_interface_set")] - public static extern void switch_timer_timer_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_timer_interface_get")] - public static extern IntPtr switch_timer_timer_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_memory_pool_set")] - public static extern void switch_timer_memory_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_memory_pool_get")] - public static extern IntPtr switch_timer_memory_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_private_info_set")] - public static extern void switch_timer_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_private_info_get")] - public static extern IntPtr switch_timer_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_diff_set")] - public static extern void switch_timer_diff_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_diff_get")] - public static extern IntPtr switch_timer_diff_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_start_set")] - public static extern void switch_timer_start_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_start_get")] - public static extern IntPtr switch_timer_start_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_tick_set")] - public static extern void switch_timer_tick_set(HandleRef jarg1, ulong jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_tick_get")] - public static extern ulong switch_timer_tick_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_timer")] - public static extern IntPtr new_switch_timer(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_timer")] - public static extern void delete_switch_timer(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_interface_name_set")] - public static extern void switch_timer_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_interface_name_get")] - public static extern string switch_timer_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_init_set")] - public static extern void switch_timer_interface_timer_init_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_init_get")] - public static extern IntPtr switch_timer_interface_timer_init_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_next_set")] - public static extern void switch_timer_interface_timer_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_next_get")] - public static extern IntPtr switch_timer_interface_timer_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_step_set")] - public static extern void switch_timer_interface_timer_step_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_step_get")] - public static extern IntPtr switch_timer_interface_timer_step_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_sync_set")] - public static extern void switch_timer_interface_timer_sync_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_sync_get")] - public static extern IntPtr switch_timer_interface_timer_sync_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_check_set")] - public static extern void switch_timer_interface_timer_check_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_check_get")] - public static extern IntPtr switch_timer_interface_timer_check_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_destroy_set")] - public static extern void switch_timer_interface_timer_destroy_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_destroy_get")] - public static extern IntPtr switch_timer_interface_timer_destroy_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_rwlock_set")] - public static extern void switch_timer_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_rwlock_get")] - public static extern IntPtr switch_timer_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_refs_set")] - public static extern void switch_timer_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_refs_get")] - public static extern int switch_timer_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_reflock_set")] - public static extern void switch_timer_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_reflock_get")] - public static extern IntPtr switch_timer_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_parent_set")] - public static extern void switch_timer_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_parent_get")] - public static extern IntPtr switch_timer_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_next_set")] - public static extern void switch_timer_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_next_get")] - public static extern IntPtr switch_timer_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_timer_interface")] - public static extern IntPtr new_switch_timer_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_timer_interface")] - public static extern void delete_switch_timer_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_interface_name_set")] - public static extern void switch_dialplan_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_interface_name_get")] - public static extern string switch_dialplan_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_hunt_function_set")] - public static extern void switch_dialplan_interface_hunt_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_hunt_function_get")] - public static extern IntPtr switch_dialplan_interface_hunt_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_rwlock_set")] - public static extern void switch_dialplan_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_rwlock_get")] - public static extern IntPtr switch_dialplan_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_refs_set")] - public static extern void switch_dialplan_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_refs_get")] - public static extern int switch_dialplan_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_reflock_set")] - public static extern void switch_dialplan_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_reflock_get")] - public static extern IntPtr switch_dialplan_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_parent_set")] - public static extern void switch_dialplan_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_parent_get")] - public static extern IntPtr switch_dialplan_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_next_set")] - public static extern void switch_dialplan_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_next_get")] - public static extern IntPtr switch_dialplan_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_dialplan_interface")] - public static extern IntPtr new_switch_dialplan_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_dialplan_interface")] - public static extern void delete_switch_dialplan_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_interface_name_set")] - public static extern void switch_file_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_interface_name_get")] - public static extern string switch_file_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_open_set")] - public static extern void switch_file_interface_file_open_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_open_get")] - public static extern IntPtr switch_file_interface_file_open_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_close_set")] - public static extern void switch_file_interface_file_close_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_close_get")] - public static extern IntPtr switch_file_interface_file_close_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_truncate_set")] - public static extern void switch_file_interface_file_truncate_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_truncate_get")] - public static extern IntPtr switch_file_interface_file_truncate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_set")] - public static extern void switch_file_interface_file_read_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_get")] - public static extern IntPtr switch_file_interface_file_read_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_set")] - public static extern void switch_file_interface_file_write_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_get")] - public static extern IntPtr switch_file_interface_file_write_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_video_set")] - public static extern void switch_file_interface_file_read_video_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_video_get")] - public static extern IntPtr switch_file_interface_file_read_video_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_video_set")] - public static extern void switch_file_interface_file_write_video_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_video_get")] - public static extern IntPtr switch_file_interface_file_write_video_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_seek_set")] - public static extern void switch_file_interface_file_seek_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_seek_get")] - public static extern IntPtr switch_file_interface_file_seek_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_set_string_set")] - public static extern void switch_file_interface_file_set_string_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_set_string_get")] - public static extern IntPtr switch_file_interface_file_set_string_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_get_string_set")] - public static extern void switch_file_interface_file_get_string_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_get_string_get")] - public static extern IntPtr switch_file_interface_file_get_string_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_extens_set")] - public static extern void switch_file_interface_extens_set(HandleRef jarg1, ref string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_extens_get")] - public static extern string switch_file_interface_extens_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_rwlock_set")] - public static extern void switch_file_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_rwlock_get")] - public static extern IntPtr switch_file_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_refs_set")] - public static extern void switch_file_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_refs_get")] - public static extern int switch_file_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_reflock_set")] - public static extern void switch_file_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_reflock_get")] - public static extern IntPtr switch_file_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_parent_set")] - public static extern void switch_file_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_parent_get")] - public static extern IntPtr switch_file_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_next_set")] - public static extern void switch_file_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_next_get")] - public static extern IntPtr switch_file_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_file_interface")] - public static extern IntPtr new_switch_file_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_file_interface")] - public static extern void delete_switch_file_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_interface_set")] - public static extern void switch_file_handle_file_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_interface_get")] - public static extern IntPtr switch_file_handle_file_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_flags_set")] - public static extern void switch_file_handle_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_flags_get")] - public static extern uint switch_file_handle_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_fd_set")] - public static extern void switch_file_handle_fd_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_fd_get")] - public static extern IntPtr switch_file_handle_fd_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_set")] - public static extern void switch_file_handle_samples_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_get")] - public static extern uint switch_file_handle_samples_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samplerate_set")] - public static extern void switch_file_handle_samplerate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samplerate_get")] - public static extern uint switch_file_handle_samplerate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_native_rate_set")] - public static extern void switch_file_handle_native_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_native_rate_get")] - public static extern uint switch_file_handle_native_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_channels_set")] - public static extern void switch_file_handle_channels_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_channels_get")] - public static extern uint switch_file_handle_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_real_channels_set")] - public static extern void switch_file_handle_real_channels_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_real_channels_get")] - public static extern uint switch_file_handle_real_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_format_set")] - public static extern void switch_file_handle_format_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_format_get")] - public static extern uint switch_file_handle_format_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sections_set")] - public static extern void switch_file_handle_sections_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sections_get")] - public static extern uint switch_file_handle_sections_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_seekable_set")] - public static extern void switch_file_handle_seekable_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_seekable_get")] - public static extern int switch_file_handle_seekable_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sample_count_set")] - public static extern void switch_file_handle_sample_count_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sample_count_get")] - public static extern IntPtr switch_file_handle_sample_count_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_speed_set")] - public static extern void switch_file_handle_speed_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_speed_get")] - public static extern int switch_file_handle_speed_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_memory_pool_set")] - public static extern void switch_file_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_memory_pool_get")] - public static extern IntPtr switch_file_handle_memory_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prebuf_set")] - public static extern void switch_file_handle_prebuf_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prebuf_get")] - public static extern uint switch_file_handle_prebuf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_interval_set")] - public static extern void switch_file_handle_interval_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_interval_get")] - public static extern uint switch_file_handle_interval_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_private_info_set")] - public static extern void switch_file_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_private_info_get")] - public static extern IntPtr switch_file_handle_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_handler_set")] - public static extern void switch_file_handle_handler_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_handler_get")] - public static extern string switch_file_handle_handler_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pos_set")] - public static extern void switch_file_handle_pos_set(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pos_get")] - public static extern long switch_file_handle_pos_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_audio_buffer_set")] - public static extern void switch_file_handle_audio_buffer_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_audio_buffer_get")] - public static extern IntPtr switch_file_handle_audio_buffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sp_audio_buffer_set")] - public static extern void switch_file_handle_sp_audio_buffer_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sp_audio_buffer_get")] - public static extern IntPtr switch_file_handle_sp_audio_buffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_thresh_set")] - public static extern void switch_file_handle_thresh_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_thresh_get")] - public static extern uint switch_file_handle_thresh_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_silence_hits_set")] - public static extern void switch_file_handle_silence_hits_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_silence_hits_get")] - public static extern uint switch_file_handle_silence_hits_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_offset_pos_set")] - public static extern void switch_file_handle_offset_pos_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_offset_pos_get")] - public static extern uint switch_file_handle_offset_pos_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_in_set")] - public static extern void switch_file_handle_samples_in_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_in_get")] - public static extern IntPtr switch_file_handle_samples_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_out_set")] - public static extern void switch_file_handle_samples_out_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_out_get")] - public static extern IntPtr switch_file_handle_samples_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_vol_set")] - public static extern void switch_file_handle_vol_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_vol_get")] - public static extern int switch_file_handle_vol_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_resampler_set")] - public static extern void switch_file_handle_resampler_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_resampler_get")] - public static extern IntPtr switch_file_handle_resampler_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_buffer_set")] - public static extern void switch_file_handle_buffer_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_buffer_get")] - public static extern IntPtr switch_file_handle_buffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuf_set")] - public static extern void switch_file_handle_dbuf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuf_get")] - public static extern IntPtr switch_file_handle_dbuf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuflen_set")] - public static extern void switch_file_handle_dbuflen_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuflen_get")] - public static extern IntPtr switch_file_handle_dbuflen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_set")] - public static extern void switch_file_handle_pre_buffer_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_get")] - public static extern IntPtr switch_file_handle_pre_buffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_data_set")] - public static extern void switch_file_handle_pre_buffer_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_data_get")] - public static extern IntPtr switch_file_handle_pre_buffer_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_datalen_set")] - public static extern void switch_file_handle_pre_buffer_datalen_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_datalen_get")] - public static extern IntPtr switch_file_handle_pre_buffer_datalen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_set")] - public static extern void switch_file_handle_file_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_get")] - public static extern string switch_file_handle_file_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_func_set")] - public static extern void switch_file_handle_func_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_func_get")] - public static extern string switch_file_handle_func_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_line_set")] - public static extern void switch_file_handle_line_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_line_get")] - public static extern int switch_file_handle_line_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_path_set")] - public static extern void switch_file_handle_file_path_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_path_get")] - public static extern string switch_file_handle_file_path_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_spool_path_set")] - public static extern void switch_file_handle_spool_path_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_spool_path_get")] - public static extern string switch_file_handle_spool_path_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prefix_set")] - public static extern void switch_file_handle_prefix_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prefix_get")] - public static extern string switch_file_handle_prefix_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_max_samples_set")] - public static extern void switch_file_handle_max_samples_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_max_samples_get")] - public static extern int switch_file_handle_max_samples_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle__params_set")] - public static extern void switch_file_handle__params_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle__params_get")] - public static extern IntPtr switch_file_handle__params_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_channels_set")] - public static extern void switch_file_handle_cur_channels_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_channels_get")] - public static extern uint switch_file_handle_cur_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_samplerate_set")] - public static extern void switch_file_handle_cur_samplerate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_samplerate_get")] - public static extern uint switch_file_handle_cur_samplerate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_file_handle")] - public static extern IntPtr new_switch_file_handle(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_file_handle")] - public static extern void delete_switch_file_handle(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_interface_name_set")] - public static extern void switch_asr_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_interface_name_get")] - public static extern string switch_asr_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_open_set")] - public static extern void switch_asr_interface_asr_open_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_open_get")] - public static extern IntPtr switch_asr_interface_asr_open_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_load_grammar_set")] - public static extern void switch_asr_interface_asr_load_grammar_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_load_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_load_grammar_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_unload_grammar_set")] - public static extern void switch_asr_interface_asr_unload_grammar_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_unload_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_unload_grammar_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_close_set")] - public static extern void switch_asr_interface_asr_close_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_close_get")] - public static extern IntPtr switch_asr_interface_asr_close_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_set")] - public static extern void switch_asr_interface_asr_feed_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_get")] - public static extern IntPtr switch_asr_interface_asr_feed_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_resume_set")] - public static extern void switch_asr_interface_asr_resume_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_resume_get")] - public static extern IntPtr switch_asr_interface_asr_resume_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_pause_set")] - public static extern void switch_asr_interface_asr_pause_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_pause_get")] - public static extern IntPtr switch_asr_interface_asr_pause_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_check_results_set")] - public static extern void switch_asr_interface_asr_check_results_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_check_results_get")] - public static extern IntPtr switch_asr_interface_asr_check_results_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_results_set")] - public static extern void switch_asr_interface_asr_get_results_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_results_get")] - public static extern IntPtr switch_asr_interface_asr_get_results_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_result_headers_set")] - public static extern void switch_asr_interface_asr_get_result_headers_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_result_headers_get")] - public static extern IntPtr switch_asr_interface_asr_get_result_headers_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_start_input_timers_set")] - public static extern void switch_asr_interface_asr_start_input_timers_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_start_input_timers_get")] - public static extern IntPtr switch_asr_interface_asr_start_input_timers_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_text_param_set")] - public static extern void switch_asr_interface_asr_text_param_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_text_param_get")] - public static extern IntPtr switch_asr_interface_asr_text_param_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_numeric_param_set")] - public static extern void switch_asr_interface_asr_numeric_param_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_numeric_param_get")] - public static extern IntPtr switch_asr_interface_asr_numeric_param_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_float_param_set")] - public static extern void switch_asr_interface_asr_float_param_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_float_param_get")] - public static extern IntPtr switch_asr_interface_asr_float_param_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_rwlock_set")] - public static extern void switch_asr_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_rwlock_get")] - public static extern IntPtr switch_asr_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_refs_set")] - public static extern void switch_asr_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_refs_get")] - public static extern int switch_asr_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_reflock_set")] - public static extern void switch_asr_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_reflock_get")] - public static extern IntPtr switch_asr_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_parent_set")] - public static extern void switch_asr_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_parent_get")] - public static extern IntPtr switch_asr_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_next_set")] - public static extern void switch_asr_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_next_get")] - public static extern IntPtr switch_asr_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_enable_grammar_set")] - public static extern void switch_asr_interface_asr_enable_grammar_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_enable_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_enable_grammar_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_grammar_set")] - public static extern void switch_asr_interface_asr_disable_grammar_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_disable_grammar_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_all_grammars_set")] - public static extern void switch_asr_interface_asr_disable_all_grammars_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_all_grammars_get")] - public static extern IntPtr switch_asr_interface_asr_disable_all_grammars_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_dtmf_set")] - public static extern void switch_asr_interface_asr_feed_dtmf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_dtmf_get")] - public static extern IntPtr switch_asr_interface_asr_feed_dtmf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_asr_interface")] - public static extern IntPtr new_switch_asr_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_asr_interface")] - public static extern void delete_switch_asr_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_asr_interface_set")] - public static extern void switch_asr_handle_asr_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_asr_interface_get")] - public static extern IntPtr switch_asr_handle_asr_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_flags_set")] - public static extern void switch_asr_handle_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_flags_get")] - public static extern uint switch_asr_handle_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_name_set")] - public static extern void switch_asr_handle_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_name_get")] - public static extern string switch_asr_handle_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_codec_set")] - public static extern void switch_asr_handle_codec_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_codec_get")] - public static extern string switch_asr_handle_codec_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_rate_set")] - public static extern void switch_asr_handle_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_rate_get")] - public static extern uint switch_asr_handle_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_grammar_set")] - public static extern void switch_asr_handle_grammar_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_grammar_get")] - public static extern string switch_asr_handle_grammar_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_param_set")] - public static extern void switch_asr_handle_param_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_param_get")] - public static extern string switch_asr_handle_param_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_memory_pool_set")] - public static extern void switch_asr_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_memory_pool_get")] - public static extern IntPtr switch_asr_handle_memory_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_buffer_set")] - public static extern void switch_asr_handle_buffer_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_buffer_get")] - public static extern IntPtr switch_asr_handle_buffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuf_set")] - public static extern void switch_asr_handle_dbuf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuf_get")] - public static extern IntPtr switch_asr_handle_dbuf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuflen_set")] - public static extern void switch_asr_handle_dbuflen_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuflen_get")] - public static extern IntPtr switch_asr_handle_dbuflen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_resampler_set")] - public static extern void switch_asr_handle_resampler_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_resampler_get")] - public static extern IntPtr switch_asr_handle_resampler_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_samplerate_set")] - public static extern void switch_asr_handle_samplerate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_samplerate_get")] - public static extern uint switch_asr_handle_samplerate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_native_rate_set")] - public static extern void switch_asr_handle_native_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_native_rate_get")] - public static extern uint switch_asr_handle_native_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_private_info_set")] - public static extern void switch_asr_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_private_info_get")] - public static extern IntPtr switch_asr_handle_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_asr_handle")] - public static extern IntPtr new_switch_asr_handle(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_asr_handle")] - public static extern void delete_switch_asr_handle(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_interface_name_set")] - public static extern void switch_speech_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_interface_name_get")] - public static extern string switch_speech_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_open_set")] - public static extern void switch_speech_interface_speech_open_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_open_get")] - public static extern IntPtr switch_speech_interface_speech_open_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_close_set")] - public static extern void switch_speech_interface_speech_close_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_close_get")] - public static extern IntPtr switch_speech_interface_speech_close_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_feed_tts_set")] - public static extern void switch_speech_interface_speech_feed_tts_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_feed_tts_get")] - public static extern IntPtr switch_speech_interface_speech_feed_tts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_read_tts_set")] - public static extern void switch_speech_interface_speech_read_tts_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_read_tts_get")] - public static extern IntPtr switch_speech_interface_speech_read_tts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_flush_tts_set")] - public static extern void switch_speech_interface_speech_flush_tts_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_flush_tts_get")] - public static extern IntPtr switch_speech_interface_speech_flush_tts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_text_param_tts_set")] - public static extern void switch_speech_interface_speech_text_param_tts_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_text_param_tts_get")] - public static extern IntPtr switch_speech_interface_speech_text_param_tts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_numeric_param_tts_set")] - public static extern void switch_speech_interface_speech_numeric_param_tts_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_numeric_param_tts_get")] - public static extern IntPtr switch_speech_interface_speech_numeric_param_tts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_float_param_tts_set")] - public static extern void switch_speech_interface_speech_float_param_tts_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_float_param_tts_get")] - public static extern IntPtr switch_speech_interface_speech_float_param_tts_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_rwlock_set")] - public static extern void switch_speech_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_rwlock_get")] - public static extern IntPtr switch_speech_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_refs_set")] - public static extern void switch_speech_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_refs_get")] - public static extern int switch_speech_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_reflock_set")] - public static extern void switch_speech_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_reflock_get")] - public static extern IntPtr switch_speech_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_parent_set")] - public static extern void switch_speech_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_parent_get")] - public static extern IntPtr switch_speech_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_next_set")] - public static extern void switch_speech_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_next_get")] - public static extern IntPtr switch_speech_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_speech_interface")] - public static extern IntPtr new_switch_speech_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_speech_interface")] - public static extern void delete_switch_speech_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speech_interface_set")] - public static extern void switch_speech_handle_speech_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speech_interface_get")] - public static extern IntPtr switch_speech_handle_speech_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_flags_set")] - public static extern void switch_speech_handle_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_flags_get")] - public static extern uint switch_speech_handle_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_name_set")] - public static extern void switch_speech_handle_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_name_get")] - public static extern string switch_speech_handle_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_rate_set")] - public static extern void switch_speech_handle_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_rate_get")] - public static extern uint switch_speech_handle_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speed_set")] - public static extern void switch_speech_handle_speed_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speed_get")] - public static extern uint switch_speech_handle_speed_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samples_set")] - public static extern void switch_speech_handle_samples_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samples_get")] - public static extern uint switch_speech_handle_samples_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_channels_set")] - public static extern void switch_speech_handle_channels_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_channels_get")] - public static extern uint switch_speech_handle_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_real_channels_set")] - public static extern void switch_speech_handle_real_channels_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_real_channels_get")] - public static extern uint switch_speech_handle_real_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_voice_set")] - public static extern void switch_speech_handle_voice_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_voice_get")] - public static extern string switch_speech_handle_voice_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_engine_set")] - public static extern void switch_speech_handle_engine_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_engine_get")] - public static extern string switch_speech_handle_engine_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_param_set")] - public static extern void switch_speech_handle_param_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_param_get")] - public static extern string switch_speech_handle_param_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_memory_pool_set")] - public static extern void switch_speech_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_memory_pool_get")] - public static extern IntPtr switch_speech_handle_memory_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_resampler_set")] - public static extern void switch_speech_handle_resampler_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_resampler_get")] - public static extern IntPtr switch_speech_handle_resampler_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_buffer_set")] - public static extern void switch_speech_handle_buffer_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_buffer_get")] - public static extern IntPtr switch_speech_handle_buffer_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuf_set")] - public static extern void switch_speech_handle_dbuf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuf_get")] - public static extern IntPtr switch_speech_handle_dbuf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuflen_set")] - public static extern void switch_speech_handle_dbuflen_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuflen_get")] - public static extern IntPtr switch_speech_handle_dbuflen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samplerate_set")] - public static extern void switch_speech_handle_samplerate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samplerate_get")] - public static extern uint switch_speech_handle_samplerate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_native_rate_set")] - public static extern void switch_speech_handle_native_rate_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_native_rate_get")] - public static extern uint switch_speech_handle_native_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_private_info_set")] - public static extern void switch_speech_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_private_info_get")] - public static extern IntPtr switch_speech_handle_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_speech_handle")] - public static extern IntPtr new_switch_speech_handle(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_speech_handle")] - public static extern void delete_switch_speech_handle(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_interface_name_set")] - public static extern void switch_say_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_interface_name_get")] - public static extern string switch_say_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_function_set")] - public static extern void switch_say_interface_say_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_function_get")] - public static extern IntPtr switch_say_interface_say_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_string_function_set")] - public static extern void switch_say_interface_say_string_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_string_function_get")] - public static extern IntPtr switch_say_interface_say_string_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_rwlock_set")] - public static extern void switch_say_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_rwlock_get")] - public static extern IntPtr switch_say_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_refs_set")] - public static extern void switch_say_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_refs_get")] - public static extern int switch_say_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_reflock_set")] - public static extern void switch_say_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_reflock_get")] - public static extern IntPtr switch_say_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_parent_set")] - public static extern void switch_say_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_parent_get")] - public static extern IntPtr switch_say_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_next_set")] - public static extern void switch_say_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_next_get")] - public static extern IntPtr switch_say_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_say_interface")] - public static extern IntPtr new_switch_say_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_say_interface")] - public static extern void delete_switch_say_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_interface_name_set")] - public static extern void switch_chat_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_interface_name_get")] - public static extern string switch_chat_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_chat_send_set")] - public static extern void switch_chat_interface_chat_send_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_chat_send_get")] - public static extern IntPtr switch_chat_interface_chat_send_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_rwlock_set")] - public static extern void switch_chat_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_rwlock_get")] - public static extern IntPtr switch_chat_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_refs_set")] - public static extern void switch_chat_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_refs_get")] - public static extern int switch_chat_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_reflock_set")] - public static extern void switch_chat_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_reflock_get")] - public static extern IntPtr switch_chat_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_parent_set")] - public static extern void switch_chat_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_parent_get")] - public static extern IntPtr switch_chat_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_next_set")] - public static extern void switch_chat_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_next_get")] - public static extern IntPtr switch_chat_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_chat_interface")] - public static extern IntPtr new_switch_chat_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_chat_interface")] - public static extern void delete_switch_chat_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_relative_oid_set")] - public static extern void switch_management_interface_relative_oid_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_relative_oid_get")] - public static extern string switch_management_interface_relative_oid_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_management_function_set")] - public static extern void switch_management_interface_management_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_management_function_get")] - public static extern IntPtr switch_management_interface_management_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_rwlock_set")] - public static extern void switch_management_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_rwlock_get")] - public static extern IntPtr switch_management_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_refs_set")] - public static extern void switch_management_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_refs_get")] - public static extern int switch_management_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_reflock_set")] - public static extern void switch_management_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_reflock_get")] - public static extern IntPtr switch_management_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_parent_set")] - public static extern void switch_management_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_parent_get")] - public static extern IntPtr switch_management_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_next_set")] - public static extern void switch_management_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_next_get")] - public static extern IntPtr switch_management_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_management_interface")] - public static extern IntPtr new_switch_management_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_management_interface")] - public static extern void delete_switch_management_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interface_name_set")] - public static extern void switch_limit_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interface_name_get")] - public static extern string switch_limit_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_incr_set")] - public static extern void switch_limit_interface_incr_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_incr_get")] - public static extern IntPtr switch_limit_interface_incr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_release_set")] - public static extern void switch_limit_interface_release_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_release_get")] - public static extern IntPtr switch_limit_interface_release_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_usage_set")] - public static extern void switch_limit_interface_usage_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_usage_get")] - public static extern IntPtr switch_limit_interface_usage_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reset_set")] - public static extern void switch_limit_interface_reset_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reset_get")] - public static extern IntPtr switch_limit_interface_reset_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_status_set")] - public static extern void switch_limit_interface_status_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_status_get")] - public static extern IntPtr switch_limit_interface_status_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interval_reset_set")] - public static extern void switch_limit_interface_interval_reset_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interval_reset_get")] - public static extern IntPtr switch_limit_interface_interval_reset_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_rwlock_set")] - public static extern void switch_limit_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_rwlock_get")] - public static extern IntPtr switch_limit_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_refs_set")] - public static extern void switch_limit_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_refs_get")] - public static extern int switch_limit_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reflock_set")] - public static extern void switch_limit_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reflock_get")] - public static extern IntPtr switch_limit_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_parent_set")] - public static extern void switch_limit_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_parent_get")] - public static extern IntPtr switch_limit_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_next_set")] - public static extern void switch_limit_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_next_get")] - public static extern IntPtr switch_limit_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_limit_interface")] - public static extern IntPtr new_switch_limit_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_limit_interface")] - public static extern void delete_switch_limit_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_interface_name_set")] - public static extern void switch_directory_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_interface_name_get")] - public static extern string switch_directory_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_open_set")] - public static extern void switch_directory_interface_directory_open_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_open_get")] - public static extern IntPtr switch_directory_interface_directory_open_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_close_set")] - public static extern void switch_directory_interface_directory_close_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_close_get")] - public static extern IntPtr switch_directory_interface_directory_close_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_query_set")] - public static extern void switch_directory_interface_directory_query_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_query_get")] - public static extern IntPtr switch_directory_interface_directory_query_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_set")] - public static extern void switch_directory_interface_directory_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_get")] - public static extern IntPtr switch_directory_interface_directory_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_pair_set")] - public static extern void switch_directory_interface_directory_next_pair_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_pair_get")] - public static extern IntPtr switch_directory_interface_directory_next_pair_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_rwlock_set")] - public static extern void switch_directory_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_rwlock_get")] - public static extern IntPtr switch_directory_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_refs_set")] - public static extern void switch_directory_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_refs_get")] - public static extern int switch_directory_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_reflock_set")] - public static extern void switch_directory_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_reflock_get")] - public static extern IntPtr switch_directory_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_parent_set")] - public static extern void switch_directory_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_parent_get")] - public static extern IntPtr switch_directory_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_next_set")] - public static extern void switch_directory_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_next_get")] - public static extern IntPtr switch_directory_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_directory_interface")] - public static extern IntPtr new_switch_directory_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directory_interface")] - public static extern void delete_switch_directory_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_directory_interface_set")] - public static extern void switch_directory_handle_directory_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_directory_interface_get")] - public static extern IntPtr switch_directory_handle_directory_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_flags_set")] - public static extern void switch_directory_handle_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_flags_get")] - public static extern uint switch_directory_handle_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_memory_pool_set")] - public static extern void switch_directory_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_memory_pool_get")] - public static extern IntPtr switch_directory_handle_memory_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_private_info_set")] - public static extern void switch_directory_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_private_info_get")] - public static extern IntPtr switch_directory_handle_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_directory_handle")] - public static extern IntPtr new_switch_directory_handle(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directory_handle")] - public static extern void delete_switch_directory_handle(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_unused_set")] - public static extern void switch_codec_settings_unused_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_unused_get")] - public static extern int switch_codec_settings_unused_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_settings")] - public static extern IntPtr new_switch_codec_settings(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_settings")] - public static extern void delete_switch_codec_settings(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_actual_samples_per_second_set")] - public static extern void switch_codec_fmtp_actual_samples_per_second_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_actual_samples_per_second_get")] - public static extern uint switch_codec_fmtp_actual_samples_per_second_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_bits_per_second_set")] - public static extern void switch_codec_fmtp_bits_per_second_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_bits_per_second_get")] - public static extern int switch_codec_fmtp_bits_per_second_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_microseconds_per_packet_set")] - public static extern void switch_codec_fmtp_microseconds_per_packet_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_microseconds_per_packet_get")] - public static extern int switch_codec_fmtp_microseconds_per_packet_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_stereo_set")] - public static extern void switch_codec_fmtp_stereo_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_stereo_get")] - public static extern int switch_codec_fmtp_stereo_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_private_info_set")] - public static extern void switch_codec_fmtp_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_private_info_get")] - public static extern IntPtr switch_codec_fmtp_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_fmtp")] - public static extern IntPtr new_switch_codec_fmtp(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_fmtp")] - public static extern void delete_switch_codec_fmtp(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_interface_set")] - public static extern void switch_codec_codec_interface_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_interface_get")] - public static extern IntPtr switch_codec_codec_interface_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_set")] - public static extern void switch_codec_implementation_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_get")] - public static extern IntPtr switch_codec_implementation_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_in_set")] - public static extern void switch_codec_fmtp_in_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_in_get")] - public static extern string switch_codec_fmtp_in_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_out_set")] - public static extern void switch_codec_fmtp_out_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_out_get")] - public static extern string switch_codec_fmtp_out_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_flags_set")] - public static extern void switch_codec_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_flags_get")] - public static extern uint switch_codec_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_memory_pool_set")] - public static extern void switch_codec_memory_pool_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_memory_pool_get")] - public static extern IntPtr switch_codec_memory_pool_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_private_info_set")] - public static extern void switch_codec_private_info_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_private_info_get")] - public static extern IntPtr switch_codec_private_info_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_agreed_pt_set")] - public static extern void switch_codec_agreed_pt_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_agreed_pt_get")] - public static extern byte switch_codec_agreed_pt_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_mutex_set")] - public static extern void switch_codec_mutex_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_mutex_get")] - public static extern IntPtr switch_codec_mutex_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_next_set")] - public static extern void switch_codec_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_next_get")] - public static extern IntPtr switch_codec_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_session_set")] - public static extern void switch_codec_session_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_session_get")] - public static extern IntPtr switch_codec_session_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_cur_frame_set")] - public static extern void switch_codec_cur_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_cur_frame_get")] - public static extern IntPtr switch_codec_cur_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec")] - public static extern IntPtr new_switch_codec(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec")] - public static extern void delete_switch_codec(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_type_set")] - public static extern void switch_codec_implementation_codec_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_type_get")] - public static extern int switch_codec_implementation_codec_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_ianacode_set")] - public static extern void switch_codec_implementation_ianacode_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_ianacode_get")] - public static extern byte switch_codec_implementation_ianacode_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_iananame_set")] - public static extern void switch_codec_implementation_iananame_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_iananame_get")] - public static extern string switch_codec_implementation_iananame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_fmtp_set")] - public static extern void switch_codec_implementation_fmtp_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_fmtp_get")] - public static extern string switch_codec_implementation_fmtp_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_second_set")] - public static extern void switch_codec_implementation_samples_per_second_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_second_get")] - public static extern uint switch_codec_implementation_samples_per_second_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_actual_samples_per_second_set")] - public static extern void switch_codec_implementation_actual_samples_per_second_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_actual_samples_per_second_get")] - public static extern uint switch_codec_implementation_actual_samples_per_second_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_bits_per_second_set")] - public static extern void switch_codec_implementation_bits_per_second_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_bits_per_second_get")] - public static extern int switch_codec_implementation_bits_per_second_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_packet_set")] - public static extern void switch_codec_implementation_microseconds_per_packet_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_packet_get")] - public static extern int switch_codec_implementation_microseconds_per_packet_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_packet_set")] - public static extern void switch_codec_implementation_samples_per_packet_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_packet_get")] - public static extern uint switch_codec_implementation_samples_per_packet_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decoded_bytes_per_packet_set")] - public static extern void switch_codec_implementation_decoded_bytes_per_packet_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decoded_bytes_per_packet_get")] - public static extern uint switch_codec_implementation_decoded_bytes_per_packet_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_packet_set")] - public static extern void switch_codec_implementation_encoded_bytes_per_packet_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_packet_get")] - public static extern uint switch_codec_implementation_encoded_bytes_per_packet_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_number_of_channels_set")] - public static extern void switch_codec_implementation_number_of_channels_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_number_of_channels_get")] - public static extern byte switch_codec_implementation_number_of_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_frames_per_packet_set")] - public static extern void switch_codec_implementation_codec_frames_per_packet_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_frames_per_packet_get")] - public static extern int switch_codec_implementation_codec_frames_per_packet_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_init_set")] - public static extern void switch_codec_implementation_init_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_init_get")] - public static extern IntPtr switch_codec_implementation_init_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encode_set")] - public static extern void switch_codec_implementation_encode_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encode_get")] - public static extern IntPtr switch_codec_implementation_encode_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decode_set")] - public static extern void switch_codec_implementation_decode_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decode_get")] - public static extern IntPtr switch_codec_implementation_decode_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_destroy_set")] - public static extern void switch_codec_implementation_destroy_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_destroy_get")] - public static extern IntPtr switch_codec_implementation_destroy_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_id_set")] - public static extern void switch_codec_implementation_codec_id_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_id_get")] - public static extern uint switch_codec_implementation_codec_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_impl_id_set")] - public static extern void switch_codec_implementation_impl_id_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_impl_id_get")] - public static extern uint switch_codec_implementation_impl_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_next_set")] - public static extern void switch_codec_implementation_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_next_get")] - public static extern IntPtr switch_codec_implementation_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_implementation")] - public static extern IntPtr new_switch_codec_implementation(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_implementation")] - public static extern void delete_switch_codec_implementation(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_interface_name_set")] - public static extern void switch_codec_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_interface_name_get")] - public static extern string switch_codec_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_implementations_set")] - public static extern void switch_codec_interface_implementations_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_implementations_get")] - public static extern IntPtr switch_codec_interface_implementations_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parse_fmtp_set")] - public static extern void switch_codec_interface_parse_fmtp_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parse_fmtp_get")] - public static extern IntPtr switch_codec_interface_parse_fmtp_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_codec_id_set")] - public static extern void switch_codec_interface_codec_id_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_codec_id_get")] - public static extern uint switch_codec_interface_codec_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_rwlock_set")] - public static extern void switch_codec_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_rwlock_get")] - public static extern IntPtr switch_codec_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_refs_set")] - public static extern void switch_codec_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_refs_get")] - public static extern int switch_codec_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_reflock_set")] - public static extern void switch_codec_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_reflock_get")] - public static extern IntPtr switch_codec_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parent_set")] - public static extern void switch_codec_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parent_get")] - public static extern IntPtr switch_codec_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_next_set")] - public static extern void switch_codec_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_next_get")] - public static extern IntPtr switch_codec_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_interface")] - public static extern IntPtr new_switch_codec_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_interface")] - public static extern void delete_switch_codec_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_interface_name_set")] - public static extern void switch_application_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_interface_name_get")] - public static extern string switch_application_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_application_function_set")] - public static extern void switch_application_interface_application_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_application_function_get")] - public static extern IntPtr switch_application_interface_application_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_long_desc_set")] - public static extern void switch_application_interface_long_desc_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_long_desc_get")] - public static extern string switch_application_interface_long_desc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_short_desc_set")] - public static extern void switch_application_interface_short_desc_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_short_desc_get")] - public static extern string switch_application_interface_short_desc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_syntax_set")] - public static extern void switch_application_interface_syntax_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_syntax_get")] - public static extern string switch_application_interface_syntax_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_flags_set")] - public static extern void switch_application_interface_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_flags_get")] - public static extern uint switch_application_interface_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_rwlock_set")] - public static extern void switch_application_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_rwlock_get")] - public static extern IntPtr switch_application_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_refs_set")] - public static extern void switch_application_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_refs_get")] - public static extern int switch_application_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_reflock_set")] - public static extern void switch_application_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_reflock_get")] - public static extern IntPtr switch_application_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_parent_set")] - public static extern void switch_application_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_parent_get")] - public static extern IntPtr switch_application_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_next_set")] - public static extern void switch_application_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_next_get")] - public static extern IntPtr switch_application_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_application_interface")] - public static extern IntPtr new_switch_application_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_application_interface")] - public static extern void delete_switch_application_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_interface_name_set")] - public static extern void switch_chat_application_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_interface_name_get")] - public static extern string switch_chat_application_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_chat_application_function_set")] - public static extern void switch_chat_application_interface_chat_application_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_chat_application_function_get")] - public static extern IntPtr switch_chat_application_interface_chat_application_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_long_desc_set")] - public static extern void switch_chat_application_interface_long_desc_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_long_desc_get")] - public static extern string switch_chat_application_interface_long_desc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_short_desc_set")] - public static extern void switch_chat_application_interface_short_desc_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_short_desc_get")] - public static extern string switch_chat_application_interface_short_desc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_syntax_set")] - public static extern void switch_chat_application_interface_syntax_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_syntax_get")] - public static extern string switch_chat_application_interface_syntax_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_flags_set")] - public static extern void switch_chat_application_interface_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_flags_get")] - public static extern uint switch_chat_application_interface_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_rwlock_set")] - public static extern void switch_chat_application_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_rwlock_get")] - public static extern IntPtr switch_chat_application_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_refs_set")] - public static extern void switch_chat_application_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_refs_get")] - public static extern int switch_chat_application_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_reflock_set")] - public static extern void switch_chat_application_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_reflock_get")] - public static extern IntPtr switch_chat_application_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_parent_set")] - public static extern void switch_chat_application_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_parent_get")] - public static extern IntPtr switch_chat_application_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_next_set")] - public static extern void switch_chat_application_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_next_get")] - public static extern IntPtr switch_chat_application_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_chat_application_interface")] - public static extern IntPtr new_switch_chat_application_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_chat_application_interface")] - public static extern void delete_switch_chat_application_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_interface_name_set")] - public static extern void switch_api_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_interface_name_get")] - public static extern string switch_api_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_desc_set")] - public static extern void switch_api_interface_desc_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_desc_get")] - public static extern string switch_api_interface_desc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_function_set")] - public static extern void switch_api_interface_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_function_get")] - public static extern IntPtr switch_api_interface_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_syntax_set")] - public static extern void switch_api_interface_syntax_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_syntax_get")] - public static extern string switch_api_interface_syntax_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_rwlock_set")] - public static extern void switch_api_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_rwlock_get")] - public static extern IntPtr switch_api_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_refs_set")] - public static extern void switch_api_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_refs_get")] - public static extern int switch_api_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_reflock_set")] - public static extern void switch_api_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_reflock_get")] - public static extern IntPtr switch_api_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_parent_set")] - public static extern void switch_api_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_parent_get")] - public static extern IntPtr switch_api_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_next_set")] - public static extern void switch_api_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_next_get")] - public static extern IntPtr switch_api_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_api_interface")] - public static extern IntPtr new_switch_api_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_api_interface")] - public static extern void delete_switch_api_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_interface_name_set")] - public static extern void switch_json_api_interface_interface_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_interface_name_get")] - public static extern string switch_json_api_interface_interface_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_desc_set")] - public static extern void switch_json_api_interface_desc_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_desc_get")] - public static extern string switch_json_api_interface_desc_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_function_set")] - public static extern void switch_json_api_interface_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_function_get")] - public static extern IntPtr switch_json_api_interface_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_syntax_set")] - public static extern void switch_json_api_interface_syntax_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_syntax_get")] - public static extern string switch_json_api_interface_syntax_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_rwlock_set")] - public static extern void switch_json_api_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_rwlock_get")] - public static extern IntPtr switch_json_api_interface_rwlock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_refs_set")] - public static extern void switch_json_api_interface_refs_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_refs_get")] - public static extern int switch_json_api_interface_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_reflock_set")] - public static extern void switch_json_api_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_reflock_get")] - public static extern IntPtr switch_json_api_interface_reflock_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_parent_set")] - public static extern void switch_json_api_interface_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_parent_get")] - public static extern IntPtr switch_json_api_interface_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_next_set")] - public static extern void switch_json_api_interface_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_next_get")] - public static extern IntPtr switch_json_api_interface_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_json_api_interface")] - public static extern IntPtr new_switch_json_api_interface(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_json_api_interface")] - public static extern void delete_switch_json_api_interface(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_session_set")] - public static extern void switch_slin_data_session_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_session_get")] - public static extern IntPtr switch_slin_data_session_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_write_frame_set")] - public static extern void switch_slin_data_write_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_write_frame_get")] - public static extern IntPtr switch_slin_data_write_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_codec_set")] - public static extern void switch_slin_data_codec_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_codec_get")] - public static extern IntPtr switch_slin_data_codec_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_frame_data_set")] - public static extern void switch_slin_data_frame_data_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_frame_data_get")] - public static extern string switch_slin_data_frame_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_slin_data")] - public static extern IntPtr new_switch_slin_data(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_slin_data")] - public static extern void delete_switch_slin_data(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_profile_created_set")] - public static extern void switch_channel_timetable_profile_created_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_profile_created_get")] - public static extern IntPtr switch_channel_timetable_profile_created_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_created_set")] - public static extern void switch_channel_timetable_created_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_created_get")] - public static extern IntPtr switch_channel_timetable_created_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_answered_set")] - public static extern void switch_channel_timetable_answered_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_answered_get")] - public static extern IntPtr switch_channel_timetable_answered_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_set")] - public static extern void switch_channel_timetable_progress_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_get")] - public static extern IntPtr switch_channel_timetable_progress_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_media_set")] - public static extern void switch_channel_timetable_progress_media_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_media_get")] - public static extern IntPtr switch_channel_timetable_progress_media_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hungup_set")] - public static extern void switch_channel_timetable_hungup_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hungup_get")] - public static extern IntPtr switch_channel_timetable_hungup_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_transferred_set")] - public static extern void switch_channel_timetable_transferred_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_transferred_get")] - public static extern IntPtr switch_channel_timetable_transferred_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_resurrected_set")] - public static extern void switch_channel_timetable_resurrected_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_resurrected_get")] - public static extern IntPtr switch_channel_timetable_resurrected_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_bridged_set")] - public static extern void switch_channel_timetable_bridged_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_bridged_get")] - public static extern IntPtr switch_channel_timetable_bridged_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_last_hold_set")] - public static extern void switch_channel_timetable_last_hold_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_last_hold_get")] - public static extern IntPtr switch_channel_timetable_last_hold_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hold_accum_set")] - public static extern void switch_channel_timetable_hold_accum_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hold_accum_get")] - public static extern IntPtr switch_channel_timetable_hold_accum_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_next_set")] - public static extern void switch_channel_timetable_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_next_get")] - public static extern IntPtr switch_channel_timetable_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_channel_timetable")] - public static extern IntPtr new_switch_channel_timetable(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_channel_timetable")] - public static extern void delete_switch_channel_timetable(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_state")] - public static extern int switch_channel_get_state(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_running_state")] - public static extern int switch_channel_get_running_state(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_check_signal")] - public static extern int switch_channel_check_signal(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_ready")] - public static extern int switch_channel_test_ready(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_wait_for_state")] - public static extern void switch_channel_wait_for_state(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_wait_for_state_timeout")] - public static extern void switch_channel_wait_for_state_timeout(HandleRef jarg1, int jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_wait_for_flag")] - public static extern int switch_channel_wait_for_flag(HandleRef jarg1, int jarg2, int jarg3, uint jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_set_state")] - public static extern int switch_channel_perform_set_state(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_set_running_state")] - public static extern int switch_channel_perform_set_running_state(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_str2cause")] - public static extern int switch_channel_str2cause(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause")] - public static extern int switch_channel_get_cause(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_cause_q850")] - public static extern int switch_channel_cause_q850(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_q850")] - public static extern int switch_channel_get_cause_q850(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_ptr")] - public static extern IntPtr switch_channel_get_cause_ptr(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_cause2str")] - public static extern string switch_channel_cause2str(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_timetable")] - public static extern IntPtr switch_channel_get_timetable(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_alloc")] - public static extern int switch_channel_alloc(HandleRef jarg1, int jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_init")] - public static extern int switch_channel_init(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_presence_data_vals")] - public static extern void switch_channel_set_presence_data_vals(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_presence")] - public static extern void switch_channel_perform_presence(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, int jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_uninit")] - public static extern void switch_channel_uninit(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_caller_profile")] - public static extern void switch_channel_set_caller_profile(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_step_caller_profile")] - public static extern void switch_channel_step_caller_profile(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_caller_profile")] - public static extern IntPtr switch_channel_get_caller_profile(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_originator_caller_profile")] - public static extern void switch_channel_set_originator_caller_profile(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_hunt_caller_profile")] - public static extern void switch_channel_set_hunt_caller_profile(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_originator_caller_profile")] - public static extern IntPtr switch_channel_get_originator_caller_profile(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_originatee_caller_profile")] - public static extern void switch_channel_set_originatee_caller_profile(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_originatee_caller_profile")] - public static extern IntPtr switch_channel_get_originatee_caller_profile(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_origination_caller_profile")] - public static extern void switch_channel_set_origination_caller_profile(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_origination_caller_profile")] - public static extern IntPtr switch_channel_get_origination_caller_profile(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_uuid")] - public static extern string switch_channel_get_uuid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_profile_var")] - public static extern int switch_channel_set_profile_var(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_var_check")] - public static extern int switch_channel_set_variable_var_check(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_add_variable_var_check")] - public static extern int switch_channel_add_variable_var_check(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_printf")] - public static extern int switch_channel_set_variable_printf(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_name_printf")] - public static extern int switch_channel_set_variable_name_printf(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_partner_var_check")] - public static extern int switch_channel_set_variable_partner_var_check(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_variable_partner")] - public static extern string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_hold_music")] - public static extern string switch_channel_get_hold_music(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_hold_music_partner")] - public static extern string switch_channel_get_hold_music_partner(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_del_variable_prefix")] - public static extern uint switch_channel_del_variable_prefix(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_transfer_variable_prefix")] - public static extern int switch_channel_transfer_variable_prefix(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_export_variable_var_check")] - public static extern int switch_channel_export_variable_var_check(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_process_export")] - public static extern void switch_channel_process_export(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_export_variable_printf")] - public static extern int switch_channel_export_variable_printf(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_scope_variables")] - public static extern void switch_channel_set_scope_variables(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_scope_variables")] - public static extern int switch_channel_get_scope_variables(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_variable_dup")] - public static extern string switch_channel_get_variable_dup(HandleRef jarg1, string jarg2, int jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_variables")] - public static extern int switch_channel_get_variables(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_pass_callee_id")] - public static extern int switch_channel_pass_callee_id(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_variable_first")] - public static extern IntPtr switch_channel_variable_first(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_variable_last")] - public static extern void switch_channel_variable_last(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_restart")] - public static extern void switch_channel_restart(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_caller_extension_masquerade")] - public static extern int switch_channel_caller_extension_masquerade(HandleRef jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_caller_extension")] - public static extern void switch_channel_set_caller_extension(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_invert_cid")] - public static extern void switch_channel_invert_cid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_flip_cid")] - public static extern void switch_channel_flip_cid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_sort_cid")] - public static extern void switch_channel_sort_cid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_caller_extension")] - public static extern IntPtr switch_channel_get_caller_extension(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_flag")] - public static extern uint switch_channel_test_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_flag_value")] - public static extern void switch_channel_set_flag_value(HandleRef jarg1, int jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_flag_recursive")] - public static extern void switch_channel_set_flag_recursive(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_cap_value")] - public static extern void switch_channel_set_cap_value(HandleRef jarg1, int jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_cap")] - public static extern void switch_channel_clear_cap(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_cap")] - public static extern uint switch_channel_test_cap(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_cap_partner")] - public static extern uint switch_channel_test_cap_partner(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_flag_partner")] - public static extern int switch_channel_set_flag_partner(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_flag_partner")] - public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_flag_partner")] - public static extern uint switch_channel_test_flag_partner(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_state_flag")] - public static extern void switch_channel_set_state_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_state_flag")] - public static extern void switch_channel_clear_state_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_flag")] - public static extern void switch_channel_clear_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_flag_recursive")] - public static extern void switch_channel_clear_flag_recursive(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_answer")] - public static extern int switch_channel_perform_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_mark_answered")] - public static extern int switch_channel_perform_mark_answered(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_check_zrtp")] - public static extern void switch_channel_check_zrtp(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_ring_ready_value")] - public static extern int switch_channel_perform_ring_ready_value(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_pre_answer")] - public static extern int switch_channel_perform_pre_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_mark_pre_answered")] - public static extern int switch_channel_perform_mark_pre_answered(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_mark_ring_ready_value")] - public static extern int switch_channel_perform_mark_ring_ready_value(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_add_state_handler")] - public static extern int switch_channel_add_state_handler(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_state_handler")] - public static extern void switch_channel_clear_state_handler(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_state_handler")] - public static extern IntPtr switch_channel_get_state_handler(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_private")] - public static extern int switch_channel_set_private(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_private")] - public static extern IntPtr switch_channel_get_private(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_private_partner")] - public static extern IntPtr switch_channel_get_private_partner(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_name")] - public static extern int switch_channel_set_name(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_name")] - public static extern string switch_channel_get_name(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_hangup")] - public static extern int switch_channel_perform_hangup(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_has_dtmf")] - public static extern IntPtr switch_channel_has_dtmf(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dtmf_lock")] - public static extern int switch_channel_dtmf_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_try_dtmf_lock")] - public static extern int switch_channel_try_dtmf_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dtmf_unlock")] - public static extern int switch_channel_dtmf_unlock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_queue_dtmf")] - public static extern int switch_channel_queue_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_queue_dtmf_string")] - public static extern int switch_channel_queue_dtmf_string(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dequeue_dtmf")] - public static extern int switch_channel_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_flush_dtmf")] - public static extern void switch_channel_flush_dtmf(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dequeue_dtmf_string")] - public static extern IntPtr switch_channel_dequeue_dtmf_string(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_name")] - public static extern string switch_channel_state_name(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_name_state")] - public static extern int switch_channel_name_state(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_event_set_data")] - public static extern void switch_channel_event_set_data(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_event_set_basic_data")] - public static extern void switch_channel_event_set_basic_data(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_event_set_extended_data")] - public static extern void switch_channel_event_set_extended_data(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_expand_variables_check")] - public static extern string switch_channel_expand_variables_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_build_param_string")] - public static extern string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_timestamps")] - public static extern int switch_channel_set_timestamps(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_audio_sync")] - public static extern void switch_channel_perform_audio_sync(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_private_flag")] - public static extern void switch_channel_set_private_flag(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_private_flag")] - public static extern void switch_channel_clear_private_flag(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_private_flag")] - public static extern int switch_channel_test_private_flag(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_app_flag_key")] - public static extern void switch_channel_set_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_app_flag_key")] - public static extern void switch_channel_clear_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_app_flag_key")] - public static extern int switch_channel_test_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_bridge_time")] - public static extern void switch_channel_set_bridge_time(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_hangup_time")] - public static extern void switch_channel_set_hangup_time(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_direction")] - public static extern int switch_channel_direction(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_logical_direction")] - public static extern int switch_channel_logical_direction(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_direction")] - public static extern void switch_channel_set_direction(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_session")] - public static extern IntPtr switch_channel_get_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_flag_string")] - public static extern string switch_channel_get_flag_string(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cap_string")] - public static extern string switch_channel_get_cap_string(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_change_pending")] - public static extern int switch_channel_state_change_pending(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_set_callstate")] - public static extern void switch_channel_perform_set_callstate(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_callstate")] - public static extern int switch_channel_get_callstate(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_callstate2str")] - public static extern string switch_channel_callstate2str(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_str2callstate")] - public static extern int switch_channel_str2callstate(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_mark_hold")] - public static extern void switch_channel_mark_hold(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_execute_on")] - public static extern int switch_channel_execute_on(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_api_on")] - public static extern int switch_channel_api_on(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_process_device_hangup")] - public static extern void switch_channel_process_device_hangup(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_queued_extension")] - public static extern IntPtr switch_channel_get_queued_extension(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_transfer_to_extension")] - public static extern void switch_channel_transfer_to_extension(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_partner_uuid")] - public static extern string switch_channel_get_partner_uuid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_hold_record")] - public static extern IntPtr switch_channel_get_hold_record(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_thread_lock")] - public static extern void switch_channel_state_thread_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_thread_unlock")] - public static extern void switch_channel_state_thread_unlock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_thread_trylock")] - public static extern int switch_channel_state_thread_trylock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_handle_cause")] - public static extern void switch_channel_handle_cause(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_global_init")] - public static extern void switch_channel_global_init(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_global_uninit")] - public static extern void switch_channel_global_uninit(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_device_id")] - public static extern string switch_channel_set_device_id(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_device_record")] - public static extern void switch_channel_clear_device_record(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_device_record")] - public static extern IntPtr switch_channel_get_device_record(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_release_device_record")] - public static extern void switch_channel_release_device_record(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_bind_device_state_handler")] - public static extern int switch_channel_bind_device_state_handler(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_unbind_device_state_handler")] - public static extern int switch_channel_unbind_device_state_handler(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_device_state2str")] - public static extern string switch_channel_device_state2str(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_pass_sdp")] - public static extern int switch_channel_pass_sdp(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")] - public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create_dynamic")] - public static extern int switch_buffer_create_dynamic(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_add_mutex")] - public static extern void switch_buffer_add_mutex(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_lock")] - public static extern void switch_buffer_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_trylock")] - public static extern int switch_buffer_trylock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_unlock")] - public static extern void switch_buffer_unlock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_len")] - public static extern IntPtr switch_buffer_len(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_freespace")] - public static extern IntPtr switch_buffer_freespace(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_inuse")] - public static extern IntPtr switch_buffer_inuse(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_read")] - public static extern IntPtr switch_buffer_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_peek")] - public static extern IntPtr switch_buffer_peek(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_peek_zerocopy")] - public static extern IntPtr switch_buffer_peek_zerocopy(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_read_loop")] - public static extern IntPtr switch_buffer_read_loop(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_set_loops")] - public static extern void switch_buffer_set_loops(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_write")] - public static extern IntPtr switch_buffer_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_toss")] - public static extern IntPtr switch_buffer_toss(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_zero")] - public static extern void switch_buffer_zero(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_slide_write")] - public static extern IntPtr switch_buffer_slide_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_destroy")] - public static extern void switch_buffer_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_zwrite")] - public static extern IntPtr switch_buffer_zwrite(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_name_set")] - public static extern void switch_event_header_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_name_get")] - public static extern string switch_event_header_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_value_set")] - public static extern void switch_event_header_value_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_value_get")] - public static extern string switch_event_header_value_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_array_set")] - public static extern void switch_event_header_array_set(HandleRef jarg1, ref string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_array_get")] - public static extern string switch_event_header_array_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_idx_set")] - public static extern void switch_event_header_idx_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_idx_get")] - public static extern int switch_event_header_idx_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_hash_set")] - public static extern void switch_event_header_hash_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_hash_get")] - public static extern uint switch_event_header_hash_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_next_set")] - public static extern void switch_event_header_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_next_get")] - public static extern IntPtr switch_event_header_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_event_header")] - public static extern IntPtr new_switch_event_header(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_event_header")] - public static extern void delete_switch_event_header(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_id_set")] - public static extern void switch_event_event_id_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_id_get")] - public static extern int switch_event_event_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_priority_set")] - public static extern void switch_event_priority_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_priority_get")] - public static extern int switch_event_priority_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_owner_set")] - public static extern void switch_event_owner_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_owner_get")] - public static extern string switch_event_owner_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_subclass_name_set")] - public static extern void switch_event_subclass_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_subclass_name_get")] - public static extern string switch_event_subclass_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_headers_set")] - public static extern void switch_event_headers_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_headers_get")] - public static extern IntPtr switch_event_headers_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_last_header_set")] - public static extern void switch_event_last_header_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_last_header_get")] - public static extern IntPtr switch_event_last_header_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_body_set")] - public static extern void switch_event_body_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_body_get")] - public static extern string switch_event_body_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind_user_data_set")] - public static extern void switch_event_bind_user_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind_user_data_get")] - public static extern IntPtr switch_event_bind_user_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_user_data_set")] - public static extern void switch_event_event_user_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_user_data_get")] - public static extern IntPtr switch_event_event_user_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_key_set")] - public static extern void switch_event_key_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_key_get")] - public static extern uint switch_event_key_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_next_set")] - public static extern void switch_event_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_next_get")] - public static extern IntPtr switch_event_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_flags_set")] - public static extern void switch_event_flags_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_flags_get")] - public static extern int switch_event_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_event")] - public static extern IntPtr new_switch_event(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_event")] - public static extern void delete_switch_event(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_event_id_set")] - public static extern void switch_serial_event_t_event_id_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_event_id_get")] - public static extern int switch_serial_event_t_event_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_priority_set")] - public static extern void switch_serial_event_t_priority_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_priority_get")] - public static extern int switch_serial_event_t_priority_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_flags_set")] - public static extern void switch_serial_event_t_flags_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_flags_get")] - public static extern int switch_serial_event_t_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_owner_set")] - public static extern void switch_serial_event_t_owner_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_owner_get")] - public static extern string switch_serial_event_t_owner_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_subclass_name_set")] - public static extern void switch_serial_event_t_subclass_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_subclass_name_get")] - public static extern string switch_serial_event_t_subclass_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_body_set")] - public static extern void switch_serial_event_t_body_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_body_get")] - public static extern string switch_serial_event_t_body_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_serial_event_t")] - public static extern IntPtr new_switch_serial_event_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_serial_event_t")] - public static extern void delete_switch_serial_event_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_name_set")] - public static extern void switch_serial_event_header_t_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_name_get")] - public static extern string switch_serial_event_header_t_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_value_set")] - public static extern void switch_serial_event_header_t_value_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_value_get")] - public static extern string switch_serial_event_header_t_value_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_serial_event_header_t")] - public static extern IntPtr new_switch_serial_event_header_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_serial_event_header_t")] - public static extern void delete_switch_serial_event_header_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_init")] - public static extern int switch_event_init(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_shutdown")] - public static extern int switch_event_shutdown(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_subclass_detailed")] - public static extern int switch_event_create_subclass_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4, int jarg5, string jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_priority")] - public static extern int switch_event_set_priority(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_header_ptr")] - public static extern IntPtr switch_event_get_header_ptr(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_header_idx")] - public static extern string switch_event_get_header_idx(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_rename_header")] - public static extern int switch_event_rename_header(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_body")] - public static extern string switch_event_get_body(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_subclass_name")] - public static extern int switch_event_set_subclass_name(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_add_header_string")] - public static extern int switch_event_add_header_string(HandleRef jarg1, int jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_del_header_val")] - public static extern int switch_event_del_header_val(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_add_array")] - public static extern int switch_event_add_array(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_destroy")] - public static extern void switch_event_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_dup")] - public static extern int switch_event_dup(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_merge")] - public static extern void switch_event_merge(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_dup_reply")] - public static extern int switch_event_dup_reply(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_fire_detailed")] - public static extern int switch_event_fire_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_prep_for_delivery_detailed")] - public static extern void switch_event_prep_for_delivery_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind")] - public static extern int switch_event_bind(string jarg1, int jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind_removable")] - public static extern int switch_event_bind_removable(string jarg1, int jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_unbind")] - public static extern int switch_event_unbind(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_unbind_callback")] - public static extern int switch_event_unbind_callback(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_name")] - public static extern string switch_event_name(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_name_event")] - public static extern int switch_name_event(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_reserve_subclass_detailed")] - public static extern int switch_event_reserve_subclass_detailed(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_free_subclass_detailed")] - public static extern int switch_event_free_subclass_detailed(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_binary_deserialize")] - public static extern int switch_event_binary_deserialize(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_binary_serialize")] - public static extern int switch_event_binary_serialize(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_serialize")] - public static extern int switch_event_serialize(HandleRef jarg1, ref string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_serialize_json")] - public static extern int switch_event_serialize_json(HandleRef jarg1, ref string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_serialize_json_obj")] - public static extern int switch_event_serialize_json_obj(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_json")] - public static extern int switch_event_create_json(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_brackets")] - public static extern int switch_event_create_brackets(string jarg1, char jarg2, char jarg3, char jarg4, HandleRef jarg5, ref string jarg6, int jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_array_pair")] - public static extern int switch_event_create_array_pair(HandleRef jarg1, ref string jarg2, ref string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_running")] - public static extern int switch_event_running(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_body")] - public static extern int switch_event_set_body(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_expand_headers_check")] - public static extern string switch_event_expand_headers_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_pres_in_detailed")] - public static extern int switch_event_create_pres_in_detailed(string jarg1, string jarg2, int jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, int jarg11, string jarg12, string jarg13, string jarg14, string jarg15); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_plain")] - public static extern int switch_event_create_plain(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_deliver")] - public static extern void switch_event_deliver(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_build_param_string")] - public static extern string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_check_permission_list")] - public static extern int switch_event_check_permission_list(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_add_presence_data_cols")] - public static extern void switch_event_add_presence_data_cols(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_add_presence_data_cols")] - public static extern void switch_json_add_presence_data_cols(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_launch_dispatch_threads")] - public static extern void switch_event_launch_dispatch_threads(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_broadcast")] - public static extern uint switch_event_channel_broadcast(string jarg1, HandleRef jarg2, string jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_unbind")] - public static extern uint switch_event_channel_unbind(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_bind")] - public static extern int switch_event_channel_bind(string jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_NO_EVENT_CHANNEL_ID_get")] - public static extern int NO_EVENT_CHANNEL_ID_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EVENT_CHANNEL_GLOBAL_get")] - public static extern string SWITCH_EVENT_CHANNEL_GLOBAL_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_clear")] - public static extern int switch_live_array_clear(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_bootstrap")] - public static extern int switch_live_array_bootstrap(HandleRef jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_destroy")] - public static extern int switch_live_array_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_create")] - public static extern int switch_live_array_create(string jarg1, string jarg2, uint jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_get")] - public static extern IntPtr switch_live_array_get(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_get_idx")] - public static extern IntPtr switch_live_array_get_idx(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_del")] - public static extern int switch_live_array_del(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_add")] - public static extern int switch_live_array_add(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_visible")] - public static extern int switch_live_array_visible(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_isnew")] - public static extern int switch_live_array_isnew(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_lock")] - public static extern void switch_live_array_lock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_unlock")] - public static extern void switch_live_array_unlock(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_set_user_data")] - public static extern void switch_live_array_set_user_data(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_set_command_handler")] - public static extern void switch_live_array_set_command_handler(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_parse_json")] - public static extern void switch_live_array_parse_json(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_add_alias")] - public static extern int switch_live_array_add_alias(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_clear_alias")] - public static extern int switch_live_array_clear_alias(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_verify")] - public static extern int switch_event_channel_permission_verify(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_modify")] - public static extern void switch_event_channel_permission_modify(string jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_clear")] - public static extern void switch_event_channel_permission_clear(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RESAMPLE_QUALITY_get")] - public static extern int SWITCH_RESAMPLE_QUALITY_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_resampler_set")] - public static extern void switch_audio_resampler_t_resampler_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_resampler_get")] - public static extern IntPtr switch_audio_resampler_t_resampler_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_from_rate_set")] - public static extern void switch_audio_resampler_t_from_rate_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_from_rate_get")] - public static extern int switch_audio_resampler_t_from_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_rate_set")] - public static extern void switch_audio_resampler_t_to_rate_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_rate_get")] - public static extern int switch_audio_resampler_t_to_rate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_factor_set")] - public static extern void switch_audio_resampler_t_factor_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_factor_get")] - public static extern double switch_audio_resampler_t_factor_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_rfactor_set")] - public static extern void switch_audio_resampler_t_rfactor_set(HandleRef jarg1, double jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_rfactor_get")] - public static extern double switch_audio_resampler_t_rfactor_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_set")] - public static extern void switch_audio_resampler_t_to_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_get")] - public static extern IntPtr switch_audio_resampler_t_to_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_len_set")] - public static extern void switch_audio_resampler_t_to_len_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_len_get")] - public static extern uint switch_audio_resampler_t_to_len_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_size_set")] - public static extern void switch_audio_resampler_t_to_size_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_size_get")] - public static extern uint switch_audio_resampler_t_to_size_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_channels_set")] - public static extern void switch_audio_resampler_t_channels_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_channels_get")] - public static extern int switch_audio_resampler_t_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_audio_resampler_t")] - public static extern IntPtr new_switch_audio_resampler_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_audio_resampler_t")] - public static extern void delete_switch_audio_resampler_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_perform_create")] - public static extern int switch_resample_perform_create(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, int jarg5, uint jarg6, string jarg7, string jarg8, int jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_destroy")] - public static extern void switch_resample_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_process")] - public static extern uint switch_resample_process(HandleRef jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_float_to_short")] - public static extern IntPtr switch_float_to_short(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_char_to_float")] - public static extern int switch_char_to_float(string jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_float_to_char")] - public static extern int switch_float_to_char(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_short_to_float")] - public static extern int switch_short_to_float(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_swap_linear")] - public static extern void switch_swap_linear(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_generate_sln_silence")] - public static extern void switch_generate_sln_silence(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_change_sln_volume")] - public static extern void switch_change_sln_volume(HandleRef jarg1, uint jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_change_sln_volume_granular")] - public static extern void switch_change_sln_volume_granular(HandleRef jarg1, uint jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_merge_sln")] - public static extern uint switch_merge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unmerge_sln")] - public static extern uint switch_unmerge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mux_channels")] - public static extern void switch_mux_channels(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_session_set")] - public static extern void switch_unicast_conninfo_session_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_session_get")] - public static extern IntPtr switch_unicast_conninfo_session_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_read_codec_set")] - public static extern void switch_unicast_conninfo_read_codec_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_read_codec_get")] - public static extern IntPtr switch_unicast_conninfo_read_codec_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_set")] - public static extern void switch_unicast_conninfo_write_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_get")] - public static extern IntPtr switch_unicast_conninfo_write_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_data_set")] - public static extern void switch_unicast_conninfo_write_frame_data_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_data_get")] - public static extern IntPtr switch_unicast_conninfo_write_frame_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_socket_set")] - public static extern void switch_unicast_conninfo_socket_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_socket_get")] - public static extern IntPtr switch_unicast_conninfo_socket_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_ip_set")] - public static extern void switch_unicast_conninfo_local_ip_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_ip_get")] - public static extern string switch_unicast_conninfo_local_ip_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_port_set")] - public static extern void switch_unicast_conninfo_local_port_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_port_get")] - public static extern ushort switch_unicast_conninfo_local_port_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_ip_set")] - public static extern void switch_unicast_conninfo_remote_ip_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_ip_get")] - public static extern string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_port_set")] - public static extern void switch_unicast_conninfo_remote_port_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_port_get")] - public static extern ushort switch_unicast_conninfo_remote_port_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_addr_set")] - public static extern void switch_unicast_conninfo_local_addr_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_addr_get")] - public static extern IntPtr switch_unicast_conninfo_local_addr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_addr_set")] - public static extern void switch_unicast_conninfo_remote_addr_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_addr_get")] - public static extern IntPtr switch_unicast_conninfo_remote_addr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flag_mutex_set")] - public static extern void switch_unicast_conninfo_flag_mutex_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flag_mutex_get")] - public static extern IntPtr switch_unicast_conninfo_flag_mutex_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flags_set")] - public static extern void switch_unicast_conninfo_flags_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flags_get")] - public static extern int switch_unicast_conninfo_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_type_set")] - public static extern void switch_unicast_conninfo_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_type_get")] - public static extern int switch_unicast_conninfo_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_transport_set")] - public static extern void switch_unicast_conninfo_transport_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_transport_get")] - public static extern int switch_unicast_conninfo_transport_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_stream_id_set")] - public static extern void switch_unicast_conninfo_stream_id_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_stream_id_get")] - public static extern int switch_unicast_conninfo_stream_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_unicast_conninfo")] - public static extern IntPtr new_switch_unicast_conninfo(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_unicast_conninfo")] - public static extern void delete_switch_unicast_conninfo(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_deactivate_unicast")] - public static extern int switch_ivr_deactivate_unicast(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_activate_unicast")] - public static extern int switch_ivr_activate_unicast(HandleRef jarg1, string jarg2, ushort jarg3, string jarg4, ushort jarg5, string jarg6, string jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_generate_json_cdr")] - public static extern int switch_ivr_generate_json_cdr(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_generate_xml_cdr")] - public static extern int switch_ivr_generate_xml_cdr(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_xml_profile_data")] - public static extern int switch_ivr_set_xml_profile_data(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_xml_chan_vars")] - public static extern int switch_ivr_set_xml_chan_vars(HandleRef jarg1, HandleRef jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_event")] - public static extern int switch_ivr_parse_event(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_events")] - public static extern int switch_ivr_parse_all_events(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_next_event")] - public static extern int switch_ivr_parse_next_event(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_messages")] - public static extern int switch_ivr_parse_all_messages(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_signal_data")] - public static extern int switch_ivr_parse_all_signal_data(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_process_indications")] - public static extern int switch_ivr_process_indications(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_sleep")] - public static extern int switch_ivr_sleep(HandleRef jarg1, uint jarg2, int jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_park")] - public static extern int switch_ivr_park(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_collect_digits_callback")] - public static extern int switch_ivr_collect_digits_callback(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_collect_digits_count")] - public static extern int switch_ivr_collect_digits_count(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, string jarg5, string jarg6, uint jarg7, uint jarg8, uint jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_play_and_detect_speech")] - public static extern int switch_ivr_play_and_detect_speech(HandleRef jarg1, string jarg2, string jarg3, string jarg4, ref string jarg5, uint jarg6, HandleRef jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_init")] - public static extern int switch_ivr_detect_speech_init(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech")] - public static extern int switch_ivr_detect_speech(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_detect_speech")] - public static extern int switch_ivr_stop_detect_speech(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_pause_detect_speech")] - public static extern int switch_ivr_pause_detect_speech(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_resume_detect_speech")] - public static extern int switch_ivr_resume_detect_speech(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_load_grammar")] - public static extern int switch_ivr_detect_speech_load_grammar(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_unload_grammar")] - public static extern int switch_ivr_detect_speech_unload_grammar(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_enable_grammar")] - public static extern int switch_ivr_detect_speech_enable_grammar(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_disable_grammar")] - public static extern int switch_ivr_detect_speech_disable_grammar(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_disable_all_grammars")] - public static extern int switch_ivr_detect_speech_disable_all_grammars(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_param_detect_speech")] - public static extern int switch_ivr_set_param_detect_speech(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_start_input_timers")] - public static extern int switch_ivr_detect_speech_start_input_timers(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_session")] - public static extern int switch_ivr_record_session(HandleRef jarg1, string jarg2, uint jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_transfer_recordings")] - public static extern int switch_ivr_transfer_recordings(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_pop_eavesdropper")] - public static extern int switch_ivr_eavesdrop_pop_eavesdropper(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_exec_all")] - public static extern int switch_ivr_eavesdrop_exec_all(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_update_display")] - public static extern int switch_ivr_eavesdrop_update_display(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_session")] - public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_displace_session")] - public static extern int switch_ivr_displace_session(HandleRef jarg1, string jarg2, uint jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_displace_session")] - public static extern int switch_ivr_stop_displace_session(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_record_session")] - public static extern int switch_ivr_stop_record_session(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_session_audio")] - public static extern int switch_ivr_session_audio(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_session_audio")] - public static extern int switch_ivr_stop_session_audio(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_inband_dtmf_session")] - public static extern int switch_ivr_inband_dtmf_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_inband_dtmf_session")] - public static extern int switch_ivr_stop_inband_dtmf_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_inband_dtmf_generate_session")] - public static extern int switch_ivr_inband_dtmf_generate_session(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_inband_dtmf_generate_session")] - public static extern int switch_ivr_stop_inband_dtmf_generate_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_session_echo")] - public static extern int switch_ivr_session_echo(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_tone_detect_session")] - public static extern int switch_ivr_stop_tone_detect_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_tone_detect_session")] - public static extern int switch_ivr_tone_detect_session(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, int jarg6, string jarg7, string jarg8, HandleRef jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_play_file")] - public static extern int switch_ivr_play_file(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_wait_for_silence")] - public static extern int switch_ivr_wait_for_silence(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_gentones")] - public static extern int switch_ivr_gentones(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_file")] - public static extern int switch_ivr_record_file(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, uint jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_play_and_get_digits")] - public static extern int switch_play_and_get_digits(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, uint jarg11, string jarg12, uint jarg13, string jarg14); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_speak_text_handle")] - public static extern int switch_ivr_speak_text_handle(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_clear_speech_cache")] - public static extern void switch_ivr_clear_speech_cache(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_speak_text")] - public static extern int switch_ivr_speak_text(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_originate")] - public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, HandleRef jarg10, uint jarg11, HandleRef jarg12); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_enterprise_originate")] - public static extern int switch_ivr_enterprise_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, HandleRef jarg10, uint jarg11, HandleRef jarg12); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_bridge_display")] - public static extern void switch_ivr_bridge_display(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_multi_threaded_bridge")] - public static extern int switch_ivr_multi_threaded_bridge(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_signal_bridge")] - public static extern int switch_ivr_signal_bridge(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_session_transfer")] - public static extern int switch_ivr_session_transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_schedule_transfer")] - public static extern uint switch_ivr_schedule_transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_schedule_hangup")] - public static extern uint switch_ivr_schedule_hangup(HandleRef jarg1, string jarg2, int jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_bridge")] - public static extern int switch_ivr_uuid_bridge(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_media")] - public static extern int switch_ivr_media(string jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_nomedia")] - public static extern int switch_ivr_nomedia(string jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_hold_uuid")] - public static extern int switch_ivr_hold_uuid(string jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_hold_toggle_uuid")] - public static extern int switch_ivr_hold_toggle_uuid(string jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unhold_uuid")] - public static extern int switch_ivr_unhold_uuid(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_hold")] - public static extern int switch_ivr_hold(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unhold")] - public static extern int switch_ivr_unhold(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_schedule_broadcast")] - public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_broadcast")] - public static extern int switch_ivr_broadcast(string jarg1, string jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_broadcast_in_thread")] - public static extern void switch_ivr_broadcast_in_thread(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_transfer_variable")] - public static extern int switch_ivr_transfer_variable(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_new")] - public static extern int switch_ivr_digit_stream_parser_new(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_destroy")] - public static extern int switch_ivr_digit_stream_parser_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_new")] - public static extern int switch_ivr_digit_stream_new(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_destroy")] - public static extern int switch_ivr_digit_stream_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_set_event")] - public static extern int switch_ivr_digit_stream_parser_set_event(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_del_event")] - public static extern int switch_ivr_digit_stream_parser_del_event(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_feed")] - public static extern IntPtr switch_ivr_digit_stream_parser_feed(HandleRef jarg1, HandleRef jarg2, char jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_reset")] - public static extern int switch_ivr_digit_stream_reset(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_set_terminator")] - public static extern int switch_ivr_digit_stream_parser_set_terminator(HandleRef jarg1, char jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_init")] - public static extern int switch_ivr_menu_init(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, string jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17, int jarg18, HandleRef jarg19); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_bind_action")] - public static extern int switch_ivr_menu_bind_action(HandleRef jarg1, int jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_bind_function")] - public static extern int switch_ivr_menu_bind_function(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_execute")] - public static extern int switch_ivr_menu_execute(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_free")] - public static extern int switch_ivr_menu_stack_free(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_xml_build")] - public static extern int switch_ivr_menu_stack_xml_build(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_str2action")] - public static extern int switch_ivr_menu_str2action(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_xml_add_custom")] - public static extern int switch_ivr_menu_stack_xml_add_custom(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_xml_init")] - public static extern int switch_ivr_menu_stack_xml_init(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_phrase_macro_event")] - public static extern int switch_ivr_phrase_macro_event(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_delay_echo")] - public static extern void switch_ivr_delay_echo(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_find_bridged_uuid")] - public static extern int switch_ivr_find_bridged_uuid(string jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_intercept_session")] - public static extern void switch_ivr_intercept_session(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_park_session")] - public static extern void switch_ivr_park_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_wait_for_answer")] - public static extern int switch_ivr_wait_for_answer(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_read")] - public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9, uint jarg10); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_block_dtmf_session")] - public static extern int switch_ivr_block_dtmf_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unblock_dtmf_session")] - public static extern int switch_ivr_unblock_dtmf_session(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_bind_dtmf_meta_session")] - public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unbind_dtmf_meta_session")] - public static extern int switch_ivr_unbind_dtmf_meta_session(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_soft_hold")] - public static extern int switch_ivr_soft_hold(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say")] - public static extern int switch_ivr_say(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say_string")] - public static extern int switch_ivr_say_string(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, ref string jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_say_method_by_name")] - public static extern int switch_ivr_get_say_method_by_name(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_say_gender_by_name")] - public static extern int switch_ivr_get_say_gender_by_name(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_say_type_by_name")] - public static extern int switch_ivr_get_say_type_by_name(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say_spell")] - public static extern int switch_ivr_say_spell(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say_ip")] - public static extern int switch_ivr_say_ip(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_user")] - public static extern int switch_ivr_set_user(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_user_xml")] - public static extern int switch_ivr_set_user_xml(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_sound_test")] - public static extern int switch_ivr_sound_test(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_process_import")] - public static extern void switch_process_import(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_exists")] - public static extern int switch_ivr_uuid_exists(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_force_exists")] - public static extern int switch_ivr_uuid_force_exists(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_is_parsing")] - public static extern int switch_ivr_dmachine_is_parsing(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_last_ping")] - public static extern int switch_ivr_dmachine_last_ping(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_name")] - public static extern string switch_ivr_dmachine_get_name(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_match_callback")] - public static extern void switch_ivr_dmachine_set_match_callback(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_nonmatch_callback")] - public static extern void switch_ivr_dmachine_set_nonmatch_callback(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_create")] - public static extern int switch_ivr_dmachine_create(HandleRef jarg1, string jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_destroy")] - public static extern void switch_ivr_dmachine_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_bind")] - public static extern int switch_ivr_dmachine_bind(HandleRef jarg1, string jarg2, string jarg3, int jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_feed")] - public static extern int switch_ivr_dmachine_feed(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_clear")] - public static extern int switch_ivr_dmachine_clear(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_ping")] - public static extern int switch_ivr_dmachine_ping(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_match")] - public static extern IntPtr switch_ivr_dmachine_get_match(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_failed_digits")] - public static extern string switch_ivr_dmachine_get_failed_digits(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_digit_timeout_ms")] - public static extern void switch_ivr_dmachine_set_digit_timeout_ms(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_input_timeout_ms")] - public static extern void switch_ivr_dmachine_set_input_timeout_ms(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_clear_realm")] - public static extern int switch_ivr_dmachine_clear_realm(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_realm")] - public static extern int switch_ivr_dmachine_set_realm(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_file_handle")] - public static extern int switch_ivr_get_file_handle(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_release_file_handle")] - public static extern int switch_ivr_release_file_handle(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_process_fh")] - public static extern int switch_ivr_process_fh(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_insert_file")] - public static extern int switch_ivr_insert_file(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_create_message_reply")] - public static extern int switch_ivr_create_message_reply(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_check_presence_mapping")] - public static extern string switch_ivr_check_presence_mapping(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_kill_uuid")] - public static extern int switch_ivr_kill_uuid(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_blind_transfer_ack")] - public static extern int switch_ivr_blind_transfer_ack(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_session_mask")] - public static extern int switch_ivr_record_session_mask(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_BUF_LEN_get")] - public static extern int SWITCH_RTP_MAX_BUF_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTCP_MAX_BUF_LEN_get")] - public static extern int SWITCH_RTCP_MAX_BUF_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_BUF_LEN_WORDS_get")] - public static extern int SWITCH_RTP_MAX_BUF_LEN_WORDS_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_CRYPTO_LEN_get")] - public static extern int SWITCH_RTP_MAX_CRYPTO_LEN_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_80_get")] - public static extern string SWITCH_RTP_CRYPTO_KEY_80_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_name_set")] - public static extern void switch_srtp_crypto_suite_t_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_name_get")] - public static extern string switch_srtp_crypto_suite_t_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_type_set")] - public static extern void switch_srtp_crypto_suite_t_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_type_get")] - public static extern int switch_srtp_crypto_suite_t_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_keylen_set")] - public static extern void switch_srtp_crypto_suite_t_keylen_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_keylen_get")] - public static extern int switch_srtp_crypto_suite_t_keylen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_srtp_crypto_suite_t")] - public static extern IntPtr new_switch_srtp_crypto_suite_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_srtp_crypto_suite_t")] - public static extern void delete_switch_srtp_crypto_suite_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_index_set")] - public static extern void switch_rtp_crypto_key_index_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_index_get")] - public static extern uint switch_rtp_crypto_key_index_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_type_set")] - public static extern void switch_rtp_crypto_key_type_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_type_get")] - public static extern int switch_rtp_crypto_key_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_key_set")] - public static extern void switch_rtp_crypto_key_key_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_key_get")] - public static extern IntPtr switch_rtp_crypto_key_key_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_keylen_set")] - public static extern void switch_rtp_crypto_key_keylen_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_keylen_get")] - public static extern IntPtr switch_rtp_crypto_key_keylen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_next_set")] - public static extern void switch_rtp_crypto_key_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_next_get")] - public static extern IntPtr switch_rtp_crypto_key_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_crypto_key")] - public static extern IntPtr new_switch_rtp_crypto_key(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_crypto_key")] - public static extern void delete_switch_rtp_crypto_key(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_foundation_set")] - public static extern void icand_t_foundation_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_foundation_get")] - public static extern string icand_t_foundation_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_component_id_set")] - public static extern void icand_t_component_id_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_component_id_get")] - public static extern int icand_t_component_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_transport_set")] - public static extern void icand_t_transport_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_transport_get")] - public static extern string icand_t_transport_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_priority_set")] - public static extern void icand_t_priority_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_priority_get")] - public static extern uint icand_t_priority_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_addr_set")] - public static extern void icand_t_con_addr_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_addr_get")] - public static extern string icand_t_con_addr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_port_set")] - public static extern void icand_t_con_port_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_port_get")] - public static extern ushort icand_t_con_port_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_cand_type_set")] - public static extern void icand_t_cand_type_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_cand_type_get")] - public static extern string icand_t_cand_type_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_raddr_set")] - public static extern void icand_t_raddr_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_raddr_get")] - public static extern string icand_t_raddr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_rport_set")] - public static extern void icand_t_rport_set(HandleRef jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_rport_get")] - public static extern ushort icand_t_rport_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_generation_set")] - public static extern void icand_t_generation_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_generation_get")] - public static extern string icand_t_generation_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_ready_set")] - public static extern void icand_t_ready_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_ready_get")] - public static extern byte icand_t_ready_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_icand_t")] - public static extern IntPtr new_icand_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_icand_t")] - public static extern void delete_icand_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_MAX_CAND_get")] - public static extern int MAX_CAND_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cands_set")] - public static extern void ice_t_cands_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cands_get")] - public static extern IntPtr ice_t_cands_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_set")] - public static extern void ice_t_cand_idx_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_get")] - public static extern int ice_t_cand_idx_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_set")] - public static extern void ice_t_chosen_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_get")] - public static extern IntPtr ice_t_chosen_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_ufrag_set")] - public static extern void ice_t_ufrag_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_ufrag_get")] - public static extern string ice_t_ufrag_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_pwd_set")] - public static extern void ice_t_pwd_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_pwd_get")] - public static extern string ice_t_pwd_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_options_set")] - public static extern void ice_t_options_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_options_get")] - public static extern string ice_t_options_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_ice_t")] - public static extern IntPtr new_ice_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_ice_t")] - public static extern void delete_ice_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_add_crypto_key")] - public static extern int switch_rtp_add_crypto_key(HandleRef jarg1, int jarg2, uint jarg3, int jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_random")] - public static extern void switch_rtp_get_random(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_init")] - public static extern void switch_rtp_init(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_shutdown")] - public static extern void switch_rtp_shutdown(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_start_port")] - public static extern ushort switch_rtp_set_start_port(ushort jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_ssrc")] - public static extern int switch_rtp_set_ssrc(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_remote_ssrc")] - public static extern int switch_rtp_set_remote_ssrc(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_end_port")] - public static extern ushort switch_rtp_set_end_port(ushort jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_request_port")] - public static extern ushort switch_rtp_request_port(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_release_port")] - public static extern void switch_rtp_release_port(string jarg1, ushort jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_interval")] - public static extern int switch_rtp_set_interval(HandleRef jarg1, uint jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_change_interval")] - public static extern int switch_rtp_change_interval(HandleRef jarg1, uint jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_create")] - public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, HandleRef jarg5, string jarg6, ref string jarg7, HandleRef jarg8); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_new")] - public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, HandleRef jarg8, string jarg9, ref string jarg10, HandleRef jarg11); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_remote_address")] - public static extern int switch_rtp_set_remote_address(HandleRef jarg1, string jarg2, ushort jarg3, ushort jarg4, int jarg5, ref string jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_remote_host")] - public static extern string switch_rtp_get_remote_host(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_remote_port")] - public static extern ushort switch_rtp_get_remote_port(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_reset_media_timer")] - public static extern void switch_rtp_reset_media_timer(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_max_missed_packets")] - public static extern void switch_rtp_set_max_missed_packets(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_udptl_mode")] - public static extern int switch_rtp_udptl_mode(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_reset")] - public static extern void switch_rtp_reset(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_local_address")] - public static extern int switch_rtp_set_local_address(HandleRef jarg1, string jarg2, ushort jarg3, ref string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_kill_socket")] - public static extern void switch_rtp_kill_socket(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_break")] - public static extern void switch_rtp_break(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_flush")] - public static extern void switch_rtp_flush(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ready")] - public static extern byte switch_rtp_ready(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_destroy")] - public static extern void switch_rtp_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_ice")] - public static extern int switch_rtp_activate_ice(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, int jarg6, int jarg7, HandleRef jarg8); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_rtcp")] - public static extern int switch_rtp_activate_rtcp(HandleRef jarg1, int jarg2, ushort jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_jitter_buffer")] - public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, uint jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_debug_jitter_buffer")] - public static extern int switch_rtp_debug_jitter_buffer(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_deactivate_jitter_buffer")] - public static extern int switch_rtp_deactivate_jitter_buffer(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_pause_jitter_buffer")] - public static extern int switch_rtp_pause_jitter_buffer(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_jitter_buffer")] - public static extern IntPtr switch_rtp_get_jitter_buffer(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_flag")] - public static extern void switch_rtp_set_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_flags")] - public static extern void switch_rtp_set_flags(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_clear_flags")] - public static extern void switch_rtp_clear_flags(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_test_flag")] - public static extern uint switch_rtp_test_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_clear_flag")] - public static extern void switch_rtp_clear_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_rtp_socket")] - public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ping")] - public static extern void switch_rtp_ping(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_samples_per_interval")] - public static extern uint switch_rtp_get_default_samples_per_interval(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_default_payload")] - public static extern void switch_rtp_set_default_payload(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_payload")] - public static extern uint switch_rtp_get_default_payload(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_invalid_handler")] - public static extern void switch_rtp_set_invalid_handler(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_read")] - public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_queue_rfc2833")] - public static extern int switch_rtp_queue_rfc2833(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_queue_rfc2833_in")] - public static extern int switch_rtp_queue_rfc2833_in(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_has_dtmf")] - public static extern IntPtr switch_rtp_has_dtmf(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_dequeue_dtmf")] - public static extern IntPtr switch_rtp_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_zerocopy_read")] - public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_zerocopy_read_frame")] - public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_zerocopy_read_frame")] - public static extern int switch_rtcp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_rtp_flush_read_buffer")] - public static extern void rtp_flush_read_buffer(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_enable_vad")] - public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_disable_vad")] - public static extern int switch_rtp_disable_vad(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_write_frame")] - public static extern int switch_rtp_write_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_write_manual")] - public static extern int switch_rtp_write_manual(HandleRef jarg1, HandleRef jarg2, uint jarg3, byte jarg4, byte jarg5, uint jarg6, HandleRef jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_ssrc")] - public static extern uint switch_rtp_get_ssrc(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_private")] - public static extern void switch_rtp_set_private(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_event")] - public static extern void switch_rtp_set_telephony_event(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_recv_event")] - public static extern void switch_rtp_set_telephony_recv_event(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_cng_pt")] - public static extern void switch_rtp_set_cng_pt(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_private")] - public static extern IntPtr switch_rtp_get_private(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_payload_map")] - public static extern int switch_rtp_set_payload_map(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_intentional_bugs")] - public static extern void switch_rtp_intentional_bugs(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_stats")] - public static extern IntPtr switch_rtp_get_stats(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_check_auto_adj")] - public static extern byte switch_rtp_check_auto_adj(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_interdigit_delay")] - public static extern void switch_rtp_set_interdigit_delay(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_add_dtls")] - public static extern int switch_rtp_add_dtls(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_del_dtls")] - public static extern int switch_rtp_del_dtls(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_has_dtls")] - public static extern int switch_rtp_has_dtls(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_video_refresh")] - public static extern void switch_rtp_video_refresh(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_data_set")] - public static extern void switch_log_node_t_data_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_data_get")] - public static extern string switch_log_node_t_data_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_file_set")] - public static extern void switch_log_node_t_file_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_file_get")] - public static extern string switch_log_node_t_file_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_line_set")] - public static extern void switch_log_node_t_line_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_line_get")] - public static extern uint switch_log_node_t_line_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_func_set")] - public static extern void switch_log_node_t_func_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_func_get")] - public static extern string switch_log_node_t_func_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_level_set")] - public static extern void switch_log_node_t_level_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_level_get")] - public static extern int switch_log_node_t_level_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_timestamp_set")] - public static extern void switch_log_node_t_timestamp_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_timestamp_get")] - public static extern IntPtr switch_log_node_t_timestamp_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_content_set")] - public static extern void switch_log_node_t_content_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_content_get")] - public static extern string switch_log_node_t_content_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_userdata_set")] - public static extern void switch_log_node_t_userdata_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_userdata_get")] - public static extern string switch_log_node_t_userdata_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_channel_set")] - public static extern void switch_log_node_t_channel_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_channel_get")] - public static extern int switch_log_node_t_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_slevel_set")] - public static extern void switch_log_node_t_slevel_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_slevel_get")] - public static extern int switch_log_node_t_slevel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_log_node_t")] - public static extern IntPtr new_switch_log_node_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_log_node_t")] - public static extern void delete_switch_log_node_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_init")] - public static extern int switch_log_init(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_shutdown")] - public static extern int switch_log_shutdown(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_bind_logger")] - public static extern int switch_log_bind_logger(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_unbind_logger")] - public static extern int switch_log_unbind_logger(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_level2str")] - public static extern string switch_log_level2str(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_str2level")] - public static extern int switch_log_str2level(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_str2mask")] - public static extern uint switch_log_str2mask(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_dup")] - public static extern IntPtr switch_log_node_dup(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_free")] - public static extern void switch_log_node_free(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_XML_BUFSIZE_get")] - public static extern int SWITCH_XML_BUFSIZE_get(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_name_set")] - public static extern void switch_xml_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_name_get")] - public static extern string switch_xml_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr_set")] - public static extern void switch_xml_attr_set(HandleRef jarg1, ref string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr_get")] - public static extern string switch_xml_attr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_txt_set")] - public static extern void switch_xml_txt_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_txt_get")] - public static extern string switch_xml_txt_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free_path_set")] - public static extern void switch_xml_free_path_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free_path_get")] - public static extern string switch_xml_free_path_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_off_set")] - public static extern void switch_xml_off_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_off_get")] - public static extern IntPtr switch_xml_off_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_next_set")] - public static extern void switch_xml_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_next_get")] - public static extern IntPtr switch_xml_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_sibling_set")] - public static extern void switch_xml_sibling_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_sibling_get")] - public static extern IntPtr switch_xml_sibling_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_ordered_set")] - public static extern void switch_xml_ordered_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_ordered_get")] - public static extern IntPtr switch_xml_ordered_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_child_set")] - public static extern void switch_xml_child_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_child_get")] - public static extern IntPtr switch_xml_child_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parent_set")] - public static extern void switch_xml_parent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parent_get")] - public static extern IntPtr switch_xml_parent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_flags_set")] - public static extern void switch_xml_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_flags_get")] - public static extern uint switch_xml_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_is_switch_xml_root_t_set")] - public static extern void switch_xml_is_switch_xml_root_t_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_is_switch_xml_root_t_get")] - public static extern int switch_xml_is_switch_xml_root_t_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_refs_set")] - public static extern void switch_xml_refs_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_refs_get")] - public static extern uint switch_xml_refs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_xml")] - public static extern IntPtr new_switch_xml(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_xml")] - public static extern void delete_switch_xml(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_str_dynamic")] - public static extern IntPtr switch_xml_parse_str_dynamic(string jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_str")] - public static extern IntPtr switch_xml_parse_str(string jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_fd")] - public static extern IntPtr switch_xml_parse_fd(int jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_file")] - public static extern IntPtr switch_xml_parse_file(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_file_simple")] - public static extern IntPtr switch_xml_parse_file_simple(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_fp")] - public static extern IntPtr switch_xml_parse_fp(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_child")] - public static extern IntPtr switch_xml_child(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_find_child")] - public static extern IntPtr switch_xml_find_child(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_find_child_multi")] - public static extern IntPtr switch_xml_find_child_multi(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr")] - public static extern string switch_xml_attr(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr_soft")] - public static extern string switch_xml_attr_soft(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get")] - public static extern IntPtr switch_xml_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml")] - public static extern string switch_xml_toxml(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml_nolock")] - public static extern string switch_xml_toxml_nolock(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_tohtml")] - public static extern string switch_xml_tohtml(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml_buf")] - public static extern string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free")] - public static extern void switch_xml_free(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free_in_thread")] - public static extern void switch_xml_free_in_thread(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_error")] - public static extern string switch_xml_error(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_new")] - public static extern IntPtr switch_xml_new(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_add_child")] - public static extern IntPtr switch_xml_add_child(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_txt")] - public static extern IntPtr switch_xml_set_txt(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_attr")] - public static extern IntPtr switch_xml_set_attr(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_flag")] - public static extern IntPtr switch_xml_set_flag(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_cut")] - public static extern IntPtr switch_xml_cut(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_insert")] - public static extern IntPtr switch_xml_insert(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_root")] - public static extern int switch_xml_set_root(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_open_root_function")] - public static extern int switch_xml_set_open_root_function(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_open_root")] - public static extern IntPtr switch_xml_open_root(byte jarg1, ref string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_init")] - public static extern int switch_xml_init(HandleRef jarg1, ref string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_reload")] - public static extern int switch_xml_reload(ref string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_destroy")] - public static extern int switch_xml_destroy(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_root")] - public static extern IntPtr switch_xml_root(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate")] - public static extern int switch_xml_locate(string jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7, int jarg8); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_domain")] - public static extern int switch_xml_locate_domain(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_group")] - public static extern int switch_xml_locate_group(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user")] - public static extern int switch_xml_locate_user(string jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user_in_domain")] - public static extern int switch_xml_locate_user_in_domain(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user_merged")] - public static extern int switch_xml_locate_user_merged(string jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, HandleRef jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_clear_user_cache")] - public static extern uint switch_xml_clear_user_cache(string jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_merge_user")] - public static extern void switch_xml_merge_user(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_dup")] - public static extern IntPtr switch_xml_dup(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_open_cfg")] - public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_binding_sections")] - public static extern void switch_xml_set_binding_sections(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_binding_user_data")] - public static extern void switch_xml_set_binding_user_data(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get_binding_sections")] - public static extern uint switch_xml_get_binding_sections(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get_binding_user_data")] - public static extern IntPtr switch_xml_get_binding_user_data(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_bind_search_function_ret")] - public static extern int switch_xml_bind_search_function_ret(HandleRef jarg1, uint jarg2, HandleRef jarg3, HandleRef jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_unbind_search_function")] - public static extern int switch_xml_unbind_search_function(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_unbind_search_function_ptr")] - public static extern int switch_xml_unbind_search_function_ptr(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_section_string")] - public static extern uint switch_xml_parse_section_string(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_std_datetime_check")] - public static extern int switch_xml_std_datetime_check(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_language")] - public static extern int switch_xml_locate_language(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, string jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set")] - public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_get")] - public static extern IntPtr switch_io_event_hook_outgoing_channel_outgoing_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_next_set")] - public static extern void switch_io_event_hook_outgoing_channel_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_next_get")] - public static extern IntPtr switch_io_event_hook_outgoing_channel_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_outgoing_channel")] - public static extern IntPtr new_switch_io_event_hook_outgoing_channel(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_outgoing_channel")] - public static extern void delete_switch_io_event_hook_outgoing_channel(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_receive_message_set")] - public static extern void switch_io_event_hook_receive_message_receive_message_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_receive_message_get")] - public static extern IntPtr switch_io_event_hook_receive_message_receive_message_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_next_set")] - public static extern void switch_io_event_hook_receive_message_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_next_get")] - public static extern IntPtr switch_io_event_hook_receive_message_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_receive_message")] - public static extern IntPtr new_switch_io_event_hook_receive_message(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_receive_message")] - public static extern void delete_switch_io_event_hook_receive_message(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_receive_event_set")] - public static extern void switch_io_event_hook_receive_event_receive_event_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_receive_event_get")] - public static extern IntPtr switch_io_event_hook_receive_event_receive_event_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_next_set")] - public static extern void switch_io_event_hook_receive_event_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_next_get")] - public static extern IntPtr switch_io_event_hook_receive_event_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_receive_event")] - public static extern IntPtr new_switch_io_event_hook_receive_event(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_receive_event")] - public static extern void delete_switch_io_event_hook_receive_event(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_read_frame_set")] - public static extern void switch_io_event_hook_read_frame_read_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_read_frame_get")] - public static extern IntPtr switch_io_event_hook_read_frame_read_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_next_set")] - public static extern void switch_io_event_hook_read_frame_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_next_get")] - public static extern IntPtr switch_io_event_hook_read_frame_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_read_frame")] - public static extern IntPtr new_switch_io_event_hook_read_frame(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_read_frame")] - public static extern void delete_switch_io_event_hook_read_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_video_read_frame_set")] - public static extern void switch_io_event_hook_video_read_frame_video_read_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_video_read_frame_get")] - public static extern IntPtr switch_io_event_hook_video_read_frame_video_read_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_next_set")] - public static extern void switch_io_event_hook_video_read_frame_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_next_get")] - public static extern IntPtr switch_io_event_hook_video_read_frame_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_video_read_frame")] - public static extern IntPtr new_switch_io_event_hook_video_read_frame(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_video_read_frame")] - public static extern void delete_switch_io_event_hook_video_read_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_write_frame_set")] - public static extern void switch_io_event_hook_write_frame_write_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_write_frame_get")] - public static extern IntPtr switch_io_event_hook_write_frame_write_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_next_set")] - public static extern void switch_io_event_hook_write_frame_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_next_get")] - public static extern IntPtr switch_io_event_hook_write_frame_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_write_frame")] - public static extern IntPtr new_switch_io_event_hook_write_frame(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_write_frame")] - public static extern void delete_switch_io_event_hook_write_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_video_write_frame_set")] - public static extern void switch_io_event_hook_video_write_frame_video_write_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_video_write_frame_get")] - public static extern IntPtr switch_io_event_hook_video_write_frame_video_write_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_next_set")] - public static extern void switch_io_event_hook_video_write_frame_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_next_get")] - public static extern IntPtr switch_io_event_hook_video_write_frame_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_video_write_frame")] - public static extern IntPtr new_switch_io_event_hook_video_write_frame(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_video_write_frame")] - public static extern void delete_switch_io_event_hook_video_write_frame(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_kill_channel_set")] - public static extern void switch_io_event_hook_kill_channel_kill_channel_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_kill_channel_get")] - public static extern IntPtr switch_io_event_hook_kill_channel_kill_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_next_set")] - public static extern void switch_io_event_hook_kill_channel_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_next_get")] - public static extern IntPtr switch_io_event_hook_kill_channel_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_kill_channel")] - public static extern IntPtr new_switch_io_event_hook_kill_channel(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_kill_channel")] - public static extern void delete_switch_io_event_hook_kill_channel(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_send_dtmf_set")] - public static extern void switch_io_event_hook_send_dtmf_send_dtmf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_send_dtmf_get")] - public static extern IntPtr switch_io_event_hook_send_dtmf_send_dtmf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_next_set")] - public static extern void switch_io_event_hook_send_dtmf_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_next_get")] - public static extern IntPtr switch_io_event_hook_send_dtmf_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_send_dtmf")] - public static extern IntPtr new_switch_io_event_hook_send_dtmf(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_send_dtmf")] - public static extern void delete_switch_io_event_hook_send_dtmf(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_set")] - public static extern void switch_io_event_hook_recv_dtmf_recv_dtmf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_get")] - public static extern IntPtr switch_io_event_hook_recv_dtmf_recv_dtmf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_next_set")] - public static extern void switch_io_event_hook_recv_dtmf_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_next_get")] - public static extern IntPtr switch_io_event_hook_recv_dtmf_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_recv_dtmf")] - public static extern IntPtr new_switch_io_event_hook_recv_dtmf(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_recv_dtmf")] - public static extern void delete_switch_io_event_hook_recv_dtmf(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_state_change_set")] - public static extern void switch_io_event_hook_state_change_state_change_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_state_change_get")] - public static extern IntPtr switch_io_event_hook_state_change_state_change_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_next_set")] - public static extern void switch_io_event_hook_state_change_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_next_get")] - public static extern IntPtr switch_io_event_hook_state_change_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_state_change")] - public static extern IntPtr new_switch_io_event_hook_state_change(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_change")] - public static extern void delete_switch_io_event_hook_state_change(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_set")] - public static extern void switch_io_event_hook_state_run_state_run_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_get")] - public static extern IntPtr switch_io_event_hook_state_run_state_run_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_set")] - public static extern void switch_io_event_hook_state_run_next_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_get")] - public static extern IntPtr switch_io_event_hook_state_run_next_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_state_run")] - public static extern IntPtr new_switch_io_event_hook_state_run(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_run")] - public static extern void delete_switch_io_event_hook_state_run(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_outgoing_channel_set")] - public static extern void switch_io_event_hooks_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_outgoing_channel_get")] - public static extern IntPtr switch_io_event_hooks_outgoing_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_message_set")] - public static extern void switch_io_event_hooks_receive_message_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_message_get")] - public static extern IntPtr switch_io_event_hooks_receive_message_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_event_set")] - public static extern void switch_io_event_hooks_receive_event_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_event_get")] - public static extern IntPtr switch_io_event_hooks_receive_event_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_read_frame_set")] - public static extern void switch_io_event_hooks_read_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_read_frame_get")] - public static extern IntPtr switch_io_event_hooks_read_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_read_frame_set")] - public static extern void switch_io_event_hooks_video_read_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_read_frame_get")] - public static extern IntPtr switch_io_event_hooks_video_read_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_write_frame_set")] - public static extern void switch_io_event_hooks_write_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_write_frame_get")] - public static extern IntPtr switch_io_event_hooks_write_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_write_frame_set")] - public static extern void switch_io_event_hooks_video_write_frame_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_write_frame_get")] - public static extern IntPtr switch_io_event_hooks_video_write_frame_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_kill_channel_set")] - public static extern void switch_io_event_hooks_kill_channel_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_kill_channel_get")] - public static extern IntPtr switch_io_event_hooks_kill_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_send_dtmf_set")] - public static extern void switch_io_event_hooks_send_dtmf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_send_dtmf_get")] - public static extern IntPtr switch_io_event_hooks_send_dtmf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_recv_dtmf_set")] - public static extern void switch_io_event_hooks_recv_dtmf_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_recv_dtmf_get")] - public static extern IntPtr switch_io_event_hooks_recv_dtmf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_change_set")] - public static extern void switch_io_event_hooks_state_change_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_change_get")] - public static extern IntPtr switch_io_event_hooks_state_change_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_set")] - public static extern void switch_io_event_hooks_state_run_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_get")] - public static extern IntPtr switch_io_event_hooks_state_run_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hooks")] - public static extern IntPtr new_switch_io_event_hooks(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hooks")] - public static extern void delete_switch_io_event_hooks(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_outgoing_channel")] - public static extern int switch_core_event_hook_add_outgoing_channel(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_receive_message")] - public static extern int switch_core_event_hook_add_receive_message(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_receive_event")] - public static extern int switch_core_event_hook_add_receive_event(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_change")] - public static extern int switch_core_event_hook_add_state_change(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_run")] - public static extern int switch_core_event_hook_add_state_run(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_read_frame")] - public static extern int switch_core_event_hook_add_read_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_write_frame")] - public static extern int switch_core_event_hook_add_write_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_video_read_frame")] - public static extern int switch_core_event_hook_add_video_read_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_video_write_frame")] - public static extern int switch_core_event_hook_add_video_write_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_kill_channel")] - public static extern int switch_core_event_hook_add_kill_channel(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_send_dtmf")] - public static extern int switch_core_event_hook_add_send_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_recv_dtmf")] - public static extern int switch_core_event_hook_add_recv_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_outgoing_channel")] - public static extern int switch_core_event_hook_remove_outgoing_channel(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_receive_message")] - public static extern int switch_core_event_hook_remove_receive_message(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_receive_event")] - public static extern int switch_core_event_hook_remove_receive_event(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_change")] - public static extern int switch_core_event_hook_remove_state_change(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_run")] - public static extern int switch_core_event_hook_remove_state_run(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_read_frame")] - public static extern int switch_core_event_hook_remove_read_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_write_frame")] - public static extern int switch_core_event_hook_remove_write_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_video_read_frame")] - public static extern int switch_core_event_hook_remove_video_read_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_video_write_frame")] - public static extern int switch_core_event_hook_remove_video_write_frame(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_kill_channel")] - public static extern int switch_core_event_hook_remove_kill_channel(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_send_dtmf")] - public static extern int switch_core_event_hook_remove_send_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_recv_dtmf")] - public static extern int switch_core_event_hook_remove_recv_dtmf(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_created_set")] - public static extern void switch_scheduler_task_created_set(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_created_get")] - public static extern long switch_scheduler_task_created_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_runtime_set")] - public static extern void switch_scheduler_task_runtime_set(HandleRef jarg1, long jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_runtime_get")] - public static extern long switch_scheduler_task_runtime_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_id_set")] - public static extern void switch_scheduler_task_cmd_id_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_id_get")] - public static extern uint switch_scheduler_task_cmd_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_repeat_set")] - public static extern void switch_scheduler_task_repeat_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_repeat_get")] - public static extern uint switch_scheduler_task_repeat_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_group_set")] - public static extern void switch_scheduler_task_group_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_group_get")] - public static extern string switch_scheduler_task_group_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_arg_set")] - public static extern void switch_scheduler_task_cmd_arg_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_arg_get")] - public static extern IntPtr switch_scheduler_task_cmd_arg_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_task_id_set")] - public static extern void switch_scheduler_task_task_id_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_task_id_get")] - public static extern uint switch_scheduler_task_task_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_set")] - public static extern void switch_scheduler_task_hash_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_get")] - public static extern uint switch_scheduler_task_hash_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_scheduler_task")] - public static extern IntPtr new_switch_scheduler_task(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_scheduler_task")] - public static extern void delete_switch_scheduler_task(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_add_task")] - public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, uint jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_del_task_id")] - public static extern uint switch_scheduler_del_task_id(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_del_task_group")] - public static extern uint switch_scheduler_del_task_group(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_thread_start")] - public static extern void switch_scheduler_task_thread_start(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_thread_stop")] - public static extern void switch_scheduler_task_thread_stop(); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_file_set")] - public static extern void switch_config_file_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_file_get")] - public static extern IntPtr switch_config_file_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_path_set")] - public static extern void switch_config_path_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_path_get")] - public static extern string switch_config_path_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_category_set")] - public static extern void switch_config_category_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_category_get")] - public static extern string switch_config_category_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_section_set")] - public static extern void switch_config_section_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_section_get")] - public static extern string switch_config_section_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_buf_set")] - public static extern void switch_config_buf_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_buf_get")] - public static extern string switch_config_buf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lineno_set")] - public static extern void switch_config_lineno_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lineno_get")] - public static extern int switch_config_lineno_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_catno_set")] - public static extern void switch_config_catno_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_catno_get")] - public static extern int switch_config_catno_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_sectno_set")] - public static extern void switch_config_sectno_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_sectno_get")] - public static extern int switch_config_sectno_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lockto_set")] - public static extern void switch_config_lockto_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lockto_get")] - public static extern int switch_config_lockto_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_config")] - public static extern IntPtr new_switch_config(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_config")] - public static extern void delete_switch_config(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_open_file")] - public static extern int switch_config_open_file(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_close_file")] - public static extern void switch_config_close_file(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_next_pair")] - public static extern int switch_config_next_pair(HandleRef jarg1, ref string jarg2, ref string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_setGlobalVariable")] - public static extern void setGlobalVariable(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_getGlobalVariable")] - public static extern string getGlobalVariable(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_consoleLog")] - public static extern void consoleLog(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_consoleLog2")] - public static extern void consoleLog2(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_consoleCleanLog")] - public static extern void consoleCleanLog(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_running")] - public static extern bool running(); - - [DllImport("mod_managed", EntryPoint="CSharp_email")] - public static extern bool email(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_new_IvrMenu")] - public static extern IntPtr new_IvrMenu(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_IvrMenu")] - public static extern void delete_IvrMenu(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_IvrMenu_bindAction")] - public static extern void IvrMenu_bindAction(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_IvrMenu_Execute")] - public static extern void IvrMenu_Execute(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_new_Api")] - public static extern IntPtr new_Api(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_Api")] - public static extern void delete_Api(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Api_Execute")] - public static extern string Api_Execute(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_Api_ExecuteString")] - public static extern string Api_ExecuteString(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Api_getTime")] - public static extern string Api_getTime(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_function_set")] - public static extern void input_callback_state_t_function_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_function_get")] - public static extern IntPtr input_callback_state_t_function_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_threadState_set")] - public static extern void input_callback_state_t_threadState_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_threadState_get")] - public static extern IntPtr input_callback_state_t_threadState_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_extra_set")] - public static extern void input_callback_state_t_extra_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_extra_get")] - public static extern IntPtr input_callback_state_t_extra_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_funcargs_set")] - public static extern void input_callback_state_t_funcargs_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_funcargs_get")] - public static extern string input_callback_state_t_funcargs_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_input_callback_state_t")] - public static extern IntPtr new_input_callback_state_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_input_callback_state_t")] - public static extern void delete_input_callback_state_t(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_digit_set")] - public static extern void DTMF_digit_set(HandleRef jarg1, char jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_digit_get")] - public static extern char DTMF_digit_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_duration_set")] - public static extern void DTMF_duration_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_duration_get")] - public static extern uint DTMF_duration_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_DTMF")] - public static extern IntPtr new_DTMF(char jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_DTMF")] - public static extern void delete_DTMF(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_Stream__SWIG_0")] - public static extern IntPtr new_Stream__SWIG_0(); - - [DllImport("mod_managed", EntryPoint="CSharp_new_Stream__SWIG_1")] - public static extern IntPtr new_Stream__SWIG_1(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_Stream")] - public static extern void delete_Stream(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Stream_read")] - public static extern string Stream_read(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Stream_Write")] - public static extern void Stream_Write(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Stream_raw_write")] - public static extern void Stream_raw_write(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_Stream_get_data")] - public static extern string Stream_get_data(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_InternalEvent_set")] - public static extern void Event_InternalEvent_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_InternalEvent_get")] - public static extern IntPtr Event_InternalEvent_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_serialized_string_set")] - public static extern void Event_serialized_string_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_serialized_string_get")] - public static extern string Event_serialized_string_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_mine_set")] - public static extern void Event_mine_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_mine_get")] - public static extern int Event_mine_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_Event__SWIG_0")] - public static extern IntPtr new_Event__SWIG_0(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_new_Event__SWIG_1")] - public static extern IntPtr new_Event__SWIG_1(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_Event")] - public static extern void delete_Event(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_chat_execute")] - public static extern int Event_chat_execute(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_chat_send")] - public static extern int Event_chat_send(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_Serialize")] - public static extern string Event_Serialize(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_SetPriority")] - public static extern bool Event_SetPriority(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_GetHeader")] - public static extern string Event_GetHeader(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_GetBody")] - public static extern string Event_GetBody(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_GetEventType")] - public static extern string Event_GetEventType(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_AddBody")] - public static extern bool Event_AddBody(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_AddHeader")] - public static extern bool Event_AddHeader(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_DeleteHeader")] - public static extern bool Event_DeleteHeader(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_Event_Fire")] - public static extern bool Event_Fire(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_events_set")] - public static extern void EventConsumer_events_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_events_get")] - public static extern IntPtr EventConsumer_events_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_event_id_set")] - public static extern void EventConsumer_e_event_id_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_event_id_get")] - public static extern int EventConsumer_e_event_id_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_callback_set")] - public static extern void EventConsumer_e_callback_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_callback_get")] - public static extern string EventConsumer_e_callback_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_subclass_name_set")] - public static extern void EventConsumer_e_subclass_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_subclass_name_get")] - public static extern string EventConsumer_e_subclass_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_cb_arg_set")] - public static extern void EventConsumer_e_cb_arg_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_cb_arg_get")] - public static extern string EventConsumer_e_cb_arg_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_enodes_set")] - public static extern void EventConsumer_enodes_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_enodes_get")] - public static extern IntPtr EventConsumer_enodes_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_node_index_set")] - public static extern void EventConsumer_node_index_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_node_index_get")] - public static extern uint EventConsumer_node_index_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_EventConsumer")] - public static extern IntPtr new_EventConsumer(string jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_EventConsumer")] - public static extern void delete_EventConsumer(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_bind")] - public static extern int EventConsumer_bind(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_pop")] - public static extern IntPtr EventConsumer_pop(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_cleanup")] - public static extern void EventConsumer_cleanup(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_CoreSession")] - public static extern void delete_CoreSession(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_InternalSession_set")] - public static extern void CoreSession_InternalSession_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_InternalSession_get")] - public static extern IntPtr CoreSession_InternalSession_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_channel_set")] - public static extern void CoreSession_channel_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_channel_get")] - public static extern IntPtr CoreSession_channel_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flags_set")] - public static extern void CoreSession_flags_set(HandleRef jarg1, uint jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flags_get")] - public static extern uint CoreSession_flags_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_allocated_set")] - public static extern void CoreSession_allocated_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_allocated_get")] - public static extern int CoreSession_allocated_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cb_state_set")] - public static extern void CoreSession_cb_state_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cb_state_get")] - public static extern IntPtr CoreSession_cb_state_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_HookState_set")] - public static extern void CoreSession_HookState_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_HookState_get")] - public static extern int CoreSession_HookState_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cause_set")] - public static extern void CoreSession_cause_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cause_get")] - public static extern int CoreSession_cause_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_uuid_set")] - public static extern void CoreSession_uuid_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_uuid_get")] - public static extern string CoreSession_uuid_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_tts_name_set")] - public static extern void CoreSession_tts_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_tts_name_get")] - public static extern string CoreSession_tts_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_voice_name_set")] - public static extern void CoreSession_voice_name_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_voice_name_get")] - public static extern string CoreSession_voice_name_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_insertFile")] - public static extern int CoreSession_insertFile(HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Answer")] - public static extern int CoreSession_Answer(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_preAnswer")] - public static extern int CoreSession_preAnswer(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Hangup")] - public static extern void CoreSession_Hangup(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_hangupState")] - public static extern void CoreSession_hangupState(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetVariable")] - public static extern void CoreSession_SetVariable(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetPrivate")] - public static extern void CoreSession_SetPrivate(HandleRef jarg1, string jarg2, HandleRef jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetPrivate")] - public static extern IntPtr CoreSession_GetPrivate(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetVariable")] - public static extern string CoreSession_GetVariable(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Say")] - public static extern void CoreSession_Say(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SayPhrase")] - public static extern void CoreSession_SayPhrase(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_hangupCause")] - public static extern string CoreSession_hangupCause(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_getState")] - public static extern string CoreSession_getState(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_RecordFile")] - public static extern int CoreSession_RecordFile(HandleRef jarg1, string jarg2, int jarg3, int jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_originate")] - public static extern int CoreSession_originate(HandleRef jarg1, HandleRef jarg2, string jarg3, int jarg4, HandleRef jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_destroy")] - public static extern void CoreSession_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Speak")] - public static extern int CoreSession_Speak(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetTtsParameters")] - public static extern void CoreSession_SetTtsParameters(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_set_tts_params")] - public static extern void CoreSession_set_tts_params(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_CollectDigits__SWIG_0")] - public static extern int CoreSession_CollectDigits__SWIG_0(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_CollectDigits__SWIG_1")] - public static extern int CoreSession_CollectDigits__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetDigits__SWIG_0")] - public static extern string CoreSession_GetDigits__SWIG_0(HandleRef jarg1, int jarg2, string jarg3, int jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetDigits__SWIG_1")] - public static extern string CoreSession_GetDigits__SWIG_1(HandleRef jarg1, int jarg2, string jarg3, int jarg4, int jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Transfer")] - public static extern int CoreSession_Transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_read")] - public static extern string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6, int jarg7); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_PlayAndGetDigits")] - public static extern string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, int jarg11, string jarg12); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_StreamFile")] - public static extern int CoreSession_StreamFile(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_sleep")] - public static extern int CoreSession_sleep(HandleRef jarg1, int jarg2, int jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flushEvents")] - public static extern int CoreSession_flushEvents(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flushDigits")] - public static extern int CoreSession_flushDigits(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetAutoHangup")] - public static extern int CoreSession_SetAutoHangup(HandleRef jarg1, bool jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Ready")] - public static extern bool CoreSession_Ready(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_bridged")] - public static extern bool CoreSession_bridged(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_answered")] - public static extern bool CoreSession_answered(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_mediaReady")] - public static extern bool CoreSession_mediaReady(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_waitForAnswer")] - public static extern void CoreSession_waitForAnswer(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Execute")] - public static extern void CoreSession_Execute(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_sendEvent")] - public static extern void CoreSession_sendEvent(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_setEventData")] - public static extern void CoreSession_setEventData(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_getXMLCDR")] - public static extern string CoreSession_getXMLCDR(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_begin_allow_threads")] - public static extern bool CoreSession_begin_allow_threads(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_end_allow_threads")] - public static extern bool CoreSession_end_allow_threads(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetUuid")] - public static extern string CoreSession_GetUuid(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_get_cb_args")] - public static extern IntPtr CoreSession_get_cb_args(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_check_hangup_hook")] - public static extern void CoreSession_check_hangup_hook(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_consoleLog")] - public static extern void CoreSession_consoleLog(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_consoleLog2")] - public static extern void CoreSession_consoleLog2(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5, string jarg6); - - [DllImport("mod_managed", EntryPoint="CSharp_console_log")] - public static extern void console_log(string jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_console_log2")] - public static extern void console_log2(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_console_clean_log")] - public static extern void console_clean_log(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_msleep")] - public static extern void msleep(uint jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_bridge")] - public static extern void bridge(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_hanguphook")] - public static extern int hanguphook(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_dtmf_callback")] - public static extern int dtmf_callback(HandleRef jarg1, HandleRef jarg2, int jarg3, HandleRef jarg4, uint jarg5); - - [DllImport("mod_managed", EntryPoint="CSharp_new_ManagedSession__SWIG_0")] - public static extern IntPtr new_ManagedSession__SWIG_0(); - - [DllImport("mod_managed", EntryPoint="CSharp_new_ManagedSession__SWIG_1")] - public static extern IntPtr new_ManagedSession__SWIG_1(string jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_ManagedSession__SWIG_2")] - public static extern IntPtr new_ManagedSession__SWIG_2(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_ManagedSession")] - public static extern void delete_ManagedSession(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_ManagedSession_SWIGUpcast")] - public static extern IntPtr ManagedSession_SWIGUpcast(IntPtr jarg1); -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class icand_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal icand_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(icand_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~icand_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_icand_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string foundation { - set { - freeswitchPINVOKE.icand_t_foundation_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.icand_t_foundation_get(swigCPtr); - return ret; - } - } - - public int component_id { - set { - freeswitchPINVOKE.icand_t_component_id_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.icand_t_component_id_get(swigCPtr); - return ret; - } - } - - public string transport { - set { - freeswitchPINVOKE.icand_t_transport_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.icand_t_transport_get(swigCPtr); - return ret; - } - } - - public uint priority { - set { - freeswitchPINVOKE.icand_t_priority_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.icand_t_priority_get(swigCPtr); - return ret; - } - } - - public string con_addr { - set { - freeswitchPINVOKE.icand_t_con_addr_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.icand_t_con_addr_get(swigCPtr); - return ret; - } - } - - public ushort con_port { - set { - freeswitchPINVOKE.icand_t_con_port_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.icand_t_con_port_get(swigCPtr); - return ret; - } - } - - public string cand_type { - set { - freeswitchPINVOKE.icand_t_cand_type_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.icand_t_cand_type_get(swigCPtr); - return ret; - } - } - - public string raddr { - set { - freeswitchPINVOKE.icand_t_raddr_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.icand_t_raddr_get(swigCPtr); - return ret; - } - } - - public ushort rport { - set { - freeswitchPINVOKE.icand_t_rport_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.icand_t_rport_get(swigCPtr); - return ret; - } - } - - public string generation { - set { - freeswitchPINVOKE.icand_t_generation_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.icand_t_generation_get(swigCPtr); - return ret; - } - } - - public byte ready { - set { - freeswitchPINVOKE.icand_t_ready_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.icand_t_ready_get(swigCPtr); - return ret; - } - } - - public icand_t() : this(freeswitchPINVOKE.new_icand_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum ice_proto_t { - IPR_RTP, - IPR_RTCP -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class ice_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ice_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(ice_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~ice_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_ice_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_a_2__icand_s cands { - set { - freeswitchPINVOKE.ice_t_cands_set(swigCPtr, SWIGTYPE_p_a_2__icand_s.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.ice_t_cands_get(swigCPtr); - SWIGTYPE_p_a_2__icand_s ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_a_2__icand_s(cPtr, false); - return ret; - } - } - - public int cand_idx { - set { - freeswitchPINVOKE.ice_t_cand_idx_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.ice_t_cand_idx_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_int chosen { - set { - freeswitchPINVOKE.ice_t_chosen_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.ice_t_chosen_get(swigCPtr); - SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); - return ret; - } - } - - public string ufrag { - set { - freeswitchPINVOKE.ice_t_ufrag_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.ice_t_ufrag_get(swigCPtr); - return ret; - } - } - - public string pwd { - set { - freeswitchPINVOKE.ice_t_pwd_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.ice_t_pwd_get(swigCPtr); - return ret; - } - } - - public string options { - set { - freeswitchPINVOKE.ice_t_options_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.ice_t_options_get(swigCPtr); - return ret; - } - } - - public ice_t() : this(freeswitchPINVOKE.new_ice_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class input_callback_state_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal input_callback_state_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(input_callback_state_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~input_callback_state_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_input_callback_state_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_void function { - set { - freeswitchPINVOKE.input_callback_state_t_function_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_function_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void threadState { - set { - freeswitchPINVOKE.input_callback_state_t_threadState_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_threadState_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void extra { - set { - freeswitchPINVOKE.input_callback_state_t_extra_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_extra_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public string funcargs { - set { - freeswitchPINVOKE.input_callback_state_t_funcargs_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.input_callback_state_t_funcargs_get(swigCPtr); - return ret; - } - } - - public input_callback_state_t() : this(freeswitchPINVOKE.new_input_callback_state_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class ip_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ip_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(ip_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~ip_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_ip_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint v4 { - set { - freeswitchPINVOKE.ip_t_v4_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.ip_t_v4_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_in6_addr v6 { - set { - freeswitchPINVOKE.ip_t_v6_set(swigCPtr, SWIGTYPE_p_in6_addr.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_in6_addr ret = new SWIGTYPE_p_in6_addr(freeswitchPINVOKE.ip_t_v6_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public ip_t() : this(freeswitchPINVOKE.new_ip_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class IvrMenu : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal IvrMenu(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(IvrMenu obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~IvrMenu() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_IvrMenu(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public IvrMenu(IvrMenu main, string name, string greeting_sound, string short_greeting_sound, string invalid_sound, string exit_sound, string transfer_sound, string confirm_macro, string confirm_key, string tts_engine, string tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) : this(freeswitchPINVOKE.new_IvrMenu(IvrMenu.getCPtr(main), name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts), true) { - } - - public void bindAction(string action, string arg, string bind) { - freeswitchPINVOKE.IvrMenu_bindAction(swigCPtr, action, arg, bind); - } - - public void Execute(CoreSession session, string name) { - freeswitchPINVOKE.IvrMenu_Execute(swigCPtr, CoreSession.getCPtr(session), name); - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public partial class ManagedSession : CoreSession { - private HandleRef swigCPtr; - - internal ManagedSession(IntPtr cPtr, bool cMemoryOwn) : base(freeswitchPINVOKE.ManagedSession_SWIGUpcast(cPtr), cMemoryOwn) { - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(ManagedSession obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~ManagedSession() { - Dispose(); - } - - public override void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_ManagedSession(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - base.Dispose(); - } - } - - public ManagedSession() : this(freeswitchPINVOKE.new_ManagedSession__SWIG_0(), true) { - } - - public ManagedSession(string uuid) : this(freeswitchPINVOKE.new_ManagedSession__SWIG_1(uuid), true) { - } - - public ManagedSession(SWIGTYPE_p_switch_core_session session) : this(freeswitchPINVOKE.new_ManagedSession__SWIG_2(SWIGTYPE_p_switch_core_session.getCPtr(session)), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class payload_map_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal payload_map_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(payload_map_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~payload_map_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_payload_map_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_media_type_t type { - set { - freeswitchPINVOKE.payload_map_t_type_set(swigCPtr, (int)value); - } - get { - switch_media_type_t ret = (switch_media_type_t)freeswitchPINVOKE.payload_map_t_type_get(swigCPtr); - return ret; - } - } - - public switch_sdp_type_t sdp_type { - set { - freeswitchPINVOKE.payload_map_t_sdp_type_set(swigCPtr, (int)value); - } - get { - switch_sdp_type_t ret = (switch_sdp_type_t)freeswitchPINVOKE.payload_map_t_sdp_type_get(swigCPtr); - return ret; - } - } - - public uint ptime { - set { - freeswitchPINVOKE.payload_map_t_ptime_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.payload_map_t_ptime_get(swigCPtr); - return ret; - } - } - - public uint rate { - set { - freeswitchPINVOKE.payload_map_t_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.payload_map_t_rate_get(swigCPtr); - return ret; - } - } - - public byte allocated { - set { - freeswitchPINVOKE.payload_map_t_allocated_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.payload_map_t_allocated_get(swigCPtr); - return ret; - } - } - - public byte negotiated { - set { - freeswitchPINVOKE.payload_map_t_negotiated_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.payload_map_t_negotiated_get(swigCPtr); - return ret; - } - } - - public byte current { - set { - freeswitchPINVOKE.payload_map_t_current_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.payload_map_t_current_get(swigCPtr); - return ret; - } - } - - public uint hash { - set { - freeswitchPINVOKE.payload_map_t_hash_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.payload_map_t_hash_get(swigCPtr); - return ret; - } - } - - public string rm_encoding { - set { - freeswitchPINVOKE.payload_map_t_rm_encoding_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.payload_map_t_rm_encoding_get(swigCPtr); - return ret; - } - } - - public string iananame { - set { - freeswitchPINVOKE.payload_map_t_iananame_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.payload_map_t_iananame_get(swigCPtr); - return ret; - } - } - - public byte pt { - set { - freeswitchPINVOKE.payload_map_t_pt_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.payload_map_t_pt_get(swigCPtr); - return ret; - } - } - - public uint rm_rate { - set { - freeswitchPINVOKE.payload_map_t_rm_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.payload_map_t_rm_rate_get(swigCPtr); - return ret; - } - } - - public uint adv_rm_rate { - set { - freeswitchPINVOKE.payload_map_t_adv_rm_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.payload_map_t_adv_rm_rate_get(swigCPtr); - return ret; - } - } - - public uint codec_ms { - set { - freeswitchPINVOKE.payload_map_t_codec_ms_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.payload_map_t_codec_ms_get(swigCPtr); - return ret; - } - } - - public uint bitrate { - set { - freeswitchPINVOKE.payload_map_t_bitrate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.payload_map_t_bitrate_get(swigCPtr); - return ret; - } - } - - public string rm_fmtp { - set { - freeswitchPINVOKE.payload_map_t_rm_fmtp_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.payload_map_t_rm_fmtp_get(swigCPtr); - return ret; - } - } - - public byte agreed_pt { - set { - freeswitchPINVOKE.payload_map_t_agreed_pt_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.payload_map_t_agreed_pt_get(swigCPtr); - return ret; - } - } - - public byte recv_pt { - set { - freeswitchPINVOKE.payload_map_t_recv_pt_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.payload_map_t_recv_pt_get(swigCPtr); - return ret; - } - } - - public string fmtp_out { - set { - freeswitchPINVOKE.payload_map_t_fmtp_out_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.payload_map_t_fmtp_out_get(swigCPtr); - return ret; - } - } - - public string remote_sdp_ip { - set { - freeswitchPINVOKE.payload_map_t_remote_sdp_ip_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.payload_map_t_remote_sdp_ip_get(swigCPtr); - return ret; - } - } - - public ushort remote_sdp_port { - set { - freeswitchPINVOKE.payload_map_t_remote_sdp_port_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.payload_map_t_remote_sdp_port_get(swigCPtr); - return ret; - } - } - - public int channels { - set { - freeswitchPINVOKE.payload_map_t_channels_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.payload_map_t_channels_get(swigCPtr); - return ret; - } - } - - public int adv_channels { - set { - freeswitchPINVOKE.payload_map_t_adv_channels_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.payload_map_t_adv_channels_get(swigCPtr); - return ret; - } - } - - public payload_map_t next { - set { - freeswitchPINVOKE.payload_map_t_next_set(swigCPtr, payload_map_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.payload_map_t_next_get(swigCPtr); - payload_map_t ret = (cPtr == IntPtr.Zero) ? null : new payload_map_t(cPtr, false); - return ret; - } - } - - public payload_map_t() : this(freeswitchPINVOKE.new_payload_map_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class profile_node_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal profile_node_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(profile_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~profile_node_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_profile_node_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string var { - set { - freeswitchPINVOKE.profile_node_t_var_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.profile_node_t_var_get(swigCPtr); - return ret; - } - } - - public string val { - set { - freeswitchPINVOKE.profile_node_t_val_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.profile_node_t_val_get(swigCPtr); - return ret; - } - } - - public profile_node_t next { - set { - freeswitchPINVOKE.profile_node_t_next_set(swigCPtr, profile_node_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.profile_node_t_next_get(swigCPtr); - profile_node_t ret = (cPtr == IntPtr.Zero) ? null : new profile_node_t(cPtr, false); - return ret; - } - } - - public profile_node_t() : this(freeswitchPINVOKE.new_profile_node_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum session_flag_t { - S_HUP = (1 << 0), - S_FREE = (1 << 1), - S_RDLOCK = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public partial class Stream : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Stream(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(Stream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~Stream() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_Stream(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public Stream() : this(freeswitchPINVOKE.new_Stream__SWIG_0(), true) { - } - - public Stream(switch_stream_handle arg0) : this(freeswitchPINVOKE.new_Stream__SWIG_1(switch_stream_handle.getCPtr(arg0)), true) { - } - - public string read(SWIGTYPE_p_int len) { - string ret = freeswitchPINVOKE.Stream_read(swigCPtr, SWIGTYPE_p_int.getCPtr(len)); - return ret; - } - - public void Write(string data) { - freeswitchPINVOKE.Stream_Write(swigCPtr, data); - } - - public void raw_write(string data, int len) { - freeswitchPINVOKE.Stream_raw_write(swigCPtr, data, len); - } - - public string get_data() { - string ret = freeswitchPINVOKE.Stream_get_data(swigCPtr); - return ret; - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_apr_pool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_apr_pool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_apr_pool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_apr_pool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_a_2__icand_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_a_2__icand_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_a_2__icand_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_a_2__icand_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_cJSON { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_cJSON(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_cJSON() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_cJSON obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_FILE { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_FILE(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_FILE() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_FILE obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_float { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_float(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_float() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_float obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_void__p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_void__p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_void__p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_void__p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_event__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_event__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_event__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_event__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_event__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_event__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_media_bug_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_media_bug_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_media_bug_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_media_bug_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_scheduler_task__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_scheduler_task__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_scheduler_task__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_scheduler_task__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_timer__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_timer__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_timer__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_timer__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void_p_q_const__char__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void_p_q_const__char__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void_p_q_const__char__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void_p_q_const__char__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void_p_switch_event__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void_p_switch_event__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void_p_switch_event__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void_p_switch_event__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_void__p_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_void__p_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_void__p_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_void__p_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_void__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_void__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_void__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_void__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_in6_addr { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_in6_addr(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_in6_addr() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_in6_addr obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_pid_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_pid_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_pid_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_pid_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_apr_pool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_apr_pool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_apr_pool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_apr_pool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_cJSON { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_cJSON(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_cJSON() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_cJSON obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_payload_map_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_payload_map_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_payload_map_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_payload_map_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_p_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_p_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_p_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_p_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_real_pcre { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_real_pcre(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_real_pcre() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_real_pcre obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_sqlite3 { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_sqlite3(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_sqlite3() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_sqlite3 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_sqlite3_stmt { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_sqlite3_stmt(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_sqlite3_stmt() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_sqlite3_stmt obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_audio_resampler_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_audio_resampler_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_audio_resampler_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_audio_resampler_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_buffer { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_buffer(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_buffer() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_buffer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_cache_db_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_cache_db_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_cache_db_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_cache_db_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_caller_extension { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_caller_extension(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_caller_extension() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_caller_extension obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_channel { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_channel(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_channel() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_codec_implementation { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_codec_implementation(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_codec_implementation() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_codec_implementation obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_console_callback_match { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_console_callback_match(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_console_callback_match() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_console_callback_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_core_port_allocator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_core_port_allocator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_core_port_allocator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_core_port_allocator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_core_session { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_core_session(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_core_session() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_core_session obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_core_session_message { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_core_session_message(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_core_session_message() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_core_session_message obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_device_record_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_device_record_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_device_record_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_device_record_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_event { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_event(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_event() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_event_node { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_event_node(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_event_node() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_event_node obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_file_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_file_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_file_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_frame { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_frame(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_frame() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_hashtable { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_hashtable(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_hashtable() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_hashtable_iterator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_hashtable_iterator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_hashtable_iterator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable_iterator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_digit_stream { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_digit_stream(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_digit_stream() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_digit_stream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_digit_stream_parser { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_digit_stream_parser(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_digit_stream_parser() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_digit_stream_parser obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_dmachine { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_dmachine(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_dmachine() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_dmachine obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_dmachine_match { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_dmachine_match(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_dmachine_match() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_dmachine_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_menu { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_menu(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_menu() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_menu obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_menu_xml_ctx { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_menu_xml_ctx(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_menu_xml_ctx() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_menu_xml_ctx obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_live_array_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_live_array_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_live_array_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_live_array_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_log_node_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_log_node_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_log_node_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_log_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_media_bug { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_media_bug(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_media_bug() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_media_bug obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_network_list { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_network_list(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_network_list() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_network_list obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_rtp { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_rtp(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_rtp() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_rtp obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_say_file_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_say_file_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_say_file_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_say_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_sql_queue_manager { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_sql_queue_manager(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_sql_queue_manager() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_sql_queue_manager obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_thread_data_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_thread_data_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_thread_data_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_thread_data_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_xml { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_xml(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_xml() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_xml_binding { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_xml_binding(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_xml_binding() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_xml_binding obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_real_pcre { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_real_pcre(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_real_pcre() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_real_pcre obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_short { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_short(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_short() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_short obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sockaddr { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sockaddr(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sockaddr() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sockaddr obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sockaddr_in6 { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sockaddr_in6(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sockaddr_in6() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sockaddr_in6 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_socklen_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_socklen_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_socklen_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_socklen_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sqlite3 { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sqlite3(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sqlite3() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sqlite3 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sqlite3_stmt { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sqlite3_stmt(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sqlite3_stmt() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sqlite3_stmt obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_stfu_instance_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_stfu_instance_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_stfu_instance_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_stfu_instance_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_buffer { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_buffer(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_buffer() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_buffer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_cache_db_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_cache_db_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_cache_db_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_cache_db_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_call_cause_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_call_cause_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_call_cause_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_call_cause_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_channel { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_channel(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_channel() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_core_port_allocator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_core_port_allocator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_core_port_allocator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_core_port_allocator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_core_session { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_core_session(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_core_session() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_core_session obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_event_types_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_event_types_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_event_types_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_event_types_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_file_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_file_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_file_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_file_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_hashtable { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_hashtable(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_hashtable() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_hashtable obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_hashtable_iterator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_hashtable_iterator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_hashtable_iterator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_hashtable_iterator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_interval_time_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_interval_time_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_interval_time_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_interval_time_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_action_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_action_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_action_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_action_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_digit_stream { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_digit_stream(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_digit_stream() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_digit_stream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_digit_stream_parser { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_digit_stream_parser(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_digit_stream_parser() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_digit_stream_parser obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_dmachine { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_dmachine(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_dmachine() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_dmachine obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_menu { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_menu(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_menu() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_menu obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_menu_xml_ctx { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_menu_xml_ctx(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_menu_xml_ctx() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_menu_xml_ctx obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_live_array_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_live_array_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_live_array_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_live_array_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_media_bug { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_media_bug(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_media_bug() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_media_bug obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_mutex_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_mutex_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_mutex_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_mutex_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_network_list { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_network_list(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_network_list() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_network_list obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_odbc_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_odbc_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_odbc_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_odbc_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_pgsql_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_pgsql_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_pgsql_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_pgsql_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_pollfd_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_pollfd_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_pollfd_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_pollfd_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_queue_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_queue_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_queue_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_queue_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_rtcp_frame { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_rtcp_frame(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_rtcp_frame() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_rtcp_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_rtp { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_rtp(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_rtp() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_rtp obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_rtp_flag_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_rtp_flag_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_rtp_flag_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_rtp_flag_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_say_file_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_say_file_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_say_file_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_say_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_size_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_size_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_size_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_size_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_sockaddr_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_sockaddr_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_sockaddr_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_sockaddr_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_socket_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_socket_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_socket_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_socket_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_sql_queue_manager { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_sql_queue_manager(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_sql_queue_manager() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_sql_queue_manager obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ssize_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ssize_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ssize_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ssize_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_thread_rwlock_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_thread_rwlock_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_thread_rwlock_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_thread_rwlock_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_thread_start_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_thread_start_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_thread_start_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_thread_start_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_time_exp_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_time_exp_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_time_exp_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_time_exp_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_time_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_time_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_time_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_time_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_xml_binding { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_xml_binding(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_xml_binding() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_xml_binding obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_time_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_time_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_time_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_time_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_long { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_long(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_long() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_long obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_short { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_short(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_short() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_short obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_abc_type_t { - SWITCH_ABC_TYPE_INIT, - SWITCH_ABC_TYPE_READ, - SWITCH_ABC_TYPE_WRITE, - SWITCH_ABC_TYPE_WRITE_REPLACE, - SWITCH_ABC_TYPE_READ_REPLACE, - SWITCH_ABC_TYPE_READ_PING, - SWITCH_ABC_TYPE_TAP_NATIVE_READ, - SWITCH_ABC_TYPE_TAP_NATIVE_WRITE, - SWITCH_ABC_TYPE_CLOSE -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_api_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_api_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_api_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_api_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_api_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_api_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_api_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public string desc { - set { - freeswitchPINVOKE.switch_api_interface_desc_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_api_interface_desc_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t function { - set { - freeswitchPINVOKE.switch_api_interface_function_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_function_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public string syntax { - set { - freeswitchPINVOKE.switch_api_interface_syntax_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_api_interface_syntax_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_api_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_api_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_api_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_api_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_api_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_api_interface next { - set { - freeswitchPINVOKE.switch_api_interface_next_set(swigCPtr, switch_api_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_next_get(swigCPtr); - switch_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); - return ret; - } - } - - public switch_api_interface() : this(freeswitchPINVOKE.new_switch_api_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_application_flag_enum_t { - SAF_NONE = 0, - SAF_SUPPORT_NOMEDIA = (1 << 0), - SAF_ROUTING_EXEC = (1 << 1), - SAF_MEDIA_TAP = (1 << 2), - SAF_ZOMBIE_EXEC = (1 << 3), - SAF_NO_LOOPBACK = (1 << 4) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_application_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_application_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_application_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_application_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_application_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_application_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_application_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void application_function { - set { - freeswitchPINVOKE.switch_application_interface_application_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_application_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(cPtr, false); - return ret; - } - } - - public string long_desc { - set { - freeswitchPINVOKE.switch_application_interface_long_desc_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_application_interface_long_desc_get(swigCPtr); - return ret; - } - } - - public string short_desc { - set { - freeswitchPINVOKE.switch_application_interface_short_desc_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_application_interface_short_desc_get(swigCPtr); - return ret; - } - } - - public string syntax { - set { - freeswitchPINVOKE.switch_application_interface_syntax_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_application_interface_syntax_get(swigCPtr); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_application_interface_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_application_interface_flags_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_application_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_application_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_application_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_application_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_application_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_application_interface next { - set { - freeswitchPINVOKE.switch_application_interface_next_set(swigCPtr, switch_application_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_next_get(swigCPtr); - switch_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); - return ret; - } - } - - public switch_application_interface() : this(freeswitchPINVOKE.new_switch_application_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_app_log : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_app_log(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_app_log obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_app_log() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_app_log(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string app { - set { - freeswitchPINVOKE.switch_app_log_app_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_app_log_app_get(swigCPtr); - return ret; - } - } - - public string arg { - set { - freeswitchPINVOKE.switch_app_log_arg_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_app_log_arg_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t stamp { - set { - freeswitchPINVOKE.switch_app_log_stamp_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_app_log_stamp_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_app_log next { - set { - freeswitchPINVOKE.switch_app_log_next_set(swigCPtr, switch_app_log.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_app_log_next_get(swigCPtr); - switch_app_log ret = (cPtr == IntPtr.Zero) ? null : new switch_app_log(cPtr, false); - return ret; - } - } - - public switch_app_log() : this(freeswitchPINVOKE.new_switch_app_log(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_asr_flag_enum_t { - SWITCH_ASR_FLAG_NONE = 0, - SWITCH_ASR_FLAG_DATA = (1 << 0), - SWITCH_ASR_FLAG_FREE_POOL = (1 << 1), - SWITCH_ASR_FLAG_CLOSED = (1 << 2), - SWITCH_ASR_FLAG_FIRE_EVENTS = (1 << 3), - SWITCH_ASR_FLAG_AUTO_RESUME = (1 << 4) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_asr_handle : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_asr_handle(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_asr_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_asr_handle() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_asr_handle(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_asr_interface asr_interface { - set { - freeswitchPINVOKE.switch_asr_handle_asr_interface_set(swigCPtr, switch_asr_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_asr_interface_get(swigCPtr); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_asr_handle_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_asr_handle_flags_get(swigCPtr); - return ret; - } - } - - public string name { - set { - freeswitchPINVOKE.switch_asr_handle_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_asr_handle_name_get(swigCPtr); - return ret; - } - } - - public string codec { - set { - freeswitchPINVOKE.switch_asr_handle_codec_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_asr_handle_codec_get(swigCPtr); - return ret; - } - } - - public uint rate { - set { - freeswitchPINVOKE.switch_asr_handle_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_asr_handle_rate_get(swigCPtr); - return ret; - } - } - - public string grammar { - set { - freeswitchPINVOKE.switch_asr_handle_grammar_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_asr_handle_grammar_get(swigCPtr); - return ret; - } - } - - public string param { - set { - freeswitchPINVOKE.switch_asr_handle_param_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_asr_handle_param_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t memory_pool { - set { - freeswitchPINVOKE.switch_asr_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_buffer buffer { - set { - freeswitchPINVOKE.switch_asr_handle_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char dbuf { - set { - freeswitchPINVOKE.switch_asr_handle_dbuf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_dbuf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t dbuflen { - set { - freeswitchPINVOKE.switch_asr_handle_dbuflen_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_asr_handle_dbuflen_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_audio_resampler_t resampler { - set { - freeswitchPINVOKE.switch_asr_handle_resampler_set(swigCPtr, switch_audio_resampler_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_resampler_get(swigCPtr); - switch_audio_resampler_t ret = (cPtr == IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); - return ret; - } - } - - public uint samplerate { - set { - freeswitchPINVOKE.switch_asr_handle_samplerate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_asr_handle_samplerate_get(swigCPtr); - return ret; - } - } - - public uint native_rate { - set { - freeswitchPINVOKE.switch_asr_handle_native_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_asr_handle_native_rate_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_asr_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public switch_asr_handle() : this(freeswitchPINVOKE.new_switch_asr_handle(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_asr_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_asr_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_asr_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_asr_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_asr_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_asr_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_asr_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t asr_open { - set { - freeswitchPINVOKE.switch_asr_interface_asr_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t asr_load_grammar { - set { - freeswitchPINVOKE.switch_asr_interface_asr_load_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_load_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t asr_unload_grammar { - set { - freeswitchPINVOKE.switch_asr_interface_asr_unload_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_unload_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t asr_close { - set { - freeswitchPINVOKE.switch_asr_interface_asr_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t asr_feed { - set { - freeswitchPINVOKE.switch_asr_interface_asr_feed_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t asr_resume { - set { - freeswitchPINVOKE.switch_asr_interface_asr_resume_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_resume_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t asr_pause { - set { - freeswitchPINVOKE.switch_asr_interface_asr_pause_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_pause_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t asr_check_results { - set { - freeswitchPINVOKE.switch_asr_interface_asr_check_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_check_results_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t asr_get_results { - set { - freeswitchPINVOKE.switch_asr_interface_asr_get_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_results_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t asr_get_result_headers { - set { - freeswitchPINVOKE.switch_asr_interface_asr_get_result_headers_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_result_headers_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t asr_start_input_timers { - set { - freeswitchPINVOKE.switch_asr_interface_asr_start_input_timers_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_start_input_timers_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void asr_text_param { - set { - freeswitchPINVOKE.switch_asr_interface_asr_text_param_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_text_param_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void asr_numeric_param { - set { - freeswitchPINVOKE.switch_asr_interface_asr_numeric_param_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_numeric_param_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void asr_float_param { - set { - freeswitchPINVOKE.switch_asr_interface_asr_float_param_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_float_param_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_asr_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_asr_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_asr_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_asr_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_asr_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_asr_interface next { - set { - freeswitchPINVOKE.switch_asr_interface_next_set(swigCPtr, switch_asr_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_next_get(swigCPtr); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t asr_enable_grammar { - set { - freeswitchPINVOKE.switch_asr_interface_asr_enable_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_enable_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t asr_disable_grammar { - set { - freeswitchPINVOKE.switch_asr_interface_asr_disable_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_disable_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t asr_disable_all_grammars { - set { - freeswitchPINVOKE.switch_asr_interface_asr_disable_all_grammars_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_disable_all_grammars_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t asr_feed_dtmf { - set { - freeswitchPINVOKE.switch_asr_interface_asr_feed_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_asr_interface() : this(freeswitchPINVOKE.new_switch_asr_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_audio_col_t { - SWITCH_AUDIO_COL_STR_TITLE = 0x01, - SWITCH_AUDIO_COL_STR_COPYRIGHT = 0x02, - SWITCH_AUDIO_COL_STR_SOFTWARE = 0x03, - SWITCH_AUDIO_COL_STR_ARTIST = 0x04, - SWITCH_AUDIO_COL_STR_COMMENT = 0x05, - SWITCH_AUDIO_COL_STR_DATE = 0x06 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_audio_resampler_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_audio_resampler_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_audio_resampler_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_audio_resampler_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_audio_resampler_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_void resampler { - set { - freeswitchPINVOKE.switch_audio_resampler_t_resampler_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_audio_resampler_t_resampler_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public int from_rate { - set { - freeswitchPINVOKE.switch_audio_resampler_t_from_rate_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_audio_resampler_t_from_rate_get(swigCPtr); - return ret; - } - } - - public int to_rate { - set { - freeswitchPINVOKE.switch_audio_resampler_t_to_rate_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_audio_resampler_t_to_rate_get(swigCPtr); - return ret; - } - } - - public double factor { - set { - freeswitchPINVOKE.switch_audio_resampler_t_factor_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_audio_resampler_t_factor_get(swigCPtr); - return ret; - } - } - - public double rfactor { - set { - freeswitchPINVOKE.switch_audio_resampler_t_rfactor_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_audio_resampler_t_rfactor_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_short to { - set { - freeswitchPINVOKE.switch_audio_resampler_t_to_set(swigCPtr, SWIGTYPE_p_short.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_audio_resampler_t_to_get(swigCPtr); - SWIGTYPE_p_short ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_short(cPtr, false); - return ret; - } - } - - public uint to_len { - set { - freeswitchPINVOKE.switch_audio_resampler_t_to_len_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_audio_resampler_t_to_len_get(swigCPtr); - return ret; - } - } - - public uint to_size { - set { - freeswitchPINVOKE.switch_audio_resampler_t_to_size_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_audio_resampler_t_to_size_get(swigCPtr); - return ret; - } - } - - public int channels { - set { - freeswitchPINVOKE.switch_audio_resampler_t_channels_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_audio_resampler_t_channels_get(swigCPtr); - return ret; - } - } - - public switch_audio_resampler_t() : this(freeswitchPINVOKE.new_switch_audio_resampler_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_bind_flag_enum_t { - SBF_DIAL_ALEG = (1 << 0), - SBF_EXEC_ALEG = (1 << 1), - SBF_DIAL_BLEG = (1 << 2), - SBF_EXEC_BLEG = (1 << 3), - SBF_EXEC_OPPOSITE = (1 << 4), - SBF_EXEC_SAME = (1 << 5), - SBF_ONCE = (1 << 6), - SBF_EXEC_INLINE = (1 << 7) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_bitpack_mode_t { - SWITCH_BITPACK_MODE_RFC3551, - SWITCH_BITPACK_MODE_AAL2 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_bitpack_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_bitpack_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_bitpack_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_bitpack_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_bitpack_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_unsigned_char buf { - set { - freeswitchPINVOKE.switch_bitpack_t_buf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_bitpack_t_buf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public uint buflen { - set { - freeswitchPINVOKE.switch_bitpack_t_buflen_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_bitpack_t_buflen_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char cur { - set { - freeswitchPINVOKE.switch_bitpack_t_cur_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_bitpack_t_cur_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public uint bytes { - set { - freeswitchPINVOKE.switch_bitpack_t_bytes_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_bitpack_t_bytes_get(swigCPtr); - return ret; - } - } - - public uint bits_tot { - set { - freeswitchPINVOKE.switch_bitpack_t_bits_tot_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_bitpack_t_bits_tot_get(swigCPtr); - return ret; - } - } - - public byte bits_cur { - set { - freeswitchPINVOKE.switch_bitpack_t_bits_cur_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_bitpack_t_bits_cur_get(swigCPtr); - return ret; - } - } - - public byte bits_rem { - set { - freeswitchPINVOKE.switch_bitpack_t_bits_rem_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_bitpack_t_bits_rem_get(swigCPtr); - return ret; - } - } - - public byte frame_bits { - set { - freeswitchPINVOKE.switch_bitpack_t_frame_bits_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_bitpack_t_frame_bits_get(swigCPtr); - return ret; - } - } - - public byte shiftby { - set { - freeswitchPINVOKE.switch_bitpack_t_shiftby_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_bitpack_t_shiftby_get(swigCPtr); - return ret; - } - } - - public byte this_byte { - set { - freeswitchPINVOKE.switch_bitpack_t_this_byte_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_bitpack_t_this_byte_get(swigCPtr); - return ret; - } - } - - public byte under { - set { - freeswitchPINVOKE.switch_bitpack_t_under_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_bitpack_t_under_get(swigCPtr); - return ret; - } - } - - public byte over { - set { - freeswitchPINVOKE.switch_bitpack_t_over_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_bitpack_t_over_get(swigCPtr); - return ret; - } - } - - public switch_bitpack_mode_t mode { - set { - freeswitchPINVOKE.switch_bitpack_t_mode_set(swigCPtr, (int)value); - } - get { - switch_bitpack_mode_t ret = (switch_bitpack_mode_t)freeswitchPINVOKE.switch_bitpack_t_mode_get(swigCPtr); - return ret; - } - } - - public switch_bitpack_t() : this(freeswitchPINVOKE.new_switch_bitpack_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_bool_t { - SWITCH_FALSE = 0, - SWITCH_TRUE = 1 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_connection_options_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_cache_db_connection_options_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_cache_db_connection_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_cache_db_connection_options_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_cache_db_connection_options_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_cache_db_core_db_options_t core_db_options { - set { - freeswitchPINVOKE.switch_cache_db_connection_options_t_core_db_options_set(swigCPtr, switch_cache_db_core_db_options_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_core_db_options_get(swigCPtr); - switch_cache_db_core_db_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_core_db_options_t(cPtr, false); - return ret; - } - } - - public switch_cache_db_odbc_options_t odbc_options { - set { - freeswitchPINVOKE.switch_cache_db_connection_options_t_odbc_options_set(swigCPtr, switch_cache_db_odbc_options_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_odbc_options_get(swigCPtr); - switch_cache_db_odbc_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_odbc_options_t(cPtr, false); - return ret; - } - } - - public switch_cache_db_pgsql_options_t pgsql_options { - set { - freeswitchPINVOKE.switch_cache_db_connection_options_t_pgsql_options_set(swigCPtr, switch_cache_db_pgsql_options_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_pgsql_options_get(swigCPtr); - switch_cache_db_pgsql_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_pgsql_options_t(cPtr, false); - return ret; - } - } - - public switch_cache_db_connection_options_t() : this(freeswitchPINVOKE.new_switch_cache_db_connection_options_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_core_db_options_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_cache_db_core_db_options_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_cache_db_core_db_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_cache_db_core_db_options_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_cache_db_core_db_options_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string db_path { - set { - freeswitchPINVOKE.switch_cache_db_core_db_options_t_db_path_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_cache_db_core_db_options_t_db_path_get(swigCPtr); - return ret; - } - } - - public switch_cache_db_core_db_options_t() : this(freeswitchPINVOKE.new_switch_cache_db_core_db_options_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_cache_db_handle_type_t { - SCDB_TYPE_CORE_DB, - SCDB_TYPE_ODBC, - SCDB_TYPE_PGSQL -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_native_handle_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_cache_db_native_handle_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_cache_db_native_handle_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_cache_db_native_handle_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_cache_db_native_handle_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_sqlite3 core_db_dbh { - set { - freeswitchPINVOKE.switch_cache_db_native_handle_t_core_db_dbh_set(swigCPtr, SWIGTYPE_p_sqlite3.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_core_db_dbh_get(swigCPtr); - SWIGTYPE_p_sqlite3 ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_odbc_handle odbc_dbh { - set { - freeswitchPINVOKE.switch_cache_db_native_handle_t_odbc_dbh_set(swigCPtr, SWIGTYPE_p_switch_odbc_handle.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_odbc_dbh_get(swigCPtr); - SWIGTYPE_p_switch_odbc_handle ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_odbc_handle(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_pgsql_handle pgsql_dbh { - set { - freeswitchPINVOKE.switch_cache_db_native_handle_t_pgsql_dbh_set(swigCPtr, SWIGTYPE_p_switch_pgsql_handle.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_pgsql_dbh_get(swigCPtr); - SWIGTYPE_p_switch_pgsql_handle ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_pgsql_handle(cPtr, false); - return ret; - } - } - - public switch_cache_db_native_handle_t() : this(freeswitchPINVOKE.new_switch_cache_db_native_handle_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_odbc_options_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_cache_db_odbc_options_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_cache_db_odbc_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_cache_db_odbc_options_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_cache_db_odbc_options_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string dsn { - set { - freeswitchPINVOKE.switch_cache_db_odbc_options_t_dsn_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_cache_db_odbc_options_t_dsn_get(swigCPtr); - return ret; - } - } - - public string user { - set { - freeswitchPINVOKE.switch_cache_db_odbc_options_t_user_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_cache_db_odbc_options_t_user_get(swigCPtr); - return ret; - } - } - - public string pass { - set { - freeswitchPINVOKE.switch_cache_db_odbc_options_t_pass_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_cache_db_odbc_options_t_pass_get(swigCPtr); - return ret; - } - } - - public switch_cache_db_odbc_options_t() : this(freeswitchPINVOKE.new_switch_cache_db_odbc_options_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_pgsql_options_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_cache_db_pgsql_options_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_cache_db_pgsql_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_cache_db_pgsql_options_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_cache_db_pgsql_options_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string dsn { - set { - freeswitchPINVOKE.switch_cache_db_pgsql_options_t_dsn_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_cache_db_pgsql_options_t_dsn_get(swigCPtr); - return ret; - } - } - - public switch_cache_db_pgsql_options_t() : this(freeswitchPINVOKE.new_switch_cache_db_pgsql_options_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_caller_application : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_caller_application(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_caller_application obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_caller_application() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_caller_application(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string application_name { - set { - freeswitchPINVOKE.switch_caller_application_application_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_application_application_name_get(swigCPtr); - return ret; - } - } - - public string application_data { - set { - freeswitchPINVOKE.switch_caller_application_application_data_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_application_application_data_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void application_function { - set { - freeswitchPINVOKE.switch_caller_application_application_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_application_application_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(cPtr, false); - return ret; - } - } - - public switch_caller_application next { - set { - freeswitchPINVOKE.switch_caller_application_next_set(swigCPtr, switch_caller_application.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_application_next_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); - return ret; - } - } - - public switch_caller_application() : this(freeswitchPINVOKE.new_switch_caller_application(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_caller_extension : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_caller_extension(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_caller_extension obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_caller_extension() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_caller_extension(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string extension_name { - set { - freeswitchPINVOKE.switch_caller_extension_extension_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_extension_extension_name_get(swigCPtr); - return ret; - } - } - - public string extension_number { - set { - freeswitchPINVOKE.switch_caller_extension_extension_number_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_extension_extension_number_get(swigCPtr); - return ret; - } - } - - public switch_caller_application current_application { - set { - freeswitchPINVOKE.switch_caller_extension_current_application_set(swigCPtr, switch_caller_application.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_current_application_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); - return ret; - } - } - - public switch_caller_application last_application { - set { - freeswitchPINVOKE.switch_caller_extension_last_application_set(swigCPtr, switch_caller_application.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_last_application_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); - return ret; - } - } - - public switch_caller_application applications { - set { - freeswitchPINVOKE.switch_caller_extension_applications_set(swigCPtr, switch_caller_application.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_applications_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); - return ret; - } - } - - public switch_caller_profile children { - set { - freeswitchPINVOKE.switch_caller_extension_children_set(swigCPtr, switch_caller_profile.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_children_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - } - - public switch_caller_extension next { - set { - freeswitchPINVOKE.switch_caller_extension_next_set(swigCPtr, switch_caller_extension.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_next_get(swigCPtr); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); - return ret; - } - } - - public switch_caller_extension() : this(freeswitchPINVOKE.new_switch_caller_extension(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_caller_profile : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_caller_profile(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_caller_profile obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_caller_profile() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_caller_profile(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string username { - set { - freeswitchPINVOKE.switch_caller_profile_username_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_username_get(swigCPtr); - return ret; - } - } - - public string dialplan { - set { - freeswitchPINVOKE.switch_caller_profile_dialplan_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_dialplan_get(swigCPtr); - return ret; - } - } - - public string caller_id_name { - set { - freeswitchPINVOKE.switch_caller_profile_caller_id_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_caller_id_name_get(swigCPtr); - return ret; - } - } - - public string caller_id_number { - set { - freeswitchPINVOKE.switch_caller_profile_caller_id_number_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_caller_id_number_get(swigCPtr); - return ret; - } - } - - public string orig_caller_id_name { - set { - freeswitchPINVOKE.switch_caller_profile_orig_caller_id_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_orig_caller_id_name_get(swigCPtr); - return ret; - } - } - - public string orig_caller_id_number { - set { - freeswitchPINVOKE.switch_caller_profile_orig_caller_id_number_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_orig_caller_id_number_get(swigCPtr); - return ret; - } - } - - public string callee_id_name { - set { - freeswitchPINVOKE.switch_caller_profile_callee_id_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_callee_id_name_get(swigCPtr); - return ret; - } - } - - public string callee_id_number { - set { - freeswitchPINVOKE.switch_caller_profile_callee_id_number_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_callee_id_number_get(swigCPtr); - return ret; - } - } - - public byte caller_ton { - set { - freeswitchPINVOKE.switch_caller_profile_caller_ton_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_caller_ton_get(swigCPtr); - return ret; - } - } - - public byte caller_numplan { - set { - freeswitchPINVOKE.switch_caller_profile_caller_numplan_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_caller_numplan_get(swigCPtr); - return ret; - } - } - - public string network_addr { - set { - freeswitchPINVOKE.switch_caller_profile_network_addr_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_network_addr_get(swigCPtr); - return ret; - } - } - - public string ani { - set { - freeswitchPINVOKE.switch_caller_profile_ani_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_ani_get(swigCPtr); - return ret; - } - } - - public byte ani_ton { - set { - freeswitchPINVOKE.switch_caller_profile_ani_ton_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_ani_ton_get(swigCPtr); - return ret; - } - } - - public byte ani_numplan { - set { - freeswitchPINVOKE.switch_caller_profile_ani_numplan_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_ani_numplan_get(swigCPtr); - return ret; - } - } - - public string aniii { - set { - freeswitchPINVOKE.switch_caller_profile_aniii_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_aniii_get(swigCPtr); - return ret; - } - } - - public string rdnis { - set { - freeswitchPINVOKE.switch_caller_profile_rdnis_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_rdnis_get(swigCPtr); - return ret; - } - } - - public byte rdnis_ton { - set { - freeswitchPINVOKE.switch_caller_profile_rdnis_ton_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_rdnis_ton_get(swigCPtr); - return ret; - } - } - - public byte rdnis_numplan { - set { - freeswitchPINVOKE.switch_caller_profile_rdnis_numplan_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_rdnis_numplan_get(swigCPtr); - return ret; - } - } - - public string destination_number { - set { - freeswitchPINVOKE.switch_caller_profile_destination_number_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_destination_number_get(swigCPtr); - return ret; - } - } - - public byte destination_number_ton { - set { - freeswitchPINVOKE.switch_caller_profile_destination_number_ton_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_destination_number_ton_get(swigCPtr); - return ret; - } - } - - public byte destination_number_numplan { - set { - freeswitchPINVOKE.switch_caller_profile_destination_number_numplan_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_caller_profile_destination_number_numplan_get(swigCPtr); - return ret; - } - } - - public string source { - set { - freeswitchPINVOKE.switch_caller_profile_source_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_source_get(swigCPtr); - return ret; - } - } - - public string chan_name { - set { - freeswitchPINVOKE.switch_caller_profile_chan_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_chan_name_get(swigCPtr); - return ret; - } - } - - public string uuid { - set { - freeswitchPINVOKE.switch_caller_profile_uuid_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_uuid_get(swigCPtr); - return ret; - } - } - - public string context { - set { - freeswitchPINVOKE.switch_caller_profile_context_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_context_get(swigCPtr); - return ret; - } - } - - public string profile_index { - set { - freeswitchPINVOKE.switch_caller_profile_profile_index_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_profile_index_get(swigCPtr); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_caller_profile_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_caller_profile_flags_get(swigCPtr); - return ret; - } - } - - public switch_caller_profile originator_caller_profile { - set { - freeswitchPINVOKE.switch_caller_profile_originator_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_originator_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - } - - public switch_caller_profile originatee_caller_profile { - set { - freeswitchPINVOKE.switch_caller_profile_originatee_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_originatee_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - } - - public switch_caller_profile origination_caller_profile { - set { - freeswitchPINVOKE.switch_caller_profile_origination_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_origination_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - } - - public switch_caller_profile hunt_caller_profile { - set { - freeswitchPINVOKE.switch_caller_profile_hunt_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_hunt_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - } - - public switch_channel_timetable times { - set { - freeswitchPINVOKE.switch_caller_profile_times_set(swigCPtr, switch_channel_timetable.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_times_get(swigCPtr); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); - return ret; - } - } - - public switch_channel_timetable old_times { - set { - freeswitchPINVOKE.switch_caller_profile_old_times_set(swigCPtr, switch_channel_timetable.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_old_times_get(swigCPtr); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); - return ret; - } - } - - public switch_caller_extension caller_extension { - set { - freeswitchPINVOKE.switch_caller_profile_caller_extension_set(swigCPtr, switch_caller_extension.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_caller_extension_get(swigCPtr); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t pool { - set { - freeswitchPINVOKE.switch_caller_profile_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public switch_caller_profile next { - set { - freeswitchPINVOKE.switch_caller_profile_next_set(swigCPtr, switch_caller_profile.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_next_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - } - - public switch_call_direction_t direction { - set { - freeswitchPINVOKE.switch_caller_profile_direction_set(swigCPtr, (int)value); - } - get { - switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_caller_profile_direction_get(swigCPtr); - return ret; - } - } - - public switch_call_direction_t logical_direction { - set { - freeswitchPINVOKE.switch_caller_profile_logical_direction_set(swigCPtr, (int)value); - } - get { - switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_caller_profile_logical_direction_get(swigCPtr); - return ret; - } - } - - public profile_node_t soft { - set { - freeswitchPINVOKE.switch_caller_profile_soft_set(swigCPtr, profile_node_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_soft_get(swigCPtr); - profile_node_t ret = (cPtr == IntPtr.Zero) ? null : new profile_node_t(cPtr, false); - return ret; - } - } - - public string uuid_str { - set { - freeswitchPINVOKE.switch_caller_profile_uuid_str_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_uuid_str_get(swigCPtr); - return ret; - } - } - - public string clone_of { - set { - freeswitchPINVOKE.switch_caller_profile_clone_of_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_clone_of_get(swigCPtr); - return ret; - } - } - - public string transfer_source { - set { - freeswitchPINVOKE.switch_caller_profile_transfer_source_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_caller_profile_transfer_source_get(swigCPtr); - return ret; - } - } - - public switch_caller_profile() : this(freeswitchPINVOKE.new_switch_caller_profile(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_caller_profile_flag_enum_t { - SWITCH_CPF_NONE = 0, - SWITCH_CPF_SCREEN = (1 << 0), - SWITCH_CPF_HIDE_NAME = (1 << 1), - SWITCH_CPF_HIDE_NUMBER = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_call_cause_t { - SWITCH_CAUSE_NONE = 0, - SWITCH_CAUSE_UNALLOCATED_NUMBER = 1, - SWITCH_CAUSE_NO_ROUTE_TRANSIT_NET = 2, - SWITCH_CAUSE_NO_ROUTE_DESTINATION = 3, - SWITCH_CAUSE_CHANNEL_UNACCEPTABLE = 6, - SWITCH_CAUSE_CALL_AWARDED_DELIVERED = 7, - SWITCH_CAUSE_NORMAL_CLEARING = 16, - SWITCH_CAUSE_USER_BUSY = 17, - SWITCH_CAUSE_NO_USER_RESPONSE = 18, - SWITCH_CAUSE_NO_ANSWER = 19, - SWITCH_CAUSE_SUBSCRIBER_ABSENT = 20, - SWITCH_CAUSE_CALL_REJECTED = 21, - SWITCH_CAUSE_NUMBER_CHANGED = 22, - SWITCH_CAUSE_REDIRECTION_TO_NEW_DESTINATION = 23, - SWITCH_CAUSE_EXCHANGE_ROUTING_ERROR = 25, - SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER = 27, - SWITCH_CAUSE_INVALID_NUMBER_FORMAT = 28, - SWITCH_CAUSE_FACILITY_REJECTED = 29, - SWITCH_CAUSE_RESPONSE_TO_STATUS_ENQUIRY = 30, - SWITCH_CAUSE_NORMAL_UNSPECIFIED = 31, - SWITCH_CAUSE_NORMAL_CIRCUIT_CONGESTION = 34, - SWITCH_CAUSE_NETWORK_OUT_OF_ORDER = 38, - SWITCH_CAUSE_NORMAL_TEMPORARY_FAILURE = 41, - SWITCH_CAUSE_SWITCH_CONGESTION = 42, - SWITCH_CAUSE_ACCESS_INFO_DISCARDED = 43, - SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL = 44, - SWITCH_CAUSE_PRE_EMPTED = 45, - SWITCH_CAUSE_FACILITY_NOT_SUBSCRIBED = 50, - SWITCH_CAUSE_OUTGOING_CALL_BARRED = 52, - SWITCH_CAUSE_INCOMING_CALL_BARRED = 54, - SWITCH_CAUSE_BEARERCAPABILITY_NOTAUTH = 57, - SWITCH_CAUSE_BEARERCAPABILITY_NOTAVAIL = 58, - SWITCH_CAUSE_SERVICE_UNAVAILABLE = 63, - SWITCH_CAUSE_BEARERCAPABILITY_NOTIMPL = 65, - SWITCH_CAUSE_CHAN_NOT_IMPLEMENTED = 66, - SWITCH_CAUSE_FACILITY_NOT_IMPLEMENTED = 69, - SWITCH_CAUSE_SERVICE_NOT_IMPLEMENTED = 79, - SWITCH_CAUSE_INVALID_CALL_REFERENCE = 81, - SWITCH_CAUSE_INCOMPATIBLE_DESTINATION = 88, - SWITCH_CAUSE_INVALID_MSG_UNSPECIFIED = 95, - SWITCH_CAUSE_MANDATORY_IE_MISSING = 96, - SWITCH_CAUSE_MESSAGE_TYPE_NONEXIST = 97, - SWITCH_CAUSE_WRONG_MESSAGE = 98, - SWITCH_CAUSE_IE_NONEXIST = 99, - SWITCH_CAUSE_INVALID_IE_CONTENTS = 100, - SWITCH_CAUSE_WRONG_CALL_STATE = 101, - SWITCH_CAUSE_RECOVERY_ON_TIMER_EXPIRE = 102, - SWITCH_CAUSE_MANDATORY_IE_LENGTH_ERROR = 103, - SWITCH_CAUSE_PROTOCOL_ERROR = 111, - SWITCH_CAUSE_INTERWORKING = 127, - SWITCH_CAUSE_SUCCESS = 142, - SWITCH_CAUSE_ORIGINATOR_CANCEL = 487, - SWITCH_CAUSE_CRASH = 500, - SWITCH_CAUSE_SYSTEM_SHUTDOWN = 501, - SWITCH_CAUSE_LOSE_RACE = 502, - SWITCH_CAUSE_MANAGER_REQUEST = 503, - SWITCH_CAUSE_BLIND_TRANSFER = 600, - SWITCH_CAUSE_ATTENDED_TRANSFER = 601, - SWITCH_CAUSE_ALLOTTED_TIMEOUT = 602, - SWITCH_CAUSE_USER_CHALLENGE = 603, - SWITCH_CAUSE_MEDIA_TIMEOUT = 604, - SWITCH_CAUSE_PICKED_OFF = 605, - SWITCH_CAUSE_USER_NOT_REGISTERED = 606, - SWITCH_CAUSE_PROGRESS_TIMEOUT = 607, - SWITCH_CAUSE_INVALID_GATEWAY = 608, - SWITCH_CAUSE_GATEWAY_DOWN = 609, - SWITCH_CAUSE_INVALID_URL = 610, - SWITCH_CAUSE_INVALID_PROFILE = 611, - SWITCH_CAUSE_NO_PICKUP = 612, - SWITCH_CAUSE_SRTP_READ_ERROR = 613 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_call_direction_t { - SWITCH_CALL_DIRECTION_INBOUND, - SWITCH_CALL_DIRECTION_OUTBOUND -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_channel_app_flag_t { - CF_APP_TAGGED = (1 << 0), - CF_APP_T38 = (1 << 1), - CF_APP_T38_REQ = (1 << 2), - CF_APP_T38_FAIL = (1 << 3), - CF_APP_T38_NEGOTIATED = (1 << 4) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_channel_callstate_t { - CCS_DOWN, - CCS_DIALING, - CCS_RINGING, - CCS_EARLY, - CCS_ACTIVE, - CCS_HELD, - CCS_RING_WAIT, - CCS_HANGUP, - CCS_UNHELD -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_channel_cap_t { - CC_MEDIA_ACK = 1, - CC_BYPASS_MEDIA, - CC_PROXY_MEDIA, - CC_JITTERBUFFER, - CC_FS_RTP, - CC_QUEUEABLE_DTMF_DELAY, - CC_FLAG_MAX -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_channel_flag_t { - CF_ANSWERED = 1, - CF_OUTBOUND, - CF_EARLY_MEDIA, - CF_BRIDGE_ORIGINATOR, - CF_UUID_BRIDGE_ORIGINATOR, - CF_TRANSFER, - CF_ACCEPT_CNG, - CF_REDIRECT, - CF_BRIDGED, - CF_HOLD, - CF_SERVICE, - CF_TAGGED, - CF_WINNER, - CF_CONTROLLED, - CF_PROXY_MODE, - CF_PROXY_OFF, - CF_SUSPEND, - CF_EVENT_PARSE, - CF_GEN_RINGBACK, - CF_RING_READY, - CF_BREAK, - CF_BROADCAST, - CF_UNICAST, - CF_VIDEO, - CF_EVENT_LOCK, - CF_EVENT_LOCK_PRI, - CF_RESET, - CF_ORIGINATING, - CF_STOP_BROADCAST, - CF_PROXY_MEDIA, - CF_INNER_BRIDGE, - CF_REQ_MEDIA, - CF_VERBOSE_EVENTS, - CF_PAUSE_BUGS, - CF_DIVERT_EVENTS, - CF_BLOCK_STATE, - CF_FS_RTP, - CF_REPORTING, - CF_PARK, - CF_TIMESTAMP_SET, - CF_ORIGINATOR, - CF_XFER_ZOMBIE, - CF_MEDIA_ACK, - CF_THREAD_SLEEPING, - CF_DISABLE_RINGBACK, - CF_NOT_READY, - CF_SIGNAL_BRIDGE_TTL, - CF_MEDIA_BRIDGE_TTL, - CF_BYPASS_MEDIA_AFTER_BRIDGE, - CF_LEG_HOLDING, - CF_BROADCAST_DROP_MEDIA, - CF_EARLY_HANGUP, - CF_MEDIA_SET, - CF_CONSUME_ON_ORIGINATE, - CF_PASSTHRU_PTIME_MISMATCH, - CF_BRIDGE_NOWRITE, - CF_RECOVERED, - CF_JITTERBUFFER, - CF_JITTERBUFFER_PLC, - CF_DIALPLAN, - CF_BLEG, - CF_BLOCK_BROADCAST_UNTIL_MEDIA, - CF_CNG_PLC, - CF_ATTENDED_TRANSFER, - CF_LAZY_ATTENDED_TRANSFER, - CF_SIGNAL_DATA, - CF_SIMPLIFY, - CF_ZOMBIE_EXEC, - CF_INTERCEPT, - CF_INTERCEPTED, - CF_VIDEO_REFRESH_REQ, - CF_SERVICE_AUDIO, - CF_SERVICE_VIDEO, - CF_ZRTP_PASSTHRU_REQ, - CF_ZRTP_PASSTHRU, - CF_ZRTP_HASH, - CF_CHANNEL_SWAP, - CF_DEVICE_LEG, - CF_FINAL_DEVICE_LEG, - CF_PICKUP, - CF_CONFIRM_BLIND_TRANSFER, - CF_NO_PRESENCE, - CF_CONFERENCE, - CF_CONFERENCE_ADV, - CF_RECOVERING, - CF_RECOVERING_BRIDGE, - CF_TRACKED, - CF_TRACKABLE, - CF_NO_CDR, - CF_EARLY_OK, - CF_MEDIA_TRANS, - CF_HOLD_ON_BRIDGE, - CF_SECURE, - CF_LIBERAL_DTMF, - CF_SLA_BARGE, - CF_SLA_BARGING, - CF_PROTO_HOLD, - CF_HOLD_LOCK, - CF_VIDEO_POSSIBLE, - CF_NOTIMER_DURING_BRIDGE, - CF_PASS_RFC2833, - CF_T38_PASSTHRU, - CF_DROP_DTMF, - CF_REINVITE, - CF_AUTOFLUSH_DURING_BRIDGE, - CF_RTP_NOTIMER_DURING_BRIDGE, - CF_WEBRTC, - CF_WEBRTC_MOZ, - CF_ICE, - CF_DTLS, - CF_VERBOSE_SDP, - CF_DTLS_OK, - CF_3PCC, - CF_VIDEO_PASSIVE, - CF_NOVIDEO, - CF_VIDEO_ECHO, - CF_SLA_INTERCEPT, - CF_VIDEO_BREAK, - CF_AUDIO_PAUSE, - CF_VIDEO_PAUSE, - CF_BYPASS_MEDIA_AFTER_HOLD, - CF_HANGUP_HELD, - CF_CONFERENCE_RESET_MEDIA, - CF_FLAG_MAX -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_channel_state_t { - CS_NEW, - CS_INIT, - CS_ROUTING, - CS_SOFT_EXECUTE, - CS_EXECUTE, - CS_EXCHANGE_MEDIA, - CS_PARK, - CS_CONSUME_MEDIA, - CS_HIBERNATE, - CS_RESET, - CS_HANGUP, - CS_REPORTING, - CS_DESTROY, - CS_NONE -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_channel_timetable : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_channel_timetable(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_channel_timetable obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_channel_timetable() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_channel_timetable(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_time_t profile_created { - set { - freeswitchPINVOKE.switch_channel_timetable_profile_created_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_profile_created_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t created { - set { - freeswitchPINVOKE.switch_channel_timetable_created_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_created_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t answered { - set { - freeswitchPINVOKE.switch_channel_timetable_answered_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_answered_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t progress { - set { - freeswitchPINVOKE.switch_channel_timetable_progress_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_progress_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t progress_media { - set { - freeswitchPINVOKE.switch_channel_timetable_progress_media_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_progress_media_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t hungup { - set { - freeswitchPINVOKE.switch_channel_timetable_hungup_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_hungup_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t transferred { - set { - freeswitchPINVOKE.switch_channel_timetable_transferred_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_transferred_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t resurrected { - set { - freeswitchPINVOKE.switch_channel_timetable_resurrected_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_resurrected_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t bridged { - set { - freeswitchPINVOKE.switch_channel_timetable_bridged_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_bridged_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t last_hold { - set { - freeswitchPINVOKE.switch_channel_timetable_last_hold_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_last_hold_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t hold_accum { - set { - freeswitchPINVOKE.switch_channel_timetable_hold_accum_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_channel_timetable_hold_accum_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_channel_timetable next { - set { - freeswitchPINVOKE.switch_channel_timetable_next_set(swigCPtr, switch_channel_timetable.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_timetable_next_get(swigCPtr); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); - return ret; - } - } - - public switch_channel_timetable() : this(freeswitchPINVOKE.new_switch_channel_timetable(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_chat_application_flag_enum_t { - SCAF_NONE = 0 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_chat_application_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_chat_application_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_chat_application_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_chat_application_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_chat_application_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_chat_application_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_chat_application_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t chat_application_function { - set { - freeswitchPINVOKE.switch_chat_application_interface_chat_application_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_chat_application_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public string long_desc { - set { - freeswitchPINVOKE.switch_chat_application_interface_long_desc_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_chat_application_interface_long_desc_get(swigCPtr); - return ret; - } - } - - public string short_desc { - set { - freeswitchPINVOKE.switch_chat_application_interface_short_desc_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_chat_application_interface_short_desc_get(swigCPtr); - return ret; - } - } - - public string syntax { - set { - freeswitchPINVOKE.switch_chat_application_interface_syntax_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_chat_application_interface_syntax_get(swigCPtr); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_chat_application_interface_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_chat_application_interface_flags_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_chat_application_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_chat_application_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_chat_application_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_chat_application_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_chat_application_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_chat_application_interface next { - set { - freeswitchPINVOKE.switch_chat_application_interface_next_set(swigCPtr, switch_chat_application_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_next_get(swigCPtr); - switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); - return ret; - } - } - - public switch_chat_application_interface() : this(freeswitchPINVOKE.new_switch_chat_application_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_chat_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_chat_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_chat_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_chat_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_chat_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_chat_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_chat_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_event__switch_status_t chat_send { - set { - freeswitchPINVOKE.switch_chat_interface_chat_send_set(swigCPtr, SWIGTYPE_p_f_p_switch_event__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_chat_send_get(swigCPtr); - SWIGTYPE_p_f_p_switch_event__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_chat_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_chat_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_chat_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_chat_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_chat_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_chat_interface next { - set { - freeswitchPINVOKE.switch_chat_interface_next_set(swigCPtr, switch_chat_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_next_get(swigCPtr); - switch_chat_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); - return ret; - } - } - - public switch_chat_interface() : this(freeswitchPINVOKE.new_switch_chat_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_codec : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_codec(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_codec obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_codec() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_codec(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_codec_interface codec_interface { - set { - freeswitchPINVOKE.switch_codec_codec_interface_set(swigCPtr, switch_codec_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_codec_interface_get(swigCPtr); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); - return ret; - } - } - - public switch_codec_implementation implementation { - set { - freeswitchPINVOKE.switch_codec_implementation_set(swigCPtr, switch_codec_implementation.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_get(swigCPtr); - switch_codec_implementation ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); - return ret; - } - } - - public string fmtp_in { - set { - freeswitchPINVOKE.switch_codec_fmtp_in_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_codec_fmtp_in_get(swigCPtr); - return ret; - } - } - - public string fmtp_out { - set { - freeswitchPINVOKE.switch_codec_fmtp_out_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_codec_fmtp_out_get(swigCPtr); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_codec_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_flags_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t memory_pool { - set { - freeswitchPINVOKE.switch_codec_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_codec_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public byte agreed_pt { - set { - freeswitchPINVOKE.switch_codec_agreed_pt_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_codec_agreed_pt_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t mutex { - set { - freeswitchPINVOKE.switch_codec_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_codec next { - set { - freeswitchPINVOKE.switch_codec_next_set(swigCPtr, switch_codec.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_next_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_core_session session { - set { - freeswitchPINVOKE.switch_codec_session_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_session_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - } - - public switch_frame cur_frame { - set { - freeswitchPINVOKE.switch_codec_cur_frame_set(swigCPtr, switch_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_cur_frame_get(swigCPtr); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); - return ret; - } - } - - public switch_codec() : this(freeswitchPINVOKE.new_switch_codec(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_codec_flag_enum_t { - SWITCH_CODEC_FLAG_ENCODE = (1 << 0), - SWITCH_CODEC_FLAG_DECODE = (1 << 1), - SWITCH_CODEC_FLAG_SILENCE_START = (1 << 2), - SWITCH_CODEC_FLAG_SILENCE_STOP = (1 << 3), - SWITCH_CODEC_FLAG_SILENCE = (1 << 4), - SWITCH_CODEC_FLAG_FREE_POOL = (1 << 5), - SWITCH_CODEC_FLAG_AAL2 = (1 << 6), - SWITCH_CODEC_FLAG_PASSTHROUGH = (1 << 7), - SWITCH_CODEC_FLAG_READY = (1 << 8) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_codec_fmtp : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_codec_fmtp(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_codec_fmtp obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_codec_fmtp() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_codec_fmtp(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint actual_samples_per_second { - set { - freeswitchPINVOKE.switch_codec_fmtp_actual_samples_per_second_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_fmtp_actual_samples_per_second_get(swigCPtr); - return ret; - } - } - - public int bits_per_second { - set { - freeswitchPINVOKE.switch_codec_fmtp_bits_per_second_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_fmtp_bits_per_second_get(swigCPtr); - return ret; - } - } - - public int microseconds_per_packet { - set { - freeswitchPINVOKE.switch_codec_fmtp_microseconds_per_packet_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_fmtp_microseconds_per_packet_get(swigCPtr); - return ret; - } - } - - public int stereo { - set { - freeswitchPINVOKE.switch_codec_fmtp_stereo_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_fmtp_stereo_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_codec_fmtp_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_fmtp_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public switch_codec_fmtp() : this(freeswitchPINVOKE.new_switch_codec_fmtp(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_codec_implementation : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_codec_implementation(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_codec_implementation obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_codec_implementation() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_codec_implementation(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_codec_type_t codec_type { - set { - freeswitchPINVOKE.switch_codec_implementation_codec_type_set(swigCPtr, (int)value); - } - get { - switch_codec_type_t ret = (switch_codec_type_t)freeswitchPINVOKE.switch_codec_implementation_codec_type_get(swigCPtr); - return ret; - } - } - - public byte ianacode { - set { - freeswitchPINVOKE.switch_codec_implementation_ianacode_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_codec_implementation_ianacode_get(swigCPtr); - return ret; - } - } - - public string iananame { - set { - freeswitchPINVOKE.switch_codec_implementation_iananame_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_codec_implementation_iananame_get(swigCPtr); - return ret; - } - } - - public string fmtp { - set { - freeswitchPINVOKE.switch_codec_implementation_fmtp_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_codec_implementation_fmtp_get(swigCPtr); - return ret; - } - } - - public uint samples_per_second { - set { - freeswitchPINVOKE.switch_codec_implementation_samples_per_second_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_implementation_samples_per_second_get(swigCPtr); - return ret; - } - } - - public uint actual_samples_per_second { - set { - freeswitchPINVOKE.switch_codec_implementation_actual_samples_per_second_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_implementation_actual_samples_per_second_get(swigCPtr); - return ret; - } - } - - public int bits_per_second { - set { - freeswitchPINVOKE.switch_codec_implementation_bits_per_second_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_implementation_bits_per_second_get(swigCPtr); - return ret; - } - } - - public int microseconds_per_packet { - set { - freeswitchPINVOKE.switch_codec_implementation_microseconds_per_packet_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_implementation_microseconds_per_packet_get(swigCPtr); - return ret; - } - } - - public uint samples_per_packet { - set { - freeswitchPINVOKE.switch_codec_implementation_samples_per_packet_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_implementation_samples_per_packet_get(swigCPtr); - return ret; - } - } - - public uint decoded_bytes_per_packet { - set { - freeswitchPINVOKE.switch_codec_implementation_decoded_bytes_per_packet_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_implementation_decoded_bytes_per_packet_get(swigCPtr); - return ret; - } - } - - public uint encoded_bytes_per_packet { - set { - freeswitchPINVOKE.switch_codec_implementation_encoded_bytes_per_packet_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_implementation_encoded_bytes_per_packet_get(swigCPtr); - return ret; - } - } - - public byte number_of_channels { - set { - freeswitchPINVOKE.switch_codec_implementation_number_of_channels_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_codec_implementation_number_of_channels_get(swigCPtr); - return ret; - } - } - - public int codec_frames_per_packet { - set { - freeswitchPINVOKE.switch_codec_implementation_codec_frames_per_packet_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_implementation_codec_frames_per_packet_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t init { - set { - freeswitchPINVOKE.switch_codec_implementation_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_init_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t encode { - set { - freeswitchPINVOKE.switch_codec_implementation_encode_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_encode_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t decode { - set { - freeswitchPINVOKE.switch_codec_implementation_decode_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_decode_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_codec__switch_status_t destroy { - set { - freeswitchPINVOKE.switch_codec_implementation_destroy_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_destroy_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec__switch_status_t(cPtr, false); - return ret; - } - } - - public uint codec_id { - set { - freeswitchPINVOKE.switch_codec_implementation_codec_id_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_implementation_codec_id_get(swigCPtr); - return ret; - } - } - - public uint impl_id { - set { - freeswitchPINVOKE.switch_codec_implementation_impl_id_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_implementation_impl_id_get(swigCPtr); - return ret; - } - } - - public switch_codec_implementation next { - set { - freeswitchPINVOKE.switch_codec_implementation_next_set(swigCPtr, switch_codec_implementation.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_next_get(swigCPtr); - switch_codec_implementation ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); - return ret; - } - } - - public switch_codec_implementation() : this(freeswitchPINVOKE.new_switch_codec_implementation(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_codec_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_codec_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_codec_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_codec_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_codec_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_codec_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_codec_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public switch_codec_implementation implementations { - set { - freeswitchPINVOKE.switch_codec_interface_implementations_set(swigCPtr, switch_codec_implementation.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_implementations_get(swigCPtr); - switch_codec_implementation ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t parse_fmtp { - set { - freeswitchPINVOKE.switch_codec_interface_parse_fmtp_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parse_fmtp_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(cPtr, false); - return ret; - } - } - - public uint codec_id { - set { - freeswitchPINVOKE.switch_codec_interface_codec_id_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_codec_interface_codec_id_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_codec_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_codec_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_codec_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_codec_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_codec_interface next { - set { - freeswitchPINVOKE.switch_codec_interface_next_set(swigCPtr, switch_codec_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_next_get(swigCPtr); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); - return ret; - } - } - - public switch_codec_interface() : this(freeswitchPINVOKE.new_switch_codec_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_codec_settings : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_codec_settings(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_codec_settings obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_codec_settings() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_codec_settings(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public int unused { - set { - freeswitchPINVOKE.switch_codec_settings_unused_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_codec_settings_unused_get(swigCPtr); - return ret; - } - } - - public switch_codec_settings() : this(freeswitchPINVOKE.new_switch_codec_settings(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_codec_type_t { - SWITCH_CODEC_TYPE_AUDIO, - SWITCH_CODEC_TYPE_VIDEO, - SWITCH_CODEC_TYPE_T38, - SWITCH_CODEC_TYPE_APP -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_config : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_config(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_config obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_config() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_config(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_FILE file { - set { - freeswitchPINVOKE.switch_config_file_set(swigCPtr, SWIGTYPE_p_FILE.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_config_file_get(swigCPtr); - SWIGTYPE_p_FILE ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); - return ret; - } - } - - public string path { - set { - freeswitchPINVOKE.switch_config_path_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_config_path_get(swigCPtr); - return ret; - } - } - - public string category { - set { - freeswitchPINVOKE.switch_config_category_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_config_category_get(swigCPtr); - return ret; - } - } - - public string section { - set { - freeswitchPINVOKE.switch_config_section_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_config_section_get(swigCPtr); - return ret; - } - } - - public string buf { - set { - freeswitchPINVOKE.switch_config_buf_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_config_buf_get(swigCPtr); - return ret; - } - } - - public int lineno { - set { - freeswitchPINVOKE.switch_config_lineno_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_config_lineno_get(swigCPtr); - return ret; - } - } - - public int catno { - set { - freeswitchPINVOKE.switch_config_catno_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_config_catno_get(swigCPtr); - return ret; - } - } - - public int sectno { - set { - freeswitchPINVOKE.switch_config_sectno_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_config_sectno_get(swigCPtr); - return ret; - } - } - - public int lockto { - set { - freeswitchPINVOKE.switch_config_lockto_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_config_lockto_get(swigCPtr); - return ret; - } - } - - public switch_config() : this(freeswitchPINVOKE.new_switch_config(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_console_callback_match : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_console_callback_match(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_console_callback_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_console_callback_match() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_console_callback_match(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_console_callback_match_node head { - set { - freeswitchPINVOKE.switch_console_callback_match_head_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_head_get(swigCPtr); - switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); - return ret; - } - } - - public switch_console_callback_match_node end { - set { - freeswitchPINVOKE.switch_console_callback_match_end_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_end_get(swigCPtr); - switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); - return ret; - } - } - - public int count { - set { - freeswitchPINVOKE.switch_console_callback_match_count_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_console_callback_match_count_get(swigCPtr); - return ret; - } - } - - public int dynamic { - set { - freeswitchPINVOKE.switch_console_callback_match_dynamic_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_console_callback_match_dynamic_get(swigCPtr); - return ret; - } - } - - public switch_console_callback_match() : this(freeswitchPINVOKE.new_switch_console_callback_match(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_console_callback_match_node : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_console_callback_match_node(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_console_callback_match_node obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_console_callback_match_node() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_console_callback_match_node(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string val { - set { - freeswitchPINVOKE.switch_console_callback_match_node_val_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_console_callback_match_node_val_get(swigCPtr); - return ret; - } - } - - public switch_console_callback_match_node next { - set { - freeswitchPINVOKE.switch_console_callback_match_node_next_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_node_next_get(swigCPtr); - switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); - return ret; - } - } - - public switch_console_callback_match_node() : this(freeswitchPINVOKE.new_switch_console_callback_match_node(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_core_flag_enum_t { - SCF_NONE = 0, - SCF_USE_SQL = (1 << 0), - SCF_NO_NEW_OUTBOUND_SESSIONS = (1 << 1), - SCF_NO_NEW_INBOUND_SESSIONS = (1 << 2), - SCF_NO_NEW_SESSIONS = (SCF_NO_NEW_OUTBOUND_SESSIONS|SCF_NO_NEW_INBOUND_SESSIONS), - SCF_SHUTTING_DOWN = (1 << 3), - SCF_VG = (1 << 4), - SCF_RESTART = (1 << 5), - SCF_SHUTDOWN_REQUESTED = (1 << 6), - SCF_USE_AUTO_NAT = (1 << 7), - SCF_EARLY_HANGUP = (1 << 8), - SCF_CALIBRATE_CLOCK = (1 << 9), - SCF_USE_HEAVY_TIMING = (1 << 10), - SCF_USE_CLOCK_RT = (1 << 11), - SCF_VERBOSE_EVENTS = (1 << 12), - SCF_USE_WIN32_MONOTONIC = (1 << 13), - SCF_AUTO_SCHEMAS = (1 << 14), - SCF_MINIMAL = (1 << 15), - SCF_USE_NAT_MAPPING = (1 << 16), - SCF_CLEAR_SQL = (1 << 17), - SCF_THREADED_SYSTEM_EXEC = (1 << 18), - SCF_SYNC_CLOCK_REQUESTED = (1 << 19), - SCF_CORE_NON_SQLITE_DB_REQ = (1 << 20), - SCF_DEBUG_SQL = (1 << 21), - SCF_API_EXPANSION = (1 << 22), - SCF_SESSION_THREAD_POOL = (1 << 23), - SCF_DIALPLAN_TIMESTAMPS = (1 << 24) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_core_media_ice_type_t { - ICE_GOOGLE_JINGLE = (1 << 0), - ICE_VANILLA = (1 << 1), - ICE_CONTROLLED = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_core_session_message : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_core_session_message(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_core_session_message obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_core_session_message() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_core_session_message(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string from { - set { - freeswitchPINVOKE.switch_core_session_message_from_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_core_session_message_from_get(swigCPtr); - return ret; - } - } - - public switch_core_session_message_types_t message_id { - set { - freeswitchPINVOKE.switch_core_session_message_message_id_set(swigCPtr, (int)value); - } - get { - switch_core_session_message_types_t ret = (switch_core_session_message_types_t)freeswitchPINVOKE.switch_core_session_message_message_id_get(swigCPtr); - return ret; - } - } - - public int numeric_arg { - set { - freeswitchPINVOKE.switch_core_session_message_numeric_arg_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_core_session_message_numeric_arg_get(swigCPtr); - return ret; - } - } - - public string string_arg { - set { - freeswitchPINVOKE.switch_core_session_message_string_arg_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_core_session_message_string_arg_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t string_arg_size { - set { - freeswitchPINVOKE.switch_core_session_message_string_arg_size_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_message_string_arg_size_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_void pointer_arg { - set { - freeswitchPINVOKE.switch_core_session_message_pointer_arg_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_pointer_arg_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t pointer_arg_size { - set { - freeswitchPINVOKE.switch_core_session_message_pointer_arg_size_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_message_pointer_arg_size_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public int numeric_reply { - set { - freeswitchPINVOKE.switch_core_session_message_numeric_reply_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_core_session_message_numeric_reply_get(swigCPtr); - return ret; - } - } - - public string string_reply { - set { - freeswitchPINVOKE.switch_core_session_message_string_reply_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_core_session_message_string_reply_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t string_reply_size { - set { - freeswitchPINVOKE.switch_core_session_message_string_reply_size_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_message_string_reply_size_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_void pointer_reply { - set { - freeswitchPINVOKE.switch_core_session_message_pointer_reply_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_pointer_reply_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t pointer_reply_size { - set { - freeswitchPINVOKE.switch_core_session_message_pointer_reply_size_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_core_session_message_pointer_reply_size_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_core_session_message_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_session_message_flags_get(swigCPtr); - return ret; - } - } - - public string _file { - set { - freeswitchPINVOKE.switch_core_session_message__file_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_core_session_message__file_get(swigCPtr); - return ret; - } - } - - public string _func { - set { - freeswitchPINVOKE.switch_core_session_message__func_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_core_session_message__func_get(swigCPtr); - return ret; - } - } - - public int _line { - set { - freeswitchPINVOKE.switch_core_session_message__line_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_core_session_message__line_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_char string_array_arg { - set { - freeswitchPINVOKE.switch_core_session_message_string_array_arg_set(swigCPtr, SWIGTYPE_p_p_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_string_array_arg_get(swigCPtr); - SWIGTYPE_p_p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_time_t delivery_time { - set { - freeswitchPINVOKE.switch_core_session_message_delivery_time_set(swigCPtr, SWIGTYPE_p_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_time_t ret = new SWIGTYPE_p_time_t(freeswitchPINVOKE.switch_core_session_message_delivery_time_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_core_session_message() : this(freeswitchPINVOKE.new_switch_core_session_message(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_core_session_message_flag_enum_t { - SCSMF_DYNAMIC = (1 << 0), - SCSMF_FREE_STRING_REPLY = (1 << 1), - SCSMF_FREE_POINTER_REPLY = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_core_session_message_types_t { - SWITCH_MESSAGE_REDIRECT_AUDIO, - SWITCH_MESSAGE_TRANSMIT_TEXT, - SWITCH_MESSAGE_INDICATE_ANSWER, - SWITCH_MESSAGE_INDICATE_PROGRESS, - SWITCH_MESSAGE_INDICATE_BRIDGE, - SWITCH_MESSAGE_INDICATE_UNBRIDGE, - SWITCH_MESSAGE_INDICATE_TRANSFER, - SWITCH_MESSAGE_INDICATE_RINGING, - SWITCH_MESSAGE_INDICATE_MEDIA, - SWITCH_MESSAGE_INDICATE_NOMEDIA, - SWITCH_MESSAGE_INDICATE_HOLD, - SWITCH_MESSAGE_INDICATE_UNHOLD, - SWITCH_MESSAGE_INDICATE_REDIRECT, - SWITCH_MESSAGE_INDICATE_RESPOND, - SWITCH_MESSAGE_INDICATE_BROADCAST, - SWITCH_MESSAGE_INDICATE_MEDIA_REDIRECT, - SWITCH_MESSAGE_INDICATE_DEFLECT, - SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ, - SWITCH_MESSAGE_INDICATE_DISPLAY, - SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY, - SWITCH_MESSAGE_INDICATE_AUDIO_SYNC, - SWITCH_MESSAGE_INDICATE_REQUEST_IMAGE_MEDIA, - SWITCH_MESSAGE_INDICATE_UUID_CHANGE, - SWITCH_MESSAGE_INDICATE_SIMPLIFY, - SWITCH_MESSAGE_INDICATE_DEBUG_MEDIA, - SWITCH_MESSAGE_INDICATE_PROXY_MEDIA, - SWITCH_MESSAGE_INDICATE_APPLICATION_EXEC, - SWITCH_MESSAGE_INDICATE_APPLICATION_EXEC_COMPLETE, - SWITCH_MESSAGE_INDICATE_PHONE_EVENT, - SWITCH_MESSAGE_INDICATE_T38_DESCRIPTION, - SWITCH_MESSAGE_INDICATE_UDPTL_MODE, - SWITCH_MESSAGE_INDICATE_CLEAR_PROGRESS, - SWITCH_MESSAGE_INDICATE_JITTER_BUFFER, - SWITCH_MESSAGE_INDICATE_RECOVERY_REFRESH, - SWITCH_MESSAGE_INDICATE_SIGNAL_DATA, - SWITCH_MESSAGE_INDICATE_MESSAGE, - SWITCH_MESSAGE_INDICATE_INFO, - SWITCH_MESSAGE_INDICATE_AUDIO_DATA, - SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE, - SWITCH_MESSAGE_INDICATE_STUN_ERROR, - SWITCH_MESSAGE_INDICATE_MEDIA_RENEG, - SWITCH_MESSAGE_INDICATE_KEEPALIVE, - SWITCH_MESSAGE_INDICATE_HARD_MUTE, - SWITCH_MESSAGE_REFER_EVENT, - SWITCH_MESSAGE_ANSWER_EVENT, - SWITCH_MESSAGE_PROGRESS_EVENT, - SWITCH_MESSAGE_RING_EVENT, - SWITCH_MESSAGE_RESAMPLE_EVENT, - SWITCH_MESSAGE_HEARTBEAT_EVENT, - SWITCH_MESSAGE_INVALID -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_core_thread_session : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_core_thread_session(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_core_thread_session obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_core_thread_session() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_core_thread_session(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public int running { - set { - freeswitchPINVOKE.switch_core_thread_session_running_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_core_thread_session_running_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t mutex { - set { - freeswitchPINVOKE.switch_core_thread_session_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_p_void objs { - set { - freeswitchPINVOKE.switch_core_thread_session_objs_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_objs_get(swigCPtr); - SWIGTYPE_p_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t input_callback { - set { - freeswitchPINVOKE.switch_core_thread_session_input_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_input_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t pool { - set { - freeswitchPINVOKE.switch_core_thread_session_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public switch_core_thread_session() : this(freeswitchPINVOKE.new_switch_core_thread_session(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_core_time_duration : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_core_time_duration(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_core_time_duration obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_core_time_duration() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_core_time_duration(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint mms { - set { - freeswitchPINVOKE.switch_core_time_duration_mms_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_time_duration_mms_get(swigCPtr); - return ret; - } - } - - public uint ms { - set { - freeswitchPINVOKE.switch_core_time_duration_ms_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_time_duration_ms_get(swigCPtr); - return ret; - } - } - - public uint sec { - set { - freeswitchPINVOKE.switch_core_time_duration_sec_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_time_duration_sec_get(swigCPtr); - return ret; - } - } - - public uint min { - set { - freeswitchPINVOKE.switch_core_time_duration_min_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_time_duration_min_get(swigCPtr); - return ret; - } - } - - public uint hr { - set { - freeswitchPINVOKE.switch_core_time_duration_hr_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_time_duration_hr_get(swigCPtr); - return ret; - } - } - - public uint day { - set { - freeswitchPINVOKE.switch_core_time_duration_day_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_time_duration_day_get(swigCPtr); - return ret; - } - } - - public uint yr { - set { - freeswitchPINVOKE.switch_core_time_duration_yr_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_core_time_duration_yr_get(swigCPtr); - return ret; - } - } - - public switch_core_time_duration() : this(freeswitchPINVOKE.new_switch_core_time_duration(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_device_node_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_device_node_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_device_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_device_node_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_device_node_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string uuid { - set { - freeswitchPINVOKE.switch_device_node_t_uuid_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_device_node_t_uuid_get(swigCPtr); - return ret; - } - } - - public switch_xml xml_cdr { - set { - freeswitchPINVOKE.switch_device_node_t_xml_cdr_set(swigCPtr, switch_xml.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_xml_cdr_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - } - - public switch_event _event { - set { - freeswitchPINVOKE.switch_device_node_t__event_set(swigCPtr, switch_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t__event_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); - return ret; - } - } - - public switch_channel_callstate_t callstate { - set { - freeswitchPINVOKE.switch_device_node_t_callstate_set(swigCPtr, (int)value); - } - get { - switch_channel_callstate_t ret = (switch_channel_callstate_t)freeswitchPINVOKE.switch_device_node_t_callstate_get(swigCPtr); - return ret; - } - } - - public switch_hold_record_t hold_record { - set { - freeswitchPINVOKE.switch_device_node_t_hold_record_set(swigCPtr, switch_hold_record_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_hold_record_get(swigCPtr); - switch_hold_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); - return ret; - } - } - - public switch_caller_profile hup_profile { - set { - freeswitchPINVOKE.switch_device_node_t_hup_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_hup_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); - return ret; - } - } - - public switch_call_direction_t direction { - set { - freeswitchPINVOKE.switch_device_node_t_direction_set(swigCPtr, (int)value); - } - get { - switch_call_direction_t ret = (switch_call_direction_t)freeswitchPINVOKE.switch_device_node_t_direction_get(swigCPtr); - return ret; - } - } - - public switch_device_record_t parent { - set { - freeswitchPINVOKE.switch_device_node_t_parent_set(swigCPtr, switch_device_record_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_parent_get(swigCPtr); - switch_device_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_record_t(cPtr, false); - return ret; - } - } - - public switch_device_node_t next { - set { - freeswitchPINVOKE.switch_device_node_t_next_set(swigCPtr, switch_device_node_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_next_get(swigCPtr); - switch_device_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); - return ret; - } - } - - public switch_device_node_t() : this(freeswitchPINVOKE.new_switch_device_node_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_device_record_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_device_record_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_device_record_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_device_record_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_device_record_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string device_id { - set { - freeswitchPINVOKE.switch_device_record_t_device_id_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_device_record_t_device_id_get(swigCPtr); - return ret; - } - } - - public string uuid { - set { - freeswitchPINVOKE.switch_device_record_t_uuid_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_device_record_t_uuid_get(swigCPtr); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_device_record_t_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_device_record_t_refs_get(swigCPtr); - return ret; - } - } - - public switch_device_stats_t stats { - set { - freeswitchPINVOKE.switch_device_record_t_stats_set(swigCPtr, switch_device_stats_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_stats_get(swigCPtr); - switch_device_stats_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_stats_t(cPtr, false); - return ret; - } - } - - public switch_device_stats_t last_stats { - set { - freeswitchPINVOKE.switch_device_record_t_last_stats_set(swigCPtr, switch_device_stats_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_last_stats_get(swigCPtr); - switch_device_stats_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_stats_t(cPtr, false); - return ret; - } - } - - public switch_device_state_t state { - set { - freeswitchPINVOKE.switch_device_record_t_state_set(swigCPtr, (int)value); - } - get { - switch_device_state_t ret = (switch_device_state_t)freeswitchPINVOKE.switch_device_record_t_state_get(swigCPtr); - return ret; - } - } - - public switch_device_state_t last_state { - set { - freeswitchPINVOKE.switch_device_record_t_last_state_set(swigCPtr, (int)value); - } - get { - switch_device_state_t ret = (switch_device_state_t)freeswitchPINVOKE.switch_device_record_t_last_state_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t active_start { - set { - freeswitchPINVOKE.switch_device_record_t_active_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_active_start_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t active_stop { - set { - freeswitchPINVOKE.switch_device_record_t_active_stop_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_active_stop_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t last_call_time { - set { - freeswitchPINVOKE.switch_device_record_t_last_call_time_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_last_call_time_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t ring_start { - set { - freeswitchPINVOKE.switch_device_record_t_ring_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_ring_start_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t ring_stop { - set { - freeswitchPINVOKE.switch_device_record_t_ring_stop_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_ring_stop_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t hold_start { - set { - freeswitchPINVOKE.switch_device_record_t_hold_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_hold_start_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t hold_stop { - set { - freeswitchPINVOKE.switch_device_record_t_hold_stop_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_hold_stop_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t call_start { - set { - freeswitchPINVOKE.switch_device_record_t_call_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_device_record_t_call_start_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_device_node_t uuid_list { - set { - freeswitchPINVOKE.switch_device_record_t_uuid_list_set(swigCPtr, switch_device_node_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_uuid_list_get(swigCPtr); - switch_device_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); - return ret; - } - } - - public switch_device_node_t uuid_tail { - set { - freeswitchPINVOKE.switch_device_record_t_uuid_tail_set(swigCPtr, switch_device_node_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_uuid_tail_get(swigCPtr); - switch_device_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t mutex { - set { - freeswitchPINVOKE.switch_device_record_t_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t pool { - set { - freeswitchPINVOKE.switch_device_record_t_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void user_data { - set { - freeswitchPINVOKE.switch_device_record_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public switch_device_record_t() : this(freeswitchPINVOKE.new_switch_device_record_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_device_state_t { - SDS_DOWN, - SDS_RINGING, - SDS_ACTIVE, - SDS_ACTIVE_MULTI, - SDS_HELD, - SDS_UNHELD, - SDS_HANGUP -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_device_stats_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_device_stats_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_device_stats_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_device_stats_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_device_stats_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint total { - set { - freeswitchPINVOKE.switch_device_stats_t_total_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_total_get(swigCPtr); - return ret; - } - } - - public uint total_in { - set { - freeswitchPINVOKE.switch_device_stats_t_total_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_total_in_get(swigCPtr); - return ret; - } - } - - public uint total_out { - set { - freeswitchPINVOKE.switch_device_stats_t_total_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_total_out_get(swigCPtr); - return ret; - } - } - - public uint offhook { - set { - freeswitchPINVOKE.switch_device_stats_t_offhook_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_offhook_get(swigCPtr); - return ret; - } - } - - public uint offhook_in { - set { - freeswitchPINVOKE.switch_device_stats_t_offhook_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_offhook_in_get(swigCPtr); - return ret; - } - } - - public uint offhook_out { - set { - freeswitchPINVOKE.switch_device_stats_t_offhook_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_offhook_out_get(swigCPtr); - return ret; - } - } - - public uint active { - set { - freeswitchPINVOKE.switch_device_stats_t_active_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_active_get(swigCPtr); - return ret; - } - } - - public uint active_in { - set { - freeswitchPINVOKE.switch_device_stats_t_active_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_active_in_get(swigCPtr); - return ret; - } - } - - public uint active_out { - set { - freeswitchPINVOKE.switch_device_stats_t_active_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_active_out_get(swigCPtr); - return ret; - } - } - - public uint held { - set { - freeswitchPINVOKE.switch_device_stats_t_held_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_held_get(swigCPtr); - return ret; - } - } - - public uint held_in { - set { - freeswitchPINVOKE.switch_device_stats_t_held_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_held_in_get(swigCPtr); - return ret; - } - } - - public uint held_out { - set { - freeswitchPINVOKE.switch_device_stats_t_held_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_held_out_get(swigCPtr); - return ret; - } - } - - public uint unheld { - set { - freeswitchPINVOKE.switch_device_stats_t_unheld_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_unheld_get(swigCPtr); - return ret; - } - } - - public uint unheld_in { - set { - freeswitchPINVOKE.switch_device_stats_t_unheld_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_unheld_in_get(swigCPtr); - return ret; - } - } - - public uint unheld_out { - set { - freeswitchPINVOKE.switch_device_stats_t_unheld_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_unheld_out_get(swigCPtr); - return ret; - } - } - - public uint hup { - set { - freeswitchPINVOKE.switch_device_stats_t_hup_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_hup_get(swigCPtr); - return ret; - } - } - - public uint hup_in { - set { - freeswitchPINVOKE.switch_device_stats_t_hup_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_hup_in_get(swigCPtr); - return ret; - } - } - - public uint hup_out { - set { - freeswitchPINVOKE.switch_device_stats_t_hup_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_hup_out_get(swigCPtr); - return ret; - } - } - - public uint ringing { - set { - freeswitchPINVOKE.switch_device_stats_t_ringing_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_ringing_get(swigCPtr); - return ret; - } - } - - public uint ringing_in { - set { - freeswitchPINVOKE.switch_device_stats_t_ringing_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_ringing_in_get(swigCPtr); - return ret; - } - } - - public uint ringing_out { - set { - freeswitchPINVOKE.switch_device_stats_t_ringing_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_ringing_out_get(swigCPtr); - return ret; - } - } - - public uint early { - set { - freeswitchPINVOKE.switch_device_stats_t_early_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_early_get(swigCPtr); - return ret; - } - } - - public uint early_in { - set { - freeswitchPINVOKE.switch_device_stats_t_early_in_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_early_in_get(swigCPtr); - return ret; - } - } - - public uint early_out { - set { - freeswitchPINVOKE.switch_device_stats_t_early_out_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_early_out_get(swigCPtr); - return ret; - } - } - - public uint ring_wait { - set { - freeswitchPINVOKE.switch_device_stats_t_ring_wait_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_device_stats_t_ring_wait_get(swigCPtr); - return ret; - } - } - - public switch_device_stats_t() : this(freeswitchPINVOKE.new_switch_device_stats_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_dialplan_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_dialplan_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_dialplan_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_dialplan_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_dialplan_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_dialplan_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_dialplan_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension hunt_function { - set { - freeswitchPINVOKE.switch_dialplan_interface_hunt_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_hunt_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_dialplan_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_dialplan_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_dialplan_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_dialplan_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_dialplan_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_dialplan_interface next { - set { - freeswitchPINVOKE.switch_dialplan_interface_next_set(swigCPtr, switch_dialplan_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_next_get(swigCPtr); - switch_dialplan_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); - return ret; - } - } - - public switch_dialplan_interface() : this(freeswitchPINVOKE.new_switch_dialplan_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_digit_action_target_t { - DIGIT_TARGET_SELF, - DIGIT_TARGET_PEER, - DIGIT_TARGET_BOTH -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_directories : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_directories(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_directories obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_directories() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_directories(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string base_dir { - set { - freeswitchPINVOKE.switch_directories_base_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_base_dir_get(swigCPtr); - return ret; - } - } - - public string mod_dir { - set { - freeswitchPINVOKE.switch_directories_mod_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_mod_dir_get(swigCPtr); - return ret; - } - } - - public string conf_dir { - set { - freeswitchPINVOKE.switch_directories_conf_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_conf_dir_get(swigCPtr); - return ret; - } - } - - public string log_dir { - set { - freeswitchPINVOKE.switch_directories_log_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_log_dir_get(swigCPtr); - return ret; - } - } - - public string run_dir { - set { - freeswitchPINVOKE.switch_directories_run_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_run_dir_get(swigCPtr); - return ret; - } - } - - public string db_dir { - set { - freeswitchPINVOKE.switch_directories_db_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_db_dir_get(swigCPtr); - return ret; - } - } - - public string script_dir { - set { - freeswitchPINVOKE.switch_directories_script_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_script_dir_get(swigCPtr); - return ret; - } - } - - public string temp_dir { - set { - freeswitchPINVOKE.switch_directories_temp_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_temp_dir_get(swigCPtr); - return ret; - } - } - - public string htdocs_dir { - set { - freeswitchPINVOKE.switch_directories_htdocs_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_htdocs_dir_get(swigCPtr); - return ret; - } - } - - public string grammar_dir { - set { - freeswitchPINVOKE.switch_directories_grammar_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_grammar_dir_get(swigCPtr); - return ret; - } - } - - public string storage_dir { - set { - freeswitchPINVOKE.switch_directories_storage_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_storage_dir_get(swigCPtr); - return ret; - } - } - - public string cache_dir { - set { - freeswitchPINVOKE.switch_directories_cache_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_cache_dir_get(swigCPtr); - return ret; - } - } - - public string recordings_dir { - set { - freeswitchPINVOKE.switch_directories_recordings_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_recordings_dir_get(swigCPtr); - return ret; - } - } - - public string sounds_dir { - set { - freeswitchPINVOKE.switch_directories_sounds_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_sounds_dir_get(swigCPtr); - return ret; - } - } - - public string lib_dir { - set { - freeswitchPINVOKE.switch_directories_lib_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_lib_dir_get(swigCPtr); - return ret; - } - } - - public string certs_dir { - set { - freeswitchPINVOKE.switch_directories_certs_dir_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directories_certs_dir_get(swigCPtr); - return ret; - } - } - - public switch_directories() : this(freeswitchPINVOKE.new_switch_directories(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_directory_flag_enum_t { - SWITCH_DIRECTORY_FLAG_FREE_POOL = (1 << 0) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_directory_handle : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_directory_handle(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_directory_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_directory_handle() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_directory_handle(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_directory_interface directory_interface { - set { - freeswitchPINVOKE.switch_directory_handle_directory_interface_set(swigCPtr, switch_directory_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_directory_interface_get(swigCPtr); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_directory_handle_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_directory_handle_flags_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t memory_pool { - set { - freeswitchPINVOKE.switch_directory_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_directory_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public switch_directory_handle() : this(freeswitchPINVOKE.new_switch_directory_handle(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_directory_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_directory_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_directory_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_directory_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_directory_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_directory_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_directory_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t directory_open { - set { - freeswitchPINVOKE.switch_directory_interface_directory_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t directory_close { - set { - freeswitchPINVOKE.switch_directory_interface_directory_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t directory_query { - set { - freeswitchPINVOKE.switch_directory_interface_directory_query_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_query_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t directory_next { - set { - freeswitchPINVOKE.switch_directory_interface_directory_next_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_next_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t directory_next_pair { - set { - freeswitchPINVOKE.switch_directory_interface_directory_next_pair_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_next_pair_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_directory_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_directory_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_directory_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_directory_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_directory_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_directory_interface next { - set { - freeswitchPINVOKE.switch_directory_interface_next_set(swigCPtr, switch_directory_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_next_get(swigCPtr); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); - return ret; - } - } - - public switch_directory_interface() : this(freeswitchPINVOKE.new_switch_directory_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_dtmf_direction_t { - SWITCH_DTMF_RECV = 0, - SWITCH_DTMF_SEND = 1 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_dtmf_source_t { - SWITCH_DTMF_UNKNOWN, - SWITCH_DTMF_INBAND_AUDIO, - SWITCH_DTMF_RTP, - SWITCH_DTMF_ENDPOINT, - SWITCH_DTMF_APP -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_dtmf_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_dtmf_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_dtmf_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_dtmf_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_dtmf_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public char digit { - set { - freeswitchPINVOKE.switch_dtmf_t_digit_set(swigCPtr, value); - } - get { - char ret = freeswitchPINVOKE.switch_dtmf_t_digit_get(swigCPtr); - return ret; - } - } - - public uint duration { - set { - freeswitchPINVOKE.switch_dtmf_t_duration_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_dtmf_t_duration_get(swigCPtr); - return ret; - } - } - - public int flags { - set { - freeswitchPINVOKE.switch_dtmf_t_flags_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_dtmf_t_flags_get(swigCPtr); - return ret; - } - } - - public switch_dtmf_source_t source { - set { - freeswitchPINVOKE.switch_dtmf_t_source_set(swigCPtr, (int)value); - } - get { - switch_dtmf_source_t ret = (switch_dtmf_source_t)freeswitchPINVOKE.switch_dtmf_t_source_get(swigCPtr); - return ret; - } - } - - public switch_dtmf_t() : this(freeswitchPINVOKE.new_switch_dtmf_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_eavesdrop_flag_enum_t { - ED_NONE = 0, - ED_MUX_READ = (1 << 0), - ED_MUX_WRITE = (1 << 1), - ED_DTMF = (1 << 2), - ED_COPY_DISPLAY = (1 << 3), - ED_BRIDGE_READ = (1 << 4), - ED_BRIDGE_WRITE = (1 << 5) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_endpoint_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_endpoint_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_endpoint_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_endpoint_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_endpoint_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_endpoint_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_endpoint_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public switch_io_routines io_routines { - set { - freeswitchPINVOKE.switch_endpoint_interface_io_routines_set(swigCPtr, switch_io_routines.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_io_routines_get(swigCPtr); - switch_io_routines ret = (cPtr == IntPtr.Zero) ? null : new switch_io_routines(cPtr, false); - return ret; - } - } - - public switch_state_handler_table state_handler { - set { - freeswitchPINVOKE.switch_endpoint_interface_state_handler_set(swigCPtr, switch_state_handler_table.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_state_handler_get(swigCPtr); - switch_state_handler_table ret = (cPtr == IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_endpoint_interface_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_endpoint_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_endpoint_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_endpoint_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_endpoint_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_endpoint_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_endpoint_interface next { - set { - freeswitchPINVOKE.switch_endpoint_interface_next_set(swigCPtr, switch_endpoint_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_next_get(swigCPtr); - switch_endpoint_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__int recover_callback { - set { - freeswitchPINVOKE.switch_endpoint_interface_recover_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__int.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_recover_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__int(cPtr, false); - return ret; - } - } - - public switch_endpoint_interface() : this(freeswitchPINVOKE.new_switch_endpoint_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_event : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_event(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_event() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_event(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_event_types_t event_id { - set { - freeswitchPINVOKE.switch_event_event_id_set(swigCPtr, (int)value); - } - get { - switch_event_types_t ret = (switch_event_types_t)freeswitchPINVOKE.switch_event_event_id_get(swigCPtr); - return ret; - } - } - - public switch_priority_t priority { - set { - freeswitchPINVOKE.switch_event_priority_set(swigCPtr, (int)value); - } - get { - switch_priority_t ret = (switch_priority_t)freeswitchPINVOKE.switch_event_priority_get(swigCPtr); - return ret; - } - } - - public string owner { - set { - freeswitchPINVOKE.switch_event_owner_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_event_owner_get(swigCPtr); - return ret; - } - } - - public string subclass_name { - set { - freeswitchPINVOKE.switch_event_subclass_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_event_subclass_name_get(swigCPtr); - return ret; - } - } - - public switch_event_header headers { - set { - freeswitchPINVOKE.switch_event_headers_set(swigCPtr, switch_event_header.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_headers_get(swigCPtr); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); - return ret; - } - } - - public switch_event_header last_header { - set { - freeswitchPINVOKE.switch_event_last_header_set(swigCPtr, switch_event_header.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_last_header_get(swigCPtr); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); - return ret; - } - } - - public string body { - set { - freeswitchPINVOKE.switch_event_body_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_event_body_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void bind_user_data { - set { - freeswitchPINVOKE.switch_event_bind_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_bind_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void event_user_data { - set { - freeswitchPINVOKE.switch_event_event_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_event_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public uint key { - set { - freeswitchPINVOKE.switch_event_key_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_event_key_get(swigCPtr); - return ret; - } - } - - public switch_event next { - set { - freeswitchPINVOKE.switch_event_next_set(swigCPtr, switch_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_next_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); - return ret; - } - } - - public int flags { - set { - freeswitchPINVOKE.switch_event_flags_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_event_flags_get(swigCPtr); - return ret; - } - } - - public switch_event() : this(freeswitchPINVOKE.new_switch_event(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_event_flag_t { - EF_UNIQ_HEADERS = (1 << 0), - EF_NO_CHAT_EXEC = (1 << 1), - EF_DEFAULT_ALLOW = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_event_header : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_event_header(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_event_header obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_event_header() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_event_header(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string name { - set { - freeswitchPINVOKE.switch_event_header_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_event_header_name_get(swigCPtr); - return ret; - } - } - - public string value { - set { - freeswitchPINVOKE.switch_event_header_value_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_event_header_value_get(swigCPtr); - return ret; - } - } - - public string array { - set { freeswitchPINVOKE.switch_event_header_array_set(swigCPtr, ref value); } - - get { - return freeswitchPINVOKE.switch_event_header_array_get(swigCPtr); - } - - } - - public int idx { - set { - freeswitchPINVOKE.switch_event_header_idx_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_event_header_idx_get(swigCPtr); - return ret; - } - } - - public uint hash { - set { - freeswitchPINVOKE.switch_event_header_hash_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_event_header_hash_get(swigCPtr); - return ret; - } - } - - public switch_event_header next { - set { - freeswitchPINVOKE.switch_event_header_next_set(swigCPtr, switch_event_header.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_header_next_get(swigCPtr); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); - return ret; - } - } - - public switch_event_header() : this(freeswitchPINVOKE.new_switch_event_header(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_event_types_t { - SWITCH_EVENT_CUSTOM, - SWITCH_EVENT_CLONE, - SWITCH_EVENT_CHANNEL_CREATE, - SWITCH_EVENT_CHANNEL_DESTROY, - SWITCH_EVENT_CHANNEL_STATE, - SWITCH_EVENT_CHANNEL_CALLSTATE, - SWITCH_EVENT_CHANNEL_ANSWER, - SWITCH_EVENT_CHANNEL_HANGUP, - SWITCH_EVENT_CHANNEL_HANGUP_COMPLETE, - SWITCH_EVENT_CHANNEL_EXECUTE, - SWITCH_EVENT_CHANNEL_EXECUTE_COMPLETE, - SWITCH_EVENT_CHANNEL_HOLD, - SWITCH_EVENT_CHANNEL_UNHOLD, - SWITCH_EVENT_CHANNEL_BRIDGE, - SWITCH_EVENT_CHANNEL_UNBRIDGE, - SWITCH_EVENT_CHANNEL_PROGRESS, - SWITCH_EVENT_CHANNEL_PROGRESS_MEDIA, - SWITCH_EVENT_CHANNEL_OUTGOING, - SWITCH_EVENT_CHANNEL_PARK, - SWITCH_EVENT_CHANNEL_UNPARK, - SWITCH_EVENT_CHANNEL_APPLICATION, - SWITCH_EVENT_CHANNEL_ORIGINATE, - SWITCH_EVENT_CHANNEL_UUID, - SWITCH_EVENT_API, - SWITCH_EVENT_LOG, - SWITCH_EVENT_INBOUND_CHAN, - SWITCH_EVENT_OUTBOUND_CHAN, - SWITCH_EVENT_STARTUP, - SWITCH_EVENT_SHUTDOWN, - SWITCH_EVENT_PUBLISH, - SWITCH_EVENT_UNPUBLISH, - SWITCH_EVENT_TALK, - SWITCH_EVENT_NOTALK, - SWITCH_EVENT_SESSION_CRASH, - SWITCH_EVENT_MODULE_LOAD, - SWITCH_EVENT_MODULE_UNLOAD, - SWITCH_EVENT_DTMF, - SWITCH_EVENT_MESSAGE, - SWITCH_EVENT_PRESENCE_IN, - SWITCH_EVENT_NOTIFY_IN, - SWITCH_EVENT_PRESENCE_OUT, - SWITCH_EVENT_PRESENCE_PROBE, - SWITCH_EVENT_MESSAGE_WAITING, - SWITCH_EVENT_MESSAGE_QUERY, - SWITCH_EVENT_ROSTER, - SWITCH_EVENT_CODEC, - SWITCH_EVENT_BACKGROUND_JOB, - SWITCH_EVENT_DETECTED_SPEECH, - SWITCH_EVENT_DETECTED_TONE, - SWITCH_EVENT_PRIVATE_COMMAND, - SWITCH_EVENT_HEARTBEAT, - SWITCH_EVENT_TRAP, - SWITCH_EVENT_ADD_SCHEDULE, - SWITCH_EVENT_DEL_SCHEDULE, - SWITCH_EVENT_EXE_SCHEDULE, - SWITCH_EVENT_RE_SCHEDULE, - SWITCH_EVENT_RELOADXML, - SWITCH_EVENT_NOTIFY, - SWITCH_EVENT_PHONE_FEATURE, - SWITCH_EVENT_PHONE_FEATURE_SUBSCRIBE, - SWITCH_EVENT_SEND_MESSAGE, - SWITCH_EVENT_RECV_MESSAGE, - SWITCH_EVENT_REQUEST_PARAMS, - SWITCH_EVENT_CHANNEL_DATA, - SWITCH_EVENT_GENERAL, - SWITCH_EVENT_COMMAND, - SWITCH_EVENT_SESSION_HEARTBEAT, - SWITCH_EVENT_CLIENT_DISCONNECTED, - SWITCH_EVENT_SERVER_DISCONNECTED, - SWITCH_EVENT_SEND_INFO, - SWITCH_EVENT_RECV_INFO, - SWITCH_EVENT_RECV_RTCP_MESSAGE, - SWITCH_EVENT_CALL_SECURE, - SWITCH_EVENT_NAT, - SWITCH_EVENT_RECORD_START, - SWITCH_EVENT_RECORD_STOP, - SWITCH_EVENT_PLAYBACK_START, - SWITCH_EVENT_PLAYBACK_STOP, - SWITCH_EVENT_CALL_UPDATE, - SWITCH_EVENT_FAILURE, - SWITCH_EVENT_SOCKET_DATA, - SWITCH_EVENT_MEDIA_BUG_START, - SWITCH_EVENT_MEDIA_BUG_STOP, - SWITCH_EVENT_CONFERENCE_DATA_QUERY, - SWITCH_EVENT_CONFERENCE_DATA, - SWITCH_EVENT_CALL_SETUP_REQ, - SWITCH_EVENT_CALL_SETUP_RESULT, - SWITCH_EVENT_CALL_DETAIL, - SWITCH_EVENT_DEVICE_STATE, - SWITCH_EVENT_ALL -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_filenames : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_filenames(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_filenames obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_filenames() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_filenames(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string conf_name { - set { - freeswitchPINVOKE.switch_filenames_conf_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_filenames_conf_name_get(swigCPtr); - return ret; - } - } - - public switch_filenames() : this(freeswitchPINVOKE.new_switch_filenames(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_file_flag_enum_t { - SWITCH_FILE_FLAG_READ = (1 << 0), - SWITCH_FILE_FLAG_WRITE = (1 << 1), - SWITCH_FILE_FLAG_FREE_POOL = (1 << 2), - SWITCH_FILE_DATA_SHORT = (1 << 3), - SWITCH_FILE_DATA_INT = (1 << 4), - SWITCH_FILE_DATA_FLOAT = (1 << 5), - SWITCH_FILE_DATA_DOUBLE = (1 << 6), - SWITCH_FILE_DATA_RAW = (1 << 7), - SWITCH_FILE_PAUSE = (1 << 8), - SWITCH_FILE_NATIVE = (1 << 9), - SWITCH_FILE_SEEK = (1 << 10), - SWITCH_FILE_OPEN = (1 << 11), - SWITCH_FILE_CALLBACK = (1 << 12), - SWITCH_FILE_DONE = (1 << 13), - SWITCH_FILE_BUFFER_DONE = (1 << 14), - SWITCH_FILE_WRITE_APPEND = (1 << 15), - SWITCH_FILE_WRITE_OVER = (1 << 16), - SWITCH_FILE_NOMUX = (1 << 17), - SWITCH_FILE_BREAK_ON_CHANGE = (1 << 18) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_file_handle : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_file_handle(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_file_handle() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_file_handle(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_file_interface file_interface { - set { - freeswitchPINVOKE.switch_file_handle_file_interface_set(swigCPtr, switch_file_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_file_interface_get(swigCPtr); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_file_handle_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_flags_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_file_t fd { - set { - freeswitchPINVOKE.switch_file_handle_fd_set(swigCPtr, SWIGTYPE_p_switch_file_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_fd_get(swigCPtr); - SWIGTYPE_p_switch_file_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_file_t(cPtr, false); - return ret; - } - } - - public uint samples { - set { - freeswitchPINVOKE.switch_file_handle_samples_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_samples_get(swigCPtr); - return ret; - } - } - - public uint samplerate { - set { - freeswitchPINVOKE.switch_file_handle_samplerate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_samplerate_get(swigCPtr); - return ret; - } - } - - public uint native_rate { - set { - freeswitchPINVOKE.switch_file_handle_native_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_native_rate_get(swigCPtr); - return ret; - } - } - - public uint channels { - set { - freeswitchPINVOKE.switch_file_handle_channels_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_channels_get(swigCPtr); - return ret; - } - } - - public uint real_channels { - set { - freeswitchPINVOKE.switch_file_handle_real_channels_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_real_channels_get(swigCPtr); - return ret; - } - } - - public uint format { - set { - freeswitchPINVOKE.switch_file_handle_format_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_format_get(swigCPtr); - return ret; - } - } - - public uint sections { - set { - freeswitchPINVOKE.switch_file_handle_sections_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_sections_get(swigCPtr); - return ret; - } - } - - public int seekable { - set { - freeswitchPINVOKE.switch_file_handle_seekable_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_file_handle_seekable_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t sample_count { - set { - freeswitchPINVOKE.switch_file_handle_sample_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_file_handle_sample_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public int speed { - set { - freeswitchPINVOKE.switch_file_handle_speed_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_file_handle_speed_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t memory_pool { - set { - freeswitchPINVOKE.switch_file_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public uint prebuf { - set { - freeswitchPINVOKE.switch_file_handle_prebuf_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_prebuf_get(swigCPtr); - return ret; - } - } - - public uint interval { - set { - freeswitchPINVOKE.switch_file_handle_interval_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_interval_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_file_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public string handler { - set { - freeswitchPINVOKE.switch_file_handle_handler_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_file_handle_handler_get(swigCPtr); - return ret; - } - } - - public long pos { - set { - freeswitchPINVOKE.switch_file_handle_pos_set(swigCPtr, value); - } - get { - long ret = freeswitchPINVOKE.switch_file_handle_pos_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_buffer audio_buffer { - set { - freeswitchPINVOKE.switch_file_handle_audio_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_audio_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_buffer sp_audio_buffer { - set { - freeswitchPINVOKE.switch_file_handle_sp_audio_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_sp_audio_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); - return ret; - } - } - - public uint thresh { - set { - freeswitchPINVOKE.switch_file_handle_thresh_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_thresh_get(swigCPtr); - return ret; - } - } - - public uint silence_hits { - set { - freeswitchPINVOKE.switch_file_handle_silence_hits_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_silence_hits_get(swigCPtr); - return ret; - } - } - - public uint offset_pos { - set { - freeswitchPINVOKE.switch_file_handle_offset_pos_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_offset_pos_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t samples_in { - set { - freeswitchPINVOKE.switch_file_handle_samples_in_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_file_handle_samples_in_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t samples_out { - set { - freeswitchPINVOKE.switch_file_handle_samples_out_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_file_handle_samples_out_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public int vol { - set { - freeswitchPINVOKE.switch_file_handle_vol_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_file_handle_vol_get(swigCPtr); - return ret; - } - } - - public switch_audio_resampler_t resampler { - set { - freeswitchPINVOKE.switch_file_handle_resampler_set(swigCPtr, switch_audio_resampler_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_resampler_get(swigCPtr); - switch_audio_resampler_t ret = (cPtr == IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_buffer buffer { - set { - freeswitchPINVOKE.switch_file_handle_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char dbuf { - set { - freeswitchPINVOKE.switch_file_handle_dbuf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_dbuf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t dbuflen { - set { - freeswitchPINVOKE.switch_file_handle_dbuflen_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_file_handle_dbuflen_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_buffer pre_buffer { - set { - freeswitchPINVOKE.switch_file_handle_pre_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_pre_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char pre_buffer_data { - set { - freeswitchPINVOKE.switch_file_handle_pre_buffer_data_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_pre_buffer_data_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t pre_buffer_datalen { - set { - freeswitchPINVOKE.switch_file_handle_pre_buffer_datalen_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_file_handle_pre_buffer_datalen_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string file { - set { - freeswitchPINVOKE.switch_file_handle_file_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_file_handle_file_get(swigCPtr); - return ret; - } - } - - public string func { - set { - freeswitchPINVOKE.switch_file_handle_func_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_file_handle_func_get(swigCPtr); - return ret; - } - } - - public int line { - set { - freeswitchPINVOKE.switch_file_handle_line_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_file_handle_line_get(swigCPtr); - return ret; - } - } - - public string file_path { - set { - freeswitchPINVOKE.switch_file_handle_file_path_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_file_handle_file_path_get(swigCPtr); - return ret; - } - } - - public string spool_path { - set { - freeswitchPINVOKE.switch_file_handle_spool_path_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_file_handle_spool_path_get(swigCPtr); - return ret; - } - } - - public string prefix { - set { - freeswitchPINVOKE.switch_file_handle_prefix_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_file_handle_prefix_get(swigCPtr); - return ret; - } - } - - public int max_samples { - set { - freeswitchPINVOKE.switch_file_handle_max_samples_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_file_handle_max_samples_get(swigCPtr); - return ret; - } - } - - public switch_event _params { - set { - freeswitchPINVOKE.switch_file_handle__params_set(swigCPtr, switch_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle__params_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); - return ret; - } - } - - public uint cur_channels { - set { - freeswitchPINVOKE.switch_file_handle_cur_channels_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_cur_channels_get(swigCPtr); - return ret; - } - } - - public uint cur_samplerate { - set { - freeswitchPINVOKE.switch_file_handle_cur_samplerate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_file_handle_cur_samplerate_get(swigCPtr); - return ret; - } - } - - public switch_file_handle() : this(freeswitchPINVOKE.new_switch_file_handle(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_file_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_file_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_file_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_file_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_file_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_file_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_file_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t file_open { - set { - freeswitchPINVOKE.switch_file_interface_file_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle__switch_status_t file_close { - set { - freeswitchPINVOKE.switch_file_interface_file_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t file_truncate { - set { - freeswitchPINVOKE.switch_file_interface_file_truncate_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_truncate_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t file_read { - set { - freeswitchPINVOKE.switch_file_interface_file_read_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_read_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t file_write { - set { - freeswitchPINVOKE.switch_file_interface_file_write_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_write_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t file_read_video { - set { - freeswitchPINVOKE.switch_file_interface_file_read_video_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_read_video_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t file_write_video { - set { - freeswitchPINVOKE.switch_file_interface_file_write_video_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_write_video_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t file_seek { - set { - freeswitchPINVOKE.switch_file_interface_file_seek_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_seek_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t file_set_string { - set { - freeswitchPINVOKE.switch_file_interface_file_set_string_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_set_string_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t file_get_string { - set { - freeswitchPINVOKE.switch_file_interface_file_get_string_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_get_string_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public string extens { - set { freeswitchPINVOKE.switch_file_interface_extens_set(swigCPtr, ref value); } - - get { - return freeswitchPINVOKE.switch_file_interface_extens_get(swigCPtr); - } - - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_file_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_file_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_file_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_file_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_file_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_file_interface next { - set { - freeswitchPINVOKE.switch_file_interface_next_set(swigCPtr, switch_file_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_next_get(swigCPtr); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); - return ret; - } - } - - public switch_file_interface() : this(freeswitchPINVOKE.new_switch_file_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_frame : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_frame(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_frame() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_frame(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_codec codec { - set { - freeswitchPINVOKE.switch_frame_codec_set(swigCPtr, switch_codec.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_codec_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - } - - public string source { - set { - freeswitchPINVOKE.switch_frame_source_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_frame_source_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void packet { - set { - freeswitchPINVOKE.switch_frame_packet_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_packet_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public uint packetlen { - set { - freeswitchPINVOKE.switch_frame_packetlen_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_packetlen_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void extra_data { - set { - freeswitchPINVOKE.switch_frame_extra_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_extra_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void data { - set { - freeswitchPINVOKE.switch_frame_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public uint datalen { - set { - freeswitchPINVOKE.switch_frame_datalen_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_datalen_get(swigCPtr); - return ret; - } - } - - public uint buflen { - set { - freeswitchPINVOKE.switch_frame_buflen_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_buflen_get(swigCPtr); - return ret; - } - } - - public uint samples { - set { - freeswitchPINVOKE.switch_frame_samples_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_samples_get(swigCPtr); - return ret; - } - } - - public uint rate { - set { - freeswitchPINVOKE.switch_frame_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_rate_get(swigCPtr); - return ret; - } - } - - public uint channels { - set { - freeswitchPINVOKE.switch_frame_channels_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_channels_get(swigCPtr); - return ret; - } - } - - public byte payload { - set { - freeswitchPINVOKE.switch_frame_payload_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_frame_payload_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t timestamp { - set { - freeswitchPINVOKE.switch_frame_timestamp_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_frame_timestamp_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public ushort seq { - set { - freeswitchPINVOKE.switch_frame_seq_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_frame_seq_get(swigCPtr); - return ret; - } - } - - public uint ssrc { - set { - freeswitchPINVOKE.switch_frame_ssrc_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_ssrc_get(swigCPtr); - return ret; - } - } - - public switch_bool_t m { - set { - freeswitchPINVOKE.switch_frame_m_set(swigCPtr, (int)value); - } - get { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_frame_m_get(swigCPtr); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_frame_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_frame_flags_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void user_data { - set { - freeswitchPINVOKE.switch_frame_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public payload_map_t pmap { - set { - freeswitchPINVOKE.switch_frame_pmap_set(swigCPtr, payload_map_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_pmap_get(swigCPtr); - payload_map_t ret = (cPtr == IntPtr.Zero) ? null : new payload_map_t(cPtr, false); - return ret; - } - } - - public switch_frame() : this(freeswitchPINVOKE.new_switch_frame(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_frame_flag_enum_t { - SFF_NONE = 0, - SFF_CNG = (1 << 0), - SFF_RAW_RTP = (1 << 1), - SFF_RTP_HEADER = (1 << 2), - SFF_PLC = (1 << 3), - SFF_RFC2833 = (1 << 4), - SFF_PROXY_PACKET = (1 << 5), - SFF_DYNAMIC = (1 << 6), - SFF_ZRTP = (1 << 7), - SFF_UDPTL_PACKET = (1 << 8), - SFF_NOT_AUDIO = (1 << 9), - SFF_RTCP = (1 << 10) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_hold_record_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_hold_record_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_hold_record_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_hold_record_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_hold_record_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_time_t on { - set { - freeswitchPINVOKE.switch_hold_record_t_on_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_hold_record_t_on_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t off { - set { - freeswitchPINVOKE.switch_hold_record_t_off_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_hold_record_t_off_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string uuid { - set { - freeswitchPINVOKE.switch_hold_record_t_uuid_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_hold_record_t_uuid_get(swigCPtr); - return ret; - } - } - - public switch_hold_record_t next { - set { - freeswitchPINVOKE.switch_hold_record_t_next_set(swigCPtr, switch_hold_record_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_hold_record_t_next_get(swigCPtr); - switch_hold_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); - return ret; - } - } - - public switch_hold_record_t() : this(freeswitchPINVOKE.new_switch_hold_record_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_http_request_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_http_request_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_http_request_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_http_request_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_http_request_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string method { - set { - freeswitchPINVOKE.switch_http_request_t_method_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_method_get(swigCPtr); - return ret; - } - } - - public string uri { - set { - freeswitchPINVOKE.switch_http_request_t_uri_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_uri_get(swigCPtr); - return ret; - } - } - - public string qs { - set { - freeswitchPINVOKE.switch_http_request_t_qs_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_qs_get(swigCPtr); - return ret; - } - } - - public string host { - set { - freeswitchPINVOKE.switch_http_request_t_host_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_host_get(swigCPtr); - return ret; - } - } - - public ushort port { - set { - freeswitchPINVOKE.switch_http_request_t_port_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_http_request_t_port_get(swigCPtr); - return ret; - } - } - - public string from { - set { - freeswitchPINVOKE.switch_http_request_t_from_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_from_get(swigCPtr); - return ret; - } - } - - public string user_agent { - set { - freeswitchPINVOKE.switch_http_request_t_user_agent_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_user_agent_get(swigCPtr); - return ret; - } - } - - public string referer { - set { - freeswitchPINVOKE.switch_http_request_t_referer_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_referer_get(swigCPtr); - return ret; - } - } - - public string user { - set { - freeswitchPINVOKE.switch_http_request_t_user_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_user_get(swigCPtr); - return ret; - } - } - - public switch_bool_t keepalive { - set { - freeswitchPINVOKE.switch_http_request_t_keepalive_set(swigCPtr, (int)value); - } - get { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_http_request_t_keepalive_get(swigCPtr); - return ret; - } - } - - public string content_type { - set { - freeswitchPINVOKE.switch_http_request_t_content_type_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t_content_type_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t content_length { - set { - freeswitchPINVOKE.switch_http_request_t_content_length_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_http_request_t_content_length_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t bytes_header { - set { - freeswitchPINVOKE.switch_http_request_t_bytes_header_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_http_request_t_bytes_header_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t bytes_read { - set { - freeswitchPINVOKE.switch_http_request_t_bytes_read_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_http_request_t_bytes_read_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t bytes_buffered { - set { - freeswitchPINVOKE.switch_http_request_t_bytes_buffered_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_http_request_t_bytes_buffered_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_event headers { - set { - freeswitchPINVOKE.switch_http_request_t_headers_set(swigCPtr, switch_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_headers_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void user_data { - set { - freeswitchPINVOKE.switch_http_request_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public string _buffer { - set { - freeswitchPINVOKE.switch_http_request_t__buffer_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_http_request_t__buffer_get(swigCPtr); - return ret; - } - } - - public switch_bool_t _destroy_headers { - set { - freeswitchPINVOKE.switch_http_request_t__destroy_headers_set(swigCPtr, (int)value); - } - get { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_http_request_t__destroy_headers_get(swigCPtr); - return ret; - } - } - - public switch_http_request_t() : this(freeswitchPINVOKE.new_switch_http_request_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_hup_type_t { - SHT_NONE = 0, - SHT_UNANSWERED = (1 << 0), - SHT_ANSWERED = (1 << 1) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_input_args_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_input_args_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_input_args_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_input_args_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_input_args_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t input_callback { - set { - freeswitchPINVOKE.switch_input_args_t_input_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_input_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void buf { - set { - freeswitchPINVOKE.switch_input_args_t_buf_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_buf_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public uint buflen { - set { - freeswitchPINVOKE.switch_input_args_t_buflen_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_input_args_t_buflen_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t read_frame_callback { - set { - freeswitchPINVOKE.switch_input_args_t_read_frame_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_read_frame_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void user_data { - set { - freeswitchPINVOKE.switch_input_args_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_ivr_dmachine dmachine { - set { - freeswitchPINVOKE.switch_input_args_t_dmachine_set(swigCPtr, SWIGTYPE_p_switch_ivr_dmachine.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_dmachine_get(swigCPtr); - SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); - return ret; - } - } - - public int loops { - set { - freeswitchPINVOKE.switch_input_args_t_loops_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_input_args_t_loops_get(swigCPtr); - return ret; - } - } - - public switch_input_args_t() : this(freeswitchPINVOKE.new_switch_input_args_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_input_type_t { - SWITCH_INPUT_TYPE_DTMF, - SWITCH_INPUT_TYPE_EVENT -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hooks : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hooks(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hooks obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hooks() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hooks(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_io_event_hook_outgoing_channel outgoing_channel { - set { - freeswitchPINVOKE.switch_io_event_hooks_outgoing_channel_set(swigCPtr, switch_io_event_hook_outgoing_channel.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_outgoing_channel_get(swigCPtr); - switch_io_event_hook_outgoing_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_outgoing_channel(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_message receive_message { - set { - freeswitchPINVOKE.switch_io_event_hooks_receive_message_set(swigCPtr, switch_io_event_hook_receive_message.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_receive_message_get(swigCPtr); - switch_io_event_hook_receive_message ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_message(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_event receive_event { - set { - freeswitchPINVOKE.switch_io_event_hooks_receive_event_set(swigCPtr, switch_io_event_hook_receive_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_receive_event_get(swigCPtr); - switch_io_event_hook_receive_event ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_event(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_read_frame read_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_read_frame_set(swigCPtr, switch_io_event_hook_read_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_read_frame_get(swigCPtr); - switch_io_event_hook_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_read_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_read_frame video_read_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_video_read_frame_set(swigCPtr, switch_io_event_hook_video_read_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_video_read_frame_get(swigCPtr); - switch_io_event_hook_video_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_read_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_write_frame write_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_write_frame_set(swigCPtr, switch_io_event_hook_write_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_write_frame_get(swigCPtr); - switch_io_event_hook_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_write_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_write_frame video_write_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_video_write_frame_set(swigCPtr, switch_io_event_hook_video_write_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_video_write_frame_get(swigCPtr); - switch_io_event_hook_video_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_write_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_kill_channel kill_channel { - set { - freeswitchPINVOKE.switch_io_event_hooks_kill_channel_set(swigCPtr, switch_io_event_hook_kill_channel.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_kill_channel_get(swigCPtr); - switch_io_event_hook_kill_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_kill_channel(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_send_dtmf send_dtmf { - set { - freeswitchPINVOKE.switch_io_event_hooks_send_dtmf_set(swigCPtr, switch_io_event_hook_send_dtmf.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_send_dtmf_get(swigCPtr); - switch_io_event_hook_send_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_send_dtmf(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_recv_dtmf recv_dtmf { - set { - freeswitchPINVOKE.switch_io_event_hooks_recv_dtmf_set(swigCPtr, switch_io_event_hook_recv_dtmf.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_recv_dtmf_get(swigCPtr); - switch_io_event_hook_recv_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_recv_dtmf(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_change state_change { - set { - freeswitchPINVOKE.switch_io_event_hooks_state_change_set(swigCPtr, switch_io_event_hook_state_change.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_change_get(swigCPtr); - switch_io_event_hook_state_change ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_change(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_run state_run { - set { - freeswitchPINVOKE.switch_io_event_hooks_state_run_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_run_get(swigCPtr); - switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false); - return ret; - } - } - - public switch_io_event_hooks() : this(freeswitchPINVOKE.new_switch_io_event_hooks(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_kill_channel : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_kill_channel(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_kill_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_kill_channel() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_kill_channel(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t kill_channel { - set { - freeswitchPINVOKE.switch_io_event_hook_kill_channel_kill_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_kill_channel_kill_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_kill_channel next { - set { - freeswitchPINVOKE.switch_io_event_hook_kill_channel_next_set(swigCPtr, switch_io_event_hook_kill_channel.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_kill_channel_next_get(swigCPtr); - switch_io_event_hook_kill_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_kill_channel(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_kill_channel() : this(freeswitchPINVOKE.new_switch_io_event_hook_kill_channel(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_outgoing_channel : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_outgoing_channel(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_outgoing_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_outgoing_channel() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_outgoing_channel(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t outgoing_channel { - set { - freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_outgoing_channel next { - set { - freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_next_set(swigCPtr, switch_io_event_hook_outgoing_channel.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_next_get(swigCPtr); - switch_io_event_hook_outgoing_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_outgoing_channel(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_outgoing_channel() : this(freeswitchPINVOKE.new_switch_io_event_hook_outgoing_channel(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_read_frame : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_read_frame(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_read_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_read_frame() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_read_frame(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame { - set { - freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_read_frame next { - set { - freeswitchPINVOKE.switch_io_event_hook_read_frame_next_set(swigCPtr, switch_io_event_hook_read_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_next_get(swigCPtr); - switch_io_event_hook_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_read_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_read_frame() : this(freeswitchPINVOKE.new_switch_io_event_hook_read_frame(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_receive_event : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_receive_event(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_receive_event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_receive_event() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_receive_event(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t receive_event { - set { - freeswitchPINVOKE.switch_io_event_hook_receive_event_receive_event_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_event_receive_event_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_event next { - set { - freeswitchPINVOKE.switch_io_event_hook_receive_event_next_set(swigCPtr, switch_io_event_hook_receive_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_event_next_get(swigCPtr); - switch_io_event_hook_receive_event ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_event(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_event() : this(freeswitchPINVOKE.new_switch_io_event_hook_receive_event(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_receive_message : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_receive_message(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_receive_message obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_receive_message() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_receive_message(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t receive_message { - set { - freeswitchPINVOKE.switch_io_event_hook_receive_message_receive_message_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_message_receive_message_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_message next { - set { - freeswitchPINVOKE.switch_io_event_hook_receive_message_next_set(swigCPtr, switch_io_event_hook_receive_message.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_message_next_get(swigCPtr); - switch_io_event_hook_receive_message ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_message(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_message() : this(freeswitchPINVOKE.new_switch_io_event_hook_receive_message(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_recv_dtmf : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_recv_dtmf(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_recv_dtmf obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_recv_dtmf() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_recv_dtmf(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t recv_dtmf { - set { - freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_recv_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_recv_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_recv_dtmf next { - set { - freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_next_set(swigCPtr, switch_io_event_hook_recv_dtmf.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_next_get(swigCPtr); - switch_io_event_hook_recv_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_recv_dtmf(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_recv_dtmf() : this(freeswitchPINVOKE.new_switch_io_event_hook_recv_dtmf(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_send_dtmf : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_send_dtmf(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_send_dtmf obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_send_dtmf() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_send_dtmf(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t send_dtmf { - set { - freeswitchPINVOKE.switch_io_event_hook_send_dtmf_send_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_send_dtmf_send_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_send_dtmf next { - set { - freeswitchPINVOKE.switch_io_event_hook_send_dtmf_next_set(swigCPtr, switch_io_event_hook_send_dtmf.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_send_dtmf_next_get(swigCPtr); - switch_io_event_hook_send_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_send_dtmf(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_send_dtmf() : this(freeswitchPINVOKE.new_switch_io_event_hook_send_dtmf(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_state_change : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_state_change(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_state_change obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_state_change() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_state_change(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_change { - set { - freeswitchPINVOKE.switch_io_event_hook_state_change_state_change_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_change_state_change_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_change next { - set { - freeswitchPINVOKE.switch_io_event_hook_state_change_next_set(swigCPtr, switch_io_event_hook_state_change.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_change_next_get(swigCPtr); - switch_io_event_hook_state_change ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_change(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_change() : this(freeswitchPINVOKE.new_switch_io_event_hook_state_change(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_state_run : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_state_run(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_state_run obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_state_run() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_state_run(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run { - set { - freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_run next { - set { - freeswitchPINVOKE.switch_io_event_hook_state_run_next_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_next_get(swigCPtr); - switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_run() : this(freeswitchPINVOKE.new_switch_io_event_hook_state_run(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_video_read_frame : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_video_read_frame(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_video_read_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_video_read_frame() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_video_read_frame(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t video_read_frame { - set { - freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_read_frame next { - set { - freeswitchPINVOKE.switch_io_event_hook_video_read_frame_next_set(swigCPtr, switch_io_event_hook_video_read_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_next_get(swigCPtr); - switch_io_event_hook_video_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_read_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_read_frame() : this(freeswitchPINVOKE.new_switch_io_event_hook_video_read_frame(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_video_write_frame : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_video_write_frame(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_video_write_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_video_write_frame() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_video_write_frame(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t video_write_frame { - set { - freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_write_frame next { - set { - freeswitchPINVOKE.switch_io_event_hook_video_write_frame_next_set(swigCPtr, switch_io_event_hook_video_write_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_next_get(swigCPtr); - switch_io_event_hook_video_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_write_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_write_frame() : this(freeswitchPINVOKE.new_switch_io_event_hook_video_write_frame(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_write_frame : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_write_frame(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_write_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hook_write_frame() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hook_write_frame(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame { - set { - freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_write_frame next { - set { - freeswitchPINVOKE.switch_io_event_hook_write_frame_next_set(swigCPtr, switch_io_event_hook_write_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_next_get(swigCPtr); - switch_io_event_hook_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_write_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_write_frame() : this(freeswitchPINVOKE.new_switch_io_event_hook_write_frame(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_io_flag_enum_t { - SWITCH_IO_FLAG_NONE = 0, - SWITCH_IO_FLAG_NOBLOCK = (1 << 0), - SWITCH_IO_FLAG_SINGLE_READ = (1 << 1) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_routines : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_routines(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_routines obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_routines() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_routines(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t outgoing_channel { - set { - freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_outgoing_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_frame { - set { - freeswitchPINVOKE.switch_io_routines_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_frame { - set { - freeswitchPINVOKE.switch_io_routines_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t kill_channel { - set { - freeswitchPINVOKE.switch_io_routines_kill_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_kill_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t send_dtmf { - set { - freeswitchPINVOKE.switch_io_routines_send_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_send_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t receive_message { - set { - freeswitchPINVOKE.switch_io_routines_receive_message_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_receive_message_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t receive_event { - set { - freeswitchPINVOKE.switch_io_routines_receive_event_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_receive_event_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_change { - set { - freeswitchPINVOKE.switch_io_routines_state_change_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_change_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t read_video_frame { - set { - freeswitchPINVOKE.switch_io_routines_read_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_video_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t write_video_frame { - set { - freeswitchPINVOKE.switch_io_routines_write_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_video_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t state_run { - set { - freeswitchPINVOKE.switch_io_routines_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_run_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t get_jb { - set { - freeswitchPINVOKE.switch_io_routines_get_jb_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_get_jb_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_enum_switch_media_type_t__p_stfu_instance_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_p_void padding { - set { - freeswitchPINVOKE.switch_io_routines_padding_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_padding_get(swigCPtr); - SWIGTYPE_p_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); - return ret; - } - } - - public switch_io_routines() : this(freeswitchPINVOKE.new_switch_io_routines(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_io_routine_name_t { - SWITCH_IO_OUTGOING_CHANNEL, - SWITCH_IO_READ_FRAME, - SWITCH_IO_WRITE_FRAME, - SWITCH_IO_KILL_CHANNEL, - SWITCH_IO_SEND_DTMF, - SWITCH_IO_RECEIVE_MESSAGE, - SWITCH_IO_RECEIVE_EVENT, - SWITCH_IO_STATE_CHANGE, - SWITCH_IO_READ_VIDEO_FRAME, - SWITCH_IO_WRITE_VIDEO_FRAME, - SWITCH_IO_GET_JB -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_ivr_action_t { - SWITCH_IVR_ACTION_DIE, - SWITCH_IVR_ACTION_EXECMENU, - SWITCH_IVR_ACTION_EXECAPP, - SWITCH_IVR_ACTION_PLAYSOUND, - SWITCH_IVR_ACTION_BACK, - SWITCH_IVR_ACTION_TOMAIN, - SWITCH_IVR_ACTION_NOOP -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_ivr_dmachine_match : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_ivr_dmachine_match(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_ivr_dmachine_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_ivr_dmachine_match() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_ivr_dmachine_match(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_ivr_dmachine dmachine { - set { - freeswitchPINVOKE.switch_ivr_dmachine_match_dmachine_set(swigCPtr, SWIGTYPE_p_switch_ivr_dmachine.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_match_dmachine_get(swigCPtr); - SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); - return ret; - } - } - - public string match_digits { - set { - freeswitchPINVOKE.switch_ivr_dmachine_match_match_digits_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_ivr_dmachine_match_match_digits_get(swigCPtr); - return ret; - } - } - - public int match_key { - set { - freeswitchPINVOKE.switch_ivr_dmachine_match_match_key_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_ivr_dmachine_match_match_key_get(swigCPtr); - return ret; - } - } - - public dm_match_type_t type { - set { - freeswitchPINVOKE.switch_ivr_dmachine_match_type_set(swigCPtr, (int)value); - } - get { - dm_match_type_t ret = (dm_match_type_t)freeswitchPINVOKE.switch_ivr_dmachine_match_type_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void user_data { - set { - freeswitchPINVOKE.switch_ivr_dmachine_match_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_match_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public switch_ivr_dmachine_match() : this(freeswitchPINVOKE.new_switch_ivr_dmachine_match(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_ivr_menu_flags { - SWITCH_IVR_MENU_FLAG_FALLTOMAIN = (1 << 0), - SWITCH_IVR_MENU_FLAG_FREEPOOL = (1 << 1), - SWITCH_IVR_MENU_FLAG_STACK = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_ivr_option_enum_t { - SWITCH_IVR_OPTION_NONE = 0, - SWITCH_IVR_OPTION_ASYNC = (1 << 0), - SWITCH_IVR_OPTION_FILE = (1 << 1) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_json_api_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_json_api_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_json_api_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_json_api_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_json_api_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_json_api_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_json_api_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public string desc { - set { - freeswitchPINVOKE.switch_json_api_interface_desc_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_json_api_interface_desc_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t function { - set { - freeswitchPINVOKE.switch_json_api_interface_function_set(swigCPtr, SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_function_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t(cPtr, false); - return ret; - } - } - - public string syntax { - set { - freeswitchPINVOKE.switch_json_api_interface_syntax_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_json_api_interface_syntax_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_json_api_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_json_api_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_json_api_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_json_api_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_json_api_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_json_api_interface next { - set { - freeswitchPINVOKE.switch_json_api_interface_next_set(swigCPtr, switch_json_api_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_next_get(swigCPtr); - switch_json_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); - return ret; - } - } - - public switch_json_api_interface() : this(freeswitchPINVOKE.new_switch_json_api_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_limit_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_limit_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_limit_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_limit_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_limit_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_limit_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_limit_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t incr { - set { - freeswitchPINVOKE.switch_limit_interface_incr_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_incr_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t release { - set { - freeswitchPINVOKE.switch_limit_interface_release_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_release_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int usage { - set { - freeswitchPINVOKE.switch_limit_interface_usage_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_usage_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_void__switch_status_t reset { - set { - freeswitchPINVOKE.switch_limit_interface_reset_set(swigCPtr, SWIGTYPE_p_f_void__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_reset_get(swigCPtr); - SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_void__p_char status { - set { - freeswitchPINVOKE.switch_limit_interface_status_set(swigCPtr, SWIGTYPE_p_f_void__p_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_status_get(swigCPtr); - SWIGTYPE_p_f_void__p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__p_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t interval_reset { - set { - freeswitchPINVOKE.switch_limit_interface_interval_reset_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_interval_reset_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_limit_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_limit_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_limit_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_limit_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_limit_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_limit_interface next { - set { - freeswitchPINVOKE.switch_limit_interface_next_set(swigCPtr, switch_limit_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_next_get(swigCPtr); - switch_limit_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); - return ret; - } - } - - public switch_limit_interface() : this(freeswitchPINVOKE.new_switch_limit_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_loadable_module_function_table_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_loadable_module_function_table_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_loadable_module_function_table_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_loadable_module_function_table_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_loadable_module_function_table_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public int switch_api_version { - set { - freeswitchPINVOKE.switch_loadable_module_function_table_t_switch_api_version_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_loadable_module_function_table_t_switch_api_version_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t load { - set { - freeswitchPINVOKE.switch_loadable_module_function_table_t_load_set(swigCPtr, SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_load_get(swigCPtr); - SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_void__switch_status_t shutdown { - set { - freeswitchPINVOKE.switch_loadable_module_function_table_t_shutdown_set(swigCPtr, SWIGTYPE_p_f_void__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_shutdown_get(swigCPtr); - SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_void__switch_status_t runtime { - set { - freeswitchPINVOKE.switch_loadable_module_function_table_t_runtime_set(swigCPtr, SWIGTYPE_p_f_void__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_runtime_get(swigCPtr); - SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_loadable_module_function_table_t_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_loadable_module_function_table_t_flags_get(swigCPtr); - return ret; - } - } - - public switch_loadable_module_function_table_t() : this(freeswitchPINVOKE.new_switch_loadable_module_function_table_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_loadable_module_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_loadable_module_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_loadable_module_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_loadable_module_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_loadable_module_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string module_name { - set { - freeswitchPINVOKE.switch_loadable_module_interface_module_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_loadable_module_interface_module_name_get(swigCPtr); - return ret; - } - } - - public switch_endpoint_interface endpoint_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_endpoint_interface_set(swigCPtr, switch_endpoint_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_endpoint_interface_get(swigCPtr); - switch_endpoint_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); - return ret; - } - } - - public switch_timer_interface timer_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_timer_interface_set(swigCPtr, switch_timer_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_timer_interface_get(swigCPtr); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); - return ret; - } - } - - public switch_dialplan_interface dialplan_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_dialplan_interface_set(swigCPtr, switch_dialplan_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_dialplan_interface_get(swigCPtr); - switch_dialplan_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); - return ret; - } - } - - public switch_codec_interface codec_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_codec_interface_set(swigCPtr, switch_codec_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_codec_interface_get(swigCPtr); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); - return ret; - } - } - - public switch_application_interface application_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_application_interface_set(swigCPtr, switch_application_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_application_interface_get(swigCPtr); - switch_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); - return ret; - } - } - - public switch_chat_application_interface chat_application_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_chat_application_interface_set(swigCPtr, switch_chat_application_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_chat_application_interface_get(swigCPtr); - switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); - return ret; - } - } - - public switch_api_interface api_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_api_interface_set(swigCPtr, switch_api_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_api_interface_get(swigCPtr); - switch_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); - return ret; - } - } - - public switch_json_api_interface json_api_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_json_api_interface_set(swigCPtr, switch_json_api_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_json_api_interface_get(swigCPtr); - switch_json_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); - return ret; - } - } - - public switch_file_interface file_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_file_interface_set(swigCPtr, switch_file_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_file_interface_get(swigCPtr); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); - return ret; - } - } - - public switch_speech_interface speech_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_speech_interface_set(swigCPtr, switch_speech_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_speech_interface_get(swigCPtr); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); - return ret; - } - } - - public switch_directory_interface directory_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_directory_interface_set(swigCPtr, switch_directory_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_directory_interface_get(swigCPtr); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); - return ret; - } - } - - public switch_chat_interface chat_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_chat_interface_set(swigCPtr, switch_chat_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_chat_interface_get(swigCPtr); - switch_chat_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); - return ret; - } - } - - public switch_say_interface say_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_say_interface_set(swigCPtr, switch_say_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_say_interface_get(swigCPtr); - switch_say_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); - return ret; - } - } - - public switch_asr_interface asr_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_asr_interface_set(swigCPtr, switch_asr_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_asr_interface_get(swigCPtr); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); - return ret; - } - } - - public switch_management_interface management_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_management_interface_set(swigCPtr, switch_management_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_management_interface_get(swigCPtr); - switch_management_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); - return ret; - } - } - - public switch_limit_interface limit_interface { - set { - freeswitchPINVOKE.switch_loadable_module_interface_limit_interface_set(swigCPtr, switch_limit_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_limit_interface_get(swigCPtr); - switch_limit_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_loadable_module_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_loadable_module_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_loadable_module_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t pool { - set { - freeswitchPINVOKE.switch_loadable_module_interface_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface() : this(freeswitchPINVOKE.new_switch_loadable_module_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_log_level_t { - SWITCH_LOG_DEBUG10 = 110, - SWITCH_LOG_DEBUG9 = 109, - SWITCH_LOG_DEBUG8 = 108, - SWITCH_LOG_DEBUG7 = 107, - SWITCH_LOG_DEBUG6 = 106, - SWITCH_LOG_DEBUG5 = 105, - SWITCH_LOG_DEBUG4 = 104, - SWITCH_LOG_DEBUG3 = 103, - SWITCH_LOG_DEBUG2 = 102, - SWITCH_LOG_DEBUG1 = 101, - SWITCH_LOG_DEBUG = 7, - SWITCH_LOG_INFO = 6, - SWITCH_LOG_NOTICE = 5, - SWITCH_LOG_WARNING = 4, - SWITCH_LOG_ERROR = 3, - SWITCH_LOG_CRIT = 2, - SWITCH_LOG_ALERT = 1, - SWITCH_LOG_CONSOLE = 0, - SWITCH_LOG_INVALID = 64, - SWITCH_LOG_UNINIT = 1000 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_log_node_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_log_node_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_log_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_log_node_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_log_node_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string data { - set { - freeswitchPINVOKE.switch_log_node_t_data_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_log_node_t_data_get(swigCPtr); - return ret; - } - } - - public string file { - set { - freeswitchPINVOKE.switch_log_node_t_file_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_log_node_t_file_get(swigCPtr); - return ret; - } - } - - public uint line { - set { - freeswitchPINVOKE.switch_log_node_t_line_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_log_node_t_line_get(swigCPtr); - return ret; - } - } - - public string func { - set { - freeswitchPINVOKE.switch_log_node_t_func_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_log_node_t_func_get(swigCPtr); - return ret; - } - } - - public switch_log_level_t level { - set { - freeswitchPINVOKE.switch_log_node_t_level_set(swigCPtr, (int)value); - } - get { - switch_log_level_t ret = (switch_log_level_t)freeswitchPINVOKE.switch_log_node_t_level_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t timestamp { - set { - freeswitchPINVOKE.switch_log_node_t_timestamp_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_log_node_t_timestamp_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string content { - set { - freeswitchPINVOKE.switch_log_node_t_content_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_log_node_t_content_get(swigCPtr); - return ret; - } - } - - public string userdata { - set { - freeswitchPINVOKE.switch_log_node_t_userdata_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_log_node_t_userdata_get(swigCPtr); - return ret; - } - } - - public switch_text_channel_t channel { - set { - freeswitchPINVOKE.switch_log_node_t_channel_set(swigCPtr, (int)value); - } - get { - switch_text_channel_t ret = (switch_text_channel_t)freeswitchPINVOKE.switch_log_node_t_channel_get(swigCPtr); - return ret; - } - } - - public switch_log_level_t slevel { - set { - freeswitchPINVOKE.switch_log_node_t_slevel_set(swigCPtr, (int)value); - } - get { - switch_log_level_t ret = (switch_log_level_t)freeswitchPINVOKE.switch_log_node_t_slevel_get(swigCPtr); - return ret; - } - } - - public switch_log_node_t() : this(freeswitchPINVOKE.new_switch_log_node_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_management_action_t { - SMA_NONE, - SMA_GET, - SMA_SET -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_management_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_management_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_management_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_management_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_management_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string relative_oid { - set { - freeswitchPINVOKE.switch_management_interface_relative_oid_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_management_interface_relative_oid_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t management_function { - set { - freeswitchPINVOKE.switch_management_interface_management_function_set(swigCPtr, SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_management_function_get(swigCPtr); - SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_management_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_management_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_management_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_management_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_management_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_management_interface next { - set { - freeswitchPINVOKE.switch_management_interface_next_set(swigCPtr, switch_management_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_next_get(swigCPtr); - switch_management_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); - return ret; - } - } - - public switch_management_interface() : this(freeswitchPINVOKE.new_switch_management_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_media_bug_flag_enum_t { - SMBF_BOTH = 0, - SMBF_READ_STREAM = (1 << 0), - SMBF_WRITE_STREAM = (1 << 1), - SMBF_WRITE_REPLACE = (1 << 2), - SMBF_READ_REPLACE = (1 << 3), - SMBF_READ_PING = (1 << 4), - SMBF_STEREO = (1 << 5), - SMBF_ANSWER_REQ = (1 << 6), - SMBF_BRIDGE_REQ = (1 << 7), - SMBF_THREAD_LOCK = (1 << 8), - SMBF_PRUNE = (1 << 9), - SMBF_NO_PAUSE = (1 << 10), - SMBF_STEREO_SWAP = (1 << 11), - SMBF_LOCK = (1 << 12), - SMBF_TAP_NATIVE_READ = (1 << 13), - SMBF_TAP_NATIVE_WRITE = (1 << 14), - SMBF_ONE_ONLY = (1 << 15), - SMBF_MASK = (1 << 16) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_media_flag_enum_t { - SMF_NONE = 0, - SMF_REBRIDGE = (1 << 0), - SMF_ECHO_ALEG = (1 << 1), - SMF_ECHO_BLEG = (1 << 2), - SMF_FORCE = (1 << 3), - SMF_LOOP = (1 << 4), - SMF_HOLD_BLEG = (1 << 5), - SMF_IMMEDIATE = (1 << 6), - SMF_EXEC_INLINE = (1 << 7), - SMF_PRIORITY = (1 << 8), - SMF_REPLYONLY_A = (1 << 9), - SMF_REPLYONLY_B = (1 << 10) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_media_type_t { - SWITCH_MEDIA_TYPE_AUDIO, - SWITCH_MEDIA_TYPE_VIDEO -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_module_flag_enum_t { - SMODF_NONE = 0, - SMODF_GLOBAL_SYMBOLS = (1 << 0) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_module_interface_name_t { - SWITCH_ENDPOINT_INTERFACE, - SWITCH_TIMER_INTERFACE, - SWITCH_DIALPLAN_INTERFACE, - SWITCH_CODEC_INTERFACE, - SWITCH_APPLICATION_INTERFACE, - SWITCH_API_INTERFACE, - SWITCH_FILE_INTERFACE, - SWITCH_SPEECH_INTERFACE, - SWITCH_DIRECTORY_INTERFACE, - SWITCH_CHAT_INTERFACE, - SWITCH_SAY_INTERFACE, - SWITCH_ASR_INTERFACE, - SWITCH_MANAGEMENT_INTERFACE, - SWITCH_LIMIT_INTERFACE, - SWITCH_CHAT_APPLICATION_INTERFACE, - SWITCH_JSON_API_INTERFACE -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_originate_flag_enum_t { - SOF_NONE = 0, - SOF_NOBLOCK = (1 << 0), - SOF_FORKED_DIAL = (1 << 1), - SOF_NO_EFFECTIVE_ANI = (1 << 2), - SOF_NO_EFFECTIVE_ANIII = (1 << 3), - SOF_NO_EFFECTIVE_CID_NUM = (1 << 4), - SOF_NO_EFFECTIVE_CID_NAME = (1 << 5), - SOF_NO_LIMITS = (1 << 6) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_poll_t { - SWITCH_POLL_READ = (1 << 0), - SWITCH_POLL_WRITE = (1 << 1), - SWITCH_POLL_ERROR = (1 << 2), - SWITCH_POLL_HUP = (1 << 3), - SWITCH_POLL_RDNORM = (1 << 4), - SWITCH_POLL_RDBAND = (1 << 5), - SWITCH_POLL_PRI = (1 << 6), - SWITCH_POLL_INVALID = (1 << 7) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_port_flag_enum_t { - SPF_NONE = 0, - SPF_ODD = (1 << 0), - SPF_EVEN = (1 << 1), - SPF_ROBUST_TCP = (1 << 2), - SPF_ROBUST_UDP = (1 << 3) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_priority_t { - SWITCH_PRIORITY_NORMAL, - SWITCH_PRIORITY_LOW, - SWITCH_PRIORITY_HIGH -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_pvt_class_t { - SWITCH_PVT_PRIMARY = 0, - SWITCH_PVT_SECONDARY -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_ring_ready_t { - SWITCH_RING_READY_NONE, - SWITCH_RING_READY_RINGING, - SWITCH_RING_READY_QUEUED -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_rtcp_hdr_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_rtcp_hdr_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_rtcp_hdr_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_rtcp_hdr_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_rtcp_hdr_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint version { - set { - freeswitchPINVOKE.switch_rtcp_hdr_t_version_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_hdr_t_version_get(swigCPtr); - return ret; - } - } - - public uint p { - set { - freeswitchPINVOKE.switch_rtcp_hdr_t_p_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_hdr_t_p_get(swigCPtr); - return ret; - } - } - - public uint count { - set { - freeswitchPINVOKE.switch_rtcp_hdr_t_count_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_hdr_t_count_get(swigCPtr); - return ret; - } - } - - public uint type { - set { - freeswitchPINVOKE.switch_rtcp_hdr_t_type_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_hdr_t_type_get(swigCPtr); - return ret; - } - } - - public uint length { - set { - freeswitchPINVOKE.switch_rtcp_hdr_t_length_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_hdr_t_length_get(swigCPtr); - return ret; - } - } - - public switch_rtcp_hdr_t() : this(freeswitchPINVOKE.new_switch_rtcp_hdr_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_rtcp_numbers_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_rtcp_numbers_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_rtcp_numbers_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_rtcp_numbers_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_rtcp_numbers_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint packet_count { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_packet_count_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_packet_count_get(swigCPtr); - return ret; - } - } - - public uint octet_count { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_octet_count_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_octet_count_get(swigCPtr); - return ret; - } - } - - public uint peer_ssrc { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_peer_ssrc_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_peer_ssrc_get(swigCPtr); - return ret; - } - } - - public uint last_rpt_ts { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ts_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ts_get(swigCPtr); - return ret; - } - } - - public uint ssrc { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_ssrc_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_ssrc_get(swigCPtr); - return ret; - } - } - - public uint csrc { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_csrc_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_csrc_get(swigCPtr); - return ret; - } - } - - public uint last_pkt_tsdiff { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_last_pkt_tsdiff_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_pkt_tsdiff_get(swigCPtr); - return ret; - } - } - - public double inter_jitter { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_inter_jitter_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtcp_numbers_t_inter_jitter_get(swigCPtr); - return ret; - } - } - - public uint last_rpt_ext_seq { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ext_seq_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_ext_seq_get(swigCPtr); - return ret; - } - } - - public ushort last_rpt_cycle { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_cycle_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_rpt_cycle_get(swigCPtr); - return ret; - } - } - - public ushort period_pkt_count { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_period_pkt_count_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_period_pkt_count_get(swigCPtr); - return ret; - } - } - - public ushort pkt_count { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_pkt_count_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_pkt_count_get(swigCPtr); - return ret; - } - } - - public uint rtcp_rtp_count { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_rtcp_rtp_count_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_rtcp_rtp_count_get(swigCPtr); - return ret; - } - } - - public uint high_ext_seq_recv { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_high_ext_seq_recv_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_high_ext_seq_recv_get(swigCPtr); - return ret; - } - } - - public ushort cycle { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_cycle_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_cycle_get(swigCPtr); - return ret; - } - } - - public uint bad_seq { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_bad_seq_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_bad_seq_get(swigCPtr); - return ret; - } - } - - public ushort base_seq { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_base_seq_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_rtcp_numbers_t_base_seq_get(swigCPtr); - return ret; - } - } - - public uint cum_lost { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_cum_lost_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_cum_lost_get(swigCPtr); - return ret; - } - } - - public uint last_recv_lsr_local { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_local_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_local_get(swigCPtr); - return ret; - } - } - - public uint last_recv_lsr_peer { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_peer_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_last_recv_lsr_peer_get(swigCPtr); - return ret; - } - } - - public uint init { - set { - freeswitchPINVOKE.switch_rtcp_numbers_t_init_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtcp_numbers_t_init_get(swigCPtr); - return ret; - } - } - - public switch_rtcp_numbers_t() : this(freeswitchPINVOKE.new_switch_rtcp_numbers_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_rtp_bug_flag_t { - RTP_BUG_NONE = 0, - RTP_BUG_CISCO_SKIP_MARK_BIT_2833 = (1 << 0), - RTP_BUG_SONUS_SEND_INVALID_TIMESTAMP_2833 = (1 << 1), - RTP_BUG_IGNORE_MARK_BIT = (1 << 2), - RTP_BUG_SEND_LINEAR_TIMESTAMPS = (1 << 3), - RTP_BUG_START_SEQ_AT_ZERO = (1 << 4), - RTP_BUG_NEVER_SEND_MARKER = (1 << 5), - RTP_BUG_IGNORE_DTMF_DURATION = (1 << 6), - RTP_BUG_ACCEPT_ANY_PACKETS = (1 << 7), - RTP_BUG_GEN_ONE_GEN_ALL = (1 << 8), - RTP_BUG_CHANGE_SSRC_ON_MARKER = (1 << 9), - RTP_BUG_FLUSH_JB_ON_DTMF = (1 << 10), - RTP_BUG_ACCEPT_ANY_PAYLOAD = (1 << 11), - RTP_BUG_ALWAYS_AUTO_ADJUST = (1 << 12) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_rtp_crypto_direction_t { - SWITCH_RTP_CRYPTO_SEND, - SWITCH_RTP_CRYPTO_RECV, - SWITCH_RTP_CRYPTO_SEND_RTCP, - SWITCH_RTP_CRYPTO_RECV_RTCP, - SWITCH_RTP_CRYPTO_MAX -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_crypto_key : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_rtp_crypto_key(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_rtp_crypto_key obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_rtp_crypto_key() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_rtp_crypto_key(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint index { - set { - freeswitchPINVOKE.switch_rtp_crypto_key_index_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_crypto_key_index_get(swigCPtr); - return ret; - } - } - - public switch_rtp_crypto_key_type_t type { - set { - freeswitchPINVOKE.switch_rtp_crypto_key_type_set(swigCPtr, (int)value); - } - get { - switch_rtp_crypto_key_type_t ret = (switch_rtp_crypto_key_type_t)freeswitchPINVOKE.switch_rtp_crypto_key_type_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char key { - set { - freeswitchPINVOKE.switch_rtp_crypto_key_key_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_crypto_key_key_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t keylen { - set { - freeswitchPINVOKE.switch_rtp_crypto_key_keylen_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_crypto_key_keylen_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_rtp_crypto_key next { - set { - freeswitchPINVOKE.switch_rtp_crypto_key_next_set(swigCPtr, switch_rtp_crypto_key.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_crypto_key_next_get(swigCPtr); - switch_rtp_crypto_key ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_crypto_key(cPtr, false); - return ret; - } - } - - public switch_rtp_crypto_key() : this(freeswitchPINVOKE.new_switch_rtp_crypto_key(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_rtp_crypto_key_type_t { - AEAD_AES_256_GCM_8, - AEAD_AES_128_GCM_8, - AES_CM_256_HMAC_SHA1_80, - AES_CM_192_HMAC_SHA1_80, - AES_CM_128_HMAC_SHA1_80, - AES_CM_256_HMAC_SHA1_32, - AES_CM_192_HMAC_SHA1_32, - AES_CM_128_HMAC_SHA1_32, - AES_CM_128_NULL_AUTH, - CRYPTO_INVALID -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_rtp_flag_t { - SWITCH_RTP_FLAG_NOBLOCK = 0, - SWITCH_RTP_FLAG_DTMF_ON, - SWITCH_RTP_FLAG_IO, - SWITCH_RTP_FLAG_USE_TIMER, - SWITCH_RTP_FLAG_RTCP_PASSTHRU, - SWITCH_RTP_FLAG_SECURE_SEND, - SWITCH_RTP_FLAG_SECURE_RECV, - SWITCH_RTP_FLAG_AUTOADJ, - SWITCH_RTP_FLAG_RAW_WRITE, - SWITCH_RTP_FLAG_GOOGLEHACK, - SWITCH_RTP_FLAG_VAD, - SWITCH_RTP_FLAG_BREAK, - SWITCH_RTP_FLAG_UDPTL, - SWITCH_RTP_FLAG_DATAWAIT, - SWITCH_RTP_FLAG_BYTESWAP, - SWITCH_RTP_FLAG_PASS_RFC2833, - SWITCH_RTP_FLAG_AUTO_CNG, - SWITCH_RTP_FLAG_SECURE_SEND_RESET, - SWITCH_RTP_FLAG_SECURE_RECV_RESET, - SWITCH_RTP_FLAG_PROXY_MEDIA, - SWITCH_RTP_FLAG_SHUTDOWN, - SWITCH_RTP_FLAG_FLUSH, - SWITCH_RTP_FLAG_AUTOFLUSH, - SWITCH_RTP_FLAG_STICKY_FLUSH, - SWITCH_ZRTP_FLAG_SECURE_SEND, - SWITCH_ZRTP_FLAG_SECURE_RECV, - SWITCH_ZRTP_FLAG_SECURE_MITM_SEND, - SWITCH_ZRTP_FLAG_SECURE_MITM_RECV, - SWITCH_RTP_FLAG_DEBUG_RTP_READ, - SWITCH_RTP_FLAG_DEBUG_RTP_WRITE, - SWITCH_RTP_FLAG_VIDEO, - SWITCH_RTP_FLAG_ENABLE_RTCP, - SWITCH_RTP_FLAG_RTCP_MUX, - SWITCH_RTP_FLAG_KILL_JB, - SWITCH_RTP_FLAG_VIDEO_BREAK, - SWITCH_RTP_FLAG_PAUSE, - SWITCH_RTP_FLAG_FIR, - SWITCH_RTP_FLAG_PLI, - SWITCH_RTP_FLAG_RESET, - SWITCH_RTP_FLAG_MUTE, - SWITCH_RTP_FLAG_INVALID -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_rtp_flush_t { - SWITCH_RTP_FLUSH_ONCE, - SWITCH_RTP_FLUSH_STICK, - SWITCH_RTP_FLUSH_UNSTICK -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_hdr_ext_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_rtp_hdr_ext_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_rtp_hdr_ext_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_rtp_hdr_ext_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_rtp_hdr_ext_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint length { - set { - freeswitchPINVOKE.switch_rtp_hdr_ext_t_length_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_ext_t_length_get(swigCPtr); - return ret; - } - } - - public uint profile { - set { - freeswitchPINVOKE.switch_rtp_hdr_ext_t_profile_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_ext_t_profile_get(swigCPtr); - return ret; - } - } - - public switch_rtp_hdr_ext_t() : this(freeswitchPINVOKE.new_switch_rtp_hdr_ext_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_hdr_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_rtp_hdr_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_rtp_hdr_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_rtp_hdr_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_rtp_hdr_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint version { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_version_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_version_get(swigCPtr); - return ret; - } - } - - public uint p { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_p_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_p_get(swigCPtr); - return ret; - } - } - - public uint x { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_x_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_x_get(swigCPtr); - return ret; - } - } - - public uint cc { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_cc_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_cc_get(swigCPtr); - return ret; - } - } - - public uint m { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_m_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_m_get(swigCPtr); - return ret; - } - } - - public uint pt { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_pt_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_pt_get(swigCPtr); - return ret; - } - } - - public uint seq { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_seq_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_seq_get(swigCPtr); - return ret; - } - } - - public uint ts { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_ts_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_ts_get(swigCPtr); - return ret; - } - } - - public uint ssrc { - set { - freeswitchPINVOKE.switch_rtp_hdr_t_ssrc_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_hdr_t_ssrc_get(swigCPtr); - return ret; - } - } - - public switch_rtp_hdr_t() : this(freeswitchPINVOKE.new_switch_rtp_hdr_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_numbers_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_rtp_numbers_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_rtp_numbers_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_rtp_numbers_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_rtp_numbers_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_size_t raw_bytes { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_raw_bytes_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_raw_bytes_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t media_bytes { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_media_bytes_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_media_bytes_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t period_packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_period_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_period_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t media_packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_media_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_media_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t skip_packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_skip_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_skip_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t jb_packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_jb_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_jb_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t dtmf_packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_dtmf_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_dtmf_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t cng_packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_cng_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_cng_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t flush_packet_count { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_flush_packet_count_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_flush_packet_count_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t largest_jb_size { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_largest_jb_size_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_largest_jb_size_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public long last_proc_time { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_last_proc_time_set(swigCPtr, value); - } - get { - long ret = freeswitchPINVOKE.switch_rtp_numbers_t_last_proc_time_get(swigCPtr); - return ret; - } - } - - public long jitter_n { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_jitter_n_set(swigCPtr, value); - } - get { - long ret = freeswitchPINVOKE.switch_rtp_numbers_t_jitter_n_get(swigCPtr); - return ret; - } - } - - public long jitter_add { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_jitter_add_set(swigCPtr, value); - } - get { - long ret = freeswitchPINVOKE.switch_rtp_numbers_t_jitter_add_get(swigCPtr); - return ret; - } - } - - public long jitter_addsq { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_jitter_addsq_set(swigCPtr, value); - } - get { - long ret = freeswitchPINVOKE.switch_rtp_numbers_t_jitter_addsq_get(swigCPtr); - return ret; - } - } - - public double variance { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_variance_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_variance_get(swigCPtr); - return ret; - } - } - - public double min_variance { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_min_variance_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_min_variance_get(swigCPtr); - return ret; - } - } - - public double max_variance { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_max_variance_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_max_variance_get(swigCPtr); - return ret; - } - } - - public double std_deviation { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_std_deviation_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_std_deviation_get(swigCPtr); - return ret; - } - } - - public double lossrate { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_lossrate_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_lossrate_get(swigCPtr); - return ret; - } - } - - public double burstrate { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_burstrate_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_burstrate_get(swigCPtr); - return ret; - } - } - - public double mean_interval { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_mean_interval_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_mean_interval_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_int loss { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_loss_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_numbers_t_loss_get(swigCPtr); - SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); - return ret; - } - } - - public int last_loss { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_last_loss_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_rtp_numbers_t_last_loss_get(swigCPtr); - return ret; - } - } - - public int recved { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_recved_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_rtp_numbers_t_recved_get(swigCPtr); - return ret; - } - } - - public int last_processed_seq { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_last_processed_seq_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_rtp_numbers_t_last_processed_seq_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t flaws { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_flaws_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_flaws_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t last_flaw { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_last_flaw_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_rtp_numbers_t_last_flaw_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double R { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_R_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_R_get(swigCPtr); - return ret; - } - } - - public double mos { - set { - freeswitchPINVOKE.switch_rtp_numbers_t_mos_set(swigCPtr, value); - } - get { - double ret = freeswitchPINVOKE.switch_rtp_numbers_t_mos_get(swigCPtr); - return ret; - } - } - - public switch_rtp_numbers_t() : this(freeswitchPINVOKE.new_switch_rtp_numbers_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_stats_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_rtp_stats_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_rtp_stats_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_rtp_stats_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_rtp_stats_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_rtp_numbers_t inbound { - set { - freeswitchPINVOKE.switch_rtp_stats_t_inbound_set(swigCPtr, switch_rtp_numbers_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_inbound_get(swigCPtr); - switch_rtp_numbers_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_numbers_t(cPtr, false); - return ret; - } - } - - public switch_rtp_numbers_t outbound { - set { - freeswitchPINVOKE.switch_rtp_stats_t_outbound_set(swigCPtr, switch_rtp_numbers_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_outbound_get(swigCPtr); - switch_rtp_numbers_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_numbers_t(cPtr, false); - return ret; - } - } - - public switch_rtcp_numbers_t rtcp { - set { - freeswitchPINVOKE.switch_rtp_stats_t_rtcp_set(swigCPtr, switch_rtcp_numbers_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_rtcp_get(swigCPtr); - switch_rtcp_numbers_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtcp_numbers_t(cPtr, false); - return ret; - } - } - - public uint read_count { - set { - freeswitchPINVOKE.switch_rtp_stats_t_read_count_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_rtp_stats_t_read_count_get(swigCPtr); - return ret; - } - } - - public switch_rtp_stats_t() : this(freeswitchPINVOKE.new_switch_rtp_stats_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_say_args_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_say_args_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_say_args_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_say_args_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_say_args_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_say_type_t type { - set { - freeswitchPINVOKE.switch_say_args_t_type_set(swigCPtr, (int)value); - } - get { - switch_say_type_t ret = (switch_say_type_t)freeswitchPINVOKE.switch_say_args_t_type_get(swigCPtr); - return ret; - } - } - - public switch_say_method_t method { - set { - freeswitchPINVOKE.switch_say_args_t_method_set(swigCPtr, (int)value); - } - get { - switch_say_method_t ret = (switch_say_method_t)freeswitchPINVOKE.switch_say_args_t_method_get(swigCPtr); - return ret; - } - } - - public switch_say_gender_t gender { - set { - freeswitchPINVOKE.switch_say_args_t_gender_set(swigCPtr, (int)value); - } - get { - switch_say_gender_t ret = (switch_say_gender_t)freeswitchPINVOKE.switch_say_args_t_gender_get(swigCPtr); - return ret; - } - } - - public string ext { - set { - freeswitchPINVOKE.switch_say_args_t_ext_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_say_args_t_ext_get(swigCPtr); - return ret; - } - } - - public switch_say_args_t() : this(freeswitchPINVOKE.new_switch_say_args_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_say_gender_t { - SSG_MASCULINE, - SSG_FEMININE, - SSG_NEUTER, - SSG_UTRUM -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_say_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_say_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_say_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_say_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_say_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_say_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_say_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t say_function { - set { - freeswitchPINVOKE.switch_say_interface_say_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_say_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t say_string_function { - set { - freeswitchPINVOKE.switch_say_interface_say_string_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_say_string_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_say_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_say_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_say_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_say_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_say_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_say_interface next { - set { - freeswitchPINVOKE.switch_say_interface_next_set(swigCPtr, switch_say_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_next_get(swigCPtr); - switch_say_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); - return ret; - } - } - - public switch_say_interface() : this(freeswitchPINVOKE.new_switch_say_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_say_method_t { - SSM_NA, - SSM_PRONOUNCED, - SSM_ITERATED, - SSM_COUNTED, - SSM_PRONOUNCED_YEAR -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_say_type_t { - SST_NUMBER, - SST_ITEMS, - SST_PERSONS, - SST_MESSAGES, - SST_CURRENCY, - SST_TIME_MEASUREMENT, - SST_CURRENT_DATE, - SST_CURRENT_TIME, - SST_CURRENT_DATE_TIME, - SST_TELEPHONE_NUMBER, - SST_TELEPHONE_EXTENSION, - SST_URL, - SST_IP_ADDRESS, - SST_EMAIL_ADDRESS, - SST_POSTAL_ADDRESS, - SST_ACCOUNT_NUMBER, - SST_NAME_SPELLED, - SST_NAME_PHONETIC, - SST_SHORT_DATE_TIME -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_scheduler_flag_enum_t { - SSHF_NONE = 0, - SSHF_OWN_THREAD = (1 << 0), - SSHF_FREE_ARG = (1 << 1), - SSHF_NO_DEL = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_scheduler_task : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_scheduler_task(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_scheduler_task obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_scheduler_task() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_scheduler_task(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public long created { - set { - freeswitchPINVOKE.switch_scheduler_task_created_set(swigCPtr, value); - } - get { - long ret = freeswitchPINVOKE.switch_scheduler_task_created_get(swigCPtr); - return ret; - } - } - - public long runtime { - set { - freeswitchPINVOKE.switch_scheduler_task_runtime_set(swigCPtr, value); - } - get { - long ret = freeswitchPINVOKE.switch_scheduler_task_runtime_get(swigCPtr); - return ret; - } - } - - public uint cmd_id { - set { - freeswitchPINVOKE.switch_scheduler_task_cmd_id_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_scheduler_task_cmd_id_get(swigCPtr); - return ret; - } - } - - public uint repeat { - set { - freeswitchPINVOKE.switch_scheduler_task_repeat_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_scheduler_task_repeat_get(swigCPtr); - return ret; - } - } - - public string group { - set { - freeswitchPINVOKE.switch_scheduler_task_group_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_scheduler_task_group_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void cmd_arg { - set { - freeswitchPINVOKE.switch_scheduler_task_cmd_arg_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_scheduler_task_cmd_arg_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public uint task_id { - set { - freeswitchPINVOKE.switch_scheduler_task_task_id_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_scheduler_task_task_id_get(swigCPtr); - return ret; - } - } - - public uint hash { - set { - freeswitchPINVOKE.switch_scheduler_task_hash_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_scheduler_task_hash_get(swigCPtr); - return ret; - } - } - - public switch_scheduler_task() : this(freeswitchPINVOKE.new_switch_scheduler_task(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_sdp_type_t { - SDP_TYPE_REQUEST, - SDP_TYPE_RESPONSE -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_serial_event_header_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_serial_event_header_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_serial_event_header_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_serial_event_header_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_serial_event_header_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string name { - set { - freeswitchPINVOKE.switch_serial_event_header_t_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_serial_event_header_t_name_get(swigCPtr); - return ret; - } - } - - public string value { - set { - freeswitchPINVOKE.switch_serial_event_header_t_value_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_serial_event_header_t_value_get(swigCPtr); - return ret; - } - } - - public switch_serial_event_header_t() : this(freeswitchPINVOKE.new_switch_serial_event_header_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_serial_event_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_serial_event_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_serial_event_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_serial_event_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_serial_event_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public int event_id { - set { - freeswitchPINVOKE.switch_serial_event_t_event_id_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_serial_event_t_event_id_get(swigCPtr); - return ret; - } - } - - public int priority { - set { - freeswitchPINVOKE.switch_serial_event_t_priority_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_serial_event_t_priority_get(swigCPtr); - return ret; - } - } - - public int flags { - set { - freeswitchPINVOKE.switch_serial_event_t_flags_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_serial_event_t_flags_get(swigCPtr); - return ret; - } - } - - public string owner { - set { - freeswitchPINVOKE.switch_serial_event_t_owner_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_serial_event_t_owner_get(swigCPtr); - return ret; - } - } - - public string subclass_name { - set { - freeswitchPINVOKE.switch_serial_event_t_subclass_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_serial_event_t_subclass_name_get(swigCPtr); - return ret; - } - } - - public string body { - set { - freeswitchPINVOKE.switch_serial_event_t_body_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_serial_event_t_body_get(swigCPtr); - return ret; - } - } - - public switch_serial_event_t() : this(freeswitchPINVOKE.new_switch_serial_event_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_session_ctl_t { - SCSC_PAUSE_INBOUND, - SCSC_PAUSE_OUTBOUND, - SCSC_PAUSE_ALL, - SCSC_HUPALL, - SCSC_SHUTDOWN, - SCSC_CHECK_RUNNING, - SCSC_LOGLEVEL, - SCSC_SPS, - SCSC_LAST_SPS, - SCSC_RECLAIM, - SCSC_MAX_SESSIONS, - SCSC_SYNC_CLOCK, - SCSC_MAX_DTMF_DURATION, - SCSC_MIN_DTMF_DURATION, - SCSC_DEFAULT_DTMF_DURATION, - SCSC_SHUTDOWN_ELEGANT, - SCSC_SHUTDOWN_ASAP, - SCSC_CANCEL_SHUTDOWN, - SCSC_SEND_SIGHUP, - SCSC_DEBUG_LEVEL, - SCSC_FLUSH_DB_HANDLES, - SCSC_SHUTDOWN_NOW, - SCSC_REINCARNATE_NOW, - SCSC_CALIBRATE_CLOCK, - SCSC_SAVE_HISTORY, - SCSC_CRASH, - SCSC_MIN_IDLE_CPU, - SCSC_VERBOSE_EVENTS, - SCSC_SHUTDOWN_CHECK, - SCSC_PAUSE_INBOUND_CHECK, - SCSC_PAUSE_OUTBOUND_CHECK, - SCSC_PAUSE_CHECK, - SCSC_READY_CHECK, - SCSC_THREADED_SYSTEM_EXEC, - SCSC_SYNC_CLOCK_WHEN_IDLE, - SCSC_DEBUG_SQL, - SCSC_SQL, - SCSC_API_EXPANSION, - SCSC_RECOVER, - SCSC_SPS_PEAK, - SCSC_SPS_PEAK_FIVEMIN, - SCSC_SESSIONS_PEAK, - SCSC_SESSIONS_PEAK_FIVEMIN -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_signal_t { - SWITCH_SIG_NONE, - SWITCH_SIG_KILL, - SWITCH_SIG_XFER, - SWITCH_SIG_BREAK -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_slin_data : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_slin_data(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_slin_data obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_slin_data() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_slin_data(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_core_session session { - set { - freeswitchPINVOKE.switch_slin_data_session_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_session_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - } - - public switch_frame write_frame { - set { - freeswitchPINVOKE.switch_slin_data_write_frame_set(swigCPtr, switch_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_write_frame_get(swigCPtr); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); - return ret; - } - } - - public switch_codec codec { - set { - freeswitchPINVOKE.switch_slin_data_codec_set(swigCPtr, switch_codec.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_codec_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - } - - public string frame_data { - set { - freeswitchPINVOKE.switch_slin_data_frame_data_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_slin_data_frame_data_get(swigCPtr); - return ret; - } - } - - public switch_slin_data() : this(freeswitchPINVOKE.new_switch_slin_data(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_speech_flag_enum_t { - SWITCH_SPEECH_FLAG_NONE = 0, - SWITCH_SPEECH_FLAG_HASTEXT = (1 << 0), - SWITCH_SPEECH_FLAG_PEEK = (1 << 1), - SWITCH_SPEECH_FLAG_FREE_POOL = (1 << 2), - SWITCH_SPEECH_FLAG_BLOCKING = (1 << 3), - SWITCH_SPEECH_FLAG_PAUSE = (1 << 4), - SWITCH_SPEECH_FLAG_OPEN = (1 << 5), - SWITCH_SPEECH_FLAG_DONE = (1 << 6) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_speech_handle : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_speech_handle(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_speech_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_speech_handle() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_speech_handle(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_speech_interface speech_interface { - set { - freeswitchPINVOKE.switch_speech_handle_speech_interface_set(swigCPtr, switch_speech_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_speech_interface_get(swigCPtr); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_speech_handle_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_flags_get(swigCPtr); - return ret; - } - } - - public string name { - set { - freeswitchPINVOKE.switch_speech_handle_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_speech_handle_name_get(swigCPtr); - return ret; - } - } - - public uint rate { - set { - freeswitchPINVOKE.switch_speech_handle_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_rate_get(swigCPtr); - return ret; - } - } - - public uint speed { - set { - freeswitchPINVOKE.switch_speech_handle_speed_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_speed_get(swigCPtr); - return ret; - } - } - - public uint samples { - set { - freeswitchPINVOKE.switch_speech_handle_samples_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_samples_get(swigCPtr); - return ret; - } - } - - public uint channels { - set { - freeswitchPINVOKE.switch_speech_handle_channels_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_channels_get(swigCPtr); - return ret; - } - } - - public uint real_channels { - set { - freeswitchPINVOKE.switch_speech_handle_real_channels_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_real_channels_get(swigCPtr); - return ret; - } - } - - public string voice { - set { - freeswitchPINVOKE.switch_speech_handle_voice_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_speech_handle_voice_get(swigCPtr); - return ret; - } - } - - public string engine { - set { - freeswitchPINVOKE.switch_speech_handle_engine_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_speech_handle_engine_get(swigCPtr); - return ret; - } - } - - public string param { - set { - freeswitchPINVOKE.switch_speech_handle_param_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_speech_handle_param_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t memory_pool { - set { - freeswitchPINVOKE.switch_speech_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public switch_audio_resampler_t resampler { - set { - freeswitchPINVOKE.switch_speech_handle_resampler_set(swigCPtr, switch_audio_resampler_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_resampler_get(swigCPtr); - switch_audio_resampler_t ret = (cPtr == IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_buffer buffer { - set { - freeswitchPINVOKE.switch_speech_handle_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char dbuf { - set { - freeswitchPINVOKE.switch_speech_handle_dbuf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_dbuf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t dbuflen { - set { - freeswitchPINVOKE.switch_speech_handle_dbuflen_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_speech_handle_dbuflen_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public uint samplerate { - set { - freeswitchPINVOKE.switch_speech_handle_samplerate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_samplerate_get(swigCPtr); - return ret; - } - } - - public uint native_rate { - set { - freeswitchPINVOKE.switch_speech_handle_native_rate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_speech_handle_native_rate_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_speech_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public switch_speech_handle() : this(freeswitchPINVOKE.new_switch_speech_handle(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_speech_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_speech_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_speech_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_speech_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_speech_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_speech_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_speech_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t speech_open { - set { - freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t speech_close { - set { - freeswitchPINVOKE.switch_speech_interface_speech_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t speech_feed_tts { - set { - freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t speech_read_tts { - set { - freeswitchPINVOKE.switch_speech_interface_speech_read_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_read_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle__void speech_flush_tts { - set { - freeswitchPINVOKE.switch_speech_interface_speech_flush_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_flush_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle__void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void speech_text_param_tts { - set { - freeswitchPINVOKE.switch_speech_interface_speech_text_param_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_text_param_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void speech_numeric_param_tts { - set { - freeswitchPINVOKE.switch_speech_interface_speech_numeric_param_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_numeric_param_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void speech_float_param_tts { - set { - freeswitchPINVOKE.switch_speech_interface_speech_float_param_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_float_param_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_speech_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_speech_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_speech_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_speech_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_speech_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_speech_interface next { - set { - freeswitchPINVOKE.switch_speech_interface_next_set(swigCPtr, switch_speech_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_next_get(swigCPtr); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); - return ret; - } - } - - public switch_speech_interface() : this(freeswitchPINVOKE.new_switch_speech_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_srtp_crypto_suite_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_srtp_crypto_suite_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_srtp_crypto_suite_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_srtp_crypto_suite_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_srtp_crypto_suite_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string name { - set { - freeswitchPINVOKE.switch_srtp_crypto_suite_t_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_srtp_crypto_suite_t_name_get(swigCPtr); - return ret; - } - } - - public switch_rtp_crypto_key_type_t type { - set { - freeswitchPINVOKE.switch_srtp_crypto_suite_t_type_set(swigCPtr, (int)value); - } - get { - switch_rtp_crypto_key_type_t ret = (switch_rtp_crypto_key_type_t)freeswitchPINVOKE.switch_srtp_crypto_suite_t_type_get(swigCPtr); - return ret; - } - } - - public int keylen { - set { - freeswitchPINVOKE.switch_srtp_crypto_suite_t_keylen_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_srtp_crypto_suite_t_keylen_get(swigCPtr); - return ret; - } - } - - public switch_srtp_crypto_suite_t() : this(freeswitchPINVOKE.new_switch_srtp_crypto_suite_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_stack_t { - SWITCH_STACK_BOTTOM = (1 << 0), - SWITCH_STACK_TOP = (1 << 1), - SWITCH_STACK_NODUP = (1 << 2), - SWITCH_STACK_UNSHIFT = (1 << 3), - SWITCH_STACK_PUSH = (1 << 4) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_state_handler_flag_t { - SSH_FLAG_STICKY = (1 << 0) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_state_handler_name_t { - SWITCH_SHN_ON_INIT, - SWITCH_SHN_ON_ROUTING, - SWITCH_SHN_ON_EXECUTE, - SWITCH_SHN_ON_HANGUP, - SWITCH_SHN_ON_EXCHANGE_MEDIA, - SWITCH_SHN_ON_SOFT_EXECUTE, - SWITCH_SHN_ON_CONSUME_MEDIA, - SWITCH_SHN_ON_HIBERNATE, - SWITCH_SHN_ON_RESET, - SWITCH_SHN_ON_PARK, - SWITCH_SHN_ON_REPORTING, - SWITCH_SHN_ON_DESTROY -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_state_handler_table : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_state_handler_table(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_state_handler_table obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_state_handler_table() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_state_handler_table(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_init { - set { - freeswitchPINVOKE.switch_state_handler_table_on_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_init_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_routing { - set { - freeswitchPINVOKE.switch_state_handler_table_on_routing_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_routing_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_execute { - set { - freeswitchPINVOKE.switch_state_handler_table_on_execute_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_execute_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_hangup { - set { - freeswitchPINVOKE.switch_state_handler_table_on_hangup_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_hangup_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_exchange_media { - set { - freeswitchPINVOKE.switch_state_handler_table_on_exchange_media_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_exchange_media_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_soft_execute { - set { - freeswitchPINVOKE.switch_state_handler_table_on_soft_execute_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_soft_execute_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_consume_media { - set { - freeswitchPINVOKE.switch_state_handler_table_on_consume_media_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_consume_media_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_hibernate { - set { - freeswitchPINVOKE.switch_state_handler_table_on_hibernate_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_hibernate_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_reset { - set { - freeswitchPINVOKE.switch_state_handler_table_on_reset_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_reset_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_park { - set { - freeswitchPINVOKE.switch_state_handler_table_on_park_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_park_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_reporting { - set { - freeswitchPINVOKE.switch_state_handler_table_on_reporting_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_reporting_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_core_session__switch_status_t on_destroy { - set { - freeswitchPINVOKE.switch_state_handler_table_on_destroy_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_destroy_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); - return ret; - } - } - - public int flags { - set { - freeswitchPINVOKE.switch_state_handler_table_flags_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_state_handler_table_flags_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_void padding { - set { - freeswitchPINVOKE.switch_state_handler_table_padding_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_padding_get(swigCPtr); - SWIGTYPE_p_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); - return ret; - } - } - - public switch_state_handler_table() : this(freeswitchPINVOKE.new_switch_state_handler_table(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_status_t { - SWITCH_STATUS_SUCCESS, - SWITCH_STATUS_FALSE, - SWITCH_STATUS_TIMEOUT, - SWITCH_STATUS_RESTART, - SWITCH_STATUS_INTR, - SWITCH_STATUS_NOTIMPL, - SWITCH_STATUS_MEMERR, - SWITCH_STATUS_NOOP, - SWITCH_STATUS_RESAMPLE, - SWITCH_STATUS_GENERR, - SWITCH_STATUS_INUSE, - SWITCH_STATUS_BREAK, - SWITCH_STATUS_SOCKERR, - SWITCH_STATUS_MORE_DATA, - SWITCH_STATUS_NOTFOUND, - SWITCH_STATUS_UNLOAD, - SWITCH_STATUS_NOUNLOAD, - SWITCH_STATUS_IGNORE, - SWITCH_STATUS_TOO_SMALL, - SWITCH_STATUS_FOUND, - SWITCH_STATUS_CONTINUE, - SWITCH_STATUS_TERM, - SWITCH_STATUS_NOT_INITALIZED, - SWITCH_STATUS_XBREAK = 35, - SWITCH_STATUS_WINBREAK = 730035 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_stream_handle : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_stream_handle(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_stream_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_stream_handle() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_stream_handle(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char read_function { - set { - freeswitchPINVOKE.switch_stream_handle_read_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_read_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t write_function { - set { - freeswitchPINVOKE.switch_stream_handle_write_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_write_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t raw_write_function { - set { - freeswitchPINVOKE.switch_stream_handle_raw_write_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_raw_write_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void data { - set { - freeswitchPINVOKE.switch_stream_handle_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void end { - set { - freeswitchPINVOKE.switch_stream_handle_end_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_end_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t data_size { - set { - freeswitchPINVOKE.switch_stream_handle_data_size_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_stream_handle_data_size_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t data_len { - set { - freeswitchPINVOKE.switch_stream_handle_data_len_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_stream_handle_data_len_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t alloc_len { - set { - freeswitchPINVOKE.switch_stream_handle_alloc_len_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_stream_handle_alloc_len_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t alloc_chunk { - set { - freeswitchPINVOKE.switch_stream_handle_alloc_chunk_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_stream_handle_alloc_chunk_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_event param_event { - set { - freeswitchPINVOKE.switch_stream_handle_param_event_set(swigCPtr, switch_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_param_event_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); - return ret; - } - } - - public switch_stream_handle() : this(freeswitchPINVOKE.new_switch_stream_handle(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_t38_options_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_t38_options_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_t38_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_t38_options_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_t38_options_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public ushort T38FaxVersion { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxVersion_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_t38_options_t_T38FaxVersion_get(swigCPtr); - return ret; - } - } - - public uint T38MaxBitRate { - set { - freeswitchPINVOKE.switch_t38_options_t_T38MaxBitRate_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_t38_options_t_T38MaxBitRate_get(swigCPtr); - return ret; - } - } - - public switch_bool_t T38FaxFillBitRemoval { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxFillBitRemoval_set(swigCPtr, (int)value); - } - get { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_t38_options_t_T38FaxFillBitRemoval_get(swigCPtr); - return ret; - } - } - - public switch_bool_t T38FaxTranscodingMMR { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxTranscodingMMR_set(swigCPtr, (int)value); - } - get { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_t38_options_t_T38FaxTranscodingMMR_get(swigCPtr); - return ret; - } - } - - public switch_bool_t T38FaxTranscodingJBIG { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxTranscodingJBIG_set(swigCPtr, (int)value); - } - get { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_t38_options_t_T38FaxTranscodingJBIG_get(swigCPtr); - return ret; - } - } - - public string T38FaxRateManagement { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxRateManagement_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_t38_options_t_T38FaxRateManagement_get(swigCPtr); - return ret; - } - } - - public uint T38FaxMaxBuffer { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxMaxBuffer_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_t38_options_t_T38FaxMaxBuffer_get(swigCPtr); - return ret; - } - } - - public uint T38FaxMaxDatagram { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxMaxDatagram_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_t38_options_t_T38FaxMaxDatagram_get(swigCPtr); - return ret; - } - } - - public string T38FaxUdpEC { - set { - freeswitchPINVOKE.switch_t38_options_t_T38FaxUdpEC_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_t38_options_t_T38FaxUdpEC_get(swigCPtr); - return ret; - } - } - - public string T38VendorInfo { - set { - freeswitchPINVOKE.switch_t38_options_t_T38VendorInfo_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_t38_options_t_T38VendorInfo_get(swigCPtr); - return ret; - } - } - - public string remote_ip { - set { - freeswitchPINVOKE.switch_t38_options_t_remote_ip_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_t38_options_t_remote_ip_get(swigCPtr); - return ret; - } - } - - public ushort remote_port { - set { - freeswitchPINVOKE.switch_t38_options_t_remote_port_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_t38_options_t_remote_port_get(swigCPtr); - return ret; - } - } - - public string local_ip { - set { - freeswitchPINVOKE.switch_t38_options_t_local_ip_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_t38_options_t_local_ip_get(swigCPtr); - return ret; - } - } - - public ushort local_port { - set { - freeswitchPINVOKE.switch_t38_options_t_local_port_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_t38_options_t_local_port_get(swigCPtr); - return ret; - } - } - - public string sdp_o_line { - set { - freeswitchPINVOKE.switch_t38_options_t_sdp_o_line_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_t38_options_t_sdp_o_line_get(swigCPtr); - return ret; - } - } - - public switch_t38_options_t() : this(freeswitchPINVOKE.new_switch_t38_options_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_text_channel_t { - SWITCH_CHANNEL_ID_LOG, - SWITCH_CHANNEL_ID_LOG_CLEAN, - SWITCH_CHANNEL_ID_EVENT, - SWITCH_CHANNEL_ID_SESSION -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_thread_data_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_thread_data_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_thread_data_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_thread_data_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_thread_data_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_thread_start_t func { - set { - freeswitchPINVOKE.switch_thread_data_t_func_set(swigCPtr, SWIGTYPE_p_switch_thread_start_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_thread_start_t ret = new SWIGTYPE_p_switch_thread_start_t(freeswitchPINVOKE.switch_thread_data_t_func_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_void obj { - set { - freeswitchPINVOKE.switch_thread_data_t_obj_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_thread_data_t_obj_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public int alloc { - set { - freeswitchPINVOKE.switch_thread_data_t_alloc_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_thread_data_t_alloc_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t pool { - set { - freeswitchPINVOKE.switch_thread_data_t_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_thread_data_t_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public switch_thread_data_t() : this(freeswitchPINVOKE.new_switch_thread_data_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_thread_priority_t { - SWITCH_PRI_LOW = 1, - SWITCH_PRI_NORMAL = 10, - SWITCH_PRI_IMPORTANT = 50, - SWITCH_PRI_REALTIME = 99 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_timer : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_timer(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_timer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_timer() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_timer(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public int interval { - set { - freeswitchPINVOKE.switch_timer_interval_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_timer_interval_get(swigCPtr); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_timer_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_timer_flags_get(swigCPtr); - return ret; - } - } - - public uint samples { - set { - freeswitchPINVOKE.switch_timer_samples_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_timer_samples_get(swigCPtr); - return ret; - } - } - - public uint samplecount { - set { - freeswitchPINVOKE.switch_timer_samplecount_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_timer_samplecount_get(swigCPtr); - return ret; - } - } - - public switch_timer_interface timer_interface { - set { - freeswitchPINVOKE.switch_timer_timer_interface_set(swigCPtr, switch_timer_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_timer_interface_get(swigCPtr); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_apr_pool_t memory_pool { - set { - freeswitchPINVOKE.switch_timer_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_void private_info { - set { - freeswitchPINVOKE.switch_timer_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t diff { - set { - freeswitchPINVOKE.switch_timer_diff_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_timer_diff_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t start { - set { - freeswitchPINVOKE.switch_timer_start_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_timer_start_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public ulong tick { - set { - freeswitchPINVOKE.switch_timer_tick_set(swigCPtr, value); - } - get { - ulong ret = freeswitchPINVOKE.switch_timer_tick_get(swigCPtr); - return ret; - } - } - - public switch_timer() : this(freeswitchPINVOKE.new_switch_timer(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_timer_flag_enum_t { - SWITCH_TIMER_FLAG_FREE_POOL = (1 << 0) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_timer_func_name_t { - SWITCH_TIMER_FUNC_TIMER_INIT, - SWITCH_TIMER_FUNC_TIMER_NEXT, - SWITCH_TIMER_FUNC_TIMER_STEP, - SWITCH_TIMER_FUNC_TIMER_SYNC, - SWITCH_TIMER_FUNC_TIMER_CHECK, - SWITCH_TIMER_FUNC_TIMER_DESTROY -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_timer_interface : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_timer_interface(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_timer_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_timer_interface() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_timer_interface(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string interface_name { - set { - freeswitchPINVOKE.switch_timer_interface_interface_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_timer_interface_interface_name_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_timer__switch_status_t timer_init { - set { - freeswitchPINVOKE.switch_timer_interface_timer_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_init_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_timer__switch_status_t timer_next { - set { - freeswitchPINVOKE.switch_timer_interface_timer_next_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_next_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_timer__switch_status_t timer_step { - set { - freeswitchPINVOKE.switch_timer_interface_timer_step_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_step_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_timer__switch_status_t timer_sync { - set { - freeswitchPINVOKE.switch_timer_interface_timer_sync_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_sync_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t timer_check { - set { - freeswitchPINVOKE.switch_timer_interface_timer_check_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_check_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_f_p_switch_timer__switch_status_t timer_destroy { - set { - freeswitchPINVOKE.switch_timer_interface_timer_destroy_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_destroy_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_thread_rwlock_t rwlock { - set { - freeswitchPINVOKE.switch_timer_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); - return ret; - } - } - - public int refs { - set { - freeswitchPINVOKE.switch_timer_interface_refs_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_timer_interface_refs_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t reflock { - set { - freeswitchPINVOKE.switch_timer_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public switch_loadable_module_interface parent { - set { - freeswitchPINVOKE.switch_timer_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); - return ret; - } - } - - public switch_timer_interface next { - set { - freeswitchPINVOKE.switch_timer_interface_next_set(swigCPtr, switch_timer_interface.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_next_get(swigCPtr); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); - return ret; - } - } - - public switch_timer_interface() : this(freeswitchPINVOKE.new_switch_timer_interface(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_unicast_conninfo : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_unicast_conninfo(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_unicast_conninfo obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_unicast_conninfo() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_unicast_conninfo(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_core_session session { - set { - freeswitchPINVOKE.switch_unicast_conninfo_session_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_session_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); - return ret; - } - } - - public switch_codec read_codec { - set { - freeswitchPINVOKE.switch_unicast_conninfo_read_codec_set(swigCPtr, switch_codec.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_read_codec_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); - return ret; - } - } - - public switch_frame write_frame { - set { - freeswitchPINVOKE.switch_unicast_conninfo_write_frame_set(swigCPtr, switch_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_write_frame_get(swigCPtr); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char write_frame_data { - set { - freeswitchPINVOKE.switch_unicast_conninfo_write_frame_data_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_write_frame_data_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_socket_t socket { - set { - freeswitchPINVOKE.switch_unicast_conninfo_socket_set(swigCPtr, SWIGTYPE_p_switch_socket_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_socket_get(swigCPtr); - SWIGTYPE_p_switch_socket_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_socket_t(cPtr, false); - return ret; - } - } - - public string local_ip { - set { - freeswitchPINVOKE.switch_unicast_conninfo_local_ip_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_unicast_conninfo_local_ip_get(swigCPtr); - return ret; - } - } - - public ushort local_port { - set { - freeswitchPINVOKE.switch_unicast_conninfo_local_port_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_unicast_conninfo_local_port_get(swigCPtr); - return ret; - } - } - - public string remote_ip { - set { - freeswitchPINVOKE.switch_unicast_conninfo_remote_ip_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_unicast_conninfo_remote_ip_get(swigCPtr); - return ret; - } - } - - public ushort remote_port { - set { - freeswitchPINVOKE.switch_unicast_conninfo_remote_port_set(swigCPtr, value); - } - get { - ushort ret = freeswitchPINVOKE.switch_unicast_conninfo_remote_port_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_sockaddr_t local_addr { - set { - freeswitchPINVOKE.switch_unicast_conninfo_local_addr_set(swigCPtr, SWIGTYPE_p_switch_sockaddr_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_local_addr_get(swigCPtr); - SWIGTYPE_p_switch_sockaddr_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_sockaddr_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_sockaddr_t remote_addr { - set { - freeswitchPINVOKE.switch_unicast_conninfo_remote_addr_set(swigCPtr, SWIGTYPE_p_switch_sockaddr_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_remote_addr_get(swigCPtr); - SWIGTYPE_p_switch_sockaddr_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_sockaddr_t(cPtr, false); - return ret; - } - } - - public SWIGTYPE_p_switch_mutex_t flag_mutex { - set { - freeswitchPINVOKE.switch_unicast_conninfo_flag_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_flag_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); - return ret; - } - } - - public int flags { - set { - freeswitchPINVOKE.switch_unicast_conninfo_flags_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_unicast_conninfo_flags_get(swigCPtr); - return ret; - } - } - - public int type { - set { - freeswitchPINVOKE.switch_unicast_conninfo_type_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_unicast_conninfo_type_get(swigCPtr); - return ret; - } - } - - public int transport { - set { - freeswitchPINVOKE.switch_unicast_conninfo_transport_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_unicast_conninfo_transport_get(swigCPtr); - return ret; - } - } - - public int stream_id { - set { - freeswitchPINVOKE.switch_unicast_conninfo_stream_id_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_unicast_conninfo_stream_id_get(swigCPtr); - return ret; - } - } - - public switch_unicast_conninfo() : this(freeswitchPINVOKE.new_switch_unicast_conninfo(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_unicast_flag_enum_t { - SUF_NONE = 0, - SUF_THREAD_RUNNING = (1 << 0), - SUF_READY = (1 << 1), - SUF_NATIVE = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_uri_flags { - SWITCH_URI_NUMERIC_HOST = 1, - SWITCH_URI_NUMERIC_PORT = 2, - SWITCH_URI_NO_SCOPE = 4 -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_vad_flag_enum_t { - SWITCH_VAD_FLAG_TALKING = (1 << 0), - SWITCH_VAD_FLAG_EVENTS_TALK = (1 << 1), - SWITCH_VAD_FLAG_EVENTS_NOTALK = (1 << 2), - SWITCH_VAD_FLAG_CNG = (1 << 3) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_waitlist_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_waitlist_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_waitlist_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_waitlist_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_waitlist_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public int sock { - set { - freeswitchPINVOKE.switch_waitlist_t_sock_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_waitlist_t_sock_get(swigCPtr); - return ret; - } - } - - public uint events { - set { - freeswitchPINVOKE.switch_waitlist_t_events_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_waitlist_t_events_get(swigCPtr); - return ret; - } - } - - public uint revents { - set { - freeswitchPINVOKE.switch_waitlist_t_revents_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_waitlist_t_revents_get(swigCPtr); - return ret; - } - } - - public switch_waitlist_t() : this(freeswitchPINVOKE.new_switch_waitlist_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_xml : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_xml(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_xml() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_xml(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string name { - set { - freeswitchPINVOKE.switch_xml_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_xml_name_get(swigCPtr); - return ret; - } - } - - public string attr { - set { freeswitchPINVOKE.switch_xml_attr_set(swigCPtr, ref value); } - - get { - return freeswitchPINVOKE.switch_xml_attr_get(swigCPtr); - } - - } - - public string txt { - set { - freeswitchPINVOKE.switch_xml_txt_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_xml_txt_get(swigCPtr); - return ret; - } - } - - public string free_path { - set { - freeswitchPINVOKE.switch_xml_free_path_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_xml_free_path_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_size_t off { - set { - freeswitchPINVOKE.switch_xml_off_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_xml_off_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_xml next { - set { - freeswitchPINVOKE.switch_xml_next_set(swigCPtr, switch_xml.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_next_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - } - - public switch_xml sibling { - set { - freeswitchPINVOKE.switch_xml_sibling_set(swigCPtr, switch_xml.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_sibling_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - } - - public switch_xml ordered { - set { - freeswitchPINVOKE.switch_xml_ordered_set(swigCPtr, switch_xml.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_ordered_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - } - - public switch_xml child { - set { - freeswitchPINVOKE.switch_xml_child_set(swigCPtr, switch_xml.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_child_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - } - - public switch_xml parent { - set { - freeswitchPINVOKE.switch_xml_parent_set(swigCPtr, switch_xml.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parent_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); - return ret; - } - } - - public uint flags { - set { - freeswitchPINVOKE.switch_xml_flags_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_xml_flags_get(swigCPtr); - return ret; - } - } - - public switch_bool_t is_switch_xml_root_t { - set { - freeswitchPINVOKE.switch_xml_is_switch_xml_root_t_set(swigCPtr, (int)value); - } - get { - switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_xml_is_switch_xml_root_t_get(swigCPtr); - return ret; - } - } - - public uint refs { - set { - freeswitchPINVOKE.switch_xml_refs_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_xml_refs_get(swigCPtr); - return ret; - } - } - - public switch_xml() : this(freeswitchPINVOKE.new_switch_xml(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_xml_flag_t { - SWITCH_XML_ROOT = (1 << 0), - SWITCH_XML_NAMEM = (1 << 1), - SWITCH_XML_TXTM = (1 << 2), - SWITCH_XML_DUP = (1 << 3) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -[System.Flags] public enum switch_xml_section_enum_t { - SWITCH_XML_SECTION_RESULT = 0, - SWITCH_XML_SECTION_CONFIG = (1 << 0), - SWITCH_XML_SECTION_DIRECTORY = (1 << 1), - SWITCH_XML_SECTION_DIALPLAN = (1 << 2), - SWITCH_XML_SECTION_LANGUAGES = (1 << 3), - SWITCH_XML_SECTION_CHATPLAN = (1 << 4), - SWITCH_XML_SECTION_MAX = (1 << 4) -} - -} diff --git a/src/mod/languages/mod_managed/mod_managed.2010.vcxproj b/src/mod/languages/mod_managed/mod_managed.2010.vcxproj index 4bd631a6f4..c52643bb3b 100644 --- a/src/mod/languages/mod_managed/mod_managed.2010.vcxproj +++ b/src/mod/languages/mod_managed/mod_managed.2010.vcxproj @@ -306,7 +306,7 @@ - + 4505;4244;%(DisableSpecificWarnings) 4505;4244;%(DisableSpecificWarnings) 4505;4244;%(DisableSpecificWarnings) diff --git a/src/mod/languages/mod_managed/mod_managed.2012.vcxproj b/src/mod/languages/mod_managed/mod_managed.2012.vcxproj index 30d2d5ac1a..69b81f8d29 100644 --- a/src/mod/languages/mod_managed/mod_managed.2012.vcxproj +++ b/src/mod/languages/mod_managed/mod_managed.2012.vcxproj @@ -322,7 +322,7 @@ - + 4505;4244;%(DisableSpecificWarnings) 4505;4244;%(DisableSpecificWarnings) 4505;4244;%(DisableSpecificWarnings) diff --git a/src/mod/languages/mod_managed/runswig.cmd b/src/mod/languages/mod_managed/runswig.cmd index 5a0634df71..92c4c1e303 100644 --- a/src/mod/languages/mod_managed/runswig.cmd +++ b/src/mod/languages/mod_managed/runswig.cmd @@ -1,4 +1,4 @@ -\dev\swig135\swig.exe -I..\..\..\include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i +\dev\swigwin-2.0.12\swig.exe -I..\..\..\include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i del swig.csx @ECHO OFF for %%X in (*.cs) do type %%X >> swig.csx