From 417b24cc10006e412fa5e9608dee9a97638192bc Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 25 May 2011 11:52:52 -0500 Subject: [PATCH] swigall --- .../languages/mod_managed/freeswitch_wrap.cxx | 16 ++++++++++++++++ src/mod/languages/mod_managed/managed/swig.cs | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index f2aebaf078..9fc8049334 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -31510,6 +31510,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_merged(char * jarg1, ch } +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 ; diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index 33e754b8b7..a14fdc2f5b 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -5252,6 +5252,11 @@ public class freeswitch { 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)); } @@ -13234,6 +13239,9 @@ class freeswitchPINVOKE { [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);