Skip to content

Commit 3fbe432

Browse files
authored
swigall (#3117)
1 parent bc1e992 commit 3fbe432

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

src/mod/languages/mod_managed/freeswitch_wrap.cxx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19674,6 +19674,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_enume
1967419674
}
1967519675

1967619676

19677+
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_dump_interface_allowlist___(void * jarg1, int jarg2, int jarg3) {
19678+
switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ;
19679+
switch_bool_t arg2 ;
19680+
switch_bool_t arg3 ;
19681+
19682+
arg1 = (switch_stream_handle_t *)jarg1;
19683+
arg2 = (switch_bool_t)jarg2;
19684+
arg3 = (switch_bool_t)jarg3;
19685+
switch_loadable_module_dump_interface_allowlist(arg1,arg2,arg3);
19686+
}
19687+
19688+
1967719689
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_build_dynamic___(char * jarg1, void * jarg2, void * jarg3, void * jarg4, int jarg5) {
1967819690
int jresult ;
1967919691
char *arg1 = (char *) 0 ;
@@ -23622,6 +23634,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rand___() {
2362223634
}
2362323635

2362423636

23637+
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_is_ip_address___(char * jarg1) {
23638+
int jresult ;
23639+
char *arg1 = (char *) 0 ;
23640+
int result;
23641+
23642+
arg1 = (char *)jarg1;
23643+
result = (int)switch_is_ip_address((char const *)arg1);
23644+
jresult = result;
23645+
return jresult;
23646+
}
23647+
23648+
2362523649
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_var_set___(void * jarg1, char * jarg2) {
2362623650
profile_node_s *arg1 = (profile_node_s *) 0 ;
2362723651
char *arg2 = (char *) 0 ;

src/mod/languages/mod_managed/managed/swig.cs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8855,6 +8855,25 @@ public enum dm_match_type_t {
88558855

88568856
namespace FreeSWITCH.Native {
88578857

8858+
public enum dtls_client_cert_verify_t {
8859+
DTLS_CLIENT_CERT_VERIFY_NONE,
8860+
DTLS_CLIENT_CERT_VERIFY_FINGERPRINT,
8861+
DTLS_CLIENT_CERT_VERIFY_FULL
8862+
}
8863+
8864+
}
8865+
//------------------------------------------------------------------------------
8866+
// <auto-generated />
8867+
//
8868+
// This file was automatically generated by SWIG (https://www.swig.org).
8869+
// Version 4.1.0
8870+
//
8871+
// Do not make changes to this file unless you know what you are doing - modify
8872+
// the SWIG interface file instead.
8873+
//------------------------------------------------------------------------------
8874+
8875+
namespace FreeSWITCH.Native {
8876+
88588877
public class dtls_fingerprint_t : global::System.IDisposable {
88598878
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
88608879
protected bool swigCMemOwn;
@@ -11672,6 +11691,10 @@ public static switch_status_t switch_loadable_module_enumerate_loaded(SWIGTYPE_p
1167211691
return ret;
1167311692
}
1167411693

11694+
public static void switch_loadable_module_dump_interface_allowlist(switch_stream_handle stream, switch_bool_t by_module, switch_bool_t xml) {
11695+
freeswitchPINVOKE.switch_loadable_module_dump_interface_allowlist(switch_stream_handle.getCPtr(stream), (int)by_module, (int)xml);
11696+
}
11697+
1167511698
public static switch_status_t switch_loadable_module_build_dynamic(string filename, SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_fspr_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) {
1167611699
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_loadable_module_build_dynamic(filename, SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_fspr_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);
1167711700
return ret;
@@ -12795,6 +12818,11 @@ public static int switch_rand() {
1279512818
return ret;
1279612819
}
1279712820

12821+
public static int switch_is_ip_address(string hostname) {
12822+
int ret = freeswitchPINVOKE.switch_is_ip_address(hostname);
12823+
return ret;
12824+
}
12825+
1279812826
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
1279912827
global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
1280012828
switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
@@ -21512,6 +21540,9 @@ static SWIGStringHelper() {
2151221540
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_enumerate_loaded___")]
2151321541
public static extern int switch_loadable_module_enumerate_loaded(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
2151421542

21543+
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_dump_interface_allowlist___")]
21544+
public static extern void switch_loadable_module_dump_interface_allowlist(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
21545+
2151521546
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_build_dynamic___")]
2151621547
public static extern int switch_loadable_module_build_dynamic(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5);
2151721548

@@ -22346,6 +22377,9 @@ static SWIGStringHelper() {
2234622377
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rand___")]
2234722378
public static extern int switch_rand();
2234822379

22380+
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_is_ip_address___")]
22381+
public static extern int switch_is_ip_address(string jarg1);
22382+
2234922383
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_var_set___")]
2235022384
public static extern void profile_node_t_var_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
2235122385

0 commit comments

Comments
 (0)